Class CompletionStats (3.34.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
TypeDescription
int

INCOMPLETE_COUNT_FIELD_NUMBER

public static final int INCOMPLETE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SUCCESSFUL_COUNT_FIELD_NUMBER

public static final int SUCCESSFUL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SUCCESSFUL_FORECAST_POINT_COUNT_FIELD_NUMBER

public static final int SUCCESSFUL_FORECAST_POINT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompletionStats getDefaultInstance()
Returns
TypeDescription
CompletionStats

getDescriptor()

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

newBuilder()

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

newBuilder(CompletionStats prototype)

public static CompletionStats.Builder newBuilder(CompletionStats prototype)
Parameter
NameDescription
prototypeCompletionStats
Returns
TypeDescription
CompletionStats.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CompletionStats getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The incompleteCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The successfulForecastPointCount.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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