package type
- Alphabetic
- Public
- All
Type Members
-
final
case class
Enum(name: String = "", enumvalue: Seq[EnumValue] = _root_.scala.Vector.empty, options: Seq[OptionProto] = _root_.scala.Vector.empty, sourceContext: scala.Option[source_context.SourceContext] = _root_.scala.None, syntax: Syntax = ..., edition: String = "", unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Enum] with Product with Serializable
Enum type definition.
Enum type definition.
New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
- name
Enum type name.
- enumvalue
Enum value definitions.
- options
Protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- edition
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
- Annotations
- @SerialVersionUID()
-
final
case class
EnumValue(name: String = "", number: Int = 0, options: Seq[OptionProto] = _root_.scala.Vector.empty, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[EnumValue] with Product with Serializable
Enum value definition.
Enum value definition.
New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
- 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.Vector.empty, jsonName: String = "", defaultValue: String = "", unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Field] with Product with Serializable
A single field of a message type.
A single field of a message type.
New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
- 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] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage 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.
New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.
- 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 abstract
class
Syntax extends GeneratedEnum
The syntax in which a protocol buffer element is defined.
-
final
case class
Type(name: String = "", fields: Seq[Field] = _root_.scala.Vector.empty, oneofs: Seq[String] = _root_.scala.Vector.empty, options: Seq[OptionProto] = _root_.scala.Vector.empty, sourceContext: scala.Option[source_context.SourceContext] = _root_.scala.None, syntax: Syntax = ..., edition: String = "", unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Type] with Product with Serializable
A protocol buffer message type.
A protocol buffer message type.
New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
- 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.
- edition
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
- Annotations
- @SerialVersionUID()
Value Members
- object Enum extends GeneratedMessageCompanion[Enum] with JavaProtoSupport[Enum, protobuf.Enum]
- object EnumValue extends GeneratedMessageCompanion[EnumValue] with JavaProtoSupport[EnumValue, protobuf.EnumValue]
- object Field extends GeneratedMessageCompanion[Field] with JavaProtoSupport[Field, protobuf.Field]
- object OptionProto extends GeneratedMessageCompanion[OptionProto] with JavaProtoSupport[OptionProto, Option]
- object Syntax extends GeneratedEnumCompanion[Syntax]
- object Type extends GeneratedMessageCompanion[Type] with JavaProtoSupport[Type, protobuf.Type]
- object TypeProto extends GeneratedFileObject