Interface DescriptorProtos.MethodDescriptorProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
DescriptorProtos.MethodDescriptorProto, DescriptorProtos.MethodDescriptorProto.Builder
Enclosing class:
DescriptorProtos

public static interface DescriptorProtos.MethodDescriptorProtoOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Identifies if client streams multiple client messages
    Input and output type names.
    com.google.protobuf.ByteString
    Input and output type names.
    optional string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    optional string name = 1 [json_name = "name"];
    optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
    optional string output_type = 3 [json_name = "outputType"];
    com.google.protobuf.ByteString
    optional string output_type = 3 [json_name = "outputType"];
    boolean
    Identifies if server streams multiple server messages
    boolean
    Identifies if client streams multiple client messages
    boolean
    Input and output type names.
    boolean
    optional string name = 1 [json_name = "name"];
    boolean
    optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
    boolean
    optional string output_type = 3 [json_name = "outputType"];
    boolean
    Identifies if server streams multiple server messages

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasName

      boolean hasName()
      optional string name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName

      String getName()
      optional string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      optional string name = 1 [json_name = "name"];
      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 [json_name = "inputType"];
      Returns:
      Whether the inputType field is set.
    • getInputType

      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 [json_name = "inputType"];
      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 [json_name = "inputType"];
      Returns:
      The bytes for inputType.
    • hasOutputType

      boolean hasOutputType()
      optional string output_type = 3 [json_name = "outputType"];
      Returns:
      Whether the outputType field is set.
    • getOutputType

      String getOutputType()
      optional string output_type = 3 [json_name = "outputType"];
      Returns:
      The outputType.
    • getOutputTypeBytes

      com.google.protobuf.ByteString getOutputTypeBytes()
      optional string output_type = 3 [json_name = "outputType"];
      Returns:
      The bytes for outputType.
    • hasOptions

      boolean hasOptions()
      optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
      Returns:
      Whether the options field is set.
    • getOptions

      optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
      Returns:
      The options.
    • hasClientStreaming

      boolean hasClientStreaming()
       Identifies if client streams multiple client messages
       
      optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
      Returns:
      Whether the clientStreaming field is set.
    • getClientStreaming

      boolean getClientStreaming()
       Identifies if client streams multiple client messages
       
      optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
      Returns:
      The clientStreaming.
    • hasServerStreaming

      boolean hasServerStreaming()
       Identifies if server streams multiple server messages
       
      optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
      Returns:
      Whether the serverStreaming field is set.
    • getServerStreaming

      boolean getServerStreaming()
       Identifies if server streams multiple server messages
       
      optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
      Returns:
      The serverStreaming.