Class PurgeCompletionSuggestionsResponse (0.45.0)

public final class PurgeCompletionSuggestionsResponse extends GeneratedMessageV3 implements PurgeCompletionSuggestionsResponseOrBuilder

Response message for CompletionService.PurgeCompletionSuggestions method.

Protobuf type google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse

Inheritance

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

Static Fields

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
Type Description
int

PURGE_SUCCEEDED_FIELD_NUMBER

public static final int PURGE_SUCCEEDED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PurgeCompletionSuggestionsResponse getDefaultInstance()
Returns
Type Description
PurgeCompletionSuggestionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(PurgeCompletionSuggestionsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PurgeCompletionSuggestionsResponse getDefaultInstanceForType()
Returns
Type Description
PurgeCompletionSuggestionsResponse

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<PurgeCompletionSuggestionsResponse> getParserForType()
Returns
Type Description
Parser<PurgeCompletionSuggestionsResponse>
Overrides

getPurgeSucceeded()

public boolean getPurgeSucceeded()

Whether the completion suggestions were successfully purged.

bool purge_succeeded = 1;

Returns
Type Description
boolean

The purgeSucceeded.

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 PurgeCompletionSuggestionsResponse.Builder newBuilderForType()
Returns
Type Description
PurgeCompletionSuggestionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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