Class PurgeSuggestionDenyListEntriesResponse (0.33.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
TypeDescription
int

PURGE_COUNT_FIELD_NUMBER

public static final int PURGE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PurgeSuggestionDenyListEntriesResponse getDefaultInstance()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse

getDescriptor()

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

newBuilder()

public static PurgeSuggestionDenyListEntriesResponse.Builder newBuilder()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

newBuilder(PurgeSuggestionDenyListEntriesResponse prototype)

public static PurgeSuggestionDenyListEntriesResponse.Builder newBuilder(PurgeSuggestionDenyListEntriesResponse prototype)
Parameter
NameDescription
prototypePurgeSuggestionDenyListEntriesResponse
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PurgeSuggestionDenyListEntriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PurgeSuggestionDenyListEntriesResponse> parser()
Returns
TypeDescription
Parser<PurgeSuggestionDenyListEntriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PurgeSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

getParserForType()

public Parser<PurgeSuggestionDenyListEntriesResponse> getParserForType()
Returns
TypeDescription
Parser<PurgeSuggestionDenyListEntriesResponse>
Overrides

getPurgeCount()

public long getPurgeCount()

Number of suggestion deny list entries purged.

int64 purge_count = 1;

Returns
TypeDescription
long

The purgeCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PurgeSuggestionDenyListEntriesResponse.Builder newBuilderForType()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PurgeSuggestionDenyListEntriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PurgeSuggestionDenyListEntriesResponse.Builder toBuilder()
Returns
TypeDescription
PurgeSuggestionDenyListEntriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException