public final class TagField extends com.google.protobuf.GeneratedMessageV3 implements TagFieldOrBuilder
Contains the value and supporting information for a field within a [Tag][google.cloud.datacatalog.v1beta1.Tag].Protobuf type
google.cloud.datacatalog.v1beta1.TagField| Modifier and Type | Class and Description |
|---|---|
static class |
TagField.Builder
Contains the value and supporting information for a field within
a [Tag][google.cloud.datacatalog.v1beta1.Tag].
|
static class |
TagField.EnumValue
Holds an enum value.
|
static interface |
TagField.EnumValueOrBuilder |
static class |
TagField.KindCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
DOUBLE_VALUE_FIELD_NUMBER |
static int |
ENUM_VALUE_FIELD_NUMBER |
static int |
ORDER_FIELD_NUMBER |
static int |
STRING_VALUE_FIELD_NUMBER |
static int |
TIMESTAMP_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getBoolValue()
Holds the value for a tag field with boolean type.
|
static TagField |
getDefaultInstance() |
TagField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
double |
getDoubleValue()
Holds the value for a tag field with double type.
|
TagField.EnumValue |
getEnumValue()
Holds the value for a tag field with enum type.
|
TagField.EnumValueOrBuilder |
getEnumValueOrBuilder()
Holds the value for a tag field with enum type.
|
TagField.KindCase |
getKindCase() |
int |
getOrder()
Output only.
|
com.google.protobuf.Parser<TagField> |
getParserForType() |
int |
getSerializedSize() |
String |
getStringValue()
Holds the value for a tag field with string type.
|
com.google.protobuf.ByteString |
getStringValueBytes()
Holds the value for a tag field with string type.
|
com.google.protobuf.Timestamp |
getTimestampValue()
Holds the value for a tag field with timestamp type.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
Holds the value for a tag field with timestamp type.
|
boolean |
hasBoolValue()
Holds the value for a tag field with boolean type.
|
boolean |
hasDoubleValue()
Holds the value for a tag field with double type.
|
boolean |
hasEnumValue()
Holds the value for a tag field with enum type.
|
int |
hashCode() |
boolean |
hasStringValue()
Holds the value for a tag field with string type.
|
boolean |
hasTimestampValue()
Holds the value for a tag field with timestamp type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TagField.Builder |
newBuilder() |
static TagField.Builder |
newBuilder(TagField prototype) |
TagField.Builder |
newBuilderForType() |
protected TagField.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TagField |
parseDelimitedFrom(InputStream input) |
static TagField |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TagField |
parseFrom(byte[] data) |
static TagField |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TagField |
parseFrom(ByteBuffer data) |
static TagField |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TagField |
parseFrom(com.google.protobuf.ByteString data) |
static TagField |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TagField |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TagField |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TagField |
parseFrom(InputStream input) |
static TagField |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TagField> |
parser() |
TagField.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER
public static final int ENUM_VALUE_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public TagField.KindCase getKindCase()
getKindCase in interface TagFieldOrBuilderpublic String getDisplayName()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface TagFieldOrBuilderpublic boolean hasDoubleValue()
Holds the value for a tag field with double type.
double double_value = 2;hasDoubleValue in interface TagFieldOrBuilderpublic double getDoubleValue()
Holds the value for a tag field with double type.
double double_value = 2;getDoubleValue in interface TagFieldOrBuilderpublic boolean hasStringValue()
Holds the value for a tag field with string type.
string string_value = 3;hasStringValue in interface TagFieldOrBuilderpublic String getStringValue()
Holds the value for a tag field with string type.
string string_value = 3;getStringValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
Holds the value for a tag field with string type.
string string_value = 3;getStringValueBytes in interface TagFieldOrBuilderpublic boolean hasBoolValue()
Holds the value for a tag field with boolean type.
bool bool_value = 4;hasBoolValue in interface TagFieldOrBuilderpublic boolean getBoolValue()
Holds the value for a tag field with boolean type.
bool bool_value = 4;getBoolValue in interface TagFieldOrBuilderpublic boolean hasTimestampValue()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
Holds the value for a tag field with timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface TagFieldOrBuilderpublic 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;hasEnumValue in interface TagFieldOrBuilderpublic 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;getEnumValue in interface TagFieldOrBuilderpublic 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;getEnumValueOrBuilder in interface TagFieldOrBuilderpublic int getOrder()
Output only. The order of this field with respect to other fields in this tag. It can be set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. 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];getOrder in interface TagFieldOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TagField parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TagField parseFrom(InputStream input) throws IOException
IOExceptionpublic static TagField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TagField parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TagField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TagField parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TagField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TagField.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TagField.Builder newBuilder()
public static TagField.Builder newBuilder(TagField prototype)
public TagField.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TagField.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TagField getDefaultInstance()
public static com.google.protobuf.Parser<TagField> parser()
public com.google.protobuf.Parser<TagField> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TagField getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.