public interface HttpRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
HttpRule |
getAdditionalBindings(int index)
Additional HTTP bindings for the selector.
|
int |
getAdditionalBindingsCount()
Additional HTTP bindings for the selector.
|
java.util.List<HttpRule> |
getAdditionalBindingsList()
Additional HTTP bindings for the selector.
|
HttpRuleOrBuilder |
getAdditionalBindingsOrBuilder(int index)
Additional HTTP bindings for the selector.
|
java.util.List<? extends HttpRuleOrBuilder> |
getAdditionalBindingsOrBuilderList()
Additional HTTP bindings for the selector.
|
java.lang.String |
getBody()
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.
|
com.google.protobuf.ByteString |
getBodyBytes()
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.
|
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.
|
CustomHttpPatternOrBuilder |
getCustomOrBuilder()
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.
|
java.lang.String |
getDelete()
Used for deleting a resource.
|
com.google.protobuf.ByteString |
getDeleteBytes()
Used for deleting a resource.
|
java.lang.String |
getGet()
Used for listing and getting information about resources.
|
com.google.protobuf.ByteString |
getGetBytes()
Used for listing and getting information about resources.
|
java.lang.String |
getPatch()
Used for updating a resource.
|
com.google.protobuf.ByteString |
getPatchBytes()
Used for updating a resource.
|
HttpRule.PatternCase |
getPatternCase() |
java.lang.String |
getPost()
Used for creating a resource.
|
com.google.protobuf.ByteString |
getPostBytes()
Used for creating a resource.
|
java.lang.String |
getPut()
Used for updating a resource.
|
com.google.protobuf.ByteString |
getPutBytes()
Used for updating a resource.
|
java.lang.String |
getSelector()
Selects methods to which this rule applies.
|
com.google.protobuf.ByteString |
getSelectorBytes()
Selects methods to which this rule applies.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getSelector()
Selects methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;com.google.protobuf.ByteString getSelectorBytes()
Selects methods to which this rule applies. Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
string selector = 1;java.lang.String getGet()
Used for listing and getting information about resources.
string get = 2;com.google.protobuf.ByteString getGetBytes()
Used for listing and getting information about resources.
string get = 2;java.lang.String getPut()
Used for updating a resource.
string put = 3;com.google.protobuf.ByteString getPutBytes()
Used for updating a resource.
string put = 3;java.lang.String getPost()
Used for creating a resource.
string post = 4;com.google.protobuf.ByteString getPostBytes()
Used for creating a resource.
string post = 4;java.lang.String getDelete()
Used for deleting a resource.
string delete = 5;com.google.protobuf.ByteString getDeleteBytes()
Used for deleting a resource.
string delete = 5;java.lang.String getPatch()
Used for updating a resource.
string patch = 6;com.google.protobuf.ByteString getPatchBytes()
Used for updating a resource.
string patch = 6;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;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;CustomHttpPatternOrBuilder getCustomOrBuilder()
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;java.lang.String getBody()
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 and must be present at the top-level of request message type.
string body = 7;com.google.protobuf.ByteString getBodyBytes()
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 and must be present at the top-level of request message type.
string body = 7;java.util.List<HttpRule> 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;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<? extends HttpRuleOrBuilder> 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;HttpRuleOrBuilder getAdditionalBindingsOrBuilder(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;HttpRule.PatternCase getPatternCase()