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

Parameter
NameDescription
valuesIterable<? 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
NameDescription
valuesIterable<? 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
NameDescription
valueReferenceImage
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
NameDescription
builderForValueReferenceImage.Builder
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
NameDescription
indexint
valueReferenceImage
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
NameDescription
indexint
builderForValueReferenceImage.Builder
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
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.v1p4beta1.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 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

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

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

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

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

buildPartial()

public ImportProductSetsResponse buildPartial()
Returns

clear()

public ImportProductSetsResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
TypeDescription
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
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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.ReferenceImage reference_images = 1;

Parameter
NameDescription
indexint
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
TypeDescription
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
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
indexint
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
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
indexint
valueReferenceImage
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
NameDescription
indexint
builderForValueReferenceImage.Builder
Returns

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 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

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

setUnknownFields(UnknownFieldSet unknownFields)

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