Interface MethodOrBuilder

Stay organized with collections Save and categorize content based on your preferences.
public interface MethodOrBuilder extends MessageLiteOrBuilder

Methods

getName()

public abstract String getName()

The simple name of this method.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The simple name of this method.

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Option

getOptionsCount()

public abstract int getOptionsCount()

Any metadata attached to the method.

repeated .google.protobuf.Option options = 6;

Returns
TypeDescription
int

getOptionsList()

public abstract List<Option> getOptionsList()

Any metadata attached to the method.

repeated .google.protobuf.Option options = 6;

Returns
TypeDescription
List<Option>

getRequestStreaming()

public abstract boolean getRequestStreaming()

If true, the request is streamed.

bool request_streaming = 3;

Returns
TypeDescription
boolean

The requestStreaming.

getRequestTypeUrl()

public abstract String getRequestTypeUrl()

A URL of the input message type.

string request_type_url = 2;

Returns
TypeDescription
String

The requestTypeUrl.

getRequestTypeUrlBytes()

public abstract ByteString getRequestTypeUrlBytes()

A URL of the input message type.

string request_type_url = 2;

Returns
TypeDescription
ByteString

The bytes for requestTypeUrl.

getResponseStreaming()

public abstract boolean getResponseStreaming()

If true, the response is streamed.

bool response_streaming = 5;

Returns
TypeDescription
boolean

The responseStreaming.

getResponseTypeUrl()

public abstract String getResponseTypeUrl()

The URL of the output message type.

string response_type_url = 4;

Returns
TypeDescription
String

The responseTypeUrl.

getResponseTypeUrlBytes()

public abstract ByteString getResponseTypeUrlBytes()

The URL of the output message type.

string response_type_url = 4;

Returns
TypeDescription
ByteString

The bytes for responseTypeUrl.

getSyntax()

public abstract Syntax getSyntax()

The source syntax of this method.

.google.protobuf.Syntax syntax = 7;

Returns
TypeDescription
Syntax

The syntax.

getSyntaxValue()

public abstract int getSyntaxValue()

The source syntax of this method.

.google.protobuf.Syntax syntax = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for syntax.