- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateInstanceMetadataItemsResponse.BuilderImplements
UpdateInstanceMetadataItemsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceMetadataItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
build()
public UpdateInstanceMetadataItemsResponse build()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse |
buildPartial()
public UpdateInstanceMetadataItemsResponse buildPartial()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse |
clear()
public UpdateInstanceMetadataItemsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateInstanceMetadataItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
clearItems()
public UpdateInstanceMetadataItemsResponse.Builder clearItems()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInstanceMetadataItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
clone()
public UpdateInstanceMetadataItemsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
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 |
getDefaultInstanceForType()
public UpdateInstanceMetadataItemsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getItems()
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 |
getMutableItems()
public Map<String,String> getMutableItems()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpdateInstanceMetadataItemsResponse other)
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(UpdateInstanceMetadataItemsResponse other)
Parameter | |
---|---|
Name | Description |
other | UpdateInstanceMetadataItemsResponse |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateInstanceMetadataItemsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceMetadataItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
putAllItems(Map<String,String> values)
public UpdateInstanceMetadataItemsResponse.Builder putAllItems(Map<String,String> values)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
putItems(String key, String value)
public UpdateInstanceMetadataItemsResponse.Builder putItems(String key, String value)
Map of items that were added/updated to/in the metadata.
map<string, string> items = 1;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
removeItems(String key)
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 |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceMetadataItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInstanceMetadataItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceMetadataItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateInstanceMetadataItemsResponse.Builder |