scalapb

package scalapb

Members list

Packages

package scalapb.options

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Any.type
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.type

Attributes

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

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.type
object EXACT.type
object PRESENCE.type
trait Recognized
class Unrecognized
object AS_IN_PROTO.type
object CAMEL_CASE.type
trait Recognized
class Unrecognized
class OptionsScope
object FILE.type
object PACKAGE.type
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.type
trait Recognized
class Label
object LABEL_OPTIONAL.type
object LABEL_REPEATED.type
object LABEL_REQUIRED.type
trait Recognized
class Type
trait Recognized
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
trait Recognized
object STRING.type
object STRING_PIECE.type
class JSType
object JS_NORMAL.type
object JS_NUMBER.type
object JS_STRING.type
trait Recognized
class OptimizeMode
object CODE_SIZE.type
object LITE_RUNTIME.type
trait Recognized
object SPEED.type
object IDEMPOTENCY_UNKNOWN.type
object IDEMPOTENT.type
object NO_SIDE_EFFECTS.type
trait Recognized
class NullValue
object NULL_VALUE.type
trait Recognized
class Cardinality
object CARDINALITY_OPTIONAL.type
object CARDINALITY_REPEATED.type
object CARDINALITY_REQUIRED.type
object CARDINALITY_UNKNOWN.type
trait Recognized
class Kind
trait Recognized
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
trait Recognized
object SYNTAX_PROTO2.type
object SYNTAX_PROTO3.type
Show all
trait GeneratedEnumCompanion[A <: GeneratedEnum] extends Serializable

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object MatchType.type
object EnumValueNaming.type
object OptionsScope.type
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
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.type
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
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
object Collection.type
object EnumOptions.type
object EnumValueOptions.type
object FieldOptions.type
object FieldTransformation.type
object MessageOptions.type
object OneofOptions.type
object OptionsByFileEntry.type
object PreprocessorOutput.type
object AuxEnumOptions.type
object AuxEnumValueOptions.type
object AuxFieldOptions.type
object AuxMessageOptions.type
object ScalaPbOptions.type
object Any.type
object Api.type
object Method.type
object Mixin.type
object CodeGeneratorRequest.type
object File.type
object CodeGeneratorResponse.type
object Version.type
object ExtensionRange.type
object ReservedRange.type
object DescriptorProto.type
object EnumReservedRange.type
object EnumDescriptorProto.type
object EnumOptions.type
object EnumValueOptions.type
object ExtensionRangeOptions.type
object FieldDescriptorProto.type
object FieldOptions.type
object FileDescriptorProto.type
object FileDescriptorSet.type
object FileOptions.type
object Annotation.type
object GeneratedCodeInfo.type
object MessageOptions.type
object MethodDescriptorProto.type
object MethodOptions.type
object OneofDescriptorProto.type
object OneofOptions.type
object ServiceOptions.type
object Location.type
object SourceCodeInfo.type
object NamePart.type
object UninterpretedOption.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
Show all
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.type
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.type
object Api.type
object Method.type
object Mixin.type
object CodeGeneratorRequest.type
object File.type
object CodeGeneratorResponse.type
object Version.type
object ExtensionRange.type
object ReservedRange.type
object DescriptorProto.type
object EnumReservedRange.type
object EnumDescriptorProto.type
object EnumOptions.type
object EnumValueOptions.type
object ExtensionRangeOptions.type
object FieldDescriptorProto.type
object FieldOptions.type
object FileDescriptorProto.type
object FileDescriptorSet.type
object FileOptions.type
object Annotation.type
object GeneratedCodeInfo.type
object MessageOptions.type
object MethodDescriptorProto.type
object MethodOptions.type
object OneofDescriptorProto.type
object OneofOptions.type
object ServiceOptions.type
object Location.type
object SourceCodeInfo.type
object NamePart.type
object UninterpretedOption.type
object Duration.type
object Empty.type
object FieldMask.type
object SourceContext.type
object ListValue.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
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.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TimestampConverters.type

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]