com.google.api.ContextRuleOrBuilder 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/context.proto
// Protobuf Java Version: 3.25.3
package com.google.api;
public interface ContextRuleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.ContextRule)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Selects the methods to which this rule applies.
*
* 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.
*
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
*
*
* string selector = 1;
*
* @return The bytes for selector.
*/
com.google.protobuf.ByteString getSelectorBytes();
/**
*
*
*
* A list of full type names of requested contexts.
*
*
* repeated string requested = 2;
*
* @return A list containing the requested.
*/
java.util.List getRequestedList();
/**
*
*
*
* A list of full type names of requested contexts.
*
*
* repeated string requested = 2;
*
* @return The count of requested.
*/
int getRequestedCount();
/**
*
*
*
* A list of full type names of requested contexts.
*
*
* repeated string requested = 2;
*
* @param index The index of the element to return.
* @return The requested at the given index.
*/
java.lang.String getRequested(int index);
/**
*
*
*
* A list of full type names of requested contexts.
*
*
* repeated string requested = 2;
*
* @param index The index of the value to return.
* @return The bytes of the requested at the given index.
*/
com.google.protobuf.ByteString getRequestedBytes(int index);
/**
*
*
*
* A list of full type names of provided contexts.
*
*
* repeated string provided = 3;
*
* @return A list containing the provided.
*/
java.util.List getProvidedList();
/**
*
*
*
* A list of full type names of provided contexts.
*
*
* repeated string provided = 3;
*
* @return The count of provided.
*/
int getProvidedCount();
/**
*
*
*
* A list of full type names of provided contexts.
*
*
* repeated string provided = 3;
*
* @param index The index of the element to return.
* @return The provided at the given index.
*/
java.lang.String getProvided(int index);
/**
*
*
*
* A list of full type names of provided contexts.
*
*
* repeated string provided = 3;
*
* @param index The index of the value to return.
* @return The bytes of the provided at the given index.
*/
com.google.protobuf.ByteString getProvidedBytes(int index);
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from client to backend.
*
*
* repeated string allowed_request_extensions = 4;
*
* @return A list containing the allowedRequestExtensions.
*/
java.util.List getAllowedRequestExtensionsList();
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from client to backend.
*
*
* repeated string allowed_request_extensions = 4;
*
* @return The count of allowedRequestExtensions.
*/
int getAllowedRequestExtensionsCount();
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from client to backend.
*
*
* repeated string allowed_request_extensions = 4;
*
* @param index The index of the element to return.
* @return The allowedRequestExtensions at the given index.
*/
java.lang.String getAllowedRequestExtensions(int index);
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from client to backend.
*
*
* repeated string allowed_request_extensions = 4;
*
* @param index The index of the value to return.
* @return The bytes of the allowedRequestExtensions at the given index.
*/
com.google.protobuf.ByteString getAllowedRequestExtensionsBytes(int index);
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from backend to client.
*
*
* repeated string allowed_response_extensions = 5;
*
* @return A list containing the allowedResponseExtensions.
*/
java.util.List getAllowedResponseExtensionsList();
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from backend to client.
*
*
* repeated string allowed_response_extensions = 5;
*
* @return The count of allowedResponseExtensions.
*/
int getAllowedResponseExtensionsCount();
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from backend to client.
*
*
* repeated string allowed_response_extensions = 5;
*
* @param index The index of the element to return.
* @return The allowedResponseExtensions at the given index.
*/
java.lang.String getAllowedResponseExtensions(int index);
/**
*
*
*
* A list of full type names or extension IDs of extensions allowed in grpc
* side channel from backend to client.
*
*
* repeated string allowed_response_extensions = 5;
*
* @param index The index of the value to return.
* @return The bytes of the allowedResponseExtensions at the given index.
*/
com.google.protobuf.ByteString getAllowedResponseExtensionsBytes(int index);
}