public final class TaskExecution extends GeneratedMessageV3 implements TaskExecutionOrBuilder
This Task Execution field includes detail information for
task execution procedures, based on StatusEvent types.
Protobuf type google.cloud.batch.v1.TaskExecution
Static Fields
EXIT_CODE_FIELD_NUMBER
public static final int EXIT_CODE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TaskExecution getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TaskExecution.Builder newBuilder()
Returns
newBuilder(TaskExecution prototype)
public static TaskExecution.Builder newBuilder(TaskExecution prototype)
Parameter
Returns
public static TaskExecution parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TaskExecution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TaskExecution parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TaskExecution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TaskExecution parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaskExecution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TaskExecution parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TaskExecution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TaskExecution parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TaskExecution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TaskExecution parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TaskExecution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TaskExecution> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TaskExecution getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<TaskExecution> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TaskExecution.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TaskExecution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TaskExecution.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions