public static final class UpdateInstanceMetadataItemsResponse.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateInstanceMetadataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateInstanceMetadataItemsResponse build()
public UpdateInstanceMetadataItemsResponse buildPartial()
public UpdateInstanceMetadataItemsResponse.Builder clear()
Overrides
public UpdateInstanceMetadataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateInstanceMetadataItemsResponse.Builder clearItems()
public UpdateInstanceMetadataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateInstanceMetadataItemsResponse.Builder clone()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.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 final UpdateInstanceMetadataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
public UpdateInstanceMetadataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateInstanceMetadataItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateInstanceMetadataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides