Class JobMessage (0.20.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
TypeDescription
int

MESSAGE_IMPORTANCE_FIELD_NUMBER

public static final int MESSAGE_IMPORTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_TEXT_FIELD_NUMBER

public static final int MESSAGE_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_FIELD_NUMBER

public static final int TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobMessage getDefaultInstance()
Returns
TypeDescription
JobMessage

getDescriptor()

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

newBuilder()

public static JobMessage.Builder newBuilder()
Returns
TypeDescription
JobMessage.Builder

newBuilder(JobMessage prototype)

public static JobMessage.Builder newBuilder(JobMessage prototype)
Parameter
NameDescription
prototypeJobMessage
Returns
TypeDescription
JobMessage.Builder

parseDelimitedFrom(InputStream input)

public static JobMessage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobMessage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobMessage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobMessage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobMessage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobMessage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobMessage> parser()
Returns
TypeDescription
Parser<JobMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobMessage getDefaultInstanceForType()
Returns
TypeDescription
JobMessage

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.

getParserForType()

public Parser<JobMessage> getParserForType()
Returns
TypeDescription
Parser<JobMessage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTime()

public Timestamp getTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
Timestamp

The time.

getTimeOrBuilder()

public TimestampOrBuilder getTimeOrBuilder()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTime()

public boolean hasTime()

The timestamp of the message.

.google.protobuf.Timestamp time = 2;

Returns
TypeDescription
boolean

Whether the time field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobMessage.Builder newBuilderForType()
Returns
TypeDescription
JobMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobMessage.Builder toBuilder()
Returns
TypeDescription
JobMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException