genel statik son sınıf 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
Genel Yöntemler
VersionDef.Builder | addAllBadConsumers (Yinelenebilir<? Tamsayı> değerlerini genişletir) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addBadConsumers (int değeri) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
SürümDef | inşa etmek () |
SürümDef | inşaKısmi () |
VersionDef.Builder | temizlemek () |
VersionDef.Builder | clearBadTüketiciler () Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
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 | klon () |
int | getBadConsumers (int dizini) Specific consumer versions which are disallowed (e.g. |
int | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Liste<Tamsayı> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
SürümDef | |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
int | getMinConsumer () Any consumer below this version is not allowed to consume this data. |
int | getProducer () The version of the code that produced this data. |
son boole değeri | Başlatıldı () |
VersionDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VersionDef.Builder | mergeFrom (com.google.protobuf.Message other) |
son SürümDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
VersionDef.Builder | setBadConsumers (int dizini, int değeri) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
VersionDef.Builder | setMinConsumer (int değeri) Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | setProducer (int değeri) The version of the code that produced this data. |
VersionDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
son SürümDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public VersionDef.Builder addAllBadConsumers (Yinelenebilir<? Tamsayı> değerlerini genişletir)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (int değeri)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public VersionDef.Builder clearBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public 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;
public int getBadConsumers (int dizini)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
genel Liste<Tamsayı> 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 ()
public 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;
genel son boolean isInitialized ()
genel VersionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel son VersionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public VersionDef.Builder setBadConsumers (int dizini, int değeri)
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 alanı, Nesne değeri)
public VersionDef.Builder setMinConsumer (int değeri)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder setProducer (int değeri)
The version of the code that produced this data.
int32 producer = 1;