Package com.google.cloud.batch.v1alpha
Interface StatusEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StatusEvent,StatusEvent.Builder
@Generated
public interface StatusEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescription of the event.com.google.protobuf.ByteStringDescription of the event.com.google.protobuf.TimestampThe time this event occurred.com.google.protobuf.TimestampOrBuilderThe time this event occurred.Task Execution.Task Execution.Task State.intTask State.getType()Type of the event.com.google.protobuf.ByteStringType of the event.booleanThe time this event occurred.booleanTask Execution.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()Type of the event.
string type = 3;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Type of the event.
string type = 3;- Returns:
- The bytes for type.
-
getDescription
String getDescription()Description of the event.
string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of the event.
string description = 1;- Returns:
- The bytes for description.
-
hasEventTime
boolean hasEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;- Returns:
- Whether the eventTime field is set.
-
getEventTime
com.google.protobuf.Timestamp getEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;- Returns:
- The eventTime.
-
getEventTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
hasTaskExecution
boolean hasTaskExecution()Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4;- Returns:
- Whether the taskExecution field is set.
-
getTaskExecution
TaskExecution getTaskExecution()Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4;- Returns:
- The taskExecution.
-
getTaskExecutionOrBuilder
TaskExecutionOrBuilder getTaskExecutionOrBuilder()Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4; -
getTaskStateValue
int getTaskStateValue()Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Returns:
- The enum numeric value on the wire for taskState.
-
getTaskState
TaskStatus.State getTaskState()Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Returns:
- The taskState.
-