Package com.google.cloud.datacatalog.v1
Class TagField
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1.TagField
- All Implemented Interfaces:
TagFieldOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TagField
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the value and additional information on a field within a [Tag][google.cloud.datacatalog.v1.Tag].static final classAn enum value.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanThe value of a tag field with a boolean type.static TagFieldstatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.doubleThe value of a tag field with a double type.The value of a tag field with an enum type.The value of a tag field with an enum type.intgetOrder()Output only.com.google.protobuf.Parser<TagField>The value of a tag field with a rich text type.com.google.protobuf.ByteStringThe value of a tag field with a rich text type.intThe value of a tag field with a string type.com.google.protobuf.ByteStringThe value of a tag field with a string type.com.google.protobuf.TimestampThe value of a tag field with a timestamp type.com.google.protobuf.TimestampOrBuilderThe value of a tag field with a timestamp type.booleanThe value of a tag field with a boolean type.booleanThe value of a tag field with a double type.booleanThe value of a tag field with an enum type.inthashCode()booleanThe value of a tag field with a rich text type.booleanThe value of a tag field with a string type.booleanThe value of a tag field with a timestamp type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TagField.Builderstatic TagField.BuildernewBuilder(TagField prototype) protected TagField.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TagFieldparseDelimitedFrom(InputStream input) static TagFieldparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TagFieldparseFrom(byte[] data) static TagFieldparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TagFieldparseFrom(com.google.protobuf.ByteString data) static TagFieldparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TagFieldparseFrom(com.google.protobuf.CodedInputStream input) static TagFieldparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TagFieldparseFrom(InputStream input) static TagFieldparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TagFieldparseFrom(ByteBuffer data) static TagFieldparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TagField>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER- See Also:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER- See Also:
-
TIMESTAMP_VALUE_FIELD_NUMBER
public static final int TIMESTAMP_VALUE_FIELD_NUMBER- See Also:
-
ENUM_VALUE_FIELD_NUMBER
public static final int ENUM_VALUE_FIELD_NUMBER- See Also:
-
RICHTEXT_VALUE_FIELD_NUMBER
public static final int RICHTEXT_VALUE_FIELD_NUMBER- See Also:
-
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getKindCase
- Specified by:
getKindCasein interfaceTagFieldOrBuilder
-
getDisplayName
Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceTagFieldOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of this field.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceTagFieldOrBuilder- Returns:
- The bytes for displayName.
-
hasDoubleValue
public boolean hasDoubleValue()The value of a tag field with a double type.
double double_value = 2;- Specified by:
hasDoubleValuein interfaceTagFieldOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()The value of a tag field with a double type.
double double_value = 2;- Specified by:
getDoubleValuein interfaceTagFieldOrBuilder- Returns:
- The doubleValue.
-
hasStringValue
public boolean hasStringValue()The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;- Specified by:
hasStringValuein interfaceTagFieldOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
The value of a tag field with a string type. The maximum length is 2000 UTF-8 characters.
string string_value = 3;- Specified by:
getStringValuein interfaceTagFieldOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public 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;- Specified by:
getStringValueBytesin interfaceTagFieldOrBuilder- Returns:
- The bytes for stringValue.
-
hasBoolValue
public boolean hasBoolValue()The value of a tag field with a boolean type.
bool bool_value = 4;- Specified by:
hasBoolValuein interfaceTagFieldOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()The value of a tag field with a boolean type.
bool bool_value = 4;- Specified by:
getBoolValuein interfaceTagFieldOrBuilder- Returns:
- The boolValue.
-
hasTimestampValue
public boolean hasTimestampValue()The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;- Specified by:
hasTimestampValuein interfaceTagFieldOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public com.google.protobuf.Timestamp getTimestampValue()The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;- Specified by:
getTimestampValuein interfaceTagFieldOrBuilder- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()The value of a tag field with a timestamp type.
.google.protobuf.Timestamp timestamp_value = 5;- Specified by:
getTimestampValueOrBuilderin interfaceTagFieldOrBuilder
-
hasEnumValue
public 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;- Specified by:
hasEnumValuein interfaceTagFieldOrBuilder- Returns:
- Whether the enumValue field is set.
-
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;- Specified by:
getEnumValuein interfaceTagFieldOrBuilder- Returns:
- The enumValue.
-
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;- Specified by:
getEnumValueOrBuilderin interfaceTagFieldOrBuilder
-
hasRichtextValue
public 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;- Specified by:
hasRichtextValuein interfaceTagFieldOrBuilder- Returns:
- Whether the richtextValue field is set.
-
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;- Specified by:
getRichtextValuein interfaceTagFieldOrBuilder- Returns:
- The richtextValue.
-
getRichtextValueBytes
public 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;- Specified by:
getRichtextValueBytesin interfaceTagFieldOrBuilder- Returns:
- The bytes for richtextValue.
-
getOrder
public 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];- Specified by:
getOrderin interfaceTagFieldOrBuilder- Returns:
- The order.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TagField parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TagField parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TagField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TagField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TagField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TagField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TagField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TagField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TagField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TagField.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-