com.google.protobuf.api

Method

final case class Method(name: String = "", requestTypeUrl: String = "", requestStreaming: Boolean = false, responseTypeUrl: String = "", responseStreaming: Boolean = false, options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing], syntax: Syntax = ...) extends scalapb.GeneratedMessage with scalapb.Message[Method] with Updatable[Method] with Product with Serializable

Method represents a method of an api.

name

The simple name of this method.

requestTypeUrl

A URL of the input message type.

requestStreaming

If true, the request is streamed.

responseTypeUrl

The URL of the output message type.

responseStreaming

If true, the response is streamed.

options

Any metadata attached to the method.

syntax

The source syntax of this method.

Annotations
@SerialVersionUID( 0L )
Linear Supertypes
Product, Equals, Updatable[Method], scalapb.Message[Method], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Method
  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 Method(name: String = "", requestTypeUrl: String = "", requestStreaming: Boolean = false, responseTypeUrl: String = "", responseStreaming: Boolean = false, options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing], syntax: Syntax = ...)

    name

    The simple name of this method.

    requestTypeUrl

    A URL of the input message type.

    requestStreaming

    If true, the request is streamed.

    responseTypeUrl

    The URL of the output message type.

    responseStreaming

    If true, the response is streamed.

    options

    Any metadata attached to the method.

    syntax

    The source syntax of this method.

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. def addAllOptions(__vs: TraversableOnce[OptionProto]): Method

  7. def addOptions(__vs: OptionProto*): Method

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clearOptions: Method

  10. def clone(): AnyRef

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

    Definition Classes
    MethodGeneratedMessage
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def getField(__field: FieldDescriptor): PValue

    Definition Classes
    MethodGeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    MethodGeneratedMessage
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def mergeFrom(_input__: CodedInputStream): Method

    Definition Classes
    MethodMessage
  19. val name: String

    The simple name of this method.

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

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

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

    Definition Classes
    AnyRef
  23. val options: Seq[OptionProto]

    Any metadata attached to the method.

  24. val requestStreaming: Boolean

    If true, the request is streamed.

  25. val requestTypeUrl: String

    A URL of the input message type.

  26. val responseStreaming: Boolean

    If true, the response is streamed.

  27. val responseTypeUrl: String

    The URL of the output message type.

  28. final def serializedSize: Int

    Definition Classes
    MethodGeneratedMessage
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. val syntax: Syntax

    The source syntax of this method.

  31. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  32. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  33. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  34. 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
    MethodGeneratedMessage
  35. def update(ms: (Lens[Method, Method]) ⇒ (Method) ⇒ Method*): Method

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def withName(__v: String): Method

  40. def withOptions(__v: Seq[OptionProto]): Method

  41. def withRequestStreaming(__v: Boolean): Method

  42. def withRequestTypeUrl(__v: String): Method

  43. def withResponseStreaming(__v: Boolean): Method

  44. def withResponseTypeUrl(__v: String): Method

  45. def withSyntax(__v: Syntax): Method

  46. def writeDelimitedTo(output: OutputStream): Unit

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

    Definition Classes
    MethodGeneratedMessage
  48. 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[Method]

Inherited from scalapb.Message[Method]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped