Class DataProfileAction.TagResources.TagValue (3.59.0)

public static final class DataProfileAction.TagResources.TagValue extends GeneratedMessageV3 implements DataProfileAction.TagResources.TagValueOrBuilder

A value of a tag.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfileAction.TagResources.TagValue

Static Fields

NAMESPACED_VALUE_FIELD_NUMBER

public static final int NAMESPACED_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataProfileAction.TagResources.TagValue getDefaultInstance()
Returns
Type Description
DataProfileAction.TagResources.TagValue

getDescriptor()

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

newBuilder()

public static DataProfileAction.TagResources.TagValue.Builder newBuilder()
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

newBuilder(DataProfileAction.TagResources.TagValue prototype)

public static DataProfileAction.TagResources.TagValue.Builder newBuilder(DataProfileAction.TagResources.TagValue prototype)
Parameter
Name Description
prototype DataProfileAction.TagResources.TagValue
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder

parseDelimitedFrom(InputStream input)

public static DataProfileAction.TagResources.TagValue parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataProfileAction.TagResources.TagValue parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataProfileAction.TagResources.TagValue parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataProfileAction.TagResources.TagValue parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataProfileAction.TagResources.TagValue parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataProfileAction.TagResources.TagValue parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataProfileAction.TagResources.TagValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileAction.TagResources.TagValue
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataProfileAction.TagResources.TagValue> parser()
Returns
Type Description
Parser<TagValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<DataProfileAction.TagResources.TagValue> getParserForType()
Returns
Type Description
Parser<TagValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataProfileAction.TagResources.TagValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataProfileAction.TagResources.TagValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException