Class CompletionStats (3.42.0)

public final class CompletionStats extends GeneratedMessageV3 implements CompletionStatsOrBuilder

Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch.

Protobuf type google.cloud.aiplatform.v1beta1.CompletionStats

Static Fields

FAILED_COUNT_FIELD_NUMBER

public static final int FAILED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

INCOMPLETE_COUNT_FIELD_NUMBER

public static final int INCOMPLETE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SUCCESSFUL_COUNT_FIELD_NUMBER

public static final int SUCCESSFUL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SUCCESSFUL_FORECAST_POINT_COUNT_FIELD_NUMBER

public static final int SUCCESSFUL_FORECAST_POINT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CompletionStats getDefaultInstance()
Returns
Type Description
CompletionStats

getDescriptor()

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

newBuilder()

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

newBuilder(CompletionStats prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CompletionStats getDefaultInstanceForType()
Returns
Type Description
CompletionStats

getFailedCount()

public long getFailedCount()

Output only. The number of entities for which any error was encountered.

int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The failedCount.

getIncompleteCount()

public long getIncompleteCount()

Output only. In cases when enough errors are encountered a job, pipeline, or operation may be failed as a whole. Below is the number of entities for which the processing had not been finished (either in successful or failed state). Set to -1 if the number is unknown (for example, the operation failed before the total entity number could be collected).

int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The incompleteCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuccessfulCount()

public long getSuccessfulCount()

Output only. The number of entities that had been processed successfully.

int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The successfulCount.

getSuccessfulForecastPointCount()

public long getSuccessfulForecastPointCount()

Output only. The number of the successful forecast points that are generated by the forecasting model. This is ONLY used by the forecasting batch prediction.

int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The successfulForecastPointCount.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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