Class ExportProductsResponse (2.9.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
TypeDescription
int

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_RESULT_FIELD_NUMBER

public static final int OUTPUT_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportProductsResponse getDefaultInstance()
Returns
TypeDescription
ExportProductsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ExportProductsResponse prototype)

public static ExportProductsResponse.Builder newBuilder(ExportProductsResponse prototype)
Parameter
NameDescription
prototypeExportProductsResponse
Returns
TypeDescription
ExportProductsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getErrorsConfig()

public ExportErrorsConfig getErrorsConfig()

This field is never set.

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

Returns
TypeDescription
ExportErrorsConfig

The errorsConfig.

getErrorsConfigOrBuilder()

public ExportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

This field is never set.

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

Returns
TypeDescription
ExportErrorsConfigOrBuilder

getOutputResult()

public OutputResult getOutputResult()

Output result indicating where the data were exported to.

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

Returns
TypeDescription
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
TypeDescription
OutputResultOrBuilder

getParserForType()

public Parser<ExportProductsResponse> getParserForType()
Returns
TypeDescription
Parser<ExportProductsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasErrorsConfig()

public boolean hasErrorsConfig()

This field is never set.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the outputResult field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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