/*
 * 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/dataflow/v1beta3/messages.proto

package com.google.dataflow.v1beta3;

public interface AutoscalingEventOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.dataflow.v1beta3.AutoscalingEvent)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The current number of workers the job has.
   * </pre>
   *
   * <code>int64 current_num_workers = 1;</code>
   *
   * @return The currentNumWorkers.
   */
  long getCurrentNumWorkers();

  /**
   *
   *
   * <pre>
   * The target number of workers the worker pool wants to resize to use.
   * </pre>
   *
   * <code>int64 target_num_workers = 2;</code>
   *
   * @return The targetNumWorkers.
   */
  long getTargetNumWorkers();

  /**
   *
   *
   * <pre>
   * The type of autoscaling event to report.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;</code>
   *
   * @return The enum numeric value on the wire for eventType.
   */
  int getEventTypeValue();
  /**
   *
   *
   * <pre>
   * The type of autoscaling event to report.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType event_type = 3;</code>
   *
   * @return The eventType.
   */
  com.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType getEventType();

  /**
   *
   *
   * <pre>
   * A message describing why the system decided to adjust the current
   * number of workers, why it failed, or why the system decided to
   * not make any changes to the number of workers.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StructuredMessage description = 4;</code>
   *
   * @return Whether the description field is set.
   */
  boolean hasDescription();
  /**
   *
   *
   * <pre>
   * A message describing why the system decided to adjust the current
   * number of workers, why it failed, or why the system decided to
   * not make any changes to the number of workers.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StructuredMessage description = 4;</code>
   *
   * @return The description.
   */
  com.google.dataflow.v1beta3.StructuredMessage getDescription();
  /**
   *
   *
   * <pre>
   * A message describing why the system decided to adjust the current
   * number of workers, why it failed, or why the system decided to
   * not make any changes to the number of workers.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StructuredMessage description = 4;</code>
   */
  com.google.dataflow.v1beta3.StructuredMessageOrBuilder getDescriptionOrBuilder();

  /**
   *
   *
   * <pre>
   * The time this event was emitted to indicate a new target or current
   * num_workers value.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp time = 5;</code>
   *
   * @return Whether the time field is set.
   */
  boolean hasTime();
  /**
   *
   *
   * <pre>
   * The time this event was emitted to indicate a new target or current
   * num_workers value.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp time = 5;</code>
   *
   * @return The time.
   */
  com.google.protobuf.Timestamp getTime();
  /**
   *
   *
   * <pre>
   * The time this event was emitted to indicate a new target or current
   * num_workers value.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp time = 5;</code>
   */
  com.google.protobuf.TimestampOrBuilder getTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * A short and friendly name for the worker pool this event refers to.
   * </pre>
   *
   * <code>string worker_pool = 7;</code>
   *
   * @return The workerPool.
   */
  java.lang.String getWorkerPool();
  /**
   *
   *
   * <pre>
   * A short and friendly name for the worker pool this event refers to.
   * </pre>
   *
   * <code>string worker_pool = 7;</code>
   *
   * @return The bytes for workerPool.
   */
  com.google.protobuf.ByteString getWorkerPoolBytes();
}
