Class ImportSuggestionDenyListEntriesResponse (0.33.0)

public final class ImportSuggestionDenyListEntriesResponse extends GeneratedMessageV3 implements ImportSuggestionDenyListEntriesResponseOrBuilder

Response message for CompletionService.ImportSuggestionDenyListEntries method.

Protobuf type google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse

Inheritance

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

Static Fields

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_ENTRIES_COUNT_FIELD_NUMBER

public static final int FAILED_ENTRIES_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

IMPORTED_ENTRIES_COUNT_FIELD_NUMBER

public static final int IMPORTED_ENTRIES_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportSuggestionDenyListEntriesResponse getDefaultInstance()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportSuggestionDenyListEntriesResponse prototype)

public static ImportSuggestionDenyListEntriesResponse.Builder newBuilder(ImportSuggestionDenyListEntriesResponse prototype)
Parameter
NameDescription
prototypeImportSuggestionDenyListEntriesResponse
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportSuggestionDenyListEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse

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

Returns
TypeDescription
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

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

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getFailedEntriesCount()

public long getFailedEntriesCount()

Count of deny list entries that failed to be imported.

int64 failed_entries_count = 3;

Returns
TypeDescription
long

The failedEntriesCount.

getImportedEntriesCount()

public long getImportedEntriesCount()

Count of deny list entries successfully imported.

int64 imported_entries_count = 2;

Returns
TypeDescription
long

The importedEntriesCount.

getParserForType()

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

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 ImportSuggestionDenyListEntriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportSuggestionDenyListEntriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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