Class ImportProductSetsResponse.Builder (3.42.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1p4beta1.ReferenceImage reference_images = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1p4beta1.ReferenceImage>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ImportProductSetsResponse.Builder

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
Name Description
value ReferenceImage
Returns
Type Description
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.v1p4beta1.ReferenceImage reference_images = 1;

Parameter
Name Description
builderForValue ReferenceImage.Builder
Returns
Type Description
ImportProductSetsResponse.Builder

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
Name Description
index int
value ReferenceImage
Returns
Type Description
ImportProductSetsResponse.Builder

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
Name Description
index int
builderForValue ReferenceImage.Builder
Returns
Type Description
ImportProductSetsResponse.Builder

addReferenceImagesBuilder()

public ReferenceImage.Builder addReferenceImagesBuilder()

The list of reference_images that are imported successfully.

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

Returns
Type Description
ReferenceImage.Builder

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
Name Description
index int
Returns
Type Description
ReferenceImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProductSetsResponse.Builder
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
Type Description
ImportProductSetsResponse.Builder

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
Type Description
ImportProductSetsResponse.Builder

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
Type Description
ImportProductSetsResponse.Builder

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
Type Description
ImportProductSetsResponse.Builder

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
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

build()

public ImportProductSetsResponse build()
Returns
Type Description
ImportProductSetsResponse

buildPartial()

public ImportProductSetsResponse buildPartial()
Returns
Type Description
ImportProductSetsResponse

clear()

public ImportProductSetsResponse.Builder clear()
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportProductSetsResponse.Builder
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
Type Description
ImportProductSetsResponse.Builder

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
Type Description
ImportProductSetsResponse.Builder

clone()

public ImportProductSetsResponse.Builder clone()
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportProductSetsResponse getDefaultInstanceForType()
Returns
Type Description
ImportProductSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
ReferenceImage

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
Name Description
index int
Returns
Type Description
ReferenceImage.Builder

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
Type Description
List<Builder>

getReferenceImagesCount()

public int getReferenceImagesCount()

The list of reference_images that are imported successfully.

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

Returns
Type Description
int

getReferenceImagesList()

public List<ReferenceImage> getReferenceImagesList()

The list of reference_images that are imported successfully.

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

Returns
Type Description
List<ReferenceImage>

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
Name Description
index int
Returns
Type Description
ReferenceImageOrBuilder

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
Name Description
index int
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
Name Description
index int
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
Type Description
int

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
Name Description
index int
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportProductSetsResponse other)

public ImportProductSetsResponse.Builder mergeFrom(ImportProductSetsResponse other)
Parameter
Name Description
other ImportProductSetsResponse
Returns
Type Description
ImportProductSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportProductSetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProductSetsResponse.Builder
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
Name Description
index int
Returns
Type Description
ImportProductSetsResponse.Builder

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
Name Description
index int
Returns
Type Description
ImportProductSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportProductSetsResponse.Builder
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
Name Description
index int
value ReferenceImage
Returns
Type Description
ImportProductSetsResponse.Builder

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
Name Description
index int
builderForValue ReferenceImage.Builder
Returns
Type Description
ImportProductSetsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportProductSetsResponse.Builder
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
Type Description
ImportProductSetsResponse.Builder

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
Type Description
ImportProductSetsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides