public static final class AsyncAnnotateFileRequest.Builder extends GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder> implements AsyncAnnotateFileRequestOrBuilder
An offline file annotation request.Protobuf type
google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AsyncAnnotateFileRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AsyncAnnotateFileRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AsyncAnnotateFileRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder mergeFrom(AsyncAnnotateFileRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public AsyncAnnotateFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncAnnotateFileRequest.Builder>
java.io.IOException
public boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
hasInputConfig
in interface AsyncAnnotateFileRequestOrBuilder
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
getInputConfig
in interface AsyncAnnotateFileRequestOrBuilder
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
public AsyncAnnotateFileRequest.Builder mergeInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
public AsyncAnnotateFileRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p2beta1.InputConfig input_config = 1;
getInputConfigOrBuilder
in interface AsyncAnnotateFileRequestOrBuilder
public java.util.List<Feature> getFeaturesList()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
getFeaturesList
in interface AsyncAnnotateFileRequestOrBuilder
public int getFeaturesCount()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
getFeaturesCount
in interface AsyncAnnotateFileRequestOrBuilder
public Feature getFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
getFeatures
in interface AsyncAnnotateFileRequestOrBuilder
public AsyncAnnotateFileRequest.Builder setFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder setFeatures(int index, Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder addFeatures(Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder addFeatures(Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder addAllFeatures(java.lang.Iterable<? extends Feature> values)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder clearFeatures()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public AsyncAnnotateFileRequest.Builder removeFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public Feature.Builder getFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public FeatureOrBuilder getFeaturesOrBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
getFeaturesOrBuilder
in interface AsyncAnnotateFileRequestOrBuilder
public java.util.List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
getFeaturesOrBuilderList
in interface AsyncAnnotateFileRequestOrBuilder
public Feature.Builder addFeaturesBuilder()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public Feature.Builder addFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public java.util.List<Feature.Builder> getFeaturesBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1p2beta1.Feature features = 2;
public boolean hasImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
hasImageContext
in interface AsyncAnnotateFileRequestOrBuilder
public ImageContext getImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
getImageContext
in interface AsyncAnnotateFileRequestOrBuilder
public AsyncAnnotateFileRequest.Builder setImageContext(ImageContext value)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
public AsyncAnnotateFileRequest.Builder setImageContext(ImageContext.Builder builderForValue)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
public AsyncAnnotateFileRequest.Builder mergeImageContext(ImageContext value)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
public AsyncAnnotateFileRequest.Builder clearImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
public ImageContext.Builder getImageContextBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
public ImageContextOrBuilder getImageContextOrBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p2beta1.ImageContext image_context = 3;
getImageContextOrBuilder
in interface AsyncAnnotateFileRequestOrBuilder
public boolean hasOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
hasOutputConfig
in interface AsyncAnnotateFileRequestOrBuilder
public OutputConfig getOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
getOutputConfig
in interface AsyncAnnotateFileRequestOrBuilder
public AsyncAnnotateFileRequest.Builder setOutputConfig(OutputConfig value)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
public AsyncAnnotateFileRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
public AsyncAnnotateFileRequest.Builder mergeOutputConfig(OutputConfig value)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
public AsyncAnnotateFileRequest.Builder clearOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
public OutputConfig.Builder getOutputConfigBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 4;
getOutputConfigOrBuilder
in interface AsyncAnnotateFileRequestOrBuilder
public final AsyncAnnotateFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>
public final AsyncAnnotateFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder>