Interface ItemsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Key for the metadata entry.
    com.google.protobuf.ByteString
    Key for the metadata entry.
    Value for the metadata entry.
    com.google.protobuf.ByteString
    Value for the metadata entry.
    boolean
    Key for the metadata entry.
    boolean
    Value for the metadata entry.

    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

    • hasKey

      boolean hasKey()
       Key for the metadata entry. Keys must conform to the following
       regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.
       This is reflected as part of a URL in the metadata server. Additionally, to
       avoid ambiguity, keys must not conflict with any other metadata keys
       for the project.
       
      optional string key = 106079;
      Returns:
      Whether the key field is set.
    • getKey

      String getKey()
       Key for the metadata entry. Keys must conform to the following
       regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.
       This is reflected as part of a URL in the metadata server. Additionally, to
       avoid ambiguity, keys must not conflict with any other metadata keys
       for the project.
       
      optional string key = 106079;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       Key for the metadata entry. Keys must conform to the following
       regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.
       This is reflected as part of a URL in the metadata server. Additionally, to
       avoid ambiguity, keys must not conflict with any other metadata keys
       for the project.
       
      optional string key = 106079;
      Returns:
      The bytes for key.
    • hasValue

      boolean hasValue()
       Value for the metadata entry. These are free-form strings, and only
       have meaning as interpreted by the image running in the instance. The
       only restriction placed on values is that their size must be less than
       or equal to 262144 bytes (256 KiB).
       
      optional string value = 111972721;
      Returns:
      Whether the value field is set.
    • getValue

      String getValue()
       Value for the metadata entry. These are free-form strings, and only
       have meaning as interpreted by the image running in the instance. The
       only restriction placed on values is that their size must be less than
       or equal to 262144 bytes (256 KiB).
       
      optional string value = 111972721;
      Returns:
      The value.
    • getValueBytes

      com.google.protobuf.ByteString getValueBytes()
       Value for the metadata entry. These are free-form strings, and only
       have meaning as interpreted by the image running in the instance. The
       only restriction placed on values is that their size must be less than
       or equal to 262144 bytes (256 KiB).
       
      optional string value = 111972721;
      Returns:
      The bytes for value.