/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/batch/v1alpha/job.proto

package com.google.cloud.batch.v1alpha;

public interface JobNotificationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1alpha.JobNotification)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * 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}`.
   * </pre>
   *
   * <code>string pubsub_topic = 1;</code>
   *
   * @return The pubsubTopic.
   */
  java.lang.String getPubsubTopic();
  /**
   *
   *
   * <pre>
   * 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}`.
   * </pre>
   *
   * <code>string pubsub_topic = 1;</code>
   *
   * @return The bytes for pubsubTopic.
   */
  com.google.protobuf.ByteString getPubsubTopicBytes();

  /**
   *
   *
   * <pre>
   * The attribute requirements of messages to be sent to this Pub/Sub topic.
   * Without this field, no message will be sent.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.JobNotification.Message message = 2;</code>
   *
   * @return Whether the message field is set.
   */
  boolean hasMessage();
  /**
   *
   *
   * <pre>
   * The attribute requirements of messages to be sent to this Pub/Sub topic.
   * Without this field, no message will be sent.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.JobNotification.Message message = 2;</code>
   *
   * @return The message.
   */
  com.google.cloud.batch.v1alpha.JobNotification.Message getMessage();
  /**
   *
   *
   * <pre>
   * The attribute requirements of messages to be sent to this Pub/Sub topic.
   * Without this field, no message will be sent.
   * </pre>
   *
   * <code>.google.cloud.batch.v1alpha.JobNotification.Message message = 2;</code>
   */
  com.google.cloud.batch.v1alpha.JobNotification.MessageOrBuilder getMessageOrBuilder();
}
