Class ImportUserEventsResponse (0.37.0)

public final class ImportUserEventsResponse extends GeneratedMessageV3 implements ImportUserEventsResponseOrBuilder

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

Protobuf type google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse

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

IMPORT_SUMMARY_FIELD_NUMBER

public static final int IMPORT_SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportUserEventsResponse getDefaultInstance()
Returns
TypeDescription
ImportUserEventsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportUserEventsResponse prototype)

public static ImportUserEventsResponse.Builder newBuilder(ImportUserEventsResponse prototype)
Parameter
NameDescription
prototypeImportUserEventsResponse
Returns
TypeDescription
ImportUserEventsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportUserEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportUserEventsResponse

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 if this field was set in the request.

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

Returns
TypeDescription
ImportErrorsConfig

The errorsConfig.

getErrorsConfigOrBuilder()

public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

Echoes the destination for the complete errors if this field was set in the request.

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

Returns
TypeDescription
ImportErrorsConfigOrBuilder

getImportSummary()

public UserEventImportSummary getImportSummary()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
UserEventImportSummary

The importSummary.

getImportSummaryOrBuilder()

public UserEventImportSummaryOrBuilder getImportSummaryOrBuilder()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
UserEventImportSummaryOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasErrorsConfig()

public boolean hasErrorsConfig()

Echoes the destination for the complete errors if this field was set in the request.

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

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

hasImportSummary()

public boolean hasImportSummary()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
boolean

Whether the importSummary 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 ImportUserEventsResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportUserEventsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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