Class TagField (1.48.0)

public final class TagField extends GeneratedMessageV3 implements TagFieldOrBuilder

Contains the value and supporting information for a field within a Tag.

Protobuf type google.cloud.datacatalog.v1beta1.TagField

Implements

TagFieldOrBuilder

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

DOUBLE_VALUE_FIELD_NUMBER

public static final int DOUBLE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENUM_VALUE_FIELD_NUMBER

public static final int ENUM_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ORDER_FIELD_NUMBER

public static final int ORDER_FIELD_NUMBER
Field Value
Type Description
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_VALUE_FIELD_NUMBER

public static final int TIMESTAMP_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TagField getDefaultInstance()
Returns
Type Description
TagField

getDescriptor()

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

newBuilder()

public static TagField.Builder newBuilder()
Returns
Type Description
TagField.Builder

newBuilder(TagField prototype)

public static TagField.Builder newBuilder(TagField prototype)
Parameter
Name Description
prototype TagField
Returns
Type Description
TagField.Builder

parseDelimitedFrom(InputStream input)

public static TagField parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TagField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TagField parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TagField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TagField parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TagField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TagField parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TagField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TagField parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TagField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TagField parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TagField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TagField
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TagField> parser()
Returns
Type Description
Parser<TagField>

Methods

equals(Object obj)

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

getBoolValue()

public boolean getBoolValue()

Holds the value for a tag field with boolean type.

bool bool_value = 4;

Returns
Type Description
boolean

The boolValue.

getDefaultInstanceForType()

public TagField getDefaultInstanceForType()
Returns
Type Description
TagField

getDisplayName()

public String getDisplayName()

Output only. The display name of this field.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of this field.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getDoubleValue()

public double getDoubleValue()

Holds the value for a tag field with double type.

double double_value = 2;

Returns
Type Description
double

The doubleValue.

getEnumValue()

public TagField.EnumValue getEnumValue()

Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.

.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;

Returns
Type Description
TagField.EnumValue

The enumValue.

getEnumValueOrBuilder()

public TagField.EnumValueOrBuilder getEnumValueOrBuilder()

Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.

.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;

Returns
Type Description
TagField.EnumValueOrBuilder

getKindCase()

public TagField.KindCase getKindCase()
Returns
Type Description
TagField.KindCase

getOrder()

public int getOrder()

Output only. The order of this field with respect to other fields in this tag. It can be set in Tag. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.

int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The order.

getParserForType()

public Parser<TagField> getParserForType()
Returns
Type Description
Parser<TagField>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringValue()

public String getStringValue()

Holds the value for a tag field with string type.

string string_value = 3;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Holds the value for a tag field with string type.

string string_value = 3;

Returns
Type Description
ByteString

The bytes for stringValue.

getTimestampValue()

public Timestamp getTimestampValue()

Holds the value for a tag field with timestamp type.

.google.protobuf.Timestamp timestamp_value = 5;

Returns
Type Description
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public TimestampOrBuilder getTimestampValueOrBuilder()

Holds the value for a tag field with timestamp type.

.google.protobuf.Timestamp timestamp_value = 5;

Returns
Type Description
TimestampOrBuilder

hasBoolValue()

public boolean hasBoolValue()

Holds the value for a tag field with boolean type.

bool bool_value = 4;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

Holds the value for a tag field with double type.

double double_value = 2;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasEnumValue()

public boolean hasEnumValue()

Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.

.google.cloud.datacatalog.v1beta1.TagField.EnumValue enum_value = 6;

Returns
Type Description
boolean

Whether the enumValue field is set.

hasStringValue()

public boolean hasStringValue()

Holds the value for a tag field with string type.

string string_value = 3;

Returns
Type Description
boolean

Whether the stringValue field is set.

hasTimestampValue()

public boolean hasTimestampValue()

Holds the value for a tag field with timestamp type.

.google.protobuf.Timestamp timestamp_value = 5;

Returns
Type Description
boolean

Whether the timestampValue 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 TagField.Builder newBuilderForType()
Returns
Type Description
TagField.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TagField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TagField.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TagField.Builder toBuilder()
Returns
Type Description
TagField.Builder

writeTo(CodedOutputStream output)

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