Interface JobNotificationOrBuilder (0.1.1)

public interface JobNotificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract JobNotification.Message getMessage()

The message caters the message attributes configuration will to be sent to this Pub/Sub topic. Without this field, there is no message being sent by default.

.google.cloud.batch.v1.JobNotification.Message message = 2;

Returns
TypeDescription
JobNotification.Message

The message.

getMessageOrBuilder()

public abstract JobNotification.MessageOrBuilder getMessageOrBuilder()

The message caters the message attributes configuration will to be sent to this Pub/Sub topic. Without this field, there is no message being sent by default.

.google.cloud.batch.v1.JobNotification.Message message = 2;

Returns
TypeDescription
JobNotification.MessageOrBuilder

getPubsubTopic()

public abstract String getPubsubTopic()

The Pub/Sub topic where notifications like the job state changes will be published. This topic should be an existing topic in the same project with the job and billings will be charged to this project. If no topic is specified, there will be no Pub/Sub messages sent. Topic format is projects/{project}/topics/{topic}.

string pubsub_topic = 1;

Returns
TypeDescription
String

The pubsubTopic.

getPubsubTopicBytes()

public abstract ByteString getPubsubTopicBytes()

The Pub/Sub topic where notifications like the job state changes will be published. This topic should be an existing topic in the same project with the job and billings will be charged to this project. If no topic is specified, there will be no Pub/Sub messages sent. Topic format is projects/{project}/topics/{topic}.

string pubsub_topic = 1;

Returns
TypeDescription
ByteString

The bytes for pubsubTopic.

hasMessage()

public abstract boolean hasMessage()

The message caters the message attributes configuration will to be sent to this Pub/Sub topic. Without this field, there is no message being sent by default.

.google.cloud.batch.v1.JobNotification.Message message = 2;

Returns
TypeDescription
boolean

Whether the message field is set.