public static final class JobNotification.Message extends GeneratedMessageV3 implements JobNotification.MessageOrBuilder
Message details.
Describe a list of attributes this message should have.
Without specified message attributes, no message will be sent by default.
Protobuf type google.cloud.batch.v1.JobNotification.Message
Static Fields
NEW_JOB_STATE_FIELD_NUMBER
public static final int NEW_JOB_STATE_FIELD_NUMBER
Field Value
NEW_TASK_STATE_FIELD_NUMBER
public static final int NEW_TASK_STATE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobNotification.Message getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobNotification.Message.Builder newBuilder()
Returns
newBuilder(JobNotification.Message prototype)
public static JobNotification.Message.Builder newBuilder(JobNotification.Message prototype)
Parameter
Returns
public static JobNotification.Message parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobNotification.Message parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobNotification.Message parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobNotification.Message parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobNotification.Message parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobNotification.Message parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobNotification.Message parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobNotification.Message parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobNotification.Message parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobNotification.Message parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobNotification.Message parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobNotification.Message parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobNotification.Message> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public JobNotification.Message getDefaultInstanceForType()
Returns
getNewJobState()
public JobStatus.State getNewJobState()
The new job state.
.google.cloud.batch.v1.JobStatus.State new_job_state = 2;
Returns
getNewJobStateValue()
public int getNewJobStateValue()
The new job state.
.google.cloud.batch.v1.JobStatus.State new_job_state = 2;
Returns
Type |
Description |
int |
The enum numeric value on the wire for newJobState.
|
getNewTaskState()
public TaskStatus.State getNewTaskState()
The new task state.
.google.cloud.batch.v1.TaskStatus.State new_task_state = 3;
Returns
getNewTaskStateValue()
public int getNewTaskStateValue()
The new task state.
.google.cloud.batch.v1.TaskStatus.State new_task_state = 3;
Returns
Type |
Description |
int |
The enum numeric value on the wire for newTaskState.
|
getParserForType()
public Parser<JobNotification.Message> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public JobNotification.Type getType()
The message type.
.google.cloud.batch.v1.JobNotification.Type type = 1;
Returns
getTypeValue()
public int getTypeValue()
The message type.
.google.cloud.batch.v1.JobNotification.Type type = 1;
Returns
Type |
Description |
int |
The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobNotification.Message.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobNotification.Message.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobNotification.Message.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions