Class DataProfileAction.TagResources.TagValue.Builder (3.87.0)

public static final class DataProfileAction.TagResources.TagValue.Builder extends GeneratedMessage.Builder<DataProfileAction.TagResources.TagValue.Builder> implements DataProfileAction.TagResources.TagValueOrBuilder

A value of a tag.

Protobuf type google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DataProfileAction.TagResources.TagValue build()
Returns
Type Description
DataProfileAction.TagResources.TagValue

buildPartial()

public DataProfileAction.TagResources.TagValue buildPartial()
Returns
Type Description
DataProfileAction.TagResources.TagValue

clear()

public DataProfileAction.TagResources.TagValue.Builder clear()
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

clearFormat()

public DataProfileAction.TagResources.TagValue.Builder clearFormat()
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

clearNamespacedValue()

public DataProfileAction.TagResources.TagValue.Builder clearNamespacedValue()

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataProfileAction.TagResources.TagValue getDefaultInstanceForType()
Returns
Type Description
DataProfileAction.TagResources.TagValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFormatCase()

public DataProfileAction.TagResources.TagValue.FormatCase getFormatCase()
Returns
Type Description
DataProfileAction.TagResources.TagValue.FormatCase

getNamespacedValue()

public String getNamespacedValue()

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Returns
Type Description
String

The namespacedValue.

getNamespacedValueBytes()

public ByteString getNamespacedValueBytes()

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Returns
Type Description
ByteString

The bytes for namespacedValue.

hasNamespacedValue()

public boolean hasNamespacedValue()

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Returns
Type Description
boolean

Whether the namespacedValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileAction.TagResources.TagValue other)

public DataProfileAction.TagResources.TagValue.Builder mergeFrom(DataProfileAction.TagResources.TagValue other)
Parameter
Name Description
other DataProfileAction.TagResources.TagValue
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileAction.TagResources.TagValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileAction.TagResources.TagValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

setNamespacedValue(String value)

public DataProfileAction.TagResources.TagValue.Builder setNamespacedValue(String value)

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Parameter
Name Description
value String

The namespacedValue to set.

Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

This builder for chaining.

setNamespacedValueBytes(ByteString value)

public DataProfileAction.TagResources.TagValue.Builder setNamespacedValueBytes(ByteString value)

The namespaced name for the tag value to attach to 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.

string namespaced_value = 1;

Parameter
Name Description
value ByteString

The bytes for namespacedValue to set.

Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

This builder for chaining.