com.google.protobuf.type

Members list

Concise view

Type members

Classlikes

final case class Enum(name: String, enumvalue: Seq[EnumValue], options: Seq[OptionProto], sourceContext: Option[SourceContext], syntax: Syntax, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Enum]

Enum type definition.

Enum type definition.

Attributes

enumvalue

Enum value definitions.

name

Enum type name.

options

Protocol buffer options.

sourceContext

The source context.

syntax

The source syntax.

Companion:
object
Graph
Supertypes
trait Updatable[Enum]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
Enum.type
final case class EnumValue(name: String, number: Int, options: Seq[OptionProto], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[EnumValue]

Enum value definition.

Enum value definition.

Attributes

name

Enum value name.

number

Enum value number.

options

Protocol buffer options.

Companion:
object
Graph
Supertypes
trait Updatable[EnumValue]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class Field(kind: Kind, cardinality: Cardinality, number: Int, name: String, typeUrl: String, oneofIndex: Int, packed: Boolean, options: Seq[OptionProto], jsonName: String, defaultValue: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Field]

A single field of a message type.

A single field of a message type.

Attributes

cardinality

The field cardinality.

defaultValue

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

jsonName

The field JSON name.

kind

The field type.

name

The field name.

number

The field number.

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.

options

The protocol buffer options.

packed

Whether to use alternative packed wire representation.

typeUrl

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

Companion:
object
Graph
Supertypes
trait Updatable[Field]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
Field.type
final case class OptionProto(name: String, value: Option[Any], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[OptionProto]

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.

Attributes

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.

Companion:
object
Graph
Supertypes
trait Updatable[OptionProto]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
sealed abstract class Syntax(val value: Int) extends GeneratedEnum

The syntax in which a protocol buffer element is defined.

The syntax in which a protocol buffer element is defined.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object SYNTAX_PROTO2.type
object SYNTAX_PROTO3.type

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
Syntax.type
final case class Type(name: String, fields: Seq[Field], oneofs: Seq[String], options: Seq[OptionProto], sourceContext: Option[SourceContext], syntax: Syntax, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Type]

A protocol buffer message type.

A protocol buffer message type.

Attributes

fields

The list of fields.

name

The fully qualified message name.

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.

Companion:
object
Graph
Supertypes
trait Updatable[Type]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type