object RpcConversions
Helper for converting gRpc Primitives into Scala Objects and back.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RpcConversions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
decodeByteString(bs: ByteString): ByteString
Decode a Protobuf Bytestring into Akka variant.
-
def
decodeInstant(timestamp: Timestamp): Instant
Decode protobuf timestamp into Java Instant
-
def
decodeOptionalString(str: String): Option[String]
Decode an optional string, when empty it returns a None.
-
def
encodeByteString(bs: IterableOnce[ByteString]): ByteString
Encode many ByteStrings into Protobuf variant.
-
def
encodeByteString(bs: ByteString): ByteString
Encode Akka ByteString into Protobuf variant.
-
def
encodeError(e: Throwable, code: Code): StatusRuntimeException
Encode an error into a io.grpc.StatusRuntimeException.
-
def
encodeInstant(instant: Instant): Timestamp
Encode a Java Instant into protobuf Timestamp
-
def
encodeOptionalString(s: Option[String]): String
Encode an Optional string, None is encoded as "".
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )