Class ImportProductSetsResponse.Builder (2.1.4)

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.v1.ImportProductSetsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.ReferenceImage>
Returns
TypeDescription
ImportProductSetsResponse.Builder

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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
ImportProductSetsResponse.Builder

addReferenceImages(ReferenceImage value)

public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage value)

The list of reference_images that are imported successfully.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
valueReferenceImage
Returns
TypeDescription
ImportProductSetsResponse.Builder

addReferenceImages(ReferenceImage.Builder builderForValue)

public ImportProductSetsResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)

The list of reference_images that are imported successfully.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
builderForValueReferenceImage.Builder
Returns
TypeDescription
ImportProductSetsResponse.Builder

addReferenceImages(int index, ReferenceImage value)

public ImportProductSetsResponse.Builder addReferenceImages(int index, ReferenceImage value)

The list of reference_images that are imported successfully.