Class ImportCompletionDataResponse.Builder

public static final class ImportCompletionDataResponse.Builder extends GeneratedMessageV3.Builder<ImportCompletionDataResponse.Builder> implements ImportCompletionDataResponseOrBuilder

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

Protobuf type google.cloud.retail.v2.ImportCompletionDataResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

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

addErrorSamples(Status value)

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

addErrorSamples(Status.Builder builderForValue)

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

addErrorSamples(int index, Status value)

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

addErrorSamples(int index, Status.Builder builderForValue)

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

build()

public ImportCompletionDataResponse build()
Returns
TypeDescription
ImportCompletionDataResponse

buildPartial()

public ImportCompletionDataResponse buildPartial()
Returns
TypeDescription
ImportCompletionDataResponse

clear()

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

clearErrorSamples()

public ImportCompletionDataResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ImportCompletionDataResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportCompletionDataResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportCompletionDataResponse

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportCompletionDataResponse other)

public ImportCompletionDataResponse.Builder mergeFrom(ImportCompletionDataResponse other)
Parameter
NameDescription
otherImportCompletionDataResponse
Returns
TypeDescription
ImportCompletionDataResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorSamples(int index)

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

setErrorSamples(int index, Status value)

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

setErrorSamples(int index, Status.Builder builderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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