Class PurgeSuggestionDenyListEntriesResponse (0.40.0)

public final class PurgeSuggestionDenyListEntriesResponse extends GeneratedMessageV3 implements PurgeSuggestionDenyListEntriesResponseOrBuilder

Response message for CompletionService.PurgeSuggestionDenyListEntries method.

Protobuf type google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PurgeSuggestionDenyListEntriesResponse

Static Fields

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
Type Description
int

PURGE_COUNT_FIELD_NUMBER

public static final int PURGE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PurgeSuggestionDenyListEntriesResponse getDefaultInstance()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse

getDescriptor()

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

newBuilder()

public static PurgeSuggestionDenyListEntriesResponse.Builder newBuilder()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

newBuilder(PurgeSuggestionDenyListEntriesResponse prototype)

public static PurgeSuggestionDenyListEntriesResponse.Builder newBuilder(PurgeSuggestionDenyListEntriesResponse prototype)
Parameter
Name Description
prototype PurgeSuggestionDenyListEntriesResponse
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PurgeSuggestionDenyListEntriesResponse> parser()
Returns
Type Description
Parser<PurgeSuggestionDenyListEntriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse

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

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>

getParserForType()

public Parser<PurgeSuggestionDenyListEntriesResponse> getParserForType()
Returns
Type Description
Parser<PurgeSuggestionDenyListEntriesResponse>
Overrides

getPurgeCount()

public long getPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
Type Description
long

The purgeCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PurgeSuggestionDenyListEntriesResponse.Builder newBuilderForType()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PurgeSuggestionDenyListEntriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PurgeSuggestionDenyListEntriesResponse.Builder toBuilder()
Returns
Type Description
PurgeSuggestionDenyListEntriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException