Package

com.google.protobuf

type

Permalink

package type

Visibility
  1. Public
  2. All

Type Members

  1. final case class Enum(name: String = "", enumvalue: Seq[EnumValue] = _root_.scala.collection.Seq.empty, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, sourceContext: Option[SourceContext] = _root_.scala.None, syntax: Syntax = ...) extends scalapb.GeneratedMessage with scalapb.Message[Enum] with Updatable[Enum] with Product with Serializable

    Permalink

    Enum type definition.

    Enum type definition.

    name

    Enum type name.

    enumvalue

    Enum value definitions.

    options

    Protocol buffer options.

    sourceContext

    The source context.

    syntax

    The source syntax.

    Annotations
    @SerialVersionUID()
  2. final case class EnumValue(name: String = "", number: Int = 0, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty) extends scalapb.GeneratedMessage with scalapb.Message[EnumValue] with Updatable[EnumValue] with Product with Serializable

    Permalink

    Enum value definition.

    Enum value definition.

    name

    Enum value name.

    number

    Enum value number.

    options

    Protocol buffer options.

    Annotations
    @SerialVersionUID()
  3. final case class Field(kind: Kind = ..., cardinality: Cardinality = ..., number: Int = 0, name: String = "", typeUrl: String = "", oneofIndex: Int = 0, packed: Boolean = false, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, jsonName: String = "", defaultValue: String = "") extends scalapb.GeneratedMessage with scalapb.Message[Field] with Updatable[Field] with Product with Serializable

    Permalink

    A single field of a message type.

    A single field of a message type.

    kind

    The field type.

    cardinality

    The field cardinality.

    number

    The field number.

    name

    The field name.

    typeUrl

    The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp".

    oneofIndex

    The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.

    packed

    Whether to use alternative packed wire representation.

    options

    The protocol buffer options.

    jsonName

    The field JSON name.

    defaultValue

    The string value of the default value of this field. Proto2 syntax only.

    Annotations
    @SerialVersionUID()
  4. final case class OptionProto(name: String = "", value: Option[Any] = _root_.scala.None) extends scalapb.GeneratedMessage with scalapb.Message[OptionProto] with Updatable[OptionProto] with Product with Serializable

    Permalink

    A protocol buffer option, which can be attached to a message, field, enumeration, etc.

    A protocol buffer option, which can be attached to a message, field, enumeration, etc.

    name

    The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, "map_entry". For custom options, it should be the fully-qualified name. For example, "google.api.http".

    value

    The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.

    Annotations
    @SerialVersionUID()
  5. sealed trait Syntax extends GeneratedEnum

    Permalink

    The syntax in which a protocol buffer element is defined.

  6. final case class Type(name: String = "", fields: Seq[Field] = _root_.scala.collection.Seq.empty, oneofs: Seq[String] = _root_.scala.collection.Seq.empty, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, sourceContext: Option[SourceContext] = _root_.scala.None, syntax: Syntax = ...) extends scalapb.GeneratedMessage with scalapb.Message[Type] with Updatable[Type] with Product with Serializable

    Permalink

    A protocol buffer message type.

    A protocol buffer message type.

    name

    The fully qualified message name.

    fields

    The list of fields.

    oneofs

    The list of types appearing in oneof definitions in this type.

    options

    The protocol buffer options.

    sourceContext

    The source context.

    syntax

    The source syntax.

    Annotations
    @SerialVersionUID()

Value Members

  1. object Enum extends GeneratedMessageCompanion[Enum] with Serializable

    Permalink
  2. object EnumValue extends GeneratedMessageCompanion[EnumValue] with Serializable

    Permalink
  3. object Field extends GeneratedMessageCompanion[Field] with Serializable

    Permalink
  4. object OptionProto extends GeneratedMessageCompanion[OptionProto] with Serializable

    Permalink
  5. object Syntax extends GeneratedEnumCompanion[Syntax] with Serializable

    Permalink
  6. object Type extends GeneratedMessageCompanion[Type] with Serializable

    Permalink
  7. object TypeProto extends GeneratedFileObject

    Permalink

Ungrouped