Class ImportCatalogItemsResponse (0.36.0)

public final class ImportCatalogItemsResponse extends GeneratedMessageV3 implements ImportCatalogItemsResponseOrBuilder

Response of the ImportCatalogItemsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse

Static Fields

ERRORS_CONFIG_FIELD_NUMBER

public static final int ERRORS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportCatalogItemsResponse getDefaultInstance()
Returns
TypeDescription
ImportCatalogItemsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportCatalogItemsResponse prototype)

public static ImportCatalogItemsResponse.Builder newBuilder(ImportCatalogItemsResponse prototype)
Parameter
NameDescription
prototypeImportCatalogItemsResponse
Returns
TypeDescription
ImportCatalogItemsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportCatalogItemsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportCatalogItemsResponse

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>

getErrorsConfig()

public ImportErrorsConfig getErrorsConfig()

Echoes the destination for the complete errors in the request if set.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfig

The errorsConfig.

getErrorsConfigOrBuilder()

public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

Echoes the destination for the complete errors in the request if set.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasErrorsConfig()

public boolean hasErrorsConfig()

Echoes the destination for the complete errors in the request if set.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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