Interface EffectiveTagOrBuilder

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

    public interface EffectiveTagOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getInherited()
      Indicates the inheritance status of a tag value attached to the given resource.
      String getNamespacedTagKey()
      The namespaced name of the TagKey.
      com.google.protobuf.ByteString getNamespacedTagKeyBytes()
      The namespaced name of the TagKey.
      String getNamespacedTagValue()
      The namespaced name of the TagValue.
      com.google.protobuf.ByteString getNamespacedTagValueBytes()
      The namespaced name of the TagValue.
      String getTagKey()
      The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.
      com.google.protobuf.ByteString getTagKeyBytes()
      The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.
      String getTagKeyParentName()
      The parent name of the tag key.
      com.google.protobuf.ByteString getTagKeyParentNameBytes()
      The parent name of the tag key.
      String getTagValue()
      Resource name for TagValue in the format `tagValues/456`.
      com.google.protobuf.ByteString getTagValueBytes()
      Resource name for TagValue in the format `tagValues/456`.
      • 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 Detail

      • getTagValue

        String getTagValue()
         Resource name for TagValue in the format `tagValues/456`.
         
        string tag_value = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The tagValue.
      • getTagValueBytes

        com.google.protobuf.ByteString getTagValueBytes()
         Resource name for TagValue in the format `tagValues/456`.
         
        string tag_value = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for tagValue.
      • getNamespacedTagValue

        String getNamespacedTagValue()
         The namespaced name of the TagValue. Can be in the form
         `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or
         `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or
         `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.
         
        string namespaced_tag_value = 2;
        Returns:
        The namespacedTagValue.
      • getNamespacedTagValueBytes

        com.google.protobuf.ByteString getNamespacedTagValueBytes()
         The namespaced name of the TagValue. Can be in the form
         `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or
         `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or
         `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.
         
        string namespaced_tag_value = 2;
        Returns:
        The bytes for namespacedTagValue.
      • getTagKey

        String getTagKey()
         The name of the TagKey, in the format `tagKeys/{id}`, such as
         `tagKeys/123`.
         
        string tag_key = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        The tagKey.
      • getTagKeyBytes

        com.google.protobuf.ByteString getTagKeyBytes()
         The name of the TagKey, in the format `tagKeys/{id}`, such as
         `tagKeys/123`.
         
        string tag_key = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for tagKey.
      • getNamespacedTagKey

        String getNamespacedTagKey()
         The namespaced name of the TagKey. Can be in the form
         `{organization_id}/{tag_key_short_name}` or
         `{project_id}/{tag_key_short_name}` or
         `{project_number}/{tag_key_short_name}`.
         
        string namespaced_tag_key = 4;
        Returns:
        The namespacedTagKey.
      • getNamespacedTagKeyBytes

        com.google.protobuf.ByteString getNamespacedTagKeyBytes()
         The namespaced name of the TagKey. Can be in the form
         `{organization_id}/{tag_key_short_name}` or
         `{project_id}/{tag_key_short_name}` or
         `{project_number}/{tag_key_short_name}`.
         
        string namespaced_tag_key = 4;
        Returns:
        The bytes for namespacedTagKey.
      • getTagKeyParentName

        String getTagKeyParentName()
         The parent name of the tag key.
         Must be in the format `organizations/{organization_id}` or
         `projects/{project_number}`
         
        string tag_key_parent_name = 6;
        Returns:
        The tagKeyParentName.
      • getTagKeyParentNameBytes

        com.google.protobuf.ByteString getTagKeyParentNameBytes()
         The parent name of the tag key.
         Must be in the format `organizations/{organization_id}` or
         `projects/{project_number}`
         
        string tag_key_parent_name = 6;
        Returns:
        The bytes for tagKeyParentName.
      • getInherited

        boolean getInherited()
         Indicates the inheritance status of a tag value
         attached to the given resource. If the tag value is inherited from one of
         the resource's ancestors, inherited will be true. If false, then the tag
         value is directly attached to the resource, inherited will be false.
         
        bool inherited = 5;
        Returns:
        The inherited.