Class ImportSuggestionDenyListEntriesResponse.Builder (0.37.0)

public static final class ImportSuggestionDenyListEntriesResponse.Builder extends GeneratedMessageV3.Builder<ImportSuggestionDenyListEntriesResponse.Builder> implements ImportSuggestionDenyListEntriesResponseOrBuilder

Response message for CompletionService.ImportSuggestionDenyListEntries method.

Protobuf type google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

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

addErrorSamples(Status value)

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

addErrorSamples(Status.Builder builderForValue)

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

addErrorSamples(int index, Status value)

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

addErrorSamples(int index, Status.Builder builderForValue)

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

build()

public ImportSuggestionDenyListEntriesResponse build()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse

buildPartial()

public ImportSuggestionDenyListEntriesResponse buildPartial()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse

clear()

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

clearErrorSamples()

public ImportSuggestionDenyListEntriesResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

clearFailedEntriesCount()

public ImportSuggestionDenyListEntriesResponse.Builder clearFailedEntriesCount()

Count of deny list entries that failed to be imported.

int64 failed_entries_count = 3;

Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearImportedEntriesCount()

public ImportSuggestionDenyListEntriesResponse.Builder clearImportedEntriesCount()

Count of deny list entries successfully imported.

int64 imported_entries_count = 2;

Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse

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>

getFailedEntriesCount()

public long getFailedEntriesCount()

Count of deny list entries that failed to be imported.

int64 failed_entries_count = 3;

Returns
TypeDescription
long

The failedEntriesCount.

getImportedEntriesCount()

public long getImportedEntriesCount()

Count of deny list entries successfully imported.

int64 imported_entries_count = 2;

Returns
TypeDescription
long

The importedEntriesCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportSuggestionDenyListEntriesResponse other)

public ImportSuggestionDenyListEntriesResponse.Builder mergeFrom(ImportSuggestionDenyListEntriesResponse other)
Parameter
NameDescription
otherImportSuggestionDenyListEntriesResponse
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorSamples(int index)

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

setErrorSamples(int index, Status value)

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

setErrorSamples(int index, Status.Builder builderForValue)

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

setFailedEntriesCount(long value)

public ImportSuggestionDenyListEntriesResponse.Builder setFailedEntriesCount(long value)

Count of deny list entries that failed to be imported.

int64 failed_entries_count = 3;

Parameter
NameDescription
valuelong

The failedEntriesCount to set.

Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportedEntriesCount(long value)

public ImportSuggestionDenyListEntriesResponse.Builder setImportedEntriesCount(long value)

Count of deny list entries successfully imported.

int64 imported_entries_count = 2;

Parameter
NameDescription
valuelong

The importedEntriesCount to set.

Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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