Package com.google.cloud.compute.v1
Interface InstanceParamsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceParams
,InstanceParams.Builder
public interface InstanceParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsResourceManagerTags(String key)
Resource manager tags to be bound to the instance.Map<String,String>
getResourceManagerTags()
Deprecated.int
getResourceManagerTagsCount()
Resource manager tags to be bound to the instance.Map<String,String>
getResourceManagerTagsMap()
Resource manager tags to be bound to the instance.String
getResourceManagerTagsOrDefault(String key, String defaultValue)
Resource manager tags to be bound to the instance.String
getResourceManagerTagsOrThrow(String key)
Resource manager tags to be bound to the instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceManagerTagsCount
int getResourceManagerTagsCount()
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
map<string, string> resource_manager_tags = 377671164;
-
containsResourceManagerTags
boolean containsResourceManagerTags(String key)
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
map<string, string> resource_manager_tags = 377671164;
-
getResourceManagerTags
@Deprecated Map<String,String> getResourceManagerTags()
Deprecated.UsegetResourceManagerTagsMap()
instead.
-
getResourceManagerTagsMap
Map<String,String> getResourceManagerTagsMap()
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
map<string, string> resource_manager_tags = 377671164;
-
getResourceManagerTagsOrDefault
String getResourceManagerTagsOrDefault(String key, String defaultValue)
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
map<string, string> resource_manager_tags = 377671164;
-
getResourceManagerTagsOrThrow
String getResourceManagerTagsOrThrow(String key)
Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
map<string, string> resource_manager_tags = 377671164;
-
-