Class ImportSampleQueriesResponse.Builder (0.50.0)

public static final class ImportSampleQueriesResponse.Builder extends GeneratedMessageV3.Builder<ImportSampleQueriesResponse.Builder> implements ImportSampleQueriesResponseOrBuilder

Response of the SampleQueryService.ImportSampleQueries method. 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.discoveryengine.v1beta.ImportSampleQueriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

addErrorSamples(Status value)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

addErrorSamples(int index, Status value)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

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
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportSampleQueriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

build()

public ImportSampleQueriesResponse build()
Returns
Type Description
ImportSampleQueriesResponse

buildPartial()

public ImportSampleQueriesResponse buildPartial()
Returns
Type Description
ImportSampleQueriesResponse

clear()

public ImportSampleQueriesResponse.Builder clear()
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

clearErrorConfig()

public ImportSampleQueriesResponse.Builder clearErrorConfig()

The desired location of errors incurred during the Import.

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

Returns
Type Description
ImportSampleQueriesResponse.Builder

clearErrorSamples()

public ImportSampleQueriesResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
ImportSampleQueriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportSampleQueriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportSampleQueriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

clone()

public ImportSampleQueriesResponse.Builder clone()
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportSampleQueriesResponse getDefaultInstanceForType()
Returns
Type Description
ImportSampleQueriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorConfig()

public ImportErrorConfig getErrorConfig()

The desired location of errors incurred during the Import.

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

Returns
Type Description
ImportErrorConfig

The errorConfig.

getErrorConfigBuilder()

public ImportErrorConfig.Builder getErrorConfigBuilder()

The desired location of errors incurred during the Import.

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

Returns
Type Description
ImportErrorConfig.Builder

getErrorConfigOrBuilder()

public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

The desired location of errors incurred during the Import.

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

Returns
Type Description
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
Name Description
index int
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
Name Description
index int
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
Type Description
int

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
Name Description
index int
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()

The desired location of errors incurred during the Import.

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

Returns
Type Description
boolean

Whether the errorConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrorConfig(ImportErrorConfig value)

public ImportSampleQueriesResponse.Builder mergeErrorConfig(ImportErrorConfig value)

The desired location of errors incurred during the Import.

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

Parameter
Name Description
value ImportErrorConfig
Returns
Type Description
ImportSampleQueriesResponse.Builder

mergeFrom(ImportSampleQueriesResponse other)

public ImportSampleQueriesResponse.Builder mergeFrom(ImportSampleQueriesResponse other)
Parameter
Name Description
other ImportSampleQueriesResponse
Returns
Type Description
ImportSampleQueriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportSampleQueriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportSampleQueriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportSampleQueriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

removeErrorSamples(int index)

public ImportSampleQueriesResponse.Builder removeErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportSampleQueriesResponse.Builder

setErrorConfig(ImportErrorConfig value)

public ImportSampleQueriesResponse.Builder setErrorConfig(ImportErrorConfig value)

The desired location of errors incurred during the Import.

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

Parameter
Name Description
value ImportErrorConfig
Returns
Type Description
ImportSampleQueriesResponse.Builder

setErrorConfig(ImportErrorConfig.Builder builderForValue)

public ImportSampleQueriesResponse.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)

The desired location of errors incurred during the Import.

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

Parameter
Name Description
builderForValue ImportErrorConfig.Builder
Returns
Type Description
ImportSampleQueriesResponse.Builder

setErrorSamples(int index, Status value)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public ImportSampleQueriesResponse.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
Type Description
ImportSampleQueriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportSampleQueriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

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

public ImportSampleQueriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportSampleQueriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportSampleQueriesResponse.Builder
Overrides