public final class TagField extends com.google.protobuf.GeneratedMessageV3 implements TagFieldOrBuilder
Contains the value and additional information on a field within a [Tag][google.cloud.datacatalog.v1.Tag].Protobuf type
google.cloud.datacatalog.v1.TagField| Modifier and Type | Class and Description |
|---|---|
static class |
TagField.Builder
Contains the value and additional information on a field within
a [Tag][google.cloud.datacatalog.v1.Tag].
|
static class |
TagField.EnumValue
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 |
RICHTEXT_VALUE_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()
The value of a tag field with a 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()
The value of a tag field with a double type.
|
TagField.EnumValue |
getEnumValue()
The value of a tag field with an enum type.
|
TagField.EnumValueOrBuilder |
getEnumValueOrBuilder()
The value of a tag field with an enum type.
|
TagField.KindCase |
getKindCase() |
int |
getOrder()
Output only.
|
com.google.protobuf.Parser<TagField> |
getParserForType() |
String |
getRichtextValue()
The value of a tag field with a rich text type.
|
com.google.protobuf.ByteString |
getRichtextValueBytes()
The value of a tag field with a rich text type.
|
int |
getSerializedSize() |
String |
getStringValue()
The value of a tag field with a string type.
|
com.google.protobuf.ByteString |
getStringValueBytes()
The value of a tag field with a string type.
|
com.google.protobuf.Timestamp |
getTimestampValue()
The value of a tag field with a timestamp type.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampValueOrBuilder()
The value of a tag field with a timestamp type.
|
boolean |
hasBoolValue()
The value of a tag field with a boolean type.
|
boolean |
hasDoubleValue()
The value of a tag field with a double type.
|
boolean |
hasEnumValue()
The value of a tag field with an enum type.
|
int |
hashCode() |
boolean |
hasRichtextValue()
The value of a tag field with a rich text type.
|
boolean |
hasStringValue()
The value of a tag field with a string type.
|
boolean |
hasTimestampValue()
The value of a tag field with a 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, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 RICHTEXT_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()
The value of a tag field with a double type.
double double_value = 2;hasDoubleValue in interface TagFieldOrBuilderpublic double getDoubleValue()
The value of a tag field with a double type.
double double_value = 2;getDoubleValue in interface TagFieldOrBuilderpublic boolean hasStringValue()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;hasStringValue in interface TagFieldOrBuilderpublic String getStringValue()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;getStringValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;getStringValueBytes in interface TagFieldOrBuilderpublic boolean hasBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;hasBoolValue in interface TagFieldOrBuilderpublic boolean getBoolValue()
The value of a tag field with a boolean type.
bool bool_value = 4;getBoolValue in interface TagFieldOrBuilderpublic boolean hasTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;hasTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.Timestamp getTimestampValue()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValue in interface TagFieldOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;getTimestampValueOrBuilder in interface TagFieldOrBuilderpublic boolean hasEnumValue()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;hasEnumValue in interface TagFieldOrBuilderpublic TagField.EnumValue getEnumValue()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;getEnumValue in interface TagFieldOrBuilderpublic TagField.EnumValueOrBuilder getEnumValueOrBuilder()
The value of a tag field with an enum type. This value must be one of the allowed values listed in this enum.
.google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6;getEnumValueOrBuilder in interface TagFieldOrBuilderpublic boolean hasRichtextValue()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;hasRichtextValue in interface TagFieldOrBuilderpublic String getRichtextValue()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;getRichtextValue in interface TagFieldOrBuilderpublic com.google.protobuf.ByteString getRichtextValueBytes()
The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.
string richtext_value = 8;getRichtextValueBytes in interface TagFieldOrBuilderpublic int getOrder()
Output only. The order of this field with respect to other fields in this tag. Can be set by [Tag][google.cloud.datacatalog.v1.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 don't 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 © 2023 Google LLC. All rights reserved.