scalapb

package scalapb

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Any.type

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Duration.type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DurationConverters.type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
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

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

Attributes

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

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AnyProto.type
object ApiProto.type
object PluginProto.type
object DurationProto.type
object EmptyProto.type
object FieldMaskProto.type
object SourceContextProto.type
object StructProto.type
object TimestampProto.type
object TypeProto.type
object WrappersProto.type
object ScalapbProto.type
trait GeneratedMessage extends Product with Serializable

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object Any.type
object Api.type
object Method.type
object Mixin.type
object File.type
object Version.type
object ExtensionRange.type
object ReservedRange.type
object DescriptorProto.type
object EnumReservedRange.type
object EnumOptions.type
object EnumValueOptions.type
object FieldOptions.type
object FileDescriptorSet.type
object FileOptions.type
object Annotation.type
object GeneratedCodeInfo.type
object MessageOptions.type
object MethodOptions.type
object OneofOptions.type
object ServiceOptions.type
object Location.type
object SourceCodeInfo.type
object NamePart.type
object Duration.type
object Empty.type
object FieldMask.type
object SourceContext.type
object ListValue.type
object FieldsEntry.type
object Struct.type
object Value.type
object Timestamp.type
object Enum.type
object EnumValue.type
object Field.type
object OptionProto.type
object Type.type
object BoolValue.type
object BytesValue.type
object DoubleValue.type
object FloatValue.type
object Int32Value.type
object Int64Value.type
object StringValue.type
object UInt32Value.type
object UInt64Value.type
object Collection.type
object EnumOptions.type
object EnumValueOptions.type
object FieldOptions.type
object MessageOptions.type
object OneofOptions.type
object OptionsByFileEntry.type
object PreprocessorOutput.type
object AuxEnumOptions.type
object AuxFieldOptions.type
object AuxMessageOptions.type
object ScalaPbOptions.type
Self type
trait GeneratedOneof extends Product with Serializable

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Any
Known subtypes
trait Kind
class BoolValue
object Empty.type
class ListValue
class NullValue

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait GeneratedSealedOneof extends Product with Serializable

Attributes

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

Attributes

Graph
Supertypes
class Any
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

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self 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

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object Scalapb

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Scalapb.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Timestamp.type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object TypeMapper

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Deprecated types

type Message[A] = Any

Attributes

Deprecated
[Since version 0.10.0]