/*
 * 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/bigquery/reservation/v1/reservation.proto

package com.google.cloud.bigquery.reservation.v1;

public interface AssignmentOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.reservation.v1.Assignment)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. Name of the resource. E.g.:
   * `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.
   * The assignment_id must only contain lower case alphanumeric characters or
   * dashes and the max length is 64 characters.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. Name of the resource. E.g.:
   * `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.
   * The assignment_id must only contain lower case alphanumeric characters or
   * dashes and the max length is 64 characters.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * The resource which will use the reservation. E.g.
   * `projects/myproject`, `folders/123`, or `organizations/456`.
   * </pre>
   *
   * <code>string assignee = 4;</code>
   *
   * @return The assignee.
   */
  java.lang.String getAssignee();
  /**
   *
   *
   * <pre>
   * The resource which will use the reservation. E.g.
   * `projects/myproject`, `folders/123`, or `organizations/456`.
   * </pre>
   *
   * <code>string assignee = 4;</code>
   *
   * @return The bytes for assignee.
   */
  com.google.protobuf.ByteString getAssigneeBytes();

  /**
   *
   *
   * <pre>
   * Which type of jobs will use the reservation.
   * </pre>
   *
   * <code>.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;</code>
   *
   * @return The enum numeric value on the wire for jobType.
   */
  int getJobTypeValue();
  /**
   *
   *
   * <pre>
   * Which type of jobs will use the reservation.
   * </pre>
   *
   * <code>.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;</code>
   *
   * @return The jobType.
   */
  com.google.cloud.bigquery.reservation.v1.Assignment.JobType getJobType();

  /**
   *
   *
   * <pre>
   * Output only. State of the assignment.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. State of the assignment.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.bigquery.reservation.v1.Assignment.State getState();
}
