Class JobMessage (0.59.0)

public final class JobMessage extends GeneratedMessageV3 implements JobMessageOrBuilder

A particular message pertaining to a Dataflow job.

Protobuf type google.dataflow.v1beta3.JobMessage

Implements

JobMessageOrBuilder

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_IMPORTANCE_FIELD_NUMBER

public static final int MESSAGE_IMPORTANCE_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_TEXT_FIELD_NUMBER

public static final int MESSAGE_TEXT_FIELD_NUMBER
Field Value
Type Description
int

TIME_FIELD_NUMBER

public static final int TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobMessage getDefaultInstance()
Returns
Type Description
JobMessage

getDescriptor()

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

newBuilder()

public static JobMessage.Builder newBuilder()
Returns
Type Description
JobMessage.Builder

newBuilder(JobMessage prototype)

public static JobMessage.Builder newBuilder(JobMessage prototype)
Parameter
Name Description
prototype JobMessage
Returns
Type Description
JobMessage.Builder

parseDelimitedFrom(InputStream input)

public static JobMessage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobMessage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobMessage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobMessage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobMessage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobMessage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobMessage> parser()
Returns
Type Description
Parser<JobMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JobMessage getDefaultInstanceForType()
Returns
Type Description
JobMessage

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.

getParserForType()

public Parser<JobMessage> getParserForType()
Returns
Type Description
Parser<JobMessage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTime()

public Timestamp getTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
Type Description
Timestamp

The time.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobMessage.Builder newBuilderForType()
Returns
Type Description
JobMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobMessage.Builder toBuilder()
Returns
Type Description
JobMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException