Class Attempt.Builder (0.168.0)

public static final class Attempt.Builder extends GeneratedMessageV3.Builder<Attempt.Builder> implements AttemptOrBuilder

Records a failed evaluation job run.

Protobuf type google.cloud.datalabeling.v1beta1.Attempt

Implements

AttemptOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllPartialFailures(Iterable<? extends Status> values)

public Attempt.Builder addAllPartialFailures(Iterable<? extends Status> values)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
Attempt.Builder

addPartialFailures(Status value)

public Attempt.Builder addPartialFailures(Status value)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Attempt.Builder

addPartialFailures(Status.Builder builderForValue)

public Attempt.Builder addPartialFailures(Status.Builder builderForValue)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Attempt.Builder

addPartialFailures(int index, Status value)

public Attempt.Builder addPartialFailures(int index, Status value)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
Attempt.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public Attempt.Builder addPartialFailures(int index, Status.Builder builderForValue)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Attempt.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
com.google.rpc.Status.Builder

addPartialFailuresBuilder(int index)

public Status.Builder addPartialFailuresBuilder(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Attempt build()
Returns
Type Description
Attempt

buildPartial()

public Attempt buildPartial()
Returns
Type Description
Attempt

clear()

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

clearAttemptTime()

public Attempt.Builder clearAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
Attempt.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartialFailures()

public Attempt.Builder clearPartialFailures()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
Attempt.Builder

clone()

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

getAttemptTime()

public Timestamp getAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
Timestamp

The attemptTime.

getAttemptTimeBuilder()

public Timestamp.Builder getAttemptTimeBuilder()

.google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
Builder

getAttemptTimeOrBuilder()

public TimestampOrBuilder getAttemptTimeOrBuilder()

.google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Attempt getDefaultInstanceForType()
Returns
Type Description
Attempt

getDescriptorForType()

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

getPartialFailures(int index)

public Status getPartialFailures(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialFailuresBuilder(int index)

public Status.Builder getPartialFailuresBuilder(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status.Builder>

getPartialFailuresCount()

public int getPartialFailuresCount()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

public StatusOrBuilder getPartialFailuresOrBuilder(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

hasAttemptTime()

public boolean hasAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
boolean

Whether the attemptTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAttemptTime(Timestamp value)

public Attempt.Builder mergeAttemptTime(Timestamp value)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attempt.Builder

mergeFrom(Attempt other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePartialFailures(int index)

public Attempt.Builder removePartialFailures(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
Attempt.Builder

setAttemptTime(Timestamp value)

public Attempt.Builder setAttemptTime(Timestamp value)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Attempt.Builder

setAttemptTime(Timestamp.Builder builderForValue)

public Attempt.Builder setAttemptTime(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attempt.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPartialFailures(int index, Status value)

public Attempt.Builder setPartialFailures(int index, Status value)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
Attempt.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public Attempt.Builder setPartialFailures(int index, Status.Builder builderForValue)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Attempt.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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