Class UpdateInstanceMetadataItemsResponse (1.35.0)

public final class UpdateInstanceMetadataItemsResponse extends GeneratedMessageV3 implements UpdateInstanceMetadataItemsResponseOrBuilder

Response for adding/changing metadata items for an instance.

Protobuf type google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateInstanceMetadataItemsResponse

Static Fields

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateInstanceMetadataItemsResponse getDefaultInstance()
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateInstanceMetadataItemsResponse.Builder newBuilder()
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse.Builder

newBuilder(UpdateInstanceMetadataItemsResponse prototype)

public static UpdateInstanceMetadataItemsResponse.Builder newBuilder(UpdateInstanceMetadataItemsResponse prototype)
Parameter
NameDescription
prototypeUpdateInstanceMetadataItemsResponse
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse.Builder

parseDelimitedFrom(InputStream input)

public static UpdateInstanceMetadataItemsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateInstanceMetadataItemsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateInstanceMetadataItemsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateInstanceMetadataItemsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateInstanceMetadataItemsResponse> parser()
Returns
TypeDescription
Parser<UpdateInstanceMetadataItemsResponse>

Methods

containsItems(String key)

public boolean containsItems(String key)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateInstanceMetadataItemsResponse getDefaultInstanceForType()
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse

getItems() (deprecated)

public Map<String,String> getItems()

Use #getItemsMap() instead.

Returns
TypeDescription
Map<String,String>

getItemsCount()

public int getItemsCount()

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Returns
TypeDescription
int

getItemsMap()

public Map<String,String> getItemsMap()

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Returns
TypeDescription
Map<String,String>

getItemsOrDefault(String key, String defaultValue)

public String getItemsOrDefault(String key, String defaultValue)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getItemsOrThrow(String key)

public String getItemsOrThrow(String key)

Map of items that were added/updated to/in the metadata.

map<string, string> items = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<UpdateInstanceMetadataItemsResponse> getParserForType()
Returns
TypeDescription
Parser<UpdateInstanceMetadataItemsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateInstanceMetadataItemsResponse.Builder newBuilderForType()
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateInstanceMetadataItemsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateInstanceMetadataItemsResponse.Builder toBuilder()
Returns
TypeDescription
UpdateInstanceMetadataItemsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException