public static final class ImportProductSetsResponse.Builder extends GeneratedMessageV3.Builder<ImportProductSetsResponse.Builder> implements ImportProductSetsResponseOrBuilder
Response message for the ImportProductSets
method.
This message is returned by the
google.longrunning.Operations.GetOperation
method in the returned
google.longrunning.Operation.response
field.
Protobuf type google.cloud.vision.v1p4beta1.ImportProductSetsResponse
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
addAllReferenceImages(Iterable<? extends ReferenceImage> values)
public ImportProductSetsResponse.Builder addAllReferenceImages(Iterable<? extends ReferenceImage> values)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p4beta1.ReferenceImage>
|
Returns
addAllStatuses(Iterable<? extends Status> values)
public ImportProductSetsResponse.Builder addAllStatuses(Iterable<? extends Status> values)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.rpc.Status>
|
Returns
addReferenceImages(ReferenceImage value)
public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage value)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addReferenceImages(ReferenceImage.Builder builderForValue)
public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addReferenceImages(int index, ReferenceImage value)
public ImportProductSetsResponse.Builder addReferenceImages(int index, ReferenceImage value)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameters
Returns
addReferenceImages(int index, ReferenceImage.Builder builderForValue)
public ImportProductSetsResponse.Builder addReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameters
Returns
addReferenceImagesBuilder()
public ReferenceImage.Builder addReferenceImagesBuilder()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
addReferenceImagesBuilder(int index)
public ReferenceImage.Builder addReferenceImagesBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addStatuses(Status value)
public ImportProductSetsResponse.Builder addStatuses(Status value)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
addStatuses(Status.Builder builderForValue)
public ImportProductSetsResponse.Builder addStatuses(Status.Builder builderForValue)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
addStatuses(int index, Status value)
public ImportProductSetsResponse.Builder addStatuses(int index, Status value)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameters
Name | Description |
index | int
|
value | com.google.rpc.Status
|
Returns
addStatuses(int index, Status.Builder builderForValue)
public ImportProductSetsResponse.Builder addStatuses(int index, Status.Builder builderForValue)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameters
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
Returns
addStatusesBuilder()
public Status.Builder addStatusesBuilder()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
Type | Description |
com.google.rpc.Status.Builder | |
addStatusesBuilder(int index)
public Status.Builder addStatusesBuilder(int index)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Returns
Type | Description |
com.google.rpc.Status.Builder | |
build()
public ImportProductSetsResponse build()
Returns
buildPartial()
public ImportProductSetsResponse buildPartial()
Returns
clear()
public ImportProductSetsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReferenceImages()
public ImportProductSetsResponse.Builder clearReferenceImages()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
clearStatuses()
public ImportProductSetsResponse.Builder clearStatuses()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
clone()
public ImportProductSetsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportProductSetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getReferenceImages(int index)
public ReferenceImage getReferenceImages(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesBuilder(int index)
public ReferenceImage.Builder getReferenceImagesBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesBuilderList()
public List<ReferenceImage.Builder> getReferenceImagesBuilderList()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesCount()
public int getReferenceImagesCount()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesList()
public List<ReferenceImage> getReferenceImagesList()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesOrBuilder(int index)
public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesOrBuilderList()
public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.ReferenceImageOrBuilder> | |
getStatuses(int index)
public Status getStatuses(int index)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Returns
Type | Description |
com.google.rpc.Status | |
getStatusesBuilder(int index)
public Status.Builder getStatusesBuilder(int index)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Returns
Type | Description |
com.google.rpc.Status.Builder | |
getStatusesBuilderList()
public List<Status.Builder> getStatusesBuilderList()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
Type | Description |
List<com.google.rpc.Status.Builder> | |
getStatusesCount()
public int getStatusesCount()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
getStatusesList()
public List<Status> getStatusesList()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
Type | Description |
List<com.google.rpc.Status> | |
getStatusesOrBuilder(int index)
public StatusOrBuilder getStatusesOrBuilder(int index)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
getStatusesOrBuilderList()
public List<? extends StatusOrBuilder> getStatusesOrBuilderList()
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Returns
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportProductSetsResponse other)
public ImportProductSetsResponse.Builder mergeFrom(ImportProductSetsResponse other)
Parameter
Returns
public ImportProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportProductSetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeReferenceImages(int index)
public ImportProductSetsResponse.Builder removeReferenceImages(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameter
Returns
removeStatuses(int index)
public ImportProductSetsResponse.Builder removeStatuses(int index)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImportProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setReferenceImages(int index, ReferenceImage value)
public ImportProductSetsResponse.Builder setReferenceImages(int index, ReferenceImage value)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameters
Returns
setReferenceImages(int index, ReferenceImage.Builder builderForValue)
public ImportProductSetsResponse.Builder setReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1p4beta1.ReferenceImage reference_images = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStatuses(int index, Status value)
public ImportProductSetsResponse.Builder setStatuses(int index, Status value)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameters
Name | Description |
index | int
|
value | com.google.rpc.Status
|
Returns
setStatuses(int index, Status.Builder builderForValue)
public ImportProductSetsResponse.Builder setStatuses(int index, Status.Builder builderForValue)
The rpc status for each ImportProductSet request, including both successes
and errors.
The number of statuses here matches the number of lines in the csv file,
and statuses[i] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.
repeated .google.rpc.Status statuses = 2;
Parameters
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides