Class ImportProductSetsResponse (3.40.0)

public final class ImportProductSetsResponse extends GeneratedMessageV3 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 Fields

REFERENCE_IMAGES_FIELD_NUMBER

public static final int REFERENCE_IMAGES_FIELD_NUMBER
Field Value
Type Description
int

STATUSES_FIELD_NUMBER

public static final int STATUSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportProductSetsResponse getDefaultInstance()
Returns
Type Description
ImportProductSetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportProductSetsResponse.Builder newBuilder()
Returns
Type Description
ImportProductSetsResponse.Builder

newBuilder(ImportProductSetsResponse prototype)

public static ImportProductSetsResponse.Builder newBuilder(ImportProductSetsResponse prototype)
Parameter
Name Description
prototype ImportProductSetsResponse
Returns
Type Description
ImportProductSetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportProductSetsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportProductSetsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportProductSetsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportProductSetsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportProductSetsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportProductSetsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportProductSetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportProductSetsResponse> parser()
Returns
Type Description
Parser<ImportProductSetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportProductSetsResponse getDefaultInstanceForType()
Returns
Type Description
ImportProductSetsResponse

getParserForType()

public Parser<ImportProductSetsResponse> getParserForType()
Returns
Type Description
Parser<ImportProductSetsResponse>
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
Name Description
index int
Returns
Type Description
ReferenceImage

getReferenceImagesCount()

public int getReferenceImagesCount()

The list of reference_images that are imported successfully.

repeated .google.cloud.vision.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.ReferenceImage reference_images = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p3beta1.ReferenceImageOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportProductSetsResponse.Builder newBuilderForType()
Returns
Type Description
ImportProductSetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportProductSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportProductSetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportProductSetsResponse.Builder toBuilder()
Returns
Type Description
ImportProductSetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException