Class ImportCompletionSuggestionsResponse (0.51.0)

public final class ImportCompletionSuggestionsResponse extends GeneratedMessageV3 implements ImportCompletionSuggestionsResponseOrBuilder

Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.

Protobuf type google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse

Inheritance

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

Static Fields

ERROR_CONFIG_FIELD_NUMBER

public static final int ERROR_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportCompletionSuggestionsResponse getDefaultInstance()
Returns
Type Description
ImportCompletionSuggestionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportCompletionSuggestionsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportCompletionSuggestionsResponse getDefaultInstanceForType()
Returns
Type Description
ImportCompletionSuggestionsResponse

getErrorConfig()

public ImportErrorConfig getErrorConfig()

The desired location of errors incurred during the Import.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfig

The errorConfig.

getErrorConfigOrBuilder()

public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

The desired location of errors incurred during the Import.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfigOrBuilder

getErrorSamples(int index)

public Status getErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

Returns
Type Description
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasErrorConfig()

public boolean hasErrorConfig()

The desired location of errors incurred during the Import.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
boolean

Whether the errorConfig field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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