final case class MethodDescriptorProto(name: scala.Option[String] = _root_.scala.None, inputType: scala.Option[String] = _root_.scala.None, outputType: scala.Option[String] = _root_.scala.None, options: scala.Option[MethodOptions] = _root_.scala.None, clientStreaming: scala.Option[Boolean] = _root_.scala.None, serverStreaming: scala.Option[Boolean] = _root_.scala.None) extends scalapb.GeneratedMessage with scalapb.Message[MethodDescriptorProto] with Updatable[MethodDescriptorProto] with Product with Serializable

Describes a method of a service.

inputType

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

clientStreaming

Identifies if client streams multiple client messages

serverStreaming

Identifies if server streams multiple server messages

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[MethodDescriptorProto], scalapb.Message[MethodDescriptorProto], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MethodDescriptorProto
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MethodDescriptorProto(name: scala.Option[String] = _root_.scala.None, inputType: scala.Option[String] = _root_.scala.None, outputType: scala.Option[String] = _root_.scala.None, options: scala.Option[MethodOptions] = _root_.scala.None, clientStreaming: scala.Option[Boolean] = _root_.scala.None, serverStreaming: scala.Option[Boolean] = _root_.scala.None)

    inputType

    Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

    clientStreaming

    Identifies if client streams multiple client messages

    serverStreaming

    Identifies if server streams multiple server messages

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearClientStreaming: MethodDescriptorProto
  6. def clearInputType: MethodDescriptorProto
  7. def clearName: MethodDescriptorProto
  8. def clearOptions: MethodDescriptorProto
  9. def clearOutputType: MethodDescriptorProto
  10. def clearServerStreaming: MethodDescriptorProto
  11. val clientStreaming: scala.Option[Boolean]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def companion: MethodDescriptorProto.type
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getClientStreaming: Boolean
  18. def getField(__field: FieldDescriptor): PValue
  19. def getFieldByNumber(__fieldNumber: Int): scala.Any
  20. def getInputType: String
  21. def getName: String
  22. def getOptions: MethodOptions
  23. def getOutputType: String
  24. def getServerStreaming: Boolean
  25. val inputType: scala.Option[String]
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def mergeFrom(_input__: CodedInputStream): MethodDescriptorProto
    Definition Classes
    MethodDescriptorProtoMessage
  28. val name: scala.Option[String]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. val options: scala.Option[MethodOptions]
  33. val outputType: scala.Option[String]
  34. final def serializedSize: Int
  35. val serverStreaming: scala.Option[Boolean]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  38. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  39. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  40. def toProtoString: String

    Returns a human-readable ASCII format representation of this message.

    Returns a human-readable ASCII format representation of this message.

    The original message can be decoded from this format by using fromAscii on the companion object.

    returns

    human-readable representation of this message.

    Definition Classes
    MethodDescriptorProtoGeneratedMessage
  41. def update(ms: (Lens[MethodDescriptorProto, MethodDescriptorProto]) ⇒ Mutation[MethodDescriptorProto]*): MethodDescriptorProto
    Definition Classes
    Updatable
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  45. def withClientStreaming(__v: Boolean): MethodDescriptorProto
  46. def withInputType(__v: String): MethodDescriptorProto
  47. def withName(__v: String): MethodDescriptorProto
  48. def withOptions(__v: MethodOptions): MethodDescriptorProto
  49. def withOutputType(__v: String): MethodDescriptorProto
  50. def withServerStreaming(__v: Boolean): MethodDescriptorProto
  51. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  52. def writeTo(_output__: CodedOutputStream): Unit
  53. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, scala.Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): scala.Any
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[MethodDescriptorProto]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped