Package com.google.protobuf
Interface DescriptorProtos.MethodDescriptorProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.MethodDescriptorProto,DescriptorProtos.MethodDescriptorProto.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.MethodDescriptorProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetClientStreaming()Identifies if client streams multiple client messagesjava.lang.StringgetInputType()Input and output type names.com.google.protobuf.ByteStringgetInputTypeBytes()Input and output type names.java.lang.StringgetName()optional string name = 1;com.google.protobuf.ByteStringgetNameBytes()optional string name = 1;DescriptorProtos.MethodOptionsgetOptions()optional .google.protobuf.MethodOptions options = 4;DescriptorProtos.MethodOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.MethodOptions options = 4;java.lang.StringgetOutputType()optional string output_type = 3;com.google.protobuf.ByteStringgetOutputTypeBytes()optional string output_type = 3;booleangetServerStreaming()Identifies if server streams multiple server messagesbooleanhasClientStreaming()Identifies if client streams multiple client messagesbooleanhasInputType()Input and output type names.booleanhasName()optional string name = 1;booleanhasOptions()optional .google.protobuf.MethodOptions options = 4;booleanhasOutputType()optional string output_type = 3;booleanhasServerStreaming()Identifies if server streams multiple server messages-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
optional string name = 1;- Returns:
- The bytes for name.
-
hasInputType
boolean hasInputType()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;- Returns:
- Whether the inputType field is set.
-
getInputType
java.lang.String getInputType()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;- Returns:
- The inputType.
-
getInputTypeBytes
com.google.protobuf.ByteString getInputTypeBytes()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;- Returns:
- The bytes for inputType.
-
hasOutputType
boolean hasOutputType()
optional string output_type = 3;- Returns:
- Whether the outputType field is set.
-
getOutputType
java.lang.String getOutputType()
optional string output_type = 3;- Returns:
- The outputType.
-
getOutputTypeBytes
com.google.protobuf.ByteString getOutputTypeBytes()
optional string output_type = 3;- Returns:
- The bytes for outputType.
-
hasOptions
boolean hasOptions()
optional .google.protobuf.MethodOptions options = 4;- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.MethodOptions getOptions()
optional .google.protobuf.MethodOptions options = 4;- Returns:
- The options.
-
getOptionsOrBuilder
DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MethodOptions options = 4;
-
hasClientStreaming
boolean hasClientStreaming()
Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];- Returns:
- Whether the clientStreaming field is set.
-
getClientStreaming
boolean getClientStreaming()
Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];- Returns:
- The clientStreaming.
-
hasServerStreaming
boolean hasServerStreaming()
Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];- Returns:
- Whether the serverStreaming field is set.
-
getServerStreaming
boolean getServerStreaming()
Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];- Returns:
- The serverStreaming.
-
-