public static final class StatusEvent.Builder extends GeneratedMessage.Builder<StatusEvent.Builder> implements StatusEventOrBuilderStatus event.
Protobuf type google.cloud.batch.v1alpha.StatusEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StatusEvent.BuilderImplements
StatusEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StatusEvent build()| Returns | |
|---|---|
| Type | Description |
StatusEvent |
|
buildPartial()
public StatusEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
StatusEvent |
|
clear()
public StatusEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
clearDescription()
public StatusEvent.Builder clearDescription()Description of the event.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
clearEventTime()
public StatusEvent.Builder clearEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
clearTaskExecution()
public StatusEvent.Builder clearTaskExecution()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 |
StatusEvent.Builder |
|
clearTaskState()
public StatusEvent.Builder clearTaskState()Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
clearType()
public StatusEvent.Builder clearType()Type of the event.
string type = 3;
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEventTime()
public Timestamp getEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The eventTime. |
getEventTimeBuilder()
public Timestamp.Builder getEventTimeBuilder()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TaskExecution |
The taskExecution. |
getTaskExecutionBuilder()
public TaskExecution.Builder getTaskExecutionBuilder()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 |
TaskExecution.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TaskExecutionOrBuilder |
|
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;
| 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.v1alpha.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.v1alpha.TaskExecution task_execution = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the taskExecution field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEventTime(Timestamp value)
public StatusEvent.Builder mergeEventTime(Timestamp value)The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
mergeFrom(StatusEvent other)
public StatusEvent.Builder mergeFrom(StatusEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
StatusEvent |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StatusEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StatusEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
mergeTaskExecution(TaskExecution value)
public StatusEvent.Builder mergeTaskExecution(TaskExecution value)Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
TaskExecution |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
setDescription(String value)
public StatusEvent.Builder setDescription(String value)Description of the event.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public StatusEvent.Builder setDescriptionBytes(ByteString value)Description of the event.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setEventTime(Timestamp value)
public StatusEvent.Builder setEventTime(Timestamp value)The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
setEventTime(Timestamp.Builder builderForValue)
public StatusEvent.Builder setEventTime(Timestamp.Builder builderForValue)The time this event occurred.
.google.protobuf.Timestamp event_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
setTaskExecution(TaskExecution value)
public StatusEvent.Builder setTaskExecution(TaskExecution value)Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
TaskExecution |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
setTaskExecution(TaskExecution.Builder builderForValue)
public StatusEvent.Builder setTaskExecution(TaskExecution.Builder builderForValue)Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TaskExecution.Builder |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
|
setTaskState(TaskStatus.State value)
public StatusEvent.Builder setTaskState(TaskStatus.State value)Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
TaskStatus.StateThe taskState to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setTaskStateValue(int value)
public StatusEvent.Builder setTaskStateValue(int value)Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for taskState to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setType(String value)
public StatusEvent.Builder setType(String value)Type of the event.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public StatusEvent.Builder setTypeBytes(ByteString value)Type of the event.
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
StatusEvent.Builder |
This builder for chaining. |