Class StatusEvent (0.55.0)

public final class StatusEvent extends GeneratedMessageV3 implements StatusEventOrBuilder

Status event.

Protobuf type google.cloud.batch.v1.StatusEvent

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()
Returns
Type Description
StatusEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StatusEvent.Builder newBuilder()
Returns
Type Description
StatusEvent.Builder

newBuilder(StatusEvent prototype)

public static StatusEvent.Builder newBuilder(StatusEvent prototype)
Parameter
Name Description
prototype StatusEvent
Returns
Type Description
StatusEvent.Builder

parseDelimitedFrom(InputStream input)

public static StatusEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StatusEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatusEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatusEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StatusEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StatusEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatusEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatusEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StatusEvent> parser()
Returns
Type Description
Parser<StatusEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StatusEvent getDefaultInstanceForType()
Returns
Type Description
StatusEvent

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;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<StatusEvent> getParserForType()
Returns
Type Description
Parser<StatusEvent>
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.v1.TaskExecution task_execution = 4;

Returns
Type Description
TaskExecution

The taskExecution.

getTaskExecutionOrBuilder()

public TaskExecutionOrBuilder getTaskExecutionOrBuilder()

Task Execution. This field is only defined for task-level status events where the task fails.

.google.cloud.batch.v1.TaskExecution task_execution = 4;

Returns
Type Description
TaskExecutionOrBuilder

getTaskState()

public TaskStatus.State getTaskState()

Task State. This field is only defined for task-level status events.

.google.cloud.batch.v1.TaskStatus.State task_state = 5;

Returns
Type Description
TaskStatus.State

The taskState.

getTaskStateValue()

public int getTaskStateValue()

Task State. This field is only defined for task-level status events.

.google.cloud.batch.v1.TaskStatus.State task_state = 5;

Returns
Type Description
int

The enum numeric value on the wire for taskState.

getType()

public String 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.v1.TaskExecution task_execution = 4;

Returns
Type Description
boolean

Whether the taskExecution field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StatusEvent.Builder newBuilderForType()
Returns
Type Description
StatusEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatusEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StatusEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StatusEvent.Builder toBuilder()
Returns
Type Description
StatusEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException