Class BatchOperationStatus.Builder (0.6.0)

public static final class BatchOperationStatus.Builder extends GeneratedMessageV3.Builder<BatchOperationStatus.Builder> implements BatchOperationStatusOrBuilder

The batch operation status.

Protobuf type google.cloud.visionai.v1.BatchOperationStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchOperationStatus.Builder
Overrides

build()

public BatchOperationStatus build()
Returns
Type Description
BatchOperationStatus

buildPartial()

public BatchOperationStatus buildPartial()
Returns
Type Description
BatchOperationStatus

clear()

public BatchOperationStatus.Builder clear()
Returns
Type Description
BatchOperationStatus.Builder
Overrides

clearFailureCount()

public BatchOperationStatus.Builder clearFailureCount()

The count of assets failed to ingested; it might be due to the annotation ingestion error.

int32 failure_count = 2;

Returns
Type Description
BatchOperationStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchOperationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchOperationStatus.Builder
Overrides

clearSuccessCount()

public BatchOperationStatus.Builder clearSuccessCount()

The count of assets (together with their annotations if any) successfully ingested.

int32 success_count = 1;

Returns
Type Description
BatchOperationStatus.Builder

This builder for chaining.

clone()

public BatchOperationStatus.Builder clone()
Returns
Type Description
BatchOperationStatus.Builder
Overrides

getDefaultInstanceForType()

public BatchOperationStatus getDefaultInstanceForType()
Returns
Type Description
BatchOperationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailureCount()

public int getFailureCount()

The count of assets failed to ingested; it might be due to the annotation ingestion error.

int32 failure_count = 2;

Returns
Type Description
int

The failureCount.

getSuccessCount()

public int getSuccessCount()

The count of assets (together with their annotations if any) successfully ingested.

int32 success_count = 1;

Returns
Type Description
int

The successCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchOperationStatus other)

public BatchOperationStatus.Builder mergeFrom(BatchOperationStatus other)
Parameter
Name Description
other BatchOperationStatus
Returns
Type Description
BatchOperationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchOperationStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchOperationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchOperationStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchOperationStatus.Builder
Overrides

setFailureCount(int value)

public BatchOperationStatus.Builder setFailureCount(int value)

The count of assets failed to ingested; it might be due to the annotation ingestion error.

int32 failure_count = 2;

Parameter
Name Description
value int

The failureCount to set.

Returns
Type Description
BatchOperationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchOperationStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchOperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchOperationStatus.Builder
Overrides

setSuccessCount(int value)

public BatchOperationStatus.Builder setSuccessCount(int value)

The count of assets (together with their annotations if any) successfully ingested.

int32 success_count = 1;

Parameter
Name Description
value int

The successCount to set.

Returns
Type Description
BatchOperationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchOperationStatus.Builder
Overrides