com.google.api.HttpRuleOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-core-proto Show documentation
Show all versions of grpc-core-proto Show documentation
GoogleAPI classes generated from core protos
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/http.proto
package com.google.api;
public interface HttpRuleOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.HttpRule)
com.google.protobuf.MessageOrBuilder {
/**
* optional string selector = 1;
*
*
* Selects methods to which this rule applies.
* Refer to [selector][DocumentationRule.selector] for syntax details.
*
*/
java.lang.String getSelector();
/**
* optional string selector = 1;
*
*
* Selects methods to which this rule applies.
* Refer to [selector][DocumentationRule.selector] for syntax details.
*
*/
com.google.protobuf.ByteString
getSelectorBytes();
/**
* optional string get = 2;
*
*
* Used for listing and getting information about resources.
*
*/
java.lang.String getGet();
/**
* optional string get = 2;
*
*
* Used for listing and getting information about resources.
*
*/
com.google.protobuf.ByteString
getGetBytes();
/**
* optional string put = 3;
*
*
* Used for updating a resource.
*
*/
java.lang.String getPut();
/**
* optional string put = 3;
*
*
* Used for updating a resource.
*
*/
com.google.protobuf.ByteString
getPutBytes();
/**
* optional string post = 4;
*
*
* Used for creating a resource.
*
*/
java.lang.String getPost();
/**
* optional string post = 4;
*
*
* Used for creating a resource.
*
*/
com.google.protobuf.ByteString
getPostBytes();
/**
* optional string delete = 5;
*
*
* Used for deleting a resource.
*
*/
java.lang.String getDelete();
/**
* optional string delete = 5;
*
*
* Used for deleting a resource.
*
*/
com.google.protobuf.ByteString
getDeleteBytes();
/**
* optional string patch = 6;
*
*
* Used for updating a resource.
*
*/
java.lang.String getPatch();
/**
* optional string patch = 6;
*
*
* Used for updating a resource.
*
*/
com.google.protobuf.ByteString
getPatchBytes();
/**
* optional .google.api.CustomHttpPattern custom = 8;
*
*
* Custom pattern is used for defining custom verbs.
*
*/
com.google.api.CustomHttpPattern getCustom();
/**
* optional .google.api.CustomHttpPattern custom = 8;
*
*
* Custom pattern is used for defining custom verbs.
*
*/
com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder();
/**
* optional string body = 7;
*
*
* The name of the request field whose value is mapped to the HTTP body, or
* `*` for mapping all fields not captured by the path pattern to the HTTP
* body. NOTE: the referred field must not be a repeated field.
*
*/
java.lang.String getBody();
/**
* optional string body = 7;
*
*
* The name of the request field whose value is mapped to the HTTP body, or
* `*` for mapping all fields not captured by the path pattern to the HTTP
* body. NOTE: the referred field must not be a repeated field.
*
*/
com.google.protobuf.ByteString
getBodyBytes();
/**
* optional .google.api.MediaUpload media_upload = 9;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
boolean hasMediaUpload();
/**
* optional .google.api.MediaUpload media_upload = 9;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
com.google.api.MediaUpload getMediaUpload();
/**
* optional .google.api.MediaUpload media_upload = 9;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
com.google.api.MediaUploadOrBuilder getMediaUploadOrBuilder();
/**
* optional .google.api.MediaDownload media_download = 10;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
boolean hasMediaDownload();
/**
* optional .google.api.MediaDownload media_download = 10;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
com.google.api.MediaDownload getMediaDownload();
/**
* optional .google.api.MediaDownload media_download = 10;
*
*
* Do not use this. For media support, add instead
* [][google.bytestream.RestByteStream] as an API to your
* configuration.
*
*/
com.google.api.MediaDownloadOrBuilder getMediaDownloadOrBuilder();
/**
* repeated .google.api.HttpRule additional_bindings = 11;
*
*
* 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).
*
*/
java.util.List
getAdditionalBindingsList();
/**
* repeated .google.api.HttpRule additional_bindings = 11;
*
*
* 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).
*
*/
com.google.api.HttpRule getAdditionalBindings(int index);
/**
* repeated .google.api.HttpRule additional_bindings = 11;
*
*
* 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).
*
*/
int getAdditionalBindingsCount();
/**
* repeated .google.api.HttpRule additional_bindings = 11;
*
*
* 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).
*
*/
java.util.List extends com.google.api.HttpRuleOrBuilder>
getAdditionalBindingsOrBuilderList();
/**
* repeated .google.api.HttpRule additional_bindings = 11;
*
*
* 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).
*
*/
com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(
int index);
public com.google.api.HttpRule.PatternCase getPatternCase();
}