Class PurgeSuggestionDenyListEntriesResponse.Builder (0.38.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.v1beta.PurgeSuggestionDenyListEntriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
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
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

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

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeSuggestionDenyListEntriesResponse build()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse

buildPartial()

public PurgeSuggestionDenyListEntriesResponse buildPartial()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse

clear()

public PurgeSuggestionDenyListEntriesResponse.Builder clear()
Returns
Type Description
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
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPurgeCount()

public PurgeSuggestionDenyListEntriesResponse.Builder clearPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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 = 2;

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

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

Returns
Type Description
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 2;

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

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

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getPurgeCount()

public long getPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
Type Description
long

The purgeCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PurgeSuggestionDenyListEntriesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeSuggestionDenyListEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
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
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPurgeCount(long value)

public PurgeSuggestionDenyListEntriesResponse.Builder setPurgeCount(long value)

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Parameter
Name Description
value long

The purgeCount to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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