MethodOptions

com.google.protobuf.descriptor.MethodOptions
See theMethodOptions companion object
final case class MethodOptions(deprecated: Option[Boolean], idempotencyLevel: Option[IdempotencyLevel], uninterpretedOption: Seq[UninterpretedOption], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[MethodOptions], ExtendableMessage[MethodOptions]

Value parameters

deprecated

Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.

uninterpretedOption

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

Attributes

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

Members list

Value members

Concrete methods

Attributes

Source
MethodOptions.scala
def getDeprecated: Boolean

Attributes

Source
MethodOptions.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source
MethodOptions.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
MethodOptions.scala
def toProtoString: String

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
MethodOptions.scala
def withDeprecated(`__v`: Boolean): MethodOptions

Attributes

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

Attributes

Source
MethodOptions.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
MethodOptions.scala

Inherited methods

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

Attributes

Inherited from:
ExtendableMessage
Source
GeneratedMessageCompanion.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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
def update(ms: Lens[MethodOptions, MethodOptions] => () => MethodOptions*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
def withExtension[T](generatedExtension: GeneratedExtension[MethodOptions, 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