Class ExportProductsResponse (2.49.0)

public final class ExportProductsResponse extends GeneratedMessageV3 implements ExportProductsResponseOrBuilder

Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.retail.v2alpha.ExportProductsResponse

Static Fields

ERRORS_CONFIG_FIELD_NUMBER

public static final int ERRORS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_RESULT_FIELD_NUMBER

public static final int OUTPUT_RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportProductsResponse getDefaultInstance()
Returns
Type Description
ExportProductsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ExportProductsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExportProductsResponse getDefaultInstanceForType()
Returns
Type Description
ExportProductsResponse

getErrorSamples(int index)

public Status getErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getErrorSamplesCount()

public int getErrorSamplesCount()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<com.google.rpc.Status>

getErrorSamplesOrBuilder(int index)

public StatusOrBuilder getErrorSamplesOrBuilder(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorSamplesOrBuilderList()

public List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getErrorsConfig()

public ExportErrorsConfig getErrorsConfig()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
Type Description
ExportErrorsConfig

The errorsConfig.

getErrorsConfigOrBuilder()

public ExportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
Type Description
ExportErrorsConfigOrBuilder

getOutputResult()

public OutputResult getOutputResult()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
Type Description
OutputResult

The outputResult.

getOutputResultOrBuilder()

public OutputResultOrBuilder getOutputResultOrBuilder()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
Type Description
OutputResultOrBuilder

getParserForType()

public Parser<ExportProductsResponse> getParserForType()
Returns
Type Description
Parser<ExportProductsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasErrorsConfig()

public boolean hasErrorsConfig()

This field is never set.

.google.cloud.retail.v2alpha.ExportErrorsConfig errors_config = 2;

Returns
Type Description
boolean

Whether the errorsConfig field is set.

hasOutputResult()

public boolean hasOutputResult()

Output result indicating where the data were exported to.

.google.cloud.retail.v2alpha.OutputResult output_result = 3;

Returns
Type Description
boolean

Whether the outputResult field is set.

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 ExportProductsResponse.Builder newBuilderForType()
Returns
Type Description
ExportProductsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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