Class UpdateInstanceMetadataItemsResponse (1.43.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
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateInstanceMetadataItemsResponse getDefaultInstance()
Returns
Type Description
UpdateInstanceMetadataItemsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateInstanceMetadataItemsResponse.Builder newBuilder()
Returns
Type Description
UpdateInstanceMetadataItemsResponse.Builder

newBuilder(UpdateInstanceMetadataItemsResponse prototype)

public static UpdateInstanceMetadataItemsResponse.Builder newBuilder(UpdateInstanceMetadataItemsResponse prototype)
Parameter
Name Description
prototype UpdateInstanceMetadataItemsResponse
Returns
Type Description
UpdateInstanceMetadataItemsResponse.Builder

parseDelimitedFrom(InputStream input)

public static UpdateInstanceMetadataItemsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateInstanceMetadataItemsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateInstanceMetadataItemsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateInstanceMetadataItemsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateInstanceMetadataItemsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateInstanceMetadataItemsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateInstanceMetadataItemsResponse> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateInstanceMetadataItemsResponse getDefaultInstanceForType()
Returns
Type Description
UpdateInstanceMetadataItemsResponse

getItems() (deprecated)

public Map<String,String> getItems()

Use #getItemsMap() instead.

Returns
Type Description
Map<String,String>

getItemsCount()

public int getItemsCount()

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

map<string, string> items = 1;

Returns
Type Description
int

getItemsMap()

public Map<String,String> getItemsMap()

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

map<string, string> items = 1;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getParserForType()

public Parser<UpdateInstanceMetadataItemsResponse> getParserForType()
Returns
Type Description
Parser<UpdateInstanceMetadataItemsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateInstanceMetadataItemsResponse.Builder newBuilderForType()
Returns
Type Description
UpdateInstanceMetadataItemsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateInstanceMetadataItemsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateInstanceMetadataItemsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateInstanceMetadataItemsResponse.Builder toBuilder()
Returns
Type Description
UpdateInstanceMetadataItemsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException