Class ImportCatalogItemsResponse.Builder

public static final class ImportCatalogItemsResponse.Builder extends GeneratedMessageV3.Builder<ImportCatalogItemsResponse.Builder> implements ImportCatalogItemsResponseOrBuilder

Response of the ImportCatalogItemsRequest. 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.recommendationengine.v1beta1.ImportCatalogItemsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

addErrorSamples(Status value)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

addErrorSamples(int index, Status value)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.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 ImportCatalogItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportCatalogItemsResponse.Builder
Overrides

build()

public ImportCatalogItemsResponse build()
Returns
TypeDescription
ImportCatalogItemsResponse

buildPartial()

public ImportCatalogItemsResponse buildPartial()
Returns
TypeDescription
ImportCatalogItemsResponse

clear()

public ImportCatalogItemsResponse.Builder clear()
Returns
TypeDescription
ImportCatalogItemsResponse.Builder
Overrides

clearErrorSamples()

public ImportCatalogItemsResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ImportCatalogItemsResponse.Builder

clearErrorsConfig()

public ImportCatalogItemsResponse.Builder clearErrorsConfig()

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportCatalogItemsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportCatalogItemsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportCatalogItemsResponse

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 ImportErrorsConfig getErrorsConfig()

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfig

The errorsConfig.

getErrorsConfigBuilder()

public ImportErrorsConfig.Builder getErrorsConfigBuilder()

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfig.Builder

getErrorsConfigOrBuilder()

public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfigOrBuilder

hasErrorsConfig()

public boolean hasErrorsConfig()

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig 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(ImportErrorsConfig value)

public ImportCatalogItemsResponse.Builder mergeErrorsConfig(ImportErrorsConfig value)

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportCatalogItemsResponse.Builder

mergeFrom(ImportCatalogItemsResponse other)

public ImportCatalogItemsResponse.Builder mergeFrom(ImportCatalogItemsResponse other)
Parameter
NameDescription
otherImportCatalogItemsResponse
Returns
TypeDescription
ImportCatalogItemsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportCatalogItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportCatalogItemsResponse.Builder
Overrides

removeErrorSamples(int index)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

setErrorSamples(int index, Status value)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public ImportCatalogItemsResponse.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
ImportCatalogItemsResponse.Builder

setErrorsConfig(ImportErrorsConfig value)

public ImportCatalogItemsResponse.Builder setErrorsConfig(ImportErrorsConfig value)

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportCatalogItemsResponse.Builder

setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

public ImportCatalogItemsResponse.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

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

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
builderForValueImportErrorsConfig.Builder
Returns
TypeDescription
ImportCatalogItemsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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