Package com.google.cloud.vision.v1
Class AsyncBatchAnnotateFilesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
- com.google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse.Builder
-
- All Implemented Interfaces:
AsyncBatchAnnotateFilesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AsyncBatchAnnotateFilesResponse
public static final class AsyncBatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder
Response to an async batch file annotation request.
Protobuf typegoogle.cloud.vision.v1.AsyncBatchAnnotateFilesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncBatchAnnotateFilesResponse.Builder
addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AsyncBatchAnnotateFilesResponse.Builder
addResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
addResponses(AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
addResponses(AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.Builder
addResponsesBuilder()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.Builder
addResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse
build()
AsyncBatchAnnotateFilesResponse
buildPartial()
AsyncBatchAnnotateFilesResponse.Builder
clear()
AsyncBatchAnnotateFilesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AsyncBatchAnnotateFilesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AsyncBatchAnnotateFilesResponse.Builder
clearResponses()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
clone()
AsyncBatchAnnotateFilesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AsyncAnnotateFileResponse
getResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.Builder
getResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<AsyncAnnotateFileResponse.Builder>
getResponsesBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.int
getResponsesCount()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<AsyncAnnotateFileResponse>
getResponsesList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponseOrBuilder
getResponsesOrBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<? extends AsyncAnnotateFileResponseOrBuilder>
getResponsesOrBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AsyncBatchAnnotateFilesResponse.Builder
mergeFrom(AsyncBatchAnnotateFilesResponse other)
AsyncBatchAnnotateFilesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AsyncBatchAnnotateFilesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
AsyncBatchAnnotateFilesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AsyncBatchAnnotateFilesResponse.Builder
removeResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AsyncBatchAnnotateFilesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AsyncBatchAnnotateFilesResponse.Builder
setResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clear
public AsyncBatchAnnotateFilesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
getDefaultInstanceForType
public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AsyncBatchAnnotateFilesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AsyncBatchAnnotateFilesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AsyncBatchAnnotateFilesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
setField
public AsyncBatchAnnotateFilesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clearField
public AsyncBatchAnnotateFilesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clearOneof
public AsyncBatchAnnotateFilesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
setRepeatedField
public AsyncBatchAnnotateFilesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
addRepeatedField
public AsyncBatchAnnotateFilesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesResponse.Builder>
- Throws:
IOException
-
getResponsesList
public List<AsyncAnnotateFileResponse> getResponsesList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
- Specified by:
getResponsesList
in interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponsesCount
public int getResponsesCount()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
- Specified by:
getResponsesCount
in interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponses
public AsyncAnnotateFileResponse getResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
- Specified by:
getResponses
in interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
setResponses
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
setResponses
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addAllResponses
public AsyncBatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
clearResponses
public AsyncBatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
removeResponses
public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesBuilder
public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesOrBuilder
public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
- Specified by:
getResponsesOrBuilder
in interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponsesOrBuilderList
public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
- Specified by:
getResponsesOrBuilderList
in interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
addResponsesBuilder
public AsyncAnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
addResponsesBuilder
public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesBuilderList
public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AsyncAnnotateFileResponse responses = 1;
-
setUnknownFields
public final AsyncBatchAnnotateFilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeUnknownFields
public final AsyncBatchAnnotateFilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
-