Class UpdateInstanceMetadataItemsResponse.Builder (1.92.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class UpdateInstanceMetadataItemsResponse.Builder extends GeneratedMessage.Builder<UpdateInstanceMetadataItemsResponse.Builder> implements UpdateInstanceMetadataItemsResponseOrBuilder
Response for adding/changing metadata items for an instance.
Protobuf type google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateInstanceMetadataItemsResponse build()
public UpdateInstanceMetadataItemsResponse buildPartial()
public UpdateInstanceMetadataItemsResponse.Builder clear()
Overrides
public UpdateInstanceMetadataItemsResponse.Builder clearItems()
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
|
public UpdateInstanceMetadataItemsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getItems()
public int getItemsCount()
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
| Returns |
| Type |
Description |
int |
|
public Map<String,String> getItemsMap()
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
public String getItemsOrDefault(String key, String defaultValue)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
| Returns |
| Type |
Description |
String |
|
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 |
|
public Map<String,String> getMutableItems()
Use alternate mutation accessors instead.
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(UpdateInstanceMetadataItemsResponse other)
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public UpdateInstanceMetadataItemsResponse.Builder putAllItems(Map<String,String> values)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
public UpdateInstanceMetadataItemsResponse.Builder putItems(String key, String value)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
public UpdateInstanceMetadataItemsResponse.Builder removeItems(String key)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
| Parameter |
| Name |
Description |
key |
String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]