public interface MethodOrBuilder extends MessageLiteOrBuilder
Implements
MessageLiteOrBuilderMethods
getName()
public abstract String getName()
The simple name of this method.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The simple name of this method.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOptions(int index)
public abstract Option getOptions(int index)
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Option |
getOptionsCount()
public abstract int getOptionsCount()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
Returns | |
---|---|
Type | Description |
int |
getOptionsList()
public abstract List<Option> getOptionsList()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
Returns | |
---|---|
Type | Description |
List<Option> |
getRequestStreaming()
public abstract boolean getRequestStreaming()
If true, the request is streamed.
bool request_streaming = 3;
Returns | |
---|---|
Type | Description |
boolean | The requestStreaming. |
getRequestTypeUrl()
public abstract String getRequestTypeUrl()
A URL of the input message type.
string request_type_url = 2;
Returns | |
---|---|
Type | Description |
String | The requestTypeUrl. |
getRequestTypeUrlBytes()
public abstract ByteString getRequestTypeUrlBytes()
A URL of the input message type.
string request_type_url = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for requestTypeUrl. |
getResponseStreaming()
public abstract boolean getResponseStreaming()
If true, the response is streamed.
bool response_streaming = 5;
Returns | |
---|---|
Type | Description |
boolean | The responseStreaming. |
getResponseTypeUrl()
public abstract String getResponseTypeUrl()
The URL of the output message type.
string response_type_url = 4;
Returns | |
---|---|
Type | Description |
String | The responseTypeUrl. |
getResponseTypeUrlBytes()
public abstract ByteString getResponseTypeUrlBytes()
The URL of the output message type.
string response_type_url = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for responseTypeUrl. |
getSyntax()
public abstract Syntax getSyntax()
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
Returns | |
---|---|
Type | Description |
Syntax | The syntax. |
getSyntaxValue()
public abstract int getSyntaxValue()
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for syntax. |