com.google.api.UsageRuleOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 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/usage.proto
// Protobuf Java Version: 3.25.3
package com.google.api;
public interface UsageRuleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.UsageRule)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Selects the methods to which this rule applies. Use '*' to indicate all
* methods in all APIs.
*
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
*
*
* string selector = 1;
*
* @return The selector.
*/
java.lang.String getSelector();
/**
*
*
*
* Selects the methods to which this rule applies. Use '*' to indicate all
* methods in all APIs.
*
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
*
*
* string selector = 1;
*
* @return The bytes for selector.
*/
com.google.protobuf.ByteString getSelectorBytes();
/**
*
*
*
* If true, the selected method allows unregistered calls, e.g. calls
* that don't identify any user or application.
*
*
* bool allow_unregistered_calls = 2;
*
* @return The allowUnregisteredCalls.
*/
boolean getAllowUnregisteredCalls();
/**
*
*
*
* If true, the selected method should skip service control and the control
* plane features, such as quota and billing, will not be available.
* This flag is used by Google Cloud Endpoints to bypass checks for internal
* methods, such as service health check methods.
*
*
* bool skip_service_control = 3;
*
* @return The skipServiceControl.
*/
boolean getSkipServiceControl();
}