Interface JobNotificationOrBuilder (0.7.0)

public interface JobNotificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract JobNotification.Message getMessage()

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

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

Returns
Type Description
JobNotification.Message

The message.

getMessageOrBuilder()

public abstract JobNotification.MessageOrBuilder getMessageOrBuilder()

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

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

Returns
Type Description
JobNotification.MessageOrBuilder

getPubsubTopic()

public abstract String getPubsubTopic()

The Pub/Sub topic where notifications like the job state changes will be published. This topic exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.

string pubsub_topic = 1;

Returns
Type Description
String

The pubsubTopic.

getPubsubTopicBytes()

public abstract ByteString getPubsubTopicBytes()

The Pub/Sub topic where notifications like the job state changes will be published. This topic exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.

string pubsub_topic = 1;

Returns
Type Description
ByteString

The bytes for pubsubTopic.

hasMessage()

public abstract boolean hasMessage()

The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.

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

Returns
Type Description
boolean

Whether the message field is set.