Package com.google.protobuf
Interface MethodOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
Method
,Method.Builder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The simple name of this method.The simple name of this method.getOptions
(int index) Any metadata attached to the method.int
Any metadata attached to the method.Any metadata attached to the method.boolean
If true, the request is streamed.A URL of the input message type.A URL of the input message type.boolean
If true, the response is streamed.The URL of the output message type.The URL of the output message type.The source syntax of this method.int
The source syntax of this method.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()The simple name of this method.
string name = 1;
- Returns:
- The name.
-
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
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
-
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;
-
getSyntaxValue
int getSyntaxValue()The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
Syntax getSyntax()The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
- Returns:
- The syntax.
-