Interface ResourceManagerTagsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourceManagerTags, ResourceManagerTags.Builder

@Generated public interface ResourceManagerTagsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
    Deprecated.
    int
    TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
    TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
    getTagsOrDefault(String key, String defaultValue)
    TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.
    TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTagsCount

      int getTagsCount()
       TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
       1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
       2. `{org_id}/{tag_key_name}={tag_value_name}`
       3. `{project_id}/{tag_key_name}={tag_value_name}`
       
      map<string, string> tags = 1;
    • containsTags

      boolean containsTags(String key)
       TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
       1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
       2. `{org_id}/{tag_key_name}={tag_value_name}`
       3. `{project_id}/{tag_key_name}={tag_value_name}`
       
      map<string, string> tags = 1;
    • getTags

      Deprecated.
      Use getTagsMap() instead.
    • getTagsMap

      Map<String,String> getTagsMap()
       TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
       1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
       2. `{org_id}/{tag_key_name}={tag_value_name}`
       3. `{project_id}/{tag_key_name}={tag_value_name}`
       
      map<string, string> tags = 1;
    • getTagsOrDefault

      String getTagsOrDefault(String key, String defaultValue)
       TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
       1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
       2. `{org_id}/{tag_key_name}={tag_value_name}`
       3. `{project_id}/{tag_key_name}={tag_value_name}`
       
      map<string, string> tags = 1;
    • getTagsOrThrow

      String getTagsOrThrow(String key)
       TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
       1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
       2. `{org_id}/{tag_key_name}={tag_value_name}`
       3. `{project_id}/{tag_key_name}={tag_value_name}`
       
      map<string, string> tags = 1;