Class StatusEvent.Builder (0.1.0)

public static final class StatusEvent.Builder extends GeneratedMessageV3.Builder<StatusEvent.Builder> implements StatusEventOrBuilder

Status event

Protobuf type google.cloud.batch.v1.StatusEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StatusEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StatusEvent.Builder
Overrides

build()

public StatusEvent build()
Returns
TypeDescription
StatusEvent

buildPartial()

public StatusEvent buildPartial()
Returns
TypeDescription
StatusEvent

clear()

public StatusEvent.Builder clear()
Returns
TypeDescription
StatusEvent.Builder
Overrides

clearDescription()

public StatusEvent.Builder clearDescription()

Description of the event.

string description = 1;

Returns
TypeDescription
StatusEvent.Builder

This builder for chaining.

clearEventTime()

public StatusEvent.Builder clearEventTime()

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
StatusEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public StatusEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StatusEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StatusEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StatusEvent.Builder
Overrides

clearTaskExecution()

public StatusEvent.Builder clearTaskExecution()

Task Execution

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

Returns
TypeDescription
StatusEvent.Builder

clearType()

public StatusEvent.Builder clearType()

Type of the event.

string type = 3;

Returns
TypeDescription
StatusEvent.Builder

This builder for chaining.

clone()

public StatusEvent.Builder clone()
Returns
TypeDescription
StatusEvent.Builder
Overrides

getDefaultInstanceForType()

public StatusEvent getDefaultInstanceForType()
Returns
TypeDescription
StatusEvent

getDescription()

public String getDescription()

Description of the event.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the event.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEventTime()

public Timestamp getEventTime()

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
Timestamp

The eventTime.

getEventTimeBuilder()

public Timestamp.Builder getEventTimeBuilder()

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
Builder

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getTaskExecution()

public TaskExecution getTaskExecution()

Task Execution

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

Returns
TypeDescription
TaskExecution

The taskExecution.

getTaskExecutionBuilder()

public TaskExecution.Builder getTaskExecutionBuilder()

Task Execution

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

Returns
TypeDescription
TaskExecution.Builder

getTaskExecutionOrBuilder()

public TaskExecutionOrBuilder getTaskExecutionOrBuilder()

Task Execution

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

Returns
TypeDescription
TaskExecutionOrBuilder

getType()

public String getType()

Type of the event.

string type = 3;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of the event.

string type = 3;

Returns
TypeDescription
ByteString

The bytes for type.

hasEventTime()

public boolean hasEventTime()

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
boolean

Whether the eventTime field is set.

hasTaskExecution()

public boolean hasTaskExecution()

Task Execution

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

Returns
TypeDescription
boolean

Whether the taskExecution field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEventTime(Timestamp value)

public StatusEvent.Builder mergeEventTime(Timestamp value)

The time this event occurred.

.google.protobuf.Timestamp event_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
StatusEvent.Builder

mergeFrom(StatusEvent other)

public StatusEvent.Builder mergeFrom(StatusEvent other)
Parameter
NameDescription
otherStatusEvent
Returns
TypeDescription
StatusEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StatusEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusEvent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StatusEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StatusEvent.Builder
Overrides

mergeTaskExecution(TaskExecution value)

public StatusEvent.Builder mergeTaskExecution(TaskExecution value)

Task Execution

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

Parameter
NameDescription
valueTaskExecution
Returns
TypeDescription
StatusEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatusEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StatusEvent.Builder
Overrides

setDescription(String value)

public StatusEvent.Builder setDescription(String value)

Description of the event.

string description = 1;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
StatusEvent.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public StatusEvent.Builder setDescriptionBytes(ByteString value)

Description of the event.

string description = 1;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
StatusEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StatusEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StatusEvent.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StatusEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StatusEvent.Builder
Overrides

setTaskExecution(TaskExecution value)

public StatusEvent.Builder setTaskExecution(TaskExecution value)

Task Execution

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

Parameter
NameDescription
valueTaskExecution
Returns
TypeDescription
StatusEvent.Builder

setTaskExecution(TaskExecution.Builder builderForValue)

public StatusEvent.Builder setTaskExecution(TaskExecution.Builder builderForValue)

Task Execution

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

Parameter
NameDescription
builderForValueTaskExecution.Builder
Returns
TypeDescription
StatusEvent.Builder

setType(String value)

public StatusEvent.Builder setType(String value)

Type of the event.

string type = 3;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
StatusEvent.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public StatusEvent.Builder setTypeBytes(ByteString value)

Type of the event.

string type = 3;

Parameter
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
StatusEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final StatusEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StatusEvent.Builder
Overrides