Class ImportProductSetsResponse.Builder (3.11.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.v1p3beta1.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.v1p3beta1.ReferenceImage reference_images = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.

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

Parameters
NameDescription
indexint
valueReferenceImage
Returns
TypeDescription
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.v1p3beta1.ReferenceImage reference_images = 1;

Parameters
NameDescription
indexint
builderForValueReferenceImage.Builder
Returns
TypeDescription
ImportProductSetsResponse.Builder

addReferenceImagesBuilder()

public ReferenceImage.Builder addReferenceImagesBuilder()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
ReferenceImage.Builder

addReferenceImagesBuilder(int index)

public ReferenceImage.Builder addReferenceImagesBuilder(int index)

The list of reference_images that are imported successfully.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

build()

public ImportProductSetsResponse build()
Returns
TypeDescription
ImportProductSetsResponse

buildPartial()

public ImportProductSetsResponse buildPartial()
Returns
TypeDescription
ImportProductSetsResponse

clear()

public ImportProductSetsResponse.Builder clear()
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

clearReferenceImages()

public ImportProductSetsResponse.Builder clearReferenceImages()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
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
TypeDescription
ImportProductSetsResponse.Builder

clone()

public ImportProductSetsResponse.Builder clone()
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportProductSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportProductSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReferenceImages(int index)

public ReferenceImage getReferenceImages(int index)

The list of reference_images that are imported successfully.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImage

getReferenceImagesBuilder(int index)

public ReferenceImage.Builder getReferenceImagesBuilder(int index)

The list of reference_images that are imported successfully.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImage.Builder

getReferenceImagesBuilderList()

public List<ReferenceImage.Builder> getReferenceImagesBuilderList()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
List<Builder>

getReferenceImagesCount()

public int getReferenceImagesCount()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
int

getReferenceImagesList()

public List<ReferenceImage> getReferenceImagesList()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
List<ReferenceImage>

getReferenceImagesOrBuilder(int index)

public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)

The list of reference_images that are imported successfully.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImageOrBuilder

getReferenceImagesOrBuilderList()

public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()

The list of reference_images that are imported successfully.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportProductSetsResponse other)

public ImportProductSetsResponse.Builder mergeFrom(ImportProductSetsResponse other)
Parameter
NameDescription
otherImportProductSetsResponse
Returns
TypeDescription
ImportProductSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportProductSetsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1p3beta1.ReferenceImage reference_images = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportProductSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1p3beta1.ReferenceImage reference_images = 1;

Parameters
NameDescription
indexint
valueReferenceImage
Returns
TypeDescription
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.v1p3beta1.ReferenceImage reference_images = 1;

Parameters
NameDescription
indexint
builderForValueReferenceImage.Builder
Returns
TypeDescription
ImportProductSetsResponse.Builder

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

public ImportProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportProductSetsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides