Package com.google.privacy.dlp.v2
Interface TagOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tag,Tag.Builder
@Generated
public interface TagOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()The key of a tag key-value pair.com.google.protobuf.ByteStringThe key of a tag key-value pair.The namespaced name for the tag value to attach to Google Cloud resources.com.google.protobuf.ByteStringThe namespaced name for the tag value to attach to Google Cloud resources.getValue()The value of a tag key-value pair.com.google.protobuf.ByteStringThe value of a tag key-value pair.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespacedTagValue
String getNamespacedTagValue()The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent. This is only set for Google Cloud resources.string namespaced_tag_value = 1;- Returns:
- The namespacedTagValue.
-
getNamespacedTagValueBytes
com.google.protobuf.ByteString getNamespacedTagValueBytes()The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent. This is only set for Google Cloud resources.string namespaced_tag_value = 1;- Returns:
- The bytes for namespacedTagValue.
-
getKey
String getKey()The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456".
string key = 2;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456".
string key = 2;- Returns:
- The bytes for key.
-
getValue
String getValue()The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456".
string value = 3;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456".
string value = 3;- Returns:
- The bytes for value.
-