public static final class TaskExecution.Builder extends GeneratedMessageV3.Builder<TaskExecution.Builder> implements TaskExecutionOrBuilder
This Task Execution field includes detail information for
task execution procedures, based on StatusEvent types.
Protobuf type google.cloud.batch.v1.TaskExecution
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TaskExecution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TaskExecution build()
buildPartial()
public TaskExecution buildPartial()
clear()
public TaskExecution.Builder clear()
Overrides
clearExitCode()
public TaskExecution.Builder clearExitCode()
When task is completed as the status of FAILED or SUCCEEDED,
exit code is for one task execution result, default is 0 as success.
int32 exit_code = 1;
clearField(Descriptors.FieldDescriptor field)
public TaskExecution.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TaskExecution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TaskExecution.Builder clone()
Overrides
getDefaultInstanceForType()
public TaskExecution getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExitCode()
When task is completed as the status of FAILED or SUCCEEDED,
exit code is for one task execution result, default is 0 as success.
int32 exit_code = 1;
Returns |
Type |
Description |
int |
The exitCode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TaskExecution other)
public TaskExecution.Builder mergeFrom(TaskExecution other)
public TaskExecution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TaskExecution.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaskExecution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExitCode(int value)
public TaskExecution.Builder setExitCode(int value)
When task is completed as the status of FAILED or SUCCEEDED,
exit code is for one task execution result, default is 0 as success.
int32 exit_code = 1;
Parameter |
Name |
Description |
value |
int
The exitCode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TaskExecution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaskExecution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TaskExecution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides