public static final class AnnotateFileResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder> implements AnnotateFileResponseOrBuilder
Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.Protobuf type
google.cloud.vision.v1p3beta1.AnnotateFileResponse| Modifier and Type | Method and Description |
|---|---|
AnnotateFileResponse.Builder |
addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnnotateFileResponse.Builder |
addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
addResponses(AnnotateImageResponse value)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
addResponses(int index,
AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
addResponses(int index,
AnnotateImageResponse value)
Individual responses to images found within the file.
|
AnnotateImageResponse.Builder |
addResponsesBuilder()
Individual responses to images found within the file.
|
AnnotateImageResponse.Builder |
addResponsesBuilder(int index)
Individual responses to images found within the file.
|
AnnotateFileResponse |
build() |
AnnotateFileResponse |
buildPartial() |
AnnotateFileResponse.Builder |
clear() |
AnnotateFileResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AnnotateFileResponse.Builder |
clearInputConfig()
Information about the file for which this response is generated.
|
AnnotateFileResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AnnotateFileResponse.Builder |
clearResponses()
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
clone() |
AnnotateFileResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
InputConfig |
getInputConfig()
Information about the file for which this response is generated.
|
InputConfig.Builder |
getInputConfigBuilder()
Information about the file for which this response is generated.
|
InputConfigOrBuilder |
getInputConfigOrBuilder()
Information about the file for which this response is generated.
|
AnnotateImageResponse |
getResponses(int index)
Individual responses to images found within the file.
|
AnnotateImageResponse.Builder |
getResponsesBuilder(int index)
Individual responses to images found within the file.
|
List<AnnotateImageResponse.Builder> |
getResponsesBuilderList()
Individual responses to images found within the file.
|
int |
getResponsesCount()
Individual responses to images found within the file.
|
List<AnnotateImageResponse> |
getResponsesList()
Individual responses to images found within the file.
|
AnnotateImageResponseOrBuilder |
getResponsesOrBuilder(int index)
Individual responses to images found within the file.
|
List<? extends AnnotateImageResponseOrBuilder> |
getResponsesOrBuilderList()
Individual responses to images found within the file.
|
boolean |
hasInputConfig()
Information about the file for which this response is generated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AnnotateFileResponse.Builder |
mergeFrom(AnnotateFileResponse other) |
AnnotateFileResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AnnotateFileResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
AnnotateFileResponse.Builder |
mergeInputConfig(InputConfig value)
Information about the file for which this response is generated.
|
AnnotateFileResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AnnotateFileResponse.Builder |
removeResponses(int index)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnnotateFileResponse.Builder |
setInputConfig(InputConfig.Builder builderForValue)
Information about the file for which this response is generated.
|
AnnotateFileResponse.Builder |
setInputConfig(InputConfig value)
Information about the file for which this response is generated.
|
AnnotateFileResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AnnotateFileResponse.Builder |
setResponses(int index,
AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
setResponses(int index,
AnnotateImageResponse value)
Individual responses to images found within the file.
|
AnnotateFileResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnnotateFileResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnnotateFileResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnnotateFileResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder mergeFrom(AnnotateFileResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public AnnotateFileResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotateFileResponse.Builder>IOExceptionpublic boolean hasInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;hasInputConfig in interface AnnotateFileResponseOrBuilderpublic InputConfig getInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;getInputConfig in interface AnnotateFileResponseOrBuilderpublic AnnotateFileResponse.Builder setInputConfig(InputConfig value)
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;public AnnotateFileResponse.Builder setInputConfig(InputConfig.Builder builderForValue)
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;public AnnotateFileResponse.Builder mergeInputConfig(InputConfig value)
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;public AnnotateFileResponse.Builder clearInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;public InputConfig.Builder getInputConfigBuilder()
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;public InputConfigOrBuilder getInputConfigOrBuilder()
Information about the file for which this response is generated.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;getInputConfigOrBuilder in interface AnnotateFileResponseOrBuilderpublic List<AnnotateImageResponse> getResponsesList()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;getResponsesList in interface AnnotateFileResponseOrBuilderpublic int getResponsesCount()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;getResponsesCount in interface AnnotateFileResponseOrBuilderpublic AnnotateImageResponse getResponses(int index)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;getResponses in interface AnnotateFileResponseOrBuilderpublic AnnotateFileResponse.Builder setResponses(int index, AnnotateImageResponse value)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder setResponses(int index, AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse value)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder addResponses(int index, AnnotateImageResponse value)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder addResponses(int index, AnnotateImageResponse.Builder builderForValue)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder clearResponses()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateFileResponse.Builder removeResponses(int index)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateImageResponse.Builder getResponsesBuilder(int index)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;getResponsesOrBuilder in interface AnnotateFileResponseOrBuilderpublic List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;getResponsesOrBuilderList in interface AnnotateFileResponseOrBuilderpublic AnnotateImageResponse.Builder addResponsesBuilder()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public AnnotateImageResponse.Builder addResponsesBuilder(int index)
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public List<AnnotateImageResponse.Builder> getResponsesBuilderList()
Individual responses to images found within the file.
repeated .google.cloud.vision.v1p3beta1.AnnotateImageResponse responses = 2;public final AnnotateFileResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>public final AnnotateFileResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotateFileResponse.Builder>Copyright © 2022 Google LLC. All rights reserved.