final case class ServiceDescriptorProto(name: scala.Option[String] = _root_.scala.None, method: Seq[MethodDescriptorProto] = _root_.scala.Vector.empty, options: scala.Option[ServiceOptions] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[ServiceDescriptorProto] with Product with Serializable
Describes a service.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ServiceDescriptorProto
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ServiceDescriptorProto(name: scala.Option[String] = _root_.scala.None, method: Seq[MethodDescriptorProto] = _root_.scala.Vector.empty, options: scala.Option[ServiceOptions] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...)
Value Members
- def addAllMethod(__vs: Iterable[MethodDescriptorProto]): ServiceDescriptorProto
- def addMethod(__vs: MethodDescriptorProto*): ServiceDescriptorProto
- def clearMethod: ServiceDescriptorProto
- def clearName: ServiceDescriptorProto
- def clearOptions: ServiceDescriptorProto
-
def
companion: ServiceDescriptorProto.type
- Definition Classes
- ServiceDescriptorProto → GeneratedMessage
- def discardUnknownFields: ServiceDescriptorProto
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ServiceDescriptorProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- ServiceDescriptorProto → GeneratedMessage
- def getName: String
- def getOptions: ServiceOptions
- val method: Seq[MethodDescriptorProto]
- val name: scala.Option[String]
- val options: scala.Option[ServiceOptions]
-
def
serializedSize: Int
- Definition Classes
- ServiceDescriptorProto → GeneratedMessage
-
final
def
toByteArray: Array[Byte]
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
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
- ServiceDescriptorProto → GeneratedMessage
- val unknownFields: scalapb.UnknownFieldSet
-
def
update(ms: (Lens[ServiceDescriptorProto, ServiceDescriptorProto]) ⇒ Mutation[ServiceDescriptorProto]*): ServiceDescriptorProto
- Definition Classes
- Updatable
- def withMethod(__v: Seq[MethodDescriptorProto]): ServiceDescriptorProto
- def withName(__v: String): ServiceDescriptorProto
- def withOptions(__v: ServiceOptions): ServiceDescriptorProto
- def withUnknownFields(__v: scalapb.UnknownFieldSet): ServiceDescriptorProto
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
- Definition Classes
- ServiceDescriptorProto → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
Serializes the message into the given output stream
Serializes the message into the given output stream
- Definition Classes
- GeneratedMessage