Class ImportProductSetsResponse (3.26.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
TypeDescription
int

STATUSES_FIELD_NUMBER

public static final int STATUSES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportProductSetsResponse getDefaultInstance()
Returns
TypeDescription
ImportProductSetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportProductSetsResponse.Builder newBuilder()
Returns
TypeDescription
ImportProductSetsResponse.Builder

newBuilder(ImportProductSetsResponse prototype)

public static ImportProductSetsResponse.Builder newBuilder(ImportProductSetsResponse prototype)
Parameter
NameDescription
prototypeImportProductSetsResponse
Returns
TypeDescription
ImportProductSetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportProductSetsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportProductSetsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportProductSetsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportProductSetsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportProductSetsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportProductSetsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportProductSetsResponse> parser()
Returns
TypeDescription
Parser<ImportProductSetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportProductSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportProductSetsResponse

getParserForType()

public Parser<ImportProductSetsResponse> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReferenceImage

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportProductSetsResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportProductSetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportProductSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportProductSetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportProductSetsResponse.Builder toBuilder()
Returns
TypeDescription
ImportProductSetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException