Class TagField

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1beta1.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 supporting information for a field within
 a [Tag][google.cloud.datacatalog.v1beta1.Tag].
 
Protobuf type google.cloud.datacatalog.v1beta1.TagField
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the value and supporting information for a field within a [Tag][google.cloud.datacatalog.v1beta1.Tag].
    static final class 
    Holds an enum value.
    static interface 
     
    static enum 
     

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    Holds the value for a tag field with boolean type.
    static TagField
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Output only.
    com.google.protobuf.ByteString
    Output only.
    double
    Holds the value for a tag field with double type.
    Holds the value for a tag field with enum type.
    Holds the value for a tag field with enum type.
     
    int
    Output only.
    com.google.protobuf.Parser<TagField>
     
    int
     
    Holds the value for a tag field with string type.
    com.google.protobuf.ByteString
    Holds the value for a tag field with string type.
    com.google.protobuf.Timestamp
    Holds the value for a tag field with timestamp type.
    com.google.protobuf.TimestampOrBuilder
    Holds the value for a tag field with timestamp type.
    boolean
    Holds the value for a tag field with boolean type.
    boolean
    Holds the value for a tag field with double type.
    boolean
    Holds the value for a tag field with enum type.
    int
     
    boolean
    Holds the value for a tag field with string type.
    boolean
    Holds the value for a tag field with timestamp type.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(TagField prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static TagField
     
    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(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
     
    static TagField
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static TagField
     
    static TagField
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TagField>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
    • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getKindCase

      public TagField.KindCase getKindCase()
      Specified by:
      getKindCase in interface TagFieldOrBuilder
    • getDisplayName

      public String getDisplayName()
       Output only. The display name of this field.
       
      string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface TagFieldOrBuilder
      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:
      getDisplayNameBytes in interface TagFieldOrBuilder
      Returns:
      The bytes for displayName.
    • hasDoubleValue

      public boolean hasDoubleValue()
       Holds the value for a tag field with double type.
       
      double double_value = 2;
      Specified by:
      hasDoubleValue in interface TagFieldOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
       Holds the value for a tag field with double type.
       
      double double_value = 2;
      Specified by:
      getDoubleValue in interface TagFieldOrBuilder
      Returns:
      The doubleValue.
    • hasStringValue

      public boolean hasStringValue()
       Holds the value for a tag field with string type.
       
      string string_value = 3;
      Specified by:
      hasStringValue in interface TagFieldOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       Holds the value for a tag field with string type.
       
      string string_value = 3;
      Specified by:
      getStringValue in interface TagFieldOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       Holds the value for a tag field with string type.
       
      string string_value = 3;
      Specified by:
      getStringValueBytes in interface TagFieldOrBuilder
      Returns:
      The bytes for stringValue.
    • hasBoolValue

      public boolean hasBoolValue()
       Holds the value for a tag field with boolean type.
       
      bool bool_value = 4;
      Specified by:
      hasBoolValue in interface TagFieldOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
       Holds the value for a tag field with boolean type.
       
      bool bool_value = 4;
      Specified by:
      getBoolValue in interface TagFieldOrBuilder
      Returns:
      The boolValue.
    • hasTimestampValue

      public boolean hasTimestampValue()
       Holds the value for a tag field with timestamp type.
       
      .google.protobuf.Timestamp timestamp_value = 5;
      Specified by:
      hasTimestampValue in interface TagFieldOrBuilder
      Returns:
      Whether the timestampValue field is set.
    • getTimestampValue

      public com.google.protobuf.Timestamp getTimestampValue()
       Holds the value for a tag field with timestamp type.
       
      .google.protobuf.Timestamp timestamp_value = 5;
      Specified by:
      getTimestampValue in interface TagFieldOrBuilder
      Returns:
      The timestampValue.
    • getTimestampValueOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
       Holds the value for a tag field with timestamp type.
       
      .google.protobuf.Timestamp timestamp_value = 5;
      Specified by:
      getTimestampValueOrBuilder in interface TagFieldOrBuilder
    • 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;
      Specified by:
      hasEnumValue in interface TagFieldOrBuilder
      Returns:
      Whether the enumValue field is set.
    • 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;
      Specified by:
      getEnumValue in interface TagFieldOrBuilder
      Returns:
      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;
      Specified by:
      getEnumValueOrBuilder in interface TagFieldOrBuilder
    • 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][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];
      Specified by:
      getOrder in interface TagFieldOrBuilder
      Returns:
      The order.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static TagField parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TagField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TagField parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TagField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TagField parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TagField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TagField.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TagField.Builder newBuilder()
    • newBuilder

      public static TagField.Builder newBuilder(TagField prototype)
    • toBuilder

      public TagField.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TagField.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TagField getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TagField> parser()
    • getParserForType

      public com.google.protobuf.Parser<TagField> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TagField getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder