classe finale statica pubblica 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
Metodi pubblici
VersionDef.Builder | addAllBadConsumers (Iterable<? estende i valori Integer>) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addBadConsumers (valore int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
VersioneDef | costruire () |
VersioneDef | buildPartial () |
VersionDef.Builder | chiaro () |
VersionDef.Builder | clearBadConsumers () Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
VersionDef.Builder | clearMinConsumatore () Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VersionDef.Builder | chiaroProduttore () The version of the code that produced this data. |
VersionDef.Builder | clone () |
int | getBadConsumers (indice int) Specific consumer versions which are disallowed (e.g. |
int | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Elenco<intero> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
VersioneDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
int | getMinConsumatore () Any consumer below this version is not allowed to consume this data. |
int | getProduttore () The version of the code that produced this data. |
booleano finale | |
VersionDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
VersionDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
versione finaleDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
VersionDef.Builder | setBadConsumers (indice int, valore int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
VersionDef.Builder | setMinConsumer (valore int) Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | setProducer (valore int) The version of the code that produced this data. |
VersionDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
versione finaleDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public VersionDef.Builder addAllBadConsumers (Iterable<? estende i valori Integer>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (valore int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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 (indice int)
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;
public List<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 ()
pubblico 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;
public final booleano isInitialized ()
public VersionDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public final VersionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
public VersionDef.Builder setBadConsumers (indice int, valore int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public VersionDef.Builder setMinConsumer (valore int)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder setProducer (valore int)
The version of the code that produced this data.
int32 producer = 1;