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
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()
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 |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1.ReferenceImage>
|
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>
|
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;
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;
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.v1.ReferenceImage reference_images = 1;
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.v1.ReferenceImage reference_images = 1;
addReferenceImagesBuilder()
public ReferenceImage.Builder addReferenceImagesBuilder()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
addReferenceImagesBuilder(int index)
public ReferenceImage.Builder addReferenceImagesBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
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
|
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
|
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()
buildPartial()
public ImportProductSetsResponse buildPartial()
clear()
public ImportProductSetsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReferenceImages()
public ImportProductSetsResponse.Builder clearReferenceImages()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
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;
clone()
public ImportProductSetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportProductSetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReferenceImages(int index)
public ReferenceImage getReferenceImages(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter |
---|
Name | Description |
index | int
|
getReferenceImagesBuilder(int index)
public ReferenceImage.Builder getReferenceImagesBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter |
---|
Name | Description |
index | int
|
getReferenceImagesBuilderList()
public List<ReferenceImage.Builder> getReferenceImagesBuilderList()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
getReferenceImagesCount()
public int getReferenceImagesCount()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.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.v1.ReferenceImage reference_images = 1;
getReferenceImagesOrBuilder(int index)
public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter |
---|
Name | Description |
index | int
|
getReferenceImagesOrBuilderList()
public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vision.v1.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportProductSetsResponse other)
public ImportProductSetsResponse.Builder mergeFrom(ImportProductSetsResponse other)
public ImportProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportProductSetsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeReferenceImages(int index)
public ImportProductSetsResponse.Builder removeReferenceImages(int index)
The list of reference_images that are imported successfully.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter |
---|
Name | Description |
index | int
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v1.ReferenceImage reference_images = 1;
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.v1.ReferenceImage reference_images = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides