public interface MethodOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
Option |
getOptions(int index)
repeated .google.protobuf.Option options = 6; |
int |
getOptionsCount()
repeated .google.protobuf.Option options = 6; |
List<Option> |
getOptionsList()
repeated .google.protobuf.Option options = 6; |
OptionOrBuilder |
getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 6; |
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 6; |
boolean |
getRequestStreaming()
optional bool request_streaming = 3; |
String |
getRequestTypeUrl()
optional string request_type_url = 2; |
ByteString |
getRequestTypeUrlBytes()
optional string request_type_url = 2; |
boolean |
getResponseStreaming()
optional bool response_streaming = 5; |
String |
getResponseTypeUrl()
optional string response_type_url = 4; |
ByteString |
getResponseTypeUrlBytes()
optional string response_type_url = 4; |
Syntax |
getSyntax()
optional .google.protobuf.Syntax syntax = 7; |
int |
getSyntaxValue()
optional .google.protobuf.Syntax syntax = 7; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
optional string name = 1;
The simple name of this method.
ByteString getNameBytes()
optional string name = 1;
The simple name of this method.
String getRequestTypeUrl()
optional string request_type_url = 2;
A URL of the input message type.
ByteString getRequestTypeUrlBytes()
optional string request_type_url = 2;
A URL of the input message type.
boolean getRequestStreaming()
optional bool request_streaming = 3;
If true, the request is streamed.
String getResponseTypeUrl()
optional string response_type_url = 4;
The URL of the output message type.
ByteString getResponseTypeUrlBytes()
optional string response_type_url = 4;
The URL of the output message type.
boolean getResponseStreaming()
optional bool response_streaming = 5;
If true, the response is streamed.
List<Option> getOptionsList()
repeated .google.protobuf.Option options = 6;
Any metadata attached to the method.
Option getOptions(int index)
repeated .google.protobuf.Option options = 6;
Any metadata attached to the method.
int getOptionsCount()
repeated .google.protobuf.Option options = 6;
Any metadata attached to the method.
List<? extends OptionOrBuilder> getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 6;
Any metadata attached to the method.
OptionOrBuilder getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 6;
Any metadata attached to the method.
int getSyntaxValue()
optional .google.protobuf.Syntax syntax = 7;
The source syntax of this method.
Syntax getSyntax()
optional .google.protobuf.Syntax syntax = 7;
The source syntax of this method.
Copyright © 2008–2015 Google. All rights reserved.