Package com.google.cloud.visionai.v1
Class DataSchemaDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataSchemaDetails.Builder>
com.google.cloud.visionai.v1.DataSchemaDetails.Builder
- All Implemented Interfaces:
DataSchemaDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataSchemaDetails
public static final class DataSchemaDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataSchemaDetails.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Config for CustomizedStruct data type.The granularity associated with this DataSchema.Config for List data type.Config for protobuf any type.The search strategy to be applied on the `key` above.Type of the annotation.Config for CustomizedStruct data type.Config for CustomizedStruct data type.Config for CustomizedStruct data type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe granularity associated with this DataSchema.intThe granularity associated with this DataSchema.Config for List data type.Config for List data type.Config for List data type.Config for protobuf any type.Config for protobuf any type.Config for protobuf any type.The search strategy to be applied on the `key` above.The search strategy to be applied on the `key` above.The search strategy to be applied on the `key` above.getType()Type of the annotation.intType of the annotation.booleanConfig for CustomizedStruct data type.booleanThe granularity associated with this DataSchema.booleanConfig for List data type.booleanConfig for protobuf any type.booleanThe search strategy to be applied on the `key` above.booleanhasType()Type of the annotation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConfig for CustomizedStruct data type.mergeFrom(DataSchemaDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Config for List data type.Config for protobuf any type.The search strategy to be applied on the `key` above.Config for CustomizedStruct data type.Config for CustomizedStruct data type.The granularity associated with this DataSchema.setGranularityValue(int value) The granularity associated with this DataSchema.Config for List data type.setListConfig(DataSchemaDetails.ListConfig.Builder builderForValue) Config for List data type.Config for protobuf any type.setProtoAnyConfig(DataSchemaDetails.ProtoAnyConfig.Builder builderForValue) Config for protobuf any type.The search strategy to be applied on the `key` above.setSearchStrategy(DataSchemaDetails.SearchStrategy.Builder builderForValue) The search strategy to be applied on the `key` above.Type of the annotation.setTypeValue(int value) Type of the annotation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<DataSchemaDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataSchemaDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataSchemaDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSchemaDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataSchemaDetails.Builder>
-
mergeFrom
public DataSchemaDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSchemaDetails.Builder>- Throws:
IOException
-
hasType
public boolean hasType()Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Specified by:
hasTypein interfaceDataSchemaDetailsOrBuilder- 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:
getTypeValuein interfaceDataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Specified by:
getTypein interfaceDataSchemaDetailsOrBuilder- Returns:
- The type.
-
setType
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Returns:
- This builder for chaining.
-
hasProtoAnyConfig
public boolean hasProtoAnyConfig()Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
hasProtoAnyConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the protoAnyConfig field is set.
-
getProtoAnyConfig
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
getProtoAnyConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The protoAnyConfig.
-
setProtoAnyConfig
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6; -
setProtoAnyConfig
public DataSchemaDetails.Builder setProtoAnyConfig(DataSchemaDetails.ProtoAnyConfig.Builder builderForValue) Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6; -
mergeProtoAnyConfig
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6; -
clearProtoAnyConfig
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6; -
getProtoAnyConfigBuilder
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6; -
getProtoAnyConfigOrBuilder
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
getProtoAnyConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasListConfig
public boolean hasListConfig()Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
hasListConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the listConfig field is set.
-
getListConfig
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
getListConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The listConfig.
-
setListConfig
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8; -
setListConfig
public DataSchemaDetails.Builder setListConfig(DataSchemaDetails.ListConfig.Builder builderForValue) Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8; -
mergeListConfig
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8; -
clearListConfig
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8; -
getListConfigBuilder
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8; -
getListConfigOrBuilder
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
getListConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasCustomizedStructConfig
public boolean hasCustomizedStructConfig()Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
hasCustomizedStructConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the customizedStructConfig field is set.
-
getCustomizedStructConfig
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
getCustomizedStructConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The customizedStructConfig.
-
setCustomizedStructConfig
public DataSchemaDetails.Builder setCustomizedStructConfig(DataSchemaDetails.CustomizedStructConfig value) Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9; -
setCustomizedStructConfig
public DataSchemaDetails.Builder setCustomizedStructConfig(DataSchemaDetails.CustomizedStructConfig.Builder builderForValue) Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9; -
mergeCustomizedStructConfig
public DataSchemaDetails.Builder mergeCustomizedStructConfig(DataSchemaDetails.CustomizedStructConfig value) Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9; -
clearCustomizedStructConfig
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9; -
getCustomizedStructConfigBuilder
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9; -
getCustomizedStructConfigOrBuilder
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
getCustomizedStructConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasGranularity
public boolean hasGranularity()The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Specified by:
hasGranularityin interfaceDataSchemaDetailsOrBuilder- 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:
getGranularityValuein interfaceDataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for granularity.
-
setGranularityValue
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Parameters:
value- The enum numeric value on the wire for granularity to set.- Returns:
- This builder for chaining.
-
getGranularity
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Specified by:
getGranularityin interfaceDataSchemaDetailsOrBuilder- Returns:
- The granularity.
-
setGranularity
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Returns:
- This builder for chaining.
-
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:
hasSearchStrategyin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the searchStrategy field is set.
-
getSearchStrategy
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;- Specified by:
getSearchStrategyin interfaceDataSchemaDetailsOrBuilder- Returns:
- The searchStrategy.
-
setSearchStrategy
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7; -
setSearchStrategy
public DataSchemaDetails.Builder setSearchStrategy(DataSchemaDetails.SearchStrategy.Builder builderForValue) The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7; -
mergeSearchStrategy
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7; -
clearSearchStrategy
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7; -
getSearchStrategyBuilder
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7; -
getSearchStrategyOrBuilder
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;- Specified by:
getSearchStrategyOrBuilderin interfaceDataSchemaDetailsOrBuilder
-