package type
- Alphabetic
- Public
- All
Type Members
-
final
case class
Enum
(name: String = "", enumvalue: Seq[EnumValue] = _root_.scala.collection.Seq.empty, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, sourceContext: scala.Option[source_context.SourceContext] = None, syntax: Syntax = ...) extends scalapb.GeneratedMessage with scalapb.Message[Enum] with Updatable[Enum] with Product with Serializable
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()
-
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
Enum value definition.
Enum value definition.
- name
Enum value name.
- number
Enum value number.
- options
Protocol buffer options.
- Annotations
- @SerialVersionUID()
-
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
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()
-
final
case class
OptionProto
(name: String = "", value: scala.Option[any.Any] = None) extends scalapb.GeneratedMessage with scalapb.Message[OptionProto] with Updatable[OptionProto] with Product with Serializable
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()
- sealed trait Syntax extends GeneratedEnum
-
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: scala.Option[source_context.SourceContext] = None, syntax: Syntax = ...) extends scalapb.GeneratedMessage with scalapb.Message[Type] with Updatable[Type] with Product with Serializable
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
oneofdefinitions in this type.- options
The protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- Annotations
- @SerialVersionUID()
Value Members
- object Enum extends GeneratedMessageCompanion[Enum] with JavaProtoSupport[Enum, protobuf.Enum] with Serializable
- object EnumValue extends GeneratedMessageCompanion[EnumValue] with JavaProtoSupport[EnumValue, protobuf.EnumValue] with Serializable
- object Field extends GeneratedMessageCompanion[Field] with JavaProtoSupport[Field, protobuf.Field] with Serializable
- object OptionProto extends GeneratedMessageCompanion[OptionProto] with JavaProtoSupport[OptionProto, Option] with Serializable
- object Syntax extends GeneratedEnumCompanion[Syntax] with Serializable
- object Type extends GeneratedMessageCompanion[Type] with JavaProtoSupport[Type, protobuf.Type] with Serializable
- object TypeProto extends GeneratedFileObject