Class BatchAnnotateFilesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
- com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse.Builder
-
- All Implemented Interfaces:
BatchAnnotateFilesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BatchAnnotateFilesResponse
public static final class BatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder> implements BatchAnnotateFilesResponseOrBuilder
A list of file annotation responses.
Protobuf typegoogle.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchAnnotateFilesResponse.Builder
addAllResponses(Iterable<? extends AnnotateFileResponse> values)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchAnnotateFilesResponse.Builder
addResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
addResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
addResponses(AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
addResponses(AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.Builder
addResponsesBuilder()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.Builder
addResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse
build()
BatchAnnotateFilesResponse
buildPartial()
BatchAnnotateFilesResponse.Builder
clear()
BatchAnnotateFilesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchAnnotateFilesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchAnnotateFilesResponse.Builder
clearResponses()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
clone()
BatchAnnotateFilesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AnnotateFileResponse
getResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.Builder
getResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<AnnotateFileResponse.Builder>
getResponsesBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.int
getResponsesCount()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<AnnotateFileResponse>
getResponsesList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponseOrBuilder
getResponsesOrBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<? extends AnnotateFileResponseOrBuilder>
getResponsesOrBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchAnnotateFilesResponse.Builder
mergeFrom(BatchAnnotateFilesResponse other)
BatchAnnotateFilesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchAnnotateFilesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
BatchAnnotateFilesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchAnnotateFilesResponse.Builder
removeResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchAnnotateFilesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchAnnotateFilesResponse.Builder
setResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builder
setResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
clear
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
getDefaultInstanceForType
public BatchAnnotateFilesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchAnnotateFilesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchAnnotateFilesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
setField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
clearField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
clearOneof
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
setRepeatedField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
addRepeatedField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.Builder mergeFrom(BatchAnnotateFilesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
- Throws:
IOException
-
getResponsesList
public List<AnnotateFileResponse> getResponsesList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
- Specified by:
getResponsesList
in interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponsesCount
public int getResponsesCount()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
- Specified by:
getResponsesCount
in interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponses
public AnnotateFileResponse getResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
- Specified by:
getResponses
in interfaceBatchAnnotateFilesResponseOrBuilder
-
setResponses
public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
setResponses
public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addAllResponses
public BatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AnnotateFileResponse> values)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
clearResponses
public BatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
removeResponses
public BatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
getResponsesBuilder
public AnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
getResponsesOrBuilder
public AnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
- Specified by:
getResponsesOrBuilder
in interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponsesOrBuilderList
public List<? extends AnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
- Specified by:
getResponsesOrBuilderList
in interfaceBatchAnnotateFilesResponseOrBuilder
-
addResponsesBuilder
public AnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
addResponsesBuilder
public AnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
getResponsesBuilderList
public List<AnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;
-
setUnknownFields
public final BatchAnnotateFilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeUnknownFields
public final BatchAnnotateFilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
-