object FieldOptions extends GeneratedMessageCompanion[FieldOptions] with JavaProtoSupport[FieldOptions, DescriptorProtos.FieldOptions]
- Alphabetic
- By Inheritance
- FieldOptions
- JavaProtoSupport
- GeneratedMessageCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class CType extends GeneratedEnum
- final case class EditionDefault(edition: scala.Option[Edition] = _root_.scala.None, value: scala.Option[String] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends scalapb.GeneratedMessage with Updatable[EditionDefault] with Product with Serializable
- value
Textproto value.
- Annotations
- @SerialVersionUID()
- final case class FeatureSupport(editionIntroduced: scala.Option[Edition] = _root_.scala.None, editionDeprecated: scala.Option[Edition] = _root_.scala.None, deprecationWarning: scala.Option[String] = _root_.scala.None, editionRemoved: scala.Option[Edition] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends scalapb.GeneratedMessage with Updatable[FeatureSupport] with Product with Serializable
Information about the support window of a feature.
Information about the support window of a feature.
- editionIntroduced
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
- editionDeprecated
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
- deprecationWarning
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
- editionRemoved
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
- Annotations
- @SerialVersionUID()
- implicit class FieldOptionsLens[UpperPB] extends ObjectLens[UpperPB, FieldOptions]
- sealed abstract class JSType extends GeneratedEnum
- sealed abstract class OptionRetention extends GeneratedEnum
If set to RETENTION_SOURCE, the option will be omitted from the binary.
If set to RETENTION_SOURCE, the option will be omitted from the binary. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).
- sealed abstract class OptionTargetType extends GeneratedEnum
This indicates the types of entities that the field may apply to when used as an option.
This indicates the types of entities that the field may apply to when used as an option. If it is unset, then the field may be freely used as an option on any kind of entity. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).
- type ValueType = FieldOptions
- Definition Classes
- GeneratedMessageCompanion
Value Members
- final def !=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final val CTYPE_FIELD_NUMBER: Int(1)
- final val DEBUG_REDACT_FIELD_NUMBER: Int(16)
- final val DEPRECATED_FIELD_NUMBER: Int(3)
- final val EDITION_DEFAULTS_FIELD_NUMBER: Int(20)
- final val FEATURES_FIELD_NUMBER: Int(21)
- final val FEATURE_SUPPORT_FIELD_NUMBER: Int(22)
- final val JSTYPE_FIELD_NUMBER: Int(6)
- final val LAZY_FIELD_NUMBER: Int(5)
- final val PACKED_FIELD_NUMBER: Int(2)
- final val RETENTION_FIELD_NUMBER: Int(17)
- final val TARGETS_FIELD_NUMBER: Int(19)
- final val UNINTERPRETED_OPTION_FIELD_NUMBER: Int(999)
- final val UNVERIFIED_LAZY_FIELD_NUMBER: Int(15)
- final val WEAK_FIELD_NUMBER: Int(10)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val defaultInstance: FieldOptions
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromAscii(s: String): FieldOptions
- Definition Classes
- GeneratedMessageCompanion
- def fromJavaProto(javaPbSource: DescriptorProtos.FieldOptions): FieldOptions
- Definition Classes
- FieldOptions → JavaProtoSupport
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaDescriptor: Descriptor
Returns the Java descriptors for this message.
Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- def merge(a: FieldOptions, input: CodedInputStream): FieldOptions
Merges the given message with the additional fields in the steam.
Merges the given message with the additional fields in the steam.
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[FieldOptions] with JavaProtoSupport[FieldOptions, DescriptorProtos.FieldOptions]
- def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- implicit def messageReads: Reads[FieldOptions]
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: scalapb.GeneratedMessage]]
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def of(ctype: scala.Option[CType], packed: scala.Option[Boolean], jstype: scala.Option[JSType], lazy: scala.Option[Boolean], unverifiedLazy: scala.Option[Boolean], deprecated: scala.Option[Boolean], weak: scala.Option[Boolean], debugRedact: scala.Option[Boolean], retention: scala.Option[OptionRetention], targets: Seq[OptionTargetType], editionDefaults: Seq[EditionDefault], features: scala.Option[FeatureSet], featureSupport: scala.Option[FeatureSupport], uninterpretedOption: Seq[UninterpretedOption]): FieldOptions
- def parseDelimitedFrom(input: InputStream): scala.Option[FieldOptions]
- Definition Classes
- GeneratedMessageCompanion
- def parseDelimitedFrom(input: CodedInputStream): scala.Option[FieldOptions]
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(_input__: CodedInputStream): FieldOptions
Parses a message from a CodedInputStream.
Parses a message from a CodedInputStream.
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- def parseFrom(s: Array[Byte]): FieldOptions
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(input: InputStream): FieldOptions
- Definition Classes
- GeneratedMessageCompanion
- def scalaDescriptor: Descriptor
- Definition Classes
- FieldOptions → GeneratedMessageCompanion
- def streamFromDelimitedInput(input: InputStream): Stream[FieldOptions]
- Definition Classes
- GeneratedMessageCompanion
- Annotations
- @nowarn()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray(a: FieldOptions): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
- def toJavaProto(scalaPbSource: FieldOptions): DescriptorProtos.FieldOptions
- Definition Classes
- FieldOptions → JavaProtoSupport
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(s: Array[Byte]): Try[FieldOptions]
- Definition Classes
- GeneratedMessageCompanion
- def validateAscii(s: String): Either[TextFormatError, FieldOptions]
- Definition Classes
- GeneratedMessageCompanion
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object CType extends GeneratedEnumCompanion[CType]
- object EditionDefault extends GeneratedMessageCompanion[EditionDefault] with JavaProtoSupport[EditionDefault, DescriptorProtos.FieldOptions.EditionDefault]
- object FeatureSupport extends GeneratedMessageCompanion[FeatureSupport] with JavaProtoSupport[FeatureSupport, DescriptorProtos.FieldOptions.FeatureSupport]
- object JSType extends GeneratedEnumCompanion[JSType]
- object OptionRetention extends GeneratedEnumCompanion[OptionRetention]
- object OptionTargetType extends GeneratedEnumCompanion[OptionTargetType]