Package com.google.cloud.batch.v1alpha
Class StatusEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
com.google.cloud.batch.v1alpha.StatusEvent.Builder
- All Implemented Interfaces:
StatusEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StatusEvent
public static final class StatusEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
implements StatusEventOrBuilder
Status event.Protobuf type
google.cloud.batch.v1alpha.StatusEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Description of the event.The time this event occurred.Task Execution.Task State.Type of the event.Description of the event.com.google.protobuf.ByteStringDescription of the event.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time this event occurred.com.google.protobuf.Timestamp.BuilderThe time this event occurred.com.google.protobuf.TimestampOrBuilderThe time this event occurred.Task Execution.Task Execution.Task Execution.Task State.intTask State.getType()Type of the event.com.google.protobuf.ByteStringType of the event.booleanThe time this event occurred.booleanTask Execution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEventTime(com.google.protobuf.Timestamp value) The time this event occurred.mergeFrom(StatusEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTaskExecution(TaskExecution value) Task Execution.setDescription(String value) Description of the event.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the event.setEventTime(com.google.protobuf.Timestamp value) The time this event occurred.setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) The time this event occurred.setTaskExecution(TaskExecution value) Task Execution.setTaskExecution(TaskExecution.Builder builderForValue) Task Execution.setTaskState(TaskStatus.State value) Task State.setTaskStateValue(int value) Task State.Type of the event.setTypeBytes(com.google.protobuf.ByteString value) Type of the event.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatusEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StatusEvent.Builder>
-
mergeFrom
public StatusEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatusEvent.Builder>- Throws:
IOException
-
getType
Type of the event.
string type = 3;- Specified by:
getTypein interfaceStatusEventOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type of the event.
string type = 3;- Specified by:
getTypeBytesin interfaceStatusEventOrBuilder- Returns:
- The bytes for type.
-
setType
Type of the event.
string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of the event.
string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
Type of the event.
string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the event.
string description = 1;- Specified by:
getDescriptionin interfaceStatusEventOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the event.
string description = 1;- Specified by:
getDescriptionBytesin interfaceStatusEventOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the event.
string description = 1;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the event.
string description = 1;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the event.
string description = 1;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEventTime
public boolean hasEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;- Specified by:
hasEventTimein interfaceStatusEventOrBuilder- Returns:
- Whether the eventTime field is set.
-
getEventTime
public com.google.protobuf.Timestamp getEventTime()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;- Specified by:
getEventTimein interfaceStatusEventOrBuilder- Returns:
- The eventTime.
-
setEventTime
The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
setEventTime
The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
mergeEventTime
The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
clearEventTime
The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
getEventTimeBuilder
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()The time this event occurred.
.google.protobuf.Timestamp event_time = 2; -
getEventTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()The time this event occurred.
.google.protobuf.Timestamp event_time = 2;- Specified by:
getEventTimeOrBuilderin interfaceStatusEventOrBuilder
-
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;- Specified by:
hasTaskExecutionin interfaceStatusEventOrBuilder- Returns:
- Whether the taskExecution field is set.
-
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;- Specified by:
getTaskExecutionin interfaceStatusEventOrBuilder- Returns:
- The taskExecution.
-
setTaskExecution
Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4; -
setTaskExecution
Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4; -
mergeTaskExecution
Task Execution. This field is only defined for task-level status events where the task fails.
.google.cloud.batch.v1alpha.TaskExecution task_execution = 4; -
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; -
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; -
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;- Specified by:
getTaskExecutionOrBuilderin interfaceStatusEventOrBuilder
-
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;- Specified by:
getTaskStateValuein interfaceStatusEventOrBuilder- Returns:
- The enum numeric value on the wire for taskState.
-
setTaskStateValue
Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Parameters:
value- The enum numeric value on the wire for taskState to set.- Returns:
- This builder for chaining.
-
getTaskState
Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Specified by:
getTaskStatein interfaceStatusEventOrBuilder- Returns:
- The taskState.
-
setTaskState
Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Parameters:
value- The taskState to set.- Returns:
- This builder for chaining.
-
clearTaskState
Task State. This field is only defined for task-level status events.
.google.cloud.batch.v1alpha.TaskStatus.State task_state = 5;- Returns:
- This builder for chaining.
-