Class ExportProductsResponse.Builder (2.51.0)

public static final class ExportProductsResponse.Builder extends GeneratedMessageV3.Builder<ExportProductsResponse.Builder> 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 Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public ExportProductsResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ExportProductsResponse.Builder

addErrorSamples(Status value)

public ExportProductsResponse.Builder addErrorSamples(Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ExportProductsResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public ExportProductsResponse.Builder addErrorSamples(Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ExportProductsResponse.Builder

addErrorSamples(int index, Status value)

public ExportProductsResponse.Builder addErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ExportProductsResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public ExportProductsResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ExportProductsResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
com.google.rpc.Status.Builder

addErrorSamplesBuilder(int index)

public Status.Builder addErrorSamplesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportProductsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportProductsResponse.Builder
Overrides

build()

public ExportProductsResponse build()
Returns
Type Description
ExportProductsResponse

buildPartial()

public ExportProductsResponse buildPartial()
Returns
Type Description
ExportProductsResponse

clear()

public ExportProductsResponse.Builder clear()
Returns
Type Description
ExportProductsResponse.Builder
Overrides

clearErrorSamples()

public ExportProductsResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
ExportProductsResponse.Builder

clearErrorsConfig()

public ExportProductsResponse.Builder clearErrorsConfig()

This field is never set.

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

Returns
Type Description
ExportProductsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ExportProductsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportProductsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportProductsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportProductsResponse.Builder
Overrides

clearOutputResult()

public ExportProductsResponse.Builder clearOutputResult()

Output result indicating where the data were exported to.

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

Returns
Type Description
ExportProductsResponse.Builder

clone()

public ExportProductsResponse.Builder clone()
Returns
Type Description
ExportProductsResponse.Builder
Overrides

getDefaultInstanceForType()

public ExportProductsResponse getDefaultInstanceForType()
Returns
Type Description
ExportProductsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getErrorSamplesBuilder(int index)

public Status.Builder getErrorSamplesBuilder(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.Builder

getErrorSamplesBuilderList()

public List<Status.Builder> getErrorSamplesBuilderList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

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.

getErrorsConfigBuilder()

public ExportErrorsConfig.Builder getErrorsConfigBuilder()

This field is never set.

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

Returns
Type Description
ExportErrorsConfig.Builder

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.

getOutputResultBuilder()

public OutputResult.Builder getOutputResultBuilder()

Output result indicating where the data were exported to.

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

Returns
Type Description
OutputResult.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrorsConfig(ExportErrorsConfig value)

public ExportProductsResponse.Builder mergeErrorsConfig(ExportErrorsConfig value)

This field is never set.

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

Parameter
Name Description
value ExportErrorsConfig
Returns
Type Description
ExportProductsResponse.Builder

mergeFrom(ExportProductsResponse other)

public ExportProductsResponse.Builder mergeFrom(ExportProductsResponse other)
Parameter
Name Description
other ExportProductsResponse
Returns
Type Description
ExportProductsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportProductsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportProductsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportProductsResponse.Builder
Overrides

mergeOutputResult(OutputResult value)

public ExportProductsResponse.Builder mergeOutputResult(OutputResult value)

Output result indicating where the data were exported to.

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

Parameter
Name Description
value OutputResult
Returns
Type Description
ExportProductsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportProductsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportProductsResponse.Builder
Overrides

removeErrorSamples(int index)

public ExportProductsResponse.Builder removeErrorSamples(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
ExportProductsResponse.Builder

setErrorSamples(int index, Status value)

public ExportProductsResponse.Builder setErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ExportProductsResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public ExportProductsResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ExportProductsResponse.Builder

setErrorsConfig(ExportErrorsConfig value)

public ExportProductsResponse.Builder setErrorsConfig(ExportErrorsConfig value)

This field is never set.

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

Parameter
Name Description
value ExportErrorsConfig
Returns
Type Description
ExportProductsResponse.Builder

setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

public ExportProductsResponse.Builder setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

This field is never set.

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

Parameter
Name Description
builderForValue ExportErrorsConfig.Builder
Returns
Type Description
ExportProductsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExportProductsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportProductsResponse.Builder
Overrides

setOutputResult(OutputResult value)

public ExportProductsResponse.Builder setOutputResult(OutputResult value)

Output result indicating where the data were exported to.

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

Parameter
Name Description
value OutputResult
Returns
Type Description
ExportProductsResponse.Builder

setOutputResult(OutputResult.Builder builderForValue)

public ExportProductsResponse.Builder setOutputResult(OutputResult.Builder builderForValue)

Output result indicating where the data were exported to.

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

Parameter
Name Description
builderForValue OutputResult.Builder
Returns
Type Description
ExportProductsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportProductsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportProductsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportProductsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportProductsResponse.Builder
Overrides