Class PurgeSuggestionDenyListEntriesResponse.Builder (0.36.0)

public static final class PurgeSuggestionDenyListEntriesResponse.Builder extends GeneratedMessageV3.Builder<PurgeSuggestionDenyListEntriesResponse.Builder> implements PurgeSuggestionDenyListEntriesResponseOrBuilder

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Protobuf type google.cloud.discoveryengine.v1alpha.PurgeSuggestionDenyListEntriesResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public PurgeSuggestionDenyListEntriesResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamples(Status value)

public PurgeSuggestionDenyListEntriesResponse.Builder addErrorSamples(Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public PurgeSuggestionDenyListEntriesResponse.Builder addErrorSamples(Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamples(int index, Status value)

public PurgeSuggestionDenyListEntriesResponse.Builder addErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public PurgeSuggestionDenyListEntriesResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

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 = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeSuggestionDenyListEntriesResponse build()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse

buildPartial()

public PurgeSuggestionDenyListEntriesResponse buildPartial()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse

clear()

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

clearErrorSamples()

public PurgeSuggestionDenyListEntriesResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPurgeCount()

public PurgeSuggestionDenyListEntriesResponse.Builder clearPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse

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 = 2;

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 = 2;

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 = 2;

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 = 2;

Returns
TypeDescription
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

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 = 2;

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 = 2;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getPurgeCount()

public long getPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
TypeDescription
long

The purgeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PurgeSuggestionDenyListEntriesResponse other)

public PurgeSuggestionDenyListEntriesResponse.Builder mergeFrom(PurgeSuggestionDenyListEntriesResponse other)
Parameter
NameDescription
otherPurgeSuggestionDenyListEntriesResponse
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorSamples(int index)

public PurgeSuggestionDenyListEntriesResponse.Builder removeErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

setErrorSamples(int index, Status value)

public PurgeSuggestionDenyListEntriesResponse.Builder setErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public PurgeSuggestionDenyListEntriesResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPurgeCount(long value)

public PurgeSuggestionDenyListEntriesResponse.Builder setPurgeCount(long value)

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Parameter
NameDescription
valuelong

The purgeCount to set.

Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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