Class DataSchemaDetails (0.1.0)

public final class DataSchemaDetails extends GeneratedMessageV3 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

Static Fields

CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER

public static final int CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GRANULARITY_FIELD_NUMBER

public static final int GRANULARITY_FIELD_NUMBER
Field Value
Type Description
int

LIST_CONFIG_FIELD_NUMBER

public static final int LIST_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PROTO_ANY_CONFIG_FIELD_NUMBER

public static final int PROTO_ANY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_STRATEGY_FIELD_NUMBER

public static final int SEARCH_STRATEGY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataSchemaDetails getDefaultInstance()
Returns
Type Description
DataSchemaDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataSchemaDetails.Builder newBuilder()
Returns
Type Description
DataSchemaDetails.Builder

newBuilder(DataSchemaDetails prototype)

public static DataSchemaDetails.Builder newBuilder(DataSchemaDetails prototype)
Parameter
Name Description
prototype DataSchemaDetails
Returns
Type Description
DataSchemaDetails.Builder

parseDelimitedFrom(InputStream input)

public static DataSchemaDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataSchemaDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataSchemaDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataSchemaDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataSchemaDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataSchemaDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataSchemaDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataSchemaDetails> parser()
Returns
Type Description
Parser<DataSchemaDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomizedStructConfig()

public DataSchemaDetails.CustomizedStructConfig getCustomizedStructConfig()

Config for CustomizedStruct data type.

.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;

Returns
Type Description
DataSchemaDetails.CustomizedStructConfig

The customizedStructConfig.

getCustomizedStructConfigOrBuilder()

public DataSchemaDetails.CustomizedStructConfigOrBuilder getCustomizedStructConfigOrBuilder()

Config for CustomizedStruct data type.

.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;

Returns
Type Description
DataSchemaDetails.CustomizedStructConfigOrBuilder

getDefaultInstanceForType()

public DataSchemaDetails getDefaultInstanceForType()
Returns
Type Description
DataSchemaDetails

getGranularity()

public DataSchemaDetails.Granularity getGranularity()

The granularity associated with this DataSchema.

optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;

Returns
Type Description
DataSchemaDetails.Granularity

The granularity.

getGranularityValue()

public int getGranularityValue()

The granularity associated with this DataSchema.

optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;

Returns
Type Description
int

The enum numeric value on the wire for granularity.

getListConfig()

public DataSchemaDetails.ListConfig getListConfig()

Config for List data type.

.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;

Returns
Type Description
DataSchemaDetails.ListConfig

The listConfig.

getListConfigOrBuilder()

public DataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()

Config for List data type.

.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;

Returns
Type Description
DataSchemaDetails.ListConfigOrBuilder

getParserForType()

public Parser<DataSchemaDetails> getParserForType()
Returns
Type Description
Parser<DataSchemaDetails>
Overrides

getProtoAnyConfig()

public DataSchemaDetails.ProtoAnyConfig getProtoAnyConfig()

Config for protobuf any type.

.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;

Returns
Type Description
DataSchemaDetails.ProtoAnyConfig

The protoAnyConfig.

getProtoAnyConfigOrBuilder()

public DataSchemaDetails.ProtoAnyConfigOrBuilder getProtoAnyConfigOrBuilder()

Config for protobuf any type.

.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;

Returns
Type Description
DataSchemaDetails.ProtoAnyConfigOrBuilder

getSearchStrategy()

public DataSchemaDetails.SearchStrategy getSearchStrategy()

The search strategy to be applied on the key above.

.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;

Returns
Type Description
DataSchemaDetails.SearchStrategy

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;

Returns
Type Description
DataSchemaDetails.SearchStrategyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public DataSchemaDetails.DataType getType()

Type of the annotation.

optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;

Returns
Type Description
DataSchemaDetails.DataType

The type.

getTypeValue()

public int getTypeValue()

Type of the annotation.

optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCustomizedStructConfig()

public boolean hasCustomizedStructConfig()

Config for CustomizedStruct data type.

.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;

Returns
Type Description
boolean

Whether the customizedStructConfig field is set.

hasGranularity()

public boolean hasGranularity()

The granularity associated with this DataSchema.

optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;

Returns
Type Description
boolean

Whether the granularity field is set.

hasListConfig()

public boolean hasListConfig()

Config for List data type.

.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;

Returns
Type Description
boolean

Whether the listConfig field is set.

hasProtoAnyConfig()

public boolean hasProtoAnyConfig()

Config for protobuf any type.

.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;

Returns
Type Description
boolean

Whether the protoAnyConfig field is set.

hasSearchStrategy()

public boolean hasSearchStrategy()

The search strategy to be applied on the key above.

.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;

Returns
Type Description
boolean

Whether the searchStrategy field is set.

hasType()

public boolean hasType()

Type of the annotation.

optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;

Returns
Type Description
boolean

Whether the type field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataSchemaDetails.Builder newBuilderForType()
Returns
Type Description
DataSchemaDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataSchemaDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataSchemaDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataSchemaDetails.Builder toBuilder()
Returns
Type Description
DataSchemaDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException