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
EVENT_TIME_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER
Field Value
TASK_EXECUTION_FIELD_NUMBER
public static final int TASK_EXECUTION_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StatusEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StatusEvent.Builder newBuilder()
Returns
newBuilder(StatusEvent prototype)
public static StatusEvent.Builder newBuilder(StatusEvent prototype)
Parameter
Returns
public static StatusEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StatusEvent parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StatusEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StatusEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StatusEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatusEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StatusEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public StatusEvent getDefaultInstanceForType()
Returns
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
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()
The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
Returns
getParserForType()
public Parser<StatusEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTaskExecution()
public TaskExecution getTaskExecution()
Task Execution
.google.cloud.batch.v1.TaskExecution task_execution = 4;
Returns
getTaskExecutionOrBuilder()
public TaskExecutionOrBuilder getTaskExecutionOrBuilder()
Task Execution
.google.cloud.batch.v1.TaskExecution task_execution = 4;
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
.google.cloud.batch.v1.TaskExecution task_execution = 4;
Returns
Type |
Description |
boolean |
Whether the taskExecution field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StatusEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatusEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StatusEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions