کلاس نهایی استاتیک عمومی VersionDef.Builder
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
tensorflow.VersionDef
روش های عمومی
VersionDef.Builder | addAllBadConsumers (Iterable<? مقادیر Integer را گسترش می دهد) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addBadConsumers (مقدار int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
VersionDef | ساختن () |
VersionDef | ساخت جزئی () |
VersionDef.Builder | روشن () |
VersionDef.Builder | clearBadConsumers () Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor) |
VersionDef.Builder | clearMinConsumer () Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VersionDef.Builder | clearProducer () The version of the code that produced this data. |
VersionDef.Builder | کلون () |
بین المللی | getBadConsumers (شاخص بین المللی) Specific consumer versions which are disallowed (e.g. |
بین المللی | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
لیست <عدد صحیح> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
VersionDef | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
بین المللی | getMinConsumer () Any consumer below this version is not allowed to consume this data. |
بین المللی | getProducer () The version of the code that produced this data. |
بولی نهایی | |
VersionDef.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VersionDef.Builder | mergeFrom (com.google.protobuf.Message other) |
نسخه نهایی VersionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
VersionDef.Builder | setBadConsumers (شاخص int، مقدار int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
VersionDef.Builder | setMinConsumer (مقدار int) Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | setProducer (مقدار int) The version of the code that produced this data. |
VersionDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object) |
نسخه نهایی VersionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی VersionDef.Builder addAllBadConsumers (Iterable<? مقادیر Integer> را گسترش می دهد)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
عمومی VersionDef.Builder addBadConsumers (مقدار int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
عمومی VersionDef.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی VersionDef.Builder clearBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
عمومی VersionDef.Builder clearMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder clearProducer ()
The version of the code that produced this data.
int32 producer = 1;
عمومی int getBadConsumers (شاخص int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
عمومی int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
فهرست عمومی <Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
بولین نهایی عمومی isInitialized ()
عمومی VersionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی VersionDef.Builder setBadConsumers (شاخص int، مقدار int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی VersionDef.Builder setMinConsumer (int value)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
عمومی VersionDef.Builder setProducer (مقدار int)
The version of the code that produced this data.
int32 producer = 1;