Class ExportProductsResponse.Builder (2.2.3)

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.v2beta.ExportProductsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportProductsResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportProductsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

build()

public ExportProductsResponse build()
Returns
TypeDescription
ExportProductsResponse

buildPartial()

public ExportProductsResponse buildPartial()
Returns
TypeDescription
ExportProductsResponse

clear()

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

clearErrorsConfig()

public ExportProductsResponse.Builder clearErrorsConfig()

Echoes the destination for the complete errors in the request if set.

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

Returns
TypeDescription
ExportProductsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ExportProductsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportProductsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

clone()

public ExportProductsResponse.Builder clone()
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

getDefaultInstanceForType()

public ExportProductsResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportProductsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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()

Echoes the destination for the complete errors in the request if set.

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

Returns
TypeDescription
ExportErrorsConfig

The errorsConfig.

getErrorsConfigBuilder()

public ExportErrorsConfig.Builder getErrorsConfigBuilder()

Echoes the destination for the complete errors in the request if set.

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

Returns
TypeDescription
ExportErrorsConfig.Builder

getErrorsConfigOrBuilder()

public ExportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

Echoes the destination for the complete errors in the request if set.

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

Returns
TypeDescription
ExportErrorsConfigOrBuilder

hasErrorsConfig()

public boolean hasErrorsConfig()

Echoes the destination for the complete errors in the request if set.

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

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorsConfig(ExportErrorsConfig value)

public ExportProductsResponse.Builder mergeErrorsConfig(ExportErrorsConfig value)

Echoes the destination for the complete errors in the request if set.

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

Parameter
NameDescription
valueExportErrorsConfig
Returns
TypeDescription
ExportProductsResponse.Builder

mergeFrom(ExportProductsResponse other)

public ExportProductsResponse.Builder mergeFrom(ExportProductsResponse other)
Parameter
NameDescription
otherExportProductsResponse
Returns
TypeDescription
ExportProductsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportProductsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportProductsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ExportProductsResponse.Builder

setErrorsConfig(ExportErrorsConfig value)

public ExportProductsResponse.Builder setErrorsConfig(ExportErrorsConfig value)

Echoes the destination for the complete errors in the request if set.

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

Parameter
NameDescription
valueExportErrorsConfig
Returns
TypeDescription
ExportProductsResponse.Builder

setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

public ExportProductsResponse.Builder setErrorsConfig(ExportErrorsConfig.Builder builderForValue)

Echoes the destination for the complete errors in the request if set.

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

Parameter
NameDescription
builderForValueExportErrorsConfig.Builder
Returns
TypeDescription
ExportProductsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExportProductsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

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

public ExportProductsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportProductsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportProductsResponse.Builder
Overrides