Interface MetadataOrBuilder

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

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

    Modifier and Type
    Method
    Description
    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
    Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking.
    getItems(int index)
    Array of key/value pairs.
    int
    Array of key/value pairs.
    Array of key/value pairs.
    getItemsOrBuilder(int index)
    Array of key/value pairs.
    List<? extends ItemsOrBuilder>
    Array of key/value pairs.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking.
    boolean
    Output only.

    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 Details

    • 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 error412 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 error412 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 error412 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. [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. [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. [Output Only] Type of the resource. Always compute#metadata
       for metadata.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.