Top Methods
com.google.protobuf

public Interface MethodOrBuilder

extends MessageOrBuilder
Known Direct Implementers
com.google.protobuf.Method, com.google.protobuf.Method.Builder

Method Summary

Modifier and TypeMethod and Description
public String
getName()

The simple name of this method.
public ByteString
getNameBytes()

The simple name of this method.
public Option
getOptions(int index)

Any metadata attached to the method.
public int
getOptionsCount()

Any metadata attached to the method.
public List<Option>
getOptionsList()

Any metadata attached to the method.
public OptionOrBuilder
getOptionsOrBuilder(int index)

Any metadata attached to the method.
public List<? extends OptionOrBuilder>
getOptionsOrBuilderList()

Any metadata attached to the method.
public boolean
getRequestStreaming()

If true, the request is streamed.
public String
getRequestTypeUrl()

A URL of the input message type.
public ByteString
getRequestTypeUrlBytes()

A URL of the input message type.
public boolean
getResponseStreaming()

If true, the response is streamed.
public String
getResponseTypeUrl()

The URL of the output message type.
public ByteString
getResponseTypeUrlBytes()

The URL of the output message type.
public Syntax
getSyntax()

The source syntax of this method.
public int
getSyntaxValue()

The source syntax of this method.
Inherited from com.google.protobuf.MessageOrBuilder:
findInitializationErrorsgetAllFieldsgetDefaultInstanceForTypegetDescriptorForTypegetFieldgetInitializationErrorStringgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCountgetUnknownFieldshasFieldhasOneof

Method Detail

getNameback to summary
public String getName()
The simple name of this method.
string name = 1;
getNameBytesback to summary
public ByteString getNameBytes()
The simple name of this method.
string name = 1;
getOptionsback to summary
public Option getOptions(int index)
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
getOptionsCountback to summary
public int getOptionsCount()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
getOptionsListback to summary
public List<Option> getOptionsList()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
getOptionsOrBuilderback to summary
public OptionOrBuilder getOptionsOrBuilder(int index)
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
getOptionsOrBuilderListback to summary
public List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
getRequestStreamingback to summary
public boolean getRequestStreaming()
If true, the request is streamed.
bool request_streaming = 3;
getRequestTypeUrlback to summary
public String getRequestTypeUrl()
A URL of the input message type.
string request_type_url = 2;
getRequestTypeUrlBytesback to summary
public ByteString getRequestTypeUrlBytes()
A URL of the input message type.
string request_type_url = 2;
getResponseStreamingback to summary
public boolean getResponseStreaming()
If true, the response is streamed.
bool response_streaming = 5;
getResponseTypeUrlback to summary
public String getResponseTypeUrl()
The URL of the output message type.
string response_type_url = 4;
getResponseTypeUrlBytesback to summary
public ByteString getResponseTypeUrlBytes()
The URL of the output message type.
string response_type_url = 4;
getSyntaxback to summary
public Syntax getSyntax()
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
getSyntaxValueback to summary
public int getSyntaxValue()
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;