Package com.google.protobuf
Interface MethodOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
Method,Method.Builder
@Generated public interface MethodOrBuilder extends MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetEdition()Deprecated.google.protobuf.Method.edition is deprecated.ByteStringgetEditionBytes()Deprecated.google.protobuf.Method.edition is deprecated.java.lang.StringgetName()The simple name of this method.ByteStringgetNameBytes()The simple name of this method.OptiongetOptions(int index)Any metadata attached to the method.intgetOptionsCount()Any metadata attached to the method.java.util.List<Option>getOptionsList()Any metadata attached to the method.booleangetRequestStreaming()If true, the request is streamed.java.lang.StringgetRequestTypeUrl()A URL of the input message type.ByteStringgetRequestTypeUrlBytes()A URL of the input message type.booleangetResponseStreaming()If true, the response is streamed.java.lang.StringgetResponseTypeUrl()The URL of the output message type.ByteStringgetResponseTypeUrlBytes()The URL of the output message type.SyntaxgetSyntax()Deprecated.google.protobuf.Method.syntax is deprecated.intgetSyntaxValue()Deprecated.google.protobuf.Method.syntax is deprecated.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
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;
-
getSyntaxValue
@Deprecated int getSyntaxValue()
Deprecated.google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.
.google.protobuf.Syntax syntax = 7 [deprecated = true];- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
@Deprecated Syntax getSyntax()
Deprecated.google.protobuf.Method.syntax is deprecated. See google/protobuf/api.proto;l=134The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.
.google.protobuf.Syntax syntax = 7 [deprecated = true];- Returns:
- The syntax.
-
getEdition
@Deprecated java.lang.String getEdition()
Deprecated.google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.
string edition = 8 [deprecated = true];- Returns:
- The edition.
-
getEditionBytes
@Deprecated ByteString getEditionBytes()
Deprecated.google.protobuf.Method.edition is deprecated. See google/protobuf/api.proto;l=140The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.
string edition = 8 [deprecated = true];- Returns:
- The bytes for edition.
-
-