/*
 * 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/api/servicecontrol/v2/service_controller.proto

package com.google.api.servicecontrol.v2;

public interface CheckRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v2.CheckRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The service name as specified in its service configuration. For example,
   * `"pubsub.googleapis.com"`.
   * See
   * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
   * for the definition of a service name.
   * </pre>
   *
   * <code>string service_name = 1;</code>
   *
   * @return The serviceName.
   */
  java.lang.String getServiceName();
  /**
   *
   *
   * <pre>
   * The service name as specified in its service configuration. For example,
   * `"pubsub.googleapis.com"`.
   * See
   * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
   * for the definition of a service name.
   * </pre>
   *
   * <code>string service_name = 1;</code>
   *
   * @return The bytes for serviceName.
   */
  com.google.protobuf.ByteString getServiceNameBytes();

  /**
   *
   *
   * <pre>
   * Specifies the version of the service configuration that should be used to
   * process the request. Must not be empty. Set this field to 'latest' to
   * specify using the latest configuration.
   * </pre>
   *
   * <code>string service_config_id = 2;</code>
   *
   * @return The serviceConfigId.
   */
  java.lang.String getServiceConfigId();
  /**
   *
   *
   * <pre>
   * Specifies the version of the service configuration that should be used to
   * process the request. Must not be empty. Set this field to 'latest' to
   * specify using the latest configuration.
   * </pre>
   *
   * <code>string service_config_id = 2;</code>
   *
   * @return The bytes for serviceConfigId.
   */
  com.google.protobuf.ByteString getServiceConfigIdBytes();

  /**
   *
   *
   * <pre>
   * Describes attributes about the operation being executed by the service.
   * </pre>
   *
   * <code>.google.rpc.context.AttributeContext attributes = 3;</code>
   *
   * @return Whether the attributes field is set.
   */
  boolean hasAttributes();
  /**
   *
   *
   * <pre>
   * Describes attributes about the operation being executed by the service.
   * </pre>
   *
   * <code>.google.rpc.context.AttributeContext attributes = 3;</code>
   *
   * @return The attributes.
   */
  com.google.rpc.context.AttributeContext getAttributes();
  /**
   *
   *
   * <pre>
   * Describes attributes about the operation being executed by the service.
   * </pre>
   *
   * <code>.google.rpc.context.AttributeContext attributes = 3;</code>
   */
  com.google.rpc.context.AttributeContextOrBuilder getAttributesOrBuilder();

  /**
   *
   *
   * <pre>
   * Describes the resources and the policies applied to each resource.
   * </pre>
   *
   * <code>repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;</code>
   */
  java.util.List<com.google.api.servicecontrol.v2.ResourceInfo> getResourcesList();
  /**
   *
   *
   * <pre>
   * Describes the resources and the policies applied to each resource.
   * </pre>
   *
   * <code>repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;</code>
   */
  com.google.api.servicecontrol.v2.ResourceInfo getResources(int index);
  /**
   *
   *
   * <pre>
   * Describes the resources and the policies applied to each resource.
   * </pre>
   *
   * <code>repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;</code>
   */
  int getResourcesCount();
  /**
   *
   *
   * <pre>
   * Describes the resources and the policies applied to each resource.
   * </pre>
   *
   * <code>repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;</code>
   */
  java.util.List<? extends com.google.api.servicecontrol.v2.ResourceInfoOrBuilder>
      getResourcesOrBuilderList();
  /**
   *
   *
   * <pre>
   * Describes the resources and the policies applied to each resource.
   * </pre>
   *
   * <code>repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;</code>
   */
  com.google.api.servicecontrol.v2.ResourceInfoOrBuilder getResourcesOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Optional. Contains a comma-separated list of flags.
   * </pre>
   *
   * <code>string flags = 5;</code>
   *
   * @return The flags.
   */
  java.lang.String getFlags();
  /**
   *
   *
   * <pre>
   * Optional. Contains a comma-separated list of flags.
   * </pre>
   *
   * <code>string flags = 5;</code>
   *
   * @return The bytes for flags.
   */
  com.google.protobuf.ByteString getFlagsBytes();
}
