Package com.google.protobuf
Interface MethodOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Method
,Method.Builder
public interface MethodOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
The simple name of this method.ByteString
getNameBytes()
The simple name of this method.Option
getOptions(int index)
Any metadata attached to the method.int
getOptionsCount()
Any metadata attached to the method.java.util.List<Option>
getOptionsList()
Any metadata attached to the method.OptionOrBuilder
getOptionsOrBuilder(int index)
Any metadata attached to the method.java.util.List<? extends OptionOrBuilder>
getOptionsOrBuilderList()
Any metadata attached to the method.boolean
getRequestStreaming()
If true, the request is streamed.java.lang.String
getRequestTypeUrl()
A URL of the input message type.ByteString
getRequestTypeUrlBytes()
A URL of the input message type.boolean
getResponseStreaming()
If true, the response is streamed.java.lang.String
getResponseTypeUrl()
The URL of the output message type.ByteString
getResponseTypeUrlBytes()
The URL of the output message type.Syntax
getSyntax()
The source syntax of this method.int
getSyntaxValue()
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 Detail
-
getName
java.lang.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
java.lang.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
java.lang.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
java.util.List<Option> getOptionsList()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
-
getOptions
Option getOptions(int index)
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
java.util.List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
-
getOptionsOrBuilder
OptionOrBuilder getOptionsOrBuilder(int index)
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.
-
-