Interface MethodOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Method, Method.Builder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.google.protobuf.Method.edition is deprecated.Deprecated.google.protobuf.Method.edition is deprecated.getName()The simple name of this method.The simple name of this method.getOptions(int index) Any metadata attached to the method.intAny metadata attached to the method.Any metadata attached to the method.getOptionsOrBuilder(int index) Any metadata attached to the method.List<? extends OptionOrBuilder> Any metadata attached to the method.booleanIf true, the request is streamed.A URL of the input message type.A URL of the input message type.booleanIf true, the response is streamed.The URL of the output message type.The URL of the output message type.Deprecated.google.protobuf.Method.syntax is deprecated.intDeprecated.google.protobuf.Method.syntax is deprecated.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
-
getNameBytes
ByteString getNameBytes()The simple name of this method.
string name = 1;- Returns:
- The bytes for name.
-
getRequestTypeUrl
String getRequestTypeUrl()A URL of the input message type.
string request_type_url = 2;- Returns:
- The requestTypeUrl.
-
getRequestTypeUrlBytes
ByteString getRequestTypeUrlBytes()A URL of the input message type.
string request_type_url = 2;- Returns:
- The bytes for requestTypeUrl.
-
getRequestStreaming
boolean getRequestStreaming()If true, the request is streamed.
bool request_streaming = 3;- Returns:
- The requestStreaming.
-
getResponseTypeUrl
String getResponseTypeUrl()The URL of the output message type.
string response_type_url = 4;- Returns:
- The responseTypeUrl.
-
getResponseTypeUrlBytes
ByteString getResponseTypeUrlBytes()The URL of the output message type.
string response_type_url = 4;- Returns:
- The bytes for responseTypeUrl.
-
getResponseStreaming
boolean getResponseStreaming()If true, the response is streamed.
bool response_streaming = 5;- Returns:
- The responseStreaming.
-
getOptionsList
-
getOptions
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6; -
getOptionsCount
int getOptionsCount()Any metadata attached to the method.
repeated .google.protobuf.Option options = 6; -
getOptionsOrBuilderList
List<? extends OptionOrBuilder> getOptionsOrBuilderList()Any metadata attached to the method.
repeated .google.protobuf.Option options = 6; -
getOptionsOrBuilder
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6; -
getSyntaxValue
Deprecated.google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.
.google.protobuf.Syntax syntax = 7 [deprecated = true];- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
Deprecated.google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.
.google.protobuf.Syntax syntax = 7 [deprecated = true];- Returns:
- The syntax.
-
getEdition
Deprecated.google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.
string edition = 8 [deprecated = true];- Returns:
- The edition.
-
getEditionBytes
Deprecated.google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.
string edition = 8 [deprecated = true];- Returns:
- The bytes for edition.
-