publicstaticfinalclass TaskAttemptResult.BuilderextendsGeneratedMessageV3.Builder<TaskAttemptResult.Builder>implementsTaskAttemptResultOrBuilder
Result of a task attempt.
Protobuf type google.cloud.run.v2.TaskAttemptResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTaskAttemptResult.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicTaskAttemptResultbuild()
buildPartial()
publicTaskAttemptResultbuildPartial()
clear()
publicTaskAttemptResult.Builderclear()
Overrides
clearExitCode()
publicTaskAttemptResult.BuilderclearExitCode()
Output only. The exit code of this attempt.
This may be unset if the container was unable to exit cleanly with a code
due to some other failure.
See status field for possible failure details.
int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
publicTaskAttemptResult.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicTaskAttemptResult.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearStatus()
publicTaskAttemptResult.BuilderclearStatus()
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
publicTaskAttemptResult.Builderclone()
Overrides
getDefaultInstanceForType()
publicTaskAttemptResultgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getExitCode()
Output only. The exit code of this attempt.
This may be unset if the container was unable to exit cleanly with a code
due to some other failure.
See status field for possible failure details.
int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The exitCode.
|
getStatus()
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusBuilder()
publicStatus.BuildergetStatusBuilder()
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.Status.Builder |
getStatusOrBuilder()
publicStatusOrBuildergetStatusOrBuilder()
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.rpc.StatusOrBuilder |
hasStatus()
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(TaskAttemptResult other)
publicTaskAttemptResult.BuildermergeFrom(TaskAttemptResultother)
publicTaskAttemptResult.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicTaskAttemptResult.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeStatus(Status value)
publicTaskAttemptResult.BuildermergeStatus(Statusvalue)
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
com.google.rpc.Status
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskAttemptResult.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setExitCode(int value)
publicTaskAttemptResult.BuildersetExitCode(intvalue)
Output only. The exit code of this attempt.
This may be unset if the container was unable to exit cleanly with a code
due to some other failure.
See status field for possible failure details.
int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
int
The exitCode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicTaskAttemptResult.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTaskAttemptResult.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setStatus(Status value)
publicTaskAttemptResult.BuildersetStatus(Statusvalue)
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
com.google.rpc.Status
|
setStatus(Status.Builder builderForValue)
publicTaskAttemptResult.BuildersetStatus(Status.BuilderbuilderForValue)
Output only. The status of this attempt.
If the status code is OK, then the attempt succeeded.
.google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
builderForValue |
com.google.rpc.Status.Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTaskAttemptResult.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides