ExtensionRangeOptions

com.google.protobuf.descriptor.ExtensionRangeOptions
See theExtensionRangeOptions companion object
final case class ExtensionRangeOptions(uninterpretedOption: Seq[UninterpretedOption], declaration: Seq[Declaration], verification: Option[VerificationState], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ExtensionRangeOptions] with ExtendableMessage[ExtensionRangeOptions]

Attributes

declaration

go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations. This should avoid the size increases of transforming a large extension range into small ranges in generated binaries.

uninterpretedOption

The parser stores options it doesn't recognize here. See above.

verification

The verification state of the range. TODO(b/278783756): flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.

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

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
ExtensionRangeOptions.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:
ExtensionRangeOptions.scala
def withUnknownFields(`__v`: UnknownFieldSet): ExtensionRangeOptions
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:
ExtensionRangeOptions.scala

Inherited methods

def extension[T](generatedExtension: GeneratedExtension[ExtensionRangeOptions, T]): T

Attributes

Inherited from:
ExtendableMessage
Source:
GeneratedMessageCompanion.scala

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
def withExtension[T](generatedExtension: GeneratedExtension[ExtensionRangeOptions, T])(value: T): A

Attributes

Inherited from:
ExtendableMessage
Source:
GeneratedMessageCompanion.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