/*
* 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/http.proto
package org.apache.rocketmq.shaded.com.google.api;
public interface HttpRuleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.HttpRule)
org.apache.rocketmq.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Selects a method 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 a method to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
*
*
* string selector = 1;
*
* @return The bytes for selector.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getSelectorBytes();
/**
*
*
*
* Maps to HTTP GET. Used for listing and getting information about
* resources.
*
*
* string get = 2;
*
* @return Whether the get field is set.
*/
boolean hasGet();
/**
*
*
*
* Maps to HTTP GET. Used for listing and getting information about
* resources.
*
*
* string get = 2;
*
* @return The get.
*/
java.lang.String getGet();
/**
*
*
*
* Maps to HTTP GET. Used for listing and getting information about
* resources.
*
*
* string get = 2;
*
* @return The bytes for get.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getGetBytes();
/**
*
*
*
* Maps to HTTP PUT. Used for replacing a resource.
*
*
* string put = 3;
*
* @return Whether the put field is set.
*/
boolean hasPut();
/**
*
*
*
* Maps to HTTP PUT. Used for replacing a resource.
*
*
* string put = 3;
*
* @return The put.
*/
java.lang.String getPut();
/**
*
*
*
* Maps to HTTP PUT. Used for replacing a resource.
*
*
* string put = 3;
*
* @return The bytes for put.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getPutBytes();
/**
*
*
*
* Maps to HTTP POST. Used for creating a resource or performing an action.
*
*
* string post = 4;
*
* @return Whether the post field is set.
*/
boolean hasPost();
/**
*
*
*
* Maps to HTTP POST. Used for creating a resource or performing an action.
*
*
* string post = 4;
*
* @return The post.
*/
java.lang.String getPost();
/**
*
*
*
* Maps to HTTP POST. Used for creating a resource or performing an action.
*
*
* string post = 4;
*
* @return The bytes for post.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getPostBytes();
/**
*
*
*
* Maps to HTTP DELETE. Used for deleting a resource.
*
*
* string delete = 5;
*
* @return Whether the delete field is set.
*/
boolean hasDelete();
/**
*
*
*
* Maps to HTTP DELETE. Used for deleting a resource.
*
*
* string delete = 5;
*
* @return The delete.
*/
java.lang.String getDelete();
/**
*
*
*
* Maps to HTTP DELETE. Used for deleting a resource.
*
*
* string delete = 5;
*
* @return The bytes for delete.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getDeleteBytes();
/**
*
*
*
* Maps to HTTP PATCH. Used for updating a resource.
*
*
* string patch = 6;
*
* @return Whether the patch field is set.
*/
boolean hasPatch();
/**
*
*
*
* Maps to HTTP PATCH. Used for updating a resource.
*
*
* string patch = 6;
*
* @return The patch.
*/
java.lang.String getPatch();
/**
*
*
*
* Maps to HTTP PATCH. Used for updating a resource.
*
*
* string patch = 6;
*
* @return The bytes for patch.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getPatchBytes();
/**
*
*
*
* The custom pattern is used for specifying an HTTP method that is not
* included in the `pattern` field, such as HEAD, or "*" to leave the
* HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients.
*
*
* .google.api.CustomHttpPattern custom = 8;
*
* @return Whether the custom field is set.
*/
boolean hasCustom();
/**
*
*
*
* The custom pattern is used for specifying an HTTP method that is not
* included in the `pattern` field, such as HEAD, or "*" to leave the
* HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients.
*
*
* .google.api.CustomHttpPattern custom = 8;
*
* @return The custom.
*/
org.apache.rocketmq.shaded.com.google.api.CustomHttpPattern getCustom();
/**
*
*
*
* The custom pattern is used for specifying an HTTP method that is not
* included in the `pattern` field, such as HEAD, or "*" to leave the
* HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients.
*
*
* .google.api.CustomHttpPattern custom = 8;
*/
org.apache.rocketmq.shaded.com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder();
/**
*
*
*
* The name of the request field whose value is mapped to the HTTP request
* body, or `*` for mapping all request fields not captured by the path
* pattern to the HTTP body, or omitted for not having any HTTP request body.
* NOTE: the referred field must be present at the top-level of the request
* message type.
*
*
* string body = 7;
*
* @return The body.
*/
java.lang.String getBody();
/**
*
*
*
* The name of the request field whose value is mapped to the HTTP request
* body, or `*` for mapping all request fields not captured by the path
* pattern to the HTTP body, or omitted for not having any HTTP request body.
* NOTE: the referred field must be present at the top-level of the request
* message type.
*
*
* string body = 7;
*
* @return The bytes for body.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getBodyBytes();
/**
*
*
*
* Optional. The name of the response field whose value is mapped to the HTTP
* response body. When omitted, the entire response message will be used
* as the HTTP response body.
* NOTE: The referred field must be present at the top-level of the response
* message type.
*
*
* string response_body = 12;
*
* @return The responseBody.
*/
java.lang.String getResponseBody();
/**
*
*
*
* Optional. The name of the response field whose value is mapped to the HTTP
* response body. When omitted, the entire response message will be used
* as the HTTP response body.
* NOTE: The referred field must be present at the top-level of the response
* message type.
*
*
* string response_body = 12;
*
* @return The bytes for responseBody.
*/
org.apache.rocketmq.shaded.com.google.protobuf.ByteString getResponseBodyBytes();
/**
*
*
*
* Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep).
*
*
* repeated .google.api.HttpRule additional_bindings = 11;
*/
java.util.List getAdditionalBindingsList();
/**
*
*
*
* Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep).
*
*
* repeated .google.api.HttpRule additional_bindings = 11;
*/
org.apache.rocketmq.shaded.com.google.api.HttpRule getAdditionalBindings(int index);
/**
*
*
*
* Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep).
*
*
* repeated .google.api.HttpRule additional_bindings = 11;
*/
int getAdditionalBindingsCount();
/**
*
*
*
* Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep).
*
*
* repeated .google.api.HttpRule additional_bindings = 11;
*/
java.util.List getAdditionalBindingsOrBuilderList();
/**
*
*
*
* Additional HTTP bindings for the selector. Nested bindings must
* not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep).
*
*
* repeated .google.api.HttpRule additional_bindings = 11;
*/
org.apache.rocketmq.shaded.com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(int index);
public org.apache.rocketmq.shaded.com.google.api.HttpRule.PatternCase getPatternCase();
}