Class DataSchemaDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.DataSchemaDetails
All Implemented Interfaces:
DataSchemaDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataSchemaDetails extends com.google.protobuf.GeneratedMessage implements DataSchemaDetailsOrBuilder
 Data schema details indicates the data type and the data struct corresponding
 to the key of user specified annotation.
 
Protobuf type google.cloud.visionai.v1.DataSchemaDetails
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • PROTO_ANY_CONFIG_FIELD_NUMBER

      public static final int PROTO_ANY_CONFIG_FIELD_NUMBER
      See Also:
    • LIST_CONFIG_FIELD_NUMBER

      public static final int LIST_CONFIG_FIELD_NUMBER
      See Also:
    • CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER

      public static final int CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER
      See Also:
    • GRANULARITY_FIELD_NUMBER

      public static final int GRANULARITY_FIELD_NUMBER
      See Also:
    • SEARCH_STRATEGY_FIELD_NUMBER

      public static final int SEARCH_STRATEGY_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
    • hasType

      public boolean hasType()
       Type of the annotation.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;
      Specified by:
      hasType in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the type field is set.
    • getTypeValue

      public int getTypeValue()
       Type of the annotation.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;
      Specified by:
      getTypeValue in interface DataSchemaDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public DataSchemaDetails.DataType getType()
       Type of the annotation.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;
      Specified by:
      getType in interface DataSchemaDetailsOrBuilder
      Returns:
      The type.
    • hasProtoAnyConfig

      public boolean hasProtoAnyConfig()
       Config for protobuf any type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;
      Specified by:
      hasProtoAnyConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the protoAnyConfig field is set.
    • getProtoAnyConfig

      public DataSchemaDetails.ProtoAnyConfig getProtoAnyConfig()
       Config for protobuf any type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;
      Specified by:
      getProtoAnyConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      The protoAnyConfig.
    • getProtoAnyConfigOrBuilder

      public DataSchemaDetails.ProtoAnyConfigOrBuilder getProtoAnyConfigOrBuilder()
       Config for protobuf any type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;
      Specified by:
      getProtoAnyConfigOrBuilder in interface DataSchemaDetailsOrBuilder
    • hasListConfig

      public boolean hasListConfig()
       Config for List data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;
      Specified by:
      hasListConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the listConfig field is set.
    • getListConfig

      public DataSchemaDetails.ListConfig getListConfig()
       Config for List data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;
      Specified by:
      getListConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      The listConfig.
    • getListConfigOrBuilder

      public DataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()
       Config for List data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;
      Specified by:
      getListConfigOrBuilder in interface DataSchemaDetailsOrBuilder
    • hasCustomizedStructConfig

      public boolean hasCustomizedStructConfig()
       Config for CustomizedStruct data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
      Specified by:
      hasCustomizedStructConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the customizedStructConfig field is set.
    • getCustomizedStructConfig

      public DataSchemaDetails.CustomizedStructConfig getCustomizedStructConfig()
       Config for CustomizedStruct data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
      Specified by:
      getCustomizedStructConfig in interface DataSchemaDetailsOrBuilder
      Returns:
      The customizedStructConfig.
    • getCustomizedStructConfigOrBuilder

      public DataSchemaDetails.CustomizedStructConfigOrBuilder getCustomizedStructConfigOrBuilder()
       Config for CustomizedStruct data type.
       
      .google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
      Specified by:
      getCustomizedStructConfigOrBuilder in interface DataSchemaDetailsOrBuilder
    • hasGranularity

      public boolean hasGranularity()
       The granularity associated with this DataSchema.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;
      Specified by:
      hasGranularity in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the granularity field is set.
    • getGranularityValue

      public int getGranularityValue()
       The granularity associated with this DataSchema.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;
      Specified by:
      getGranularityValue in interface DataSchemaDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for granularity.
    • getGranularity

      public DataSchemaDetails.Granularity getGranularity()
       The granularity associated with this DataSchema.
       
      optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;
      Specified by:
      getGranularity in interface DataSchemaDetailsOrBuilder
      Returns:
      The granularity.
    • hasSearchStrategy

      public boolean hasSearchStrategy()
       The search strategy to be applied on the `key` above.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;
      Specified by:
      hasSearchStrategy in interface DataSchemaDetailsOrBuilder
      Returns:
      Whether the searchStrategy field is set.
    • getSearchStrategy

      public DataSchemaDetails.SearchStrategy getSearchStrategy()
       The search strategy to be applied on the `key` above.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;
      Specified by:
      getSearchStrategy in interface DataSchemaDetailsOrBuilder
      Returns:
      The searchStrategy.
    • getSearchStrategyOrBuilder

      public DataSchemaDetails.SearchStrategyOrBuilder getSearchStrategyOrBuilder()
       The search strategy to be applied on the `key` above.
       
      .google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;
      Specified by:
      getSearchStrategyOrBuilder in interface DataSchemaDetailsOrBuilder
    • 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 DataSchemaDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSchemaDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSchemaDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSchemaDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSchemaDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataSchemaDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public static DataSchemaDetails.Builder newBuilder()
    • newBuilder

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

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

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

      public static DataSchemaDetails getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DataSchemaDetails> 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 DataSchemaDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder