Class DataProfileAction.TagResources.TagValue.Builder (3.52.0)

public static final class DataProfileAction.TagResources.TagValue.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.TagResources.TagValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DataProfileAction.TagResources.TagValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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".

string namespaced_value = 1;

Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileAction.TagResources.TagValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

clone()

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

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".

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".

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".

string namespaced_value = 1;

Returns
Type Description
boolean

Whether the namespacedValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.TagResources.TagValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileAction.TagResources.TagValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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".

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".

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileAction.TagResources.TagValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileAction.TagResources.TagValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides