Class Attempt.Builder (0.131.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
Attempt.Builder

addPartialFailures(Status value)

public Attempt.Builder addPartialFailures(Status value)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
Attempt.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Attempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Attempt.Builder
Overrides

build()

public Attempt build()
Returns
TypeDescription
Attempt

buildPartial()

public Attempt buildPartial()
Returns
TypeDescription
Attempt

clear()

public Attempt.Builder clear()
Returns
TypeDescription
Attempt.Builder
Overrides

clearAttemptTime()

public Attempt.Builder clearAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
TypeDescription
Attempt.Builder

clearField(Descriptors.FieldDescriptor field)

public Attempt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Attempt.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Attempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Attempt.Builder
Overrides

clearPartialFailures()

public Attempt.Builder clearPartialFailures()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
Attempt.Builder

clone()

public Attempt.Builder clone()
Returns
TypeDescription
Attempt.Builder
Overrides

getAttemptTime()

public Timestamp getAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
TypeDescription
Timestamp

The attemptTime.

getAttemptTimeBuilder()

public Timestamp.Builder getAttemptTimeBuilder()

.google.protobuf.Timestamp attempt_time = 1;

Returns
TypeDescription
Builder

getAttemptTimeOrBuilder()

public TimestampOrBuilder getAttemptTimeOrBuilder()

.google.protobuf.Timestamp attempt_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Attempt getDefaultInstanceForType()
Returns
TypeDescription
Attempt

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPartialFailures(int index)

public Status getPartialFailures(int index)

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
List<com.google.rpc.Status.Builder>

getPartialFailuresCount()

public int getPartialFailuresCount()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Details of errors that occurred.

repeated .google.rpc.Status partial_failures = 2;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

hasAttemptTime()

public boolean hasAttemptTime()

.google.protobuf.Timestamp attempt_time = 1;

Returns
TypeDescription
boolean

Whether the attemptTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttemptTime(Timestamp value)

public Attempt.Builder mergeAttemptTime(Timestamp value)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Attempt.Builder

mergeFrom(Attempt other)

public Attempt.Builder mergeFrom(Attempt other)
Parameter
NameDescription
otherAttempt
Returns
TypeDescription
Attempt.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Attempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Attempt.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Attempt.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Attempt.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Attempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Attempt.Builder

setAttemptTime(Timestamp value)

public Attempt.Builder setAttemptTime(Timestamp value)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Attempt.Builder

setAttemptTime(Timestamp.Builder builderForValue)

public Attempt.Builder setAttemptTime(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp attempt_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Attempt.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Attempt.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
Attempt.Builder

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

public Attempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Attempt.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Attempt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Attempt.Builder
Overrides