public final class PurgeCompletionSuggestionsResponse extends GeneratedMessageV3 implements PurgeCompletionSuggestionsResponseOrBuilder
Response message for
CompletionService.PurgeCompletionSuggestions
method.
Protobuf type google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PurgeCompletionSuggestionsResponse.Builder newBuilder()
newBuilder(PurgeCompletionSuggestionsResponse prototype)
public static PurgeCompletionSuggestionsResponse.Builder newBuilder(PurgeCompletionSuggestionsResponse prototype)
public static PurgeCompletionSuggestionsResponse parseDelimitedFrom(InputStream input)
public static PurgeCompletionSuggestionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PurgeCompletionSuggestionsResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PurgeCompletionSuggestionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PurgeCompletionSuggestionsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PurgeCompletionSuggestionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PurgeCompletionSuggestionsResponse parseFrom(CodedInputStream input)
public static PurgeCompletionSuggestionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PurgeCompletionSuggestionsResponse parseFrom(InputStream input)
public static PurgeCompletionSuggestionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PurgeCompletionSuggestionsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PurgeCompletionSuggestionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PurgeCompletionSuggestionsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PurgeCompletionSuggestionsResponse getDefaultInstanceForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PurgeCompletionSuggestionsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PurgeCompletionSuggestionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PurgeCompletionSuggestionsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides