Interface MetadataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Metadata, Metadata.Builder

    public interface MetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFingerprint()
      Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking.
      com.google.protobuf.ByteString getFingerprintBytes()
      Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking.
      Items getItems​(int index)
      Array of key/value pairs.
      int getItemsCount()
      Array of key/value pairs.
      List<Items> getItemsList()
      Array of key/value pairs.
      ItemsOrBuilder getItemsOrBuilder​(int index)
      Array of key/value pairs.
      List<? extends ItemsOrBuilder> getItemsOrBuilderList()
      Array of key/value pairs.
      String getKind()
      [Output Only] Type of the resource.
      com.google.protobuf.ByteString getKindBytes()
      [Output Only] Type of the resource.
      boolean hasFingerprint()
      Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking.
      boolean hasKind()
      [Output Only] Type of the resource.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasFingerprint

        boolean hasFingerprint()
         Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
         
        optional string fingerprint = 234678500;
        Returns:
        Whether the fingerprint field is set.
      • getFingerprint

        String getFingerprint()
         Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
         
        optional string fingerprint = 234678500;
        Returns:
        The fingerprint.
      • getFingerprintBytes

        com.google.protobuf.ByteString getFingerprintBytes()
         Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
         
        optional string fingerprint = 234678500;
        Returns:
        The bytes for fingerprint.
      • getItemsList

        List<Items> getItemsList()
         Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
         
        repeated .google.cloud.compute.v1.Items items = 100526016;
      • getItems

        Items getItems​(int index)
         Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
         
        repeated .google.cloud.compute.v1.Items items = 100526016;
      • getItemsCount

        int getItemsCount()
         Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
         
        repeated .google.cloud.compute.v1.Items items = 100526016;
      • getItemsOrBuilderList

        List<? extends ItemsOrBuilder> getItemsOrBuilderList()
         Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
         
        repeated .google.cloud.compute.v1.Items items = 100526016;
      • getItemsOrBuilder

        ItemsOrBuilder getItemsOrBuilder​(int index)
         Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
         
        repeated .google.cloud.compute.v1.Items items = 100526016;
      • hasKind

        boolean hasKind()
         [Output Only] Type of the resource. Always compute#metadata for metadata.
         
        optional string kind = 3292052;
        Returns:
        Whether the kind field is set.
      • getKind

        String getKind()
         [Output Only] Type of the resource. Always compute#metadata for metadata.
         
        optional string kind = 3292052;
        Returns:
        The kind.
      • getKindBytes

        com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of the resource. Always compute#metadata for metadata.
         
        optional string kind = 3292052;
        Returns:
        The bytes for kind.