scalapb

package scalapb

Members list

Packages

package scalapb.options

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Any
trait AnyMethods

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Any
object AnyMethods

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
AnyMethods.type
abstract class CollectionAdapter[T, Coll]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Duration

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Duration
object Encoding

Utility functions to encode/decode byte arrays as Base64 strings.

Utility functions to encode/decode byte arrays as Base64 strings.

Used internally between the protocol buffer compiler and the runtime to encode messages.

We could have used Apache Commons, but we would like to avoid an additional dependency. java.xml.bind.DataTypeConverter.parseBase64Binary is not available on Android. And the Java native java.util.Base64 is only available for Java 8...

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Encoding.type
trait ExtendableMessage[A <: ExtendableMessage[A]] extends Updatable[A]

Attributes

Companion
object
Supertypes
trait Updatable[A]
class Object
trait Matchable
class Any
Known subtypes
Self type
A

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object FieldMaskUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait GeneratedEnum extends Product, Serializable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Any
Known subtypes
class MatchType
object CONTAINS
object EXACT
object PRESENCE
trait Recognized
class Unrecognized
object AS_IN_PROTO
object CAMEL_CASE
trait Recognized
class Unrecognized
class OptionsScope
object FILE
object PACKAGE
trait Recognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Unrecognized
class Feature
object FEATURE_NONE
trait Recognized
class Label
trait Recognized
class Type
trait Recognized
object TYPE_BOOL
object TYPE_BYTES
object TYPE_DOUBLE
object TYPE_ENUM
object TYPE_FIXED32
object TYPE_FIXED64
object TYPE_FLOAT
object TYPE_GROUP
object TYPE_INT32
object TYPE_INT64
object TYPE_MESSAGE
object TYPE_SFIXED32
object TYPE_SFIXED64
object TYPE_SINT32
object TYPE_SINT64
object TYPE_STRING
object TYPE_UINT32
object TYPE_UINT64
class CType
object CORD
trait Recognized
object STRING
object STRING_PIECE
class JSType
object JS_NORMAL
object JS_NUMBER
object JS_STRING
trait Recognized
class OptimizeMode
object CODE_SIZE
object LITE_RUNTIME
trait Recognized
object SPEED
object IDEMPOTENT
trait Recognized
class NullValue
object NULL_VALUE
trait Recognized
class Cardinality
trait Recognized
class Kind
trait Recognized
object TYPE_BOOL
object TYPE_BYTES
object TYPE_DOUBLE
object TYPE_ENUM
object TYPE_FIXED32
object TYPE_FIXED64
object TYPE_FLOAT
object TYPE_GROUP
object TYPE_INT32
object TYPE_INT64
object TYPE_MESSAGE
object TYPE_SFIXED32
object TYPE_SFIXED64
object TYPE_SINT32
object TYPE_SINT64
object TYPE_STRING
object TYPE_UINT32
object TYPE_UINT64
object TYPE_UNKNOWN
class Syntax
trait Recognized
object SYNTAX_PROTO2
object SYNTAX_PROTO3
Show all
trait GeneratedEnumCompanion[A <: GeneratedEnum] extends Serializable

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object MatchType
object OptionsScope
object Feature
object Label
object Type
object CType
object JSType
object OptimizeMode
object NullValue
object Cardinality
object Kind
object Syntax
Show all
case class GeneratedExtension[C <: ExtendableMessage[C], T](lens: Lens[C, T]) extends Lens[C, T]

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait Lens[C, T]
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class GeneratedFileObject

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ScalapbProto
object AnyProto
object ApiProto
object PluginProto
object DurationProto
object EmptyProto
object StructProto
object TypeProto
object WrappersProto
Show all
trait GeneratedMessage extends Product, Serializable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Any
Known subtypes
trait GeneratedMessageCompanion[A <: GeneratedMessage] extends Serializable

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
Self type
trait GeneratedOneof extends Product, Serializable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Any
Known subtypes
trait Kind
class BoolValue
object Empty
class ListValue
class NullValue
class NumberValue
class StringValue
class StructValue
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
trait GeneratedSealedOneof extends Product, Serializable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Any
trait JavaProtoSupport[ScalaPB, JavaPB]

Attributes

Supertypes
class Any
Known subtypes
object Any
object Api
object Method
object Mixin
object File
object Version
object ReservedRange
object EnumOptions
object FieldOptions
object FileOptions
object Annotation
object MethodOptions
object OneofOptions
object Location
object NamePart
object Duration
object Empty
object FieldMask
object SourceContext
object ListValue
object Struct
object Value
object Timestamp
object Enum
object EnumValue
object Field
object OptionProto
object Type
object BoolValue
object BytesValue
object DoubleValue
object FloatValue
object Int32Value
object Int64Value
object StringValue
object UInt32Value
object UInt64Value
Show all
class LimitedInputStream(val is: InputStream, var limit: Int) extends FilterInputStream

Based on com.google.protobuf.AbstractMessageLite.Builder#LimitedInputStream.

Based on com.google.protobuf.AbstractMessageLite.Builder#LimitedInputStream.

Attributes

Supertypes
class FilterInputStream
class InputStream
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
object LiteParser

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
LiteParser.type
abstract class MessageBuilder[A]

Allows building an instance of a message A

Allows building an instance of a message A

The code generator will create a class that extends MessageBuilder for each message. It generally contains a var for each optional and required field, and a [scala.collection.mutable.Builder] for each repeated field.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait MessageBuilderCompanion[A, Builder]

Attributes

Supertypes
class Object
trait Matchable
class Any
object StructUtils

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object TextFormat extends ProtoAsciiParsing

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TextFormat.type
case class TextFormatError(msg: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class TextFormatException(msg: String) extends RuntimeException

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Timestamp

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Timestamp
abstract class TypeMapper[BaseType, CustomType]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object TypeMapper

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TypeMapper.type
final case class UnknownFieldSet(fields: Map[Int, Field])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object WireType

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
WireType.type

Deprecated types

type Message[A] = Any

Attributes

Deprecated
[Since version 0.10.0]