UninterpretedOption

com.google.protobuf.descriptor.UninterpretedOption
See theUninterpretedOption companion object
final case class UninterpretedOption(name: Seq[NamePart], identifierValue: Option[String], positiveIntValue: Option[Long], negativeIntValue: Option[Long], doubleValue: Option[Double], stringValue: Option[ByteString], aggregateValue: Option[String], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[UninterpretedOption]

A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.

Attributes

identifierValue

The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.

Companion:
object
Source:
UninterpretedOption.scala
Graph
Supertypes
trait Updatable[UninterpretedOption]
trait GeneratedMessage
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
UninterpretedOption.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
UninterpretedOption.scala
def getStringValue: ByteString

Attributes

Source:
UninterpretedOption.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
UninterpretedOption.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
UninterpretedOption.scala
def withStringValue(`__v`: ByteString): UninterpretedOption

Attributes

Source:
UninterpretedOption.scala
def withUnknownFields(`__v`: UnknownFieldSet): UninterpretedOption

Attributes

Source:
UninterpretedOption.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
UninterpretedOption.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala