Class ImportDocumentsResponse.Builder (0.25.0)

public static final class ImportDocumentsResponse.Builder extends GeneratedMessageV3.Builder<ImportDocumentsResponse.Builder> implements ImportDocumentsResponseOrBuilder

Response of the ImportDocumentsRequest. 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.discoveryengine.v1beta.ImportDocumentsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

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

addErrorSamples(Status value)

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

addErrorSamples(Status.Builder builderForValue)

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

addErrorSamples(int index, Status value)

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

addErrorSamples(int index, Status.Builder builderForValue)

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

build()

public ImportDocumentsResponse build()
Returns
TypeDescription
ImportDocumentsResponse

buildPartial()

public ImportDocumentsResponse buildPartial()
Returns
TypeDescription
ImportDocumentsResponse

clear()

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

clearErrorConfig()

public ImportDocumentsResponse.Builder clearErrorConfig()

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
TypeDescription
ImportDocumentsResponse.Builder

clearErrorSamples()

public ImportDocumentsResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ImportDocumentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportDocumentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportDocumentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorConfig()

public ImportErrorConfig getErrorConfig()

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
TypeDescription
ImportErrorConfig

The errorConfig.

getErrorConfigBuilder()

public ImportErrorConfig.Builder getErrorConfigBuilder()

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
TypeDescription
ImportErrorConfig.Builder

getErrorConfigOrBuilder()

public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
TypeDescription
ImportErrorConfigOrBuilder

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>

hasErrorConfig()

public boolean hasErrorConfig()

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
TypeDescription
boolean

Whether the errorConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorConfig(ImportErrorConfig value)

public ImportDocumentsResponse.Builder mergeErrorConfig(ImportErrorConfig value)

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Parameter
NameDescription
valueImportErrorConfig
Returns
TypeDescription
ImportDocumentsResponse.Builder

mergeFrom(ImportDocumentsResponse other)

public ImportDocumentsResponse.Builder mergeFrom(ImportDocumentsResponse other)
Parameter
NameDescription
otherImportDocumentsResponse
Returns
TypeDescription
ImportDocumentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorSamples(int index)

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

setErrorConfig(ImportErrorConfig value)

public ImportDocumentsResponse.Builder setErrorConfig(ImportErrorConfig value)

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Parameter
NameDescription
valueImportErrorConfig
Returns
TypeDescription
ImportDocumentsResponse.Builder

setErrorConfig(ImportErrorConfig.Builder builderForValue)

public ImportDocumentsResponse.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)

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

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Parameter
NameDescription
builderForValueImportErrorConfig.Builder
Returns
TypeDescription
ImportDocumentsResponse.Builder

setErrorSamples(int index, Status value)

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

setErrorSamples(int index, Status.Builder builderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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