public static final class AsyncAnnotateFileRequest.Builder extends GeneratedMessageV3.Builder<AsyncAnnotateFileRequest.Builder> implements AsyncAnnotateFileRequestOrBuilder
An offline file annotation request.
Protobuf type google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFeatures(Iterable<? extends Feature> values)
public AsyncAnnotateFileRequest.Builder addAllFeatures(Iterable<? extends Feature> values)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.Feature>
|
Returns
addFeatures(Feature value)
public AsyncAnnotateFileRequest.Builder addFeatures(Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
addFeatures(Feature.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder addFeatures(Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
addFeatures(int index, Feature value)
public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameters
Returns
addFeatures(int index, Feature.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameters
Returns
addFeaturesBuilder()
public Feature.Builder addFeaturesBuilder()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
addFeaturesBuilder(int index)
public Feature.Builder addFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AsyncAnnotateFileRequest build()
Returns
buildPartial()
public AsyncAnnotateFileRequest buildPartial()
Returns
clear()
public AsyncAnnotateFileRequest.Builder clear()
Returns
Overrides
clearFeatures()
public AsyncAnnotateFileRequest.Builder clearFeatures()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AsyncAnnotateFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImageContext()
public AsyncAnnotateFileRequest.Builder clearImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Returns
public AsyncAnnotateFileRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncAnnotateFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOutputConfig()
public AsyncAnnotateFileRequest.Builder clearOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Returns
clone()
public AsyncAnnotateFileRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AsyncAnnotateFileRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFeatures(int index)
public Feature getFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
getFeaturesBuilder(int index)
public Feature.Builder getFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
getFeaturesBuilderList()
public List<Feature.Builder> getFeaturesBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
getFeaturesCount()
public int getFeaturesCount()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
getFeaturesList()
public List<Feature> getFeaturesList()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
getFeaturesOrBuilder(int index)
public FeatureOrBuilder getFeaturesOrBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
getFeaturesOrBuilderList()
public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.FeatureOrBuilder> | |
getImageContext()
public ImageContext getImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Returns
getImageContextBuilder()
public ImageContext.Builder getImageContextBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Returns
getImageContextOrBuilder()
public ImageContextOrBuilder getImageContextOrBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Returns
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns
getOutputConfig()
public OutputConfig getOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Returns
getOutputConfigBuilder()
public OutputConfig.Builder getOutputConfigBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Returns
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Returns
hasImageContext()
public boolean hasImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Returns
Type | Description |
boolean | Whether the imageContext field is set.
|
public boolean hasInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns
Type | Description |
boolean | Whether the inputConfig field is set.
|
hasOutputConfig()
public boolean hasOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Returns
Type | Description |
boolean | Whether the outputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AsyncAnnotateFileRequest other)
public AsyncAnnotateFileRequest.Builder mergeFrom(AsyncAnnotateFileRequest other)
Parameter
Returns
public AsyncAnnotateFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AsyncAnnotateFileRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeImageContext(ImageContext value)
public AsyncAnnotateFileRequest.Builder mergeImageContext(ImageContext value)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Parameter
Returns
public AsyncAnnotateFileRequest.Builder mergeInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Parameter
Returns
mergeOutputConfig(OutputConfig value)
public AsyncAnnotateFileRequest.Builder mergeOutputConfig(OutputConfig value)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFeatures(int index)
public AsyncAnnotateFileRequest.Builder removeFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter
Returns
setFeatures(int index, Feature value)
public AsyncAnnotateFileRequest.Builder setFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameters
Returns
setFeatures(int index, Feature.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder setFeatures(int index, Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setImageContext(ImageContext value)
public AsyncAnnotateFileRequest.Builder setImageContext(ImageContext value)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Parameter
Returns
setImageContext(ImageContext.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder setImageContext(ImageContext.Builder builderForValue)
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
Parameter
Returns
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Parameter
Returns
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Parameter
Returns
setOutputConfig(OutputConfig value)
public AsyncAnnotateFileRequest.Builder setOutputConfig(OutputConfig value)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Parameter
Returns
setOutputConfig(OutputConfig.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncAnnotateFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides