Class JobMessage.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobMessage build()
Returns
TypeDescription
JobMessage

buildPartial()

public JobMessage buildPartial()
Returns
TypeDescription
JobMessage

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public JobMessage.Builder clearId()

Deprecated.

string id = 1;

Returns
TypeDescription
JobMessage.Builder

This builder for chaining.

clearMessageImportance()

public JobMessage.Builder clearMessageImportance()

Importance level of the message.

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

Returns
TypeDescription
JobMessage.Builder

This builder for chaining.

clearMessageText()

public JobMessage.Builder clearMessageText()

The text of the message.

string message_text = 3;

Returns
TypeDescription
JobMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTime()

public JobMessage.Builder clearTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
JobMessage.Builder

clone()

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

getDefaultInstanceForType()

public JobMessage getDefaultInstanceForType()
Returns
TypeDescription
JobMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Deprecated.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Deprecated.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getMessageImportance()

public JobMessageImportance getMessageImportance()

Importance level of the message.

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

Returns
TypeDescription
JobMessageImportance

The messageImportance.

getMessageImportanceValue()

public int getMessageImportanceValue()

Importance level of the message.

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

Returns
TypeDescription
int

The enum numeric value on the wire for messageImportance.

getMessageText()

public String getMessageText()

The text of the message.

string message_text = 3;

Returns
TypeDescription
String

The messageText.

getMessageTextBytes()

public ByteString getMessageTextBytes()

The text of the message.

string message_text = 3;

Returns
TypeDescription
ByteString

The bytes for messageText.

getTime()

public Timestamp getTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
Timestamp

The time.

getTimeBuilder()

public Timestamp.Builder getTimeBuilder()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
Builder

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasTime()

public boolean hasTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
boolean

Whether the time field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(JobMessage other)

public JobMessage.Builder mergeFrom(JobMessage other)
Parameter
NameDescription
otherJobMessage
Returns
TypeDescription
JobMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTime(Timestamp value)

public JobMessage.Builder mergeTime(Timestamp value)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
JobMessage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public JobMessage.Builder setId(String value)

Deprecated.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
JobMessage.Builder

This builder for chaining.

setIdBytes(ByteString value)

public JobMessage.Builder setIdBytes(ByteString value)

Deprecated.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueJobMessageImportance

The messageImportance to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The messageText to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for messageText to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
JobMessage.Builder
Overrides

setTime(Timestamp value)

public JobMessage.Builder setTime(Timestamp value)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
JobMessage.Builder

setTime(Timestamp.Builder builderForValue)

public JobMessage.Builder setTime(Timestamp.Builder builderForValue)

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
JobMessage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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