Class InstanceSettingsMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstanceSettingsMetadata
All Implemented Interfaces:
InstanceSettingsMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InstanceSettingsMetadata extends com.google.protobuf.GeneratedMessage implements InstanceSettingsMetadataOrBuilder
 
Protobuf type google.cloud.compute.v1.InstanceSettingsMetadata
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getItemsCount

      public int getItemsCount()
      Description copied from interface: InstanceSettingsMetadataOrBuilder
       A metadata key/value items map.
       The total size of all keys and values must be less than 512KB.
       
      map<string, string> items = 100526016;
      Specified by:
      getItemsCount in interface InstanceSettingsMetadataOrBuilder
    • containsItems

      public boolean containsItems(String key)
       A metadata key/value items map.
       The total size of all keys and values must be less than 512KB.
       
      map<string, string> items = 100526016;
      Specified by:
      containsItems in interface InstanceSettingsMetadataOrBuilder
    • getItems

      @Deprecated public Map<String,String> getItems()
      Deprecated.
      Use getItemsMap() instead.
      Specified by:
      getItems in interface InstanceSettingsMetadataOrBuilder
    • getItemsMap

      public Map<String,String> getItemsMap()
       A metadata key/value items map.
       The total size of all keys and values must be less than 512KB.
       
      map<string, string> items = 100526016;
      Specified by:
      getItemsMap in interface InstanceSettingsMetadataOrBuilder
    • getItemsOrDefault

      public String getItemsOrDefault(String key, String defaultValue)
       A metadata key/value items map.
       The total size of all keys and values must be less than 512KB.
       
      map<string, string> items = 100526016;
      Specified by:
      getItemsOrDefault in interface InstanceSettingsMetadataOrBuilder
    • getItemsOrThrow

      public String getItemsOrThrow(String key)
       A metadata key/value items map.
       The total size of all keys and values must be less than 512KB.
       
      map<string, string> items = 100526016;
      Specified by:
      getItemsOrThrow in interface InstanceSettingsMetadataOrBuilder
    • hasKind

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

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

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Always compute#metadata
       for metadata.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface InstanceSettingsMetadataOrBuilder
      Returns:
      The bytes for kind.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceSettingsMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceSettingsMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceSettingsMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public InstanceSettingsMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InstanceSettingsMetadata.Builder newBuilder()
    • newBuilder

      public static InstanceSettingsMetadata.Builder newBuilder(InstanceSettingsMetadata prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InstanceSettingsMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InstanceSettingsMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InstanceSettingsMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<InstanceSettingsMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InstanceSettingsMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder