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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name | Description |
values | Iterable<? extends com.google.rpc.Status>
|
Returns
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
Name | Description |
value | com.google.rpc.Status
|
Returns
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
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
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
Name | Description |
index | int
|
value | com.google.rpc.Status
|
Returns
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
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
Returns
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
Returns
Type | Description |
com.google.rpc.Status.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportDocumentsResponse build()
Returns
buildPartial()
public ImportDocumentsResponse buildPartial()
Returns
clear()
public ImportDocumentsResponse.Builder clear()
Returns
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
clearErrorSamples()
public ImportDocumentsResponse.Builder clearErrorSamples()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportDocumentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportDocumentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
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
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
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> | |
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
Type | Description |
boolean | Whether the errorConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(ImportDocumentsResponse other)
public ImportDocumentsResponse.Builder mergeFrom(ImportDocumentsResponse other)
Parameter
Returns
public ImportDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportDocumentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Name | Description |
index | int
|
value | com.google.rpc.Status
|
Returns
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
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides