Class JobMessage.Builder (0.56.0)

public static final class JobMessage.Builder extends GeneratedMessageV3.Builder<JobMessage.Builder> implements JobMessageOrBuilder

A particular message pertaining to a Dataflow job.

Protobuf type google.dataflow.v1beta3.JobMessage

Implements

JobMessageOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobMessage.Builder
Overrides

build()

public JobMessage build()
Returns
Type Description
JobMessage

buildPartial()

public JobMessage buildPartial()
Returns
Type Description
JobMessage

clear()

public JobMessage.Builder clear()
Returns
Type Description
JobMessage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public JobMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
JobMessage.Builder
Overrides

clearId()

public JobMessage.Builder clearId()

Deprecated.

string id = 1;

Returns
Type Description
JobMessage.Builder

This builder for chaining.

clearMessageImportance()

public JobMessage.Builder clearMessageImportance()

Importance level of the message.

.google.dataflow.v1beta3.JobMessageImportance message_importance = 4;

Returns
Type Description
JobMessage.Builder

This builder for chaining.

clearMessageText()

public JobMessage.Builder clearMessageText()

The text of the message.

string message_text = 3;

Returns
Type Description
JobMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public JobMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
JobMessage.Builder
Overrides

clearTime()

public JobMessage.Builder clearTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
JobMessage.Builder

clone()

public JobMessage.Builder clone()
Returns
Type Description
JobMessage.Builder
Overrides

getDefaultInstanceForType()

public JobMessage getDefaultInstanceForType()
Returns
Type Description
JobMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getId()

public String getId()

Deprecated.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Deprecated.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getMessageImportance()

public JobMessageImportance getMessageImportance()

Importance level of the message.

.google.dataflow.v1beta3.JobMessageImportance message_importance = 4;

Returns
Type Description
JobMessageImportance

The messageImportance.

getMessageImportanceValue()

public int getMessageImportanceValue()

Importance level of the message.

.google.dataflow.v1beta3.JobMessageImportance message_importance = 4;

Returns
Type Description
int

The enum numeric value on the wire for messageImportance.

getMessageText()

public String getMessageText()

The text of the message.

string message_text = 3;

Returns
Type Description
String

The messageText.

getMessageTextBytes()

public ByteString getMessageTextBytes()

The text of the message.

string message_text = 3;

Returns
Type Description
ByteString

The bytes for messageText.

getTime()

public Timestamp getTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
Timestamp

The time.

getTimeBuilder()

public Timestamp.Builder getTimeBuilder()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
Builder

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
TimestampOrBuilder

hasTime()

public boolean hasTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
boolean

Whether the time field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(JobMessage other)

public JobMessage.Builder mergeFrom(JobMessage other)
Parameter
Name Description
other JobMessage
Returns
Type Description
JobMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public JobMessage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
JobMessage.Builder
Overrides

mergeTime(Timestamp value)

public JobMessage.Builder mergeTime(Timestamp value)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobMessage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobMessage.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public JobMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobMessage.Builder
Overrides

setId(String value)

public JobMessage.Builder setId(String value)

Deprecated.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

setIdBytes(ByteString value)

public JobMessage.Builder setIdBytes(ByteString value)

Deprecated.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

setMessageImportance(JobMessageImportance value)

public JobMessage.Builder setMessageImportance(JobMessageImportance value)

Importance level of the message.

.google.dataflow.v1beta3.JobMessageImportance message_importance = 4;

Parameter
Name Description
value JobMessageImportance

The messageImportance to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

setMessageImportanceValue(int value)

public JobMessage.Builder setMessageImportanceValue(int value)

Importance level of the message.

.google.dataflow.v1beta3.JobMessageImportance message_importance = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for messageImportance to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

setMessageText(String value)

public JobMessage.Builder setMessageText(String value)

The text of the message.

string message_text = 3;

Parameter
Name Description
value String

The messageText to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

setMessageTextBytes(ByteString value)

public JobMessage.Builder setMessageTextBytes(ByteString value)

The text of the message.

string message_text = 3;

Parameter
Name Description
value ByteString

The bytes for messageText to set.

Returns
Type Description
JobMessage.Builder

This builder for chaining.

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

public JobMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
JobMessage.Builder
Overrides

setTime(Timestamp value)

public JobMessage.Builder setTime(Timestamp value)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
JobMessage.Builder

setTime(Timestamp.Builder builderForValue)

public JobMessage.Builder setTime(Timestamp.Builder builderForValue)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
JobMessage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final JobMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobMessage.Builder
Overrides