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