Package com.google.cloud.notebooks.v1
Interface UpdateInstanceMetadataItemsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateInstanceMetadataItemsRequest
,UpdateInstanceMetadataItemsRequest.Builder
public interface UpdateInstanceMetadataItemsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsItems(String key)
Metadata items to add/update for the instance.Map<String,String>
getItems()
Deprecated.int
getItemsCount()
Metadata items to add/update for the instance.Map<String,String>
getItemsMap()
Metadata items to add/update for the instance.String
getItemsOrDefault(String key, String defaultValue)
Metadata items to add/update for the instance.String
getItemsOrThrow(String key)
Metadata items to add/update for the instance.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getItemsCount
int getItemsCount()
Metadata items to add/update for the instance.
map<string, string> items = 2;
-
containsItems
boolean containsItems(String key)
Metadata items to add/update for the instance.
map<string, string> items = 2;
-
getItems
@Deprecated Map<String,String> getItems()
Deprecated.UsegetItemsMap()
instead.
-
getItemsMap
Map<String,String> getItemsMap()
Metadata items to add/update for the instance.
map<string, string> items = 2;
-
getItemsOrDefault
String getItemsOrDefault(String key, String defaultValue)
Metadata items to add/update for the instance.
map<string, string> items = 2;
-
-