final case class VersionDef(producer: Int = 0, minConsumer: Int = 0, badConsumers: Seq[Int] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[VersionDef] with Product with Serializable
Version information for a piece of serialized data
There are different types of versions for each type of data (GraphDef, etc.), but they all have the same common shape described here.
Each consumer has "consumer" and "min_producer" versions (specified elsewhere). A consumer is allowed to consume this data if
producer >= min_producer consumer >= min_consumer consumer not in bad_consumers
- producer
The version of the code that produced this data.
- minConsumer
Any consumer below this version is not allowed to consume this data.
- badConsumers
Specific consumer versions which are disallowed (e.g. due to bugs).
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- VersionDef
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VersionDef(producer: Int = 0, minConsumer: Int = 0, badConsumers: Seq[Int] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- producer
The version of the code that produced this data.
- minConsumer
Any consumer below this version is not allowed to consume this data.
- badConsumers
Specific consumer versions which are disallowed (e.g. due to bugs).
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllBadConsumers(__vs: Iterable[Int]): VersionDef
- def addBadConsumers(__vs: Int*): VersionDef
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val badConsumers: Seq[Int]
- def clearBadConsumers: VersionDef
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: VersionDef.type
- Definition Classes
- VersionDef → GeneratedMessage
- def discardUnknownFields: VersionDef
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- VersionDef → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- VersionDef → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val minConsumer: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val producer: Int
-
def
serializedSize: Int
- Definition Classes
- VersionDef → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- VersionDef → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[VersionDef, VersionDef]) ⇒ Mutation[VersionDef]*): VersionDef
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withBadConsumers(__v: Seq[Int]): VersionDef
- def withMinConsumer(__v: Int): VersionDef
- def withProducer(__v: Int): VersionDef
- def withUnknownFields(__v: UnknownFieldSet): VersionDef
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- VersionDef → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated