public final class StatusEvent extends GeneratedMessageV3 implements StatusEventOrBuilder
Status event.
Protobuf type google.cloud.batch.v1alpha.StatusEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVENT_TIME_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TASK_EXECUTION_FIELD_NUMBER
public static final int TASK_EXECUTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TASK_STATE_FIELD_NUMBER
public static final int TASK_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StatusEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StatusEvent.Builder newBuilder()
newBuilder(StatusEvent prototype)
public static StatusEvent.Builder newBuilder(StatusEvent prototype)
public static StatusEvent parseDelimitedFrom(InputStream input)
public static StatusEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StatusEvent parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StatusEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(CodedInputStream input)
public static StatusEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(InputStream input)
public static StatusEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StatusEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StatusEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public StatusEvent getDefaultInstanceForType()
getDescription()
public String getDescription()
Description of the event.
string description = 1;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the event.
string description = 1;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getEventTime()
public Timestamp getEventTime()
The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
Returns |
Type |
Description |
Timestamp |
The eventTime.
|
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()
The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
getParserForType()
public Parser<StatusEvent> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTaskExecution()
public 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;
getTaskExecutionOrBuilder()
public 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;
getTaskState()
public TaskStatus.State getTaskState()
Task State.
This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;
getTaskStateValue()
public int getTaskStateValue()
Task State.
This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for taskState.
|
getType()
Type of the event.
string type = 3;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Type of the event.
string type = 3;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hasEventTime()
public boolean hasEventTime()
The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
Returns |
Type |
Description |
boolean |
Whether the eventTime field is set.
|
hasTaskExecution()
public 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 |
Type |
Description |
boolean |
Whether the taskExecution field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StatusEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatusEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StatusEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides