Package com.google.protobuf
Interface MethodOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Method,Method.Builder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()string name = 1 [json_name = "name"];string name = 1 [json_name = "name"];getOptions(int index) repeated .google.protobuf.Option options = 6 [json_name = "options"];intrepeated .google.protobuf.Option options = 6 [json_name = "options"];repeated .google.protobuf.Option options = 6 [json_name = "options"];getOptionsOrBuilder(int index) repeated .google.protobuf.Option options = 6 [json_name = "options"];List<? extends OptionOrBuilder> repeated .google.protobuf.Option options = 6 [json_name = "options"];booleanbool request_streaming = 3 [json_name = "requestStreaming"];string request_type_url = 2 [json_name = "requestTypeUrl"];string request_type_url = 2 [json_name = "requestTypeUrl"];booleanbool response_streaming = 5 [json_name = "responseStreaming"];string response_type_url = 4 [json_name = "responseTypeUrl"];string response_type_url = 4 [json_name = "responseTypeUrl"];.google.protobuf.Syntax syntax = 7 [json_name = "syntax"];int.google.protobuf.Syntax syntax = 7 [json_name = "syntax"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getRequestTypeUrl
String getRequestTypeUrl()string request_type_url = 2 [json_name = "requestTypeUrl"];- Returns:
- The requestTypeUrl.
-
getRequestTypeUrlBytes
ByteString getRequestTypeUrlBytes()string request_type_url = 2 [json_name = "requestTypeUrl"];- Returns:
- The bytes for requestTypeUrl.
-
getRequestStreaming
boolean getRequestStreaming()bool request_streaming = 3 [json_name = "requestStreaming"];- Returns:
- The requestStreaming.
-
getResponseTypeUrl
String getResponseTypeUrl()string response_type_url = 4 [json_name = "responseTypeUrl"];- Returns:
- The responseTypeUrl.
-
getResponseTypeUrlBytes
ByteString getResponseTypeUrlBytes()string response_type_url = 4 [json_name = "responseTypeUrl"];- Returns:
- The bytes for responseTypeUrl.
-
getResponseStreaming
boolean getResponseStreaming()bool response_streaming = 5 [json_name = "responseStreaming"];- Returns:
- The responseStreaming.
-
getOptionsList
repeated .google.protobuf.Option options = 6 [json_name = "options"]; -
getOptions
repeated .google.protobuf.Option options = 6 [json_name = "options"]; -
getOptionsCount
int getOptionsCount()repeated .google.protobuf.Option options = 6 [json_name = "options"]; -
getOptionsOrBuilderList
List<? extends OptionOrBuilder> getOptionsOrBuilderList()repeated .google.protobuf.Option options = 6 [json_name = "options"]; -
getOptionsOrBuilder
repeated .google.protobuf.Option options = 6 [json_name = "options"]; -
getSyntaxValue
int getSyntaxValue().google.protobuf.Syntax syntax = 7 [json_name = "syntax"];- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
Syntax getSyntax().google.protobuf.Syntax syntax = 7 [json_name = "syntax"];- Returns:
- The syntax.
-