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.v1alpha.TaskExecution
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TaskExecution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TaskExecution build()
Returns
buildPartial()
public TaskExecution buildPartial()
Returns
clear()
public TaskExecution.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public TaskExecution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TaskExecution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TaskExecution.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TaskExecution getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TaskExecution other)
public TaskExecution.Builder mergeFrom(TaskExecution other)
Parameter
Returns
public TaskExecution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TaskExecution.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaskExecution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TaskExecution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaskExecution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TaskExecution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides