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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataSchemaDetails.Builder newBuilder()
newBuilder(DataSchemaDetails prototype)
public static DataSchemaDetails.Builder newBuilder(DataSchemaDetails prototype)
public static DataSchemaDetails parseDelimitedFrom(InputStream input)
public static DataSchemaDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataSchemaDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataSchemaDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataSchemaDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSchemaDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataSchemaDetails parseFrom(CodedInputStream input)
public static DataSchemaDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataSchemaDetails parseFrom(InputStream input)
public static DataSchemaDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataSchemaDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataSchemaDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataSchemaDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCustomizedStructConfig()
public DataSchemaDetails.CustomizedStructConfig getCustomizedStructConfig()
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
getCustomizedStructConfigOrBuilder()
public DataSchemaDetails.CustomizedStructConfigOrBuilder getCustomizedStructConfigOrBuilder()
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;
getDefaultInstanceForType()
public DataSchemaDetails getDefaultInstanceForType()
getGranularity()
public DataSchemaDetails.Granularity getGranularity()
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;
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;
getListConfigOrBuilder()
public DataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;
getParserForType()
public Parser<DataSchemaDetails> getParserForType()
Overrides
getProtoAnyConfig()
public DataSchemaDetails.ProtoAnyConfig getProtoAnyConfig()
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;
getProtoAnyConfigOrBuilder()
public DataSchemaDetails.ProtoAnyConfigOrBuilder getProtoAnyConfigOrBuilder()
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;
getSearchStrategy()
public DataSchemaDetails.SearchStrategy getSearchStrategy()
The search strategy to be applied on the key
above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;
getSearchStrategyOrBuilder()
public DataSchemaDetails.SearchStrategyOrBuilder getSearchStrategyOrBuilder()
The search strategy to be applied on the key
above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;
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;
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()
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataSchemaDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataSchemaDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataSchemaDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides