com.google.protobuf.descriptor

MethodDescriptorProto

final case class MethodDescriptorProto(name: Option[String] = scala.None, inputType: Option[String] = scala.None, outputType: Option[String] = scala.None, options: Option[MethodOptions] = scala.None, clientStreaming: Option[Boolean] = scala.None, serverStreaming: Option[Boolean] = scala.None) extends trueaccord.scalapb.GeneratedMessage with trueaccord.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( 0L )
Linear Supertypes
Product, Equals, Updatable[MethodDescriptorProto], trueaccord.scalapb.Message[MethodDescriptorProto], trueaccord.scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MethodDescriptorProto(name: Option[String] = scala.None, inputType: Option[String] = scala.None, outputType: Option[String] = scala.None, options: Option[MethodOptions] = scala.None, clientStreaming: Option[Boolean] = scala.None, serverStreaming: Option[Boolean] = 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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clearClientStreaming: MethodDescriptorProto

  8. def clearInputType: MethodDescriptorProto

  9. def clearName: MethodDescriptorProto

  10. def clearOptions: MethodDescriptorProto

  11. def clearOutputType: MethodDescriptorProto

  12. def clearServerStreaming: MethodDescriptorProto

  13. val clientStreaming: Option[Boolean]

    Identifies if client streams multiple client messages

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def companion: MethodDescriptorProto.type

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getClientStreaming: Boolean

  20. def getField(__field: FieldDescriptor): PValue

  21. def getFieldByNumber(__fieldNumber: Int): Any

  22. def getInputType: String

  23. def getName: String

  24. def getOptions: MethodOptions

  25. def getOutputType: String

  26. def getServerStreaming: Boolean

  27. val inputType: Option[String]

    Input and output type names.

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

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def mergeFrom(_input__: CodedInputStream): MethodDescriptorProto

    Definition Classes
    MethodDescriptorProtoMessage
  30. val name: Option[String]

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. val options: Option[MethodOptions]

  35. val outputType: Option[String]

  36. final def serializedSize: Int

  37. val serverStreaming: Option[Boolean]

    Identifies if server streams multiple server messages

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  40. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  41. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  42. def toString(): String

    Definition Classes
    MethodDescriptorProto → AnyRef → Any
  43. def update(ms: (Lens[MethodDescriptorProto, MethodDescriptorProto]) ⇒ (MethodDescriptorProto) ⇒ MethodDescriptorProto*): MethodDescriptorProto

    Definition Classes
    Updatable
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withClientStreaming(__v: Boolean): MethodDescriptorProto

  48. def withInputType(__v: String): MethodDescriptorProto

  49. def withName(__v: String): MethodDescriptorProto

  50. def withOptions(__v: MethodOptions): MethodDescriptorProto

  51. def withOutputType(__v: String): MethodDescriptorProto

  52. def withServerStreaming(__v: Boolean): MethodDescriptorProto

  53. def writeDelimitedTo(output: OutputStream): Unit

    Definition Classes
    GeneratedMessage
  54. def writeTo(_output__: CodedOutputStream): Unit

  55. def writeTo(output: OutputStream): Unit

    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): 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 Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped