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()
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>
|
addFeatures(Feature value)
public AsyncAnnotateFileRequest.Builder addFeatures(Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
value | Feature
|
addFeatures(Feature.Builder builderForValue)
public AsyncAnnotateFileRequest.Builder addFeatures(Feature.Builder builderForValue)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
addFeatures(int index, Feature value)
public AsyncAnnotateFileRequest.Builder addFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
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;
addFeaturesBuilder()
public Feature.Builder addFeaturesBuilder()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
addFeaturesBuilder(int index)
public Feature.Builder addFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AsyncAnnotateFileRequest build()
buildPartial()
public AsyncAnnotateFileRequest buildPartial()
clear()
public AsyncAnnotateFileRequest.Builder clear()
Overrides
clearFeatures()
public AsyncAnnotateFileRequest.Builder clearFeatures()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
clearField(Descriptors.FieldDescriptor field)
public AsyncAnnotateFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
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;
public AsyncAnnotateFileRequest.Builder clearInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncAnnotateFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOutputConfig()
public AsyncAnnotateFileRequest.Builder clearOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
clone()
public AsyncAnnotateFileRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public AsyncAnnotateFileRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFeatures(int index)
public Feature getFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
index | int
|
getFeaturesBuilder(int index)
public Feature.Builder getFeaturesBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
index | int
|
getFeaturesBuilderList()
public List<Feature.Builder> getFeaturesBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
getFeaturesCount()
public int getFeaturesCount()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Returns |
---|
Type | Description |
int | |
getFeaturesList()
public List<Feature> getFeaturesList()
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
getFeaturesOrBuilder(int index)
public FeatureOrBuilder getFeaturesOrBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
index | int
|
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;
getImageContextBuilder()
public ImageContext.Builder getImageContextBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
getImageContextOrBuilder()
public ImageContextOrBuilder getImageContextOrBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
public InputConfig.Builder getInputConfigBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
getOutputConfig()
public OutputConfig getOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
getOutputConfigBuilder()
public OutputConfig.Builder getOutputConfigBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p4beta1.OutputConfig output_config = 4;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AsyncAnnotateFileRequest other)
public AsyncAnnotateFileRequest.Builder mergeFrom(AsyncAnnotateFileRequest other)
public AsyncAnnotateFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AsyncAnnotateFileRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public AsyncAnnotateFileRequest.Builder mergeInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFeatures(int index)
public AsyncAnnotateFileRequest.Builder removeFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
Parameter |
---|
Name | Description |
index | int
|
setFeatures(int index, Feature value)
public AsyncAnnotateFileRequest.Builder setFeatures(int index, Feature value)
Required. Requested features.
repeated .google.cloud.vision.v1p4beta1.Feature features = 2;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig value)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
public AsyncAnnotateFileRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Information about the input file.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncAnnotateFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides