- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class StatusEvent.Builder extends GeneratedMessageV3.Builder<StatusEvent.Builder> implements StatusEventOrBuilder
Status event.
Protobuf type google.cloud.batch.v1.StatusEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StatusEvent.BuilderImplements
StatusEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatusEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public StatusEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StatusEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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.v1.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.v1.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. |
clone()
public StatusEvent.Builder clone()
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
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.v1.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.v1.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.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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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.v1.TaskExecution task_execution = 4;
Parameter | |
---|---|
Name | Description |
value |
TaskExecution |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatusEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The 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 |
setField(Descriptors.FieldDescriptor field, Object value)
public StatusEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatusEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
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.v1.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.v1.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.v1.TaskStatus.State task_state = 5;
Parameter | |
---|---|
Name | Description |
value |
TaskStatus.State The 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.v1.TaskStatus.State task_state = 5;
Parameter | |
---|---|
Name | Description |
value |
int The 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 |
String The 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 |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StatusEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |