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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
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
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
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
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
Returns
Type | Description |
com.google.rpc.Status.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Attempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Attempt buildPartial()
Returns
clear()
public Attempt.Builder clear()
Returns
Overrides
clearAttemptTime()
public Attempt.Builder clearAttemptTime()
.google.protobuf.Timestamp attempt_time = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Attempt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Attempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPartialFailures()
public Attempt.Builder clearPartialFailures()
Details of errors that occurred.
repeated .google.rpc.Status partial_failures = 2;
Returns
clone()
public Attempt.Builder clone()
Returns
Overrides
getAttemptTime()
public Timestamp getAttemptTime()
.google.protobuf.Timestamp attempt_time = 1;
Returns
getAttemptTimeBuilder()
public Timestamp.Builder getAttemptTimeBuilder()
.google.protobuf.Timestamp attempt_time = 1;
Returns
getAttemptTimeOrBuilder()
public TimestampOrBuilder getAttemptTimeOrBuilder()
.google.protobuf.Timestamp attempt_time = 1;
Returns
getDefaultInstanceForType()
public Attempt getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPartialFailures(int index)
public Status getPartialFailures(int index)
Details of errors that occurred.
repeated .google.rpc.Status partial_failures = 2;
Parameter
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAttemptTime(Timestamp value)
public Attempt.Builder mergeAttemptTime(Timestamp value)
.google.protobuf.Timestamp attempt_time = 1;
Parameter
Returns
mergeFrom(Attempt other)
public Attempt.Builder mergeFrom(Attempt other)
Parameter
Returns
public Attempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Attempt.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Attempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePartialFailures(int index)
public Attempt.Builder removePartialFailures(int index)
Details of errors that occurred.
repeated .google.rpc.Status partial_failures = 2;
Parameter
Returns
setAttemptTime(Timestamp value)
public Attempt.Builder setAttemptTime(Timestamp value)
.google.protobuf.Timestamp attempt_time = 1;
Parameter
Returns
setAttemptTime(Timestamp.Builder builderForValue)
public Attempt.Builder setAttemptTime(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp attempt_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Attempt.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Attempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Attempt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides