Package com.google.protobuf
Interface MethodOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Method
,Method.Builder
public interface MethodOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The simple name of this method.com.google.protobuf.ByteString
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.getOptionsOrBuilder
(int index) Any metadata attached to the method.List<? extends OptionOrBuilder>
Any metadata attached to the method.boolean
If true, the request is streamed.A URL of the input message type.com.google.protobuf.ByteString
A URL of the input message type.boolean
If true, the response is streamed.The URL of the output message type.com.google.protobuf.ByteString
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
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The simple name of this method.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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
com.google.protobuf.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
com.google.protobuf.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;
-
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
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.
-