classe final estática pública 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
Métodos Públicos
VersãoDef.Builder | addAllBadConsumers (Iterable<? estende valores inteiros>) Specific consumer versions which are disallowed (e.g. |
VersãoDef.Builder | addBadConsumers (valor interno) Specific consumer versions which are disallowed (e.g. |
VersãoDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
VersãoDef | construir () |
VersãoDef | |
VersãoDef.Builder | claro () |
VersãoDef.Builder | limparBadConsumers () Specific consumer versions which are disallowed (e.g. |
VersãoDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
VersãoDef.Builder | clearMinConsumer () Any consumer below this version is not allowed to consume this data. |
VersãoDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
VersãoDef.Builder | limparProdutor () The version of the code that produced this data. |
VersãoDef.Builder | clonar () |
interno | getBadConsumers (índice interno) Specific consumer versions which are disallowed (e.g. |
interno | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Lista<Inteiro> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
VersãoDef | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
interno | getMinConsumer () Any consumer below this version is not allowed to consume this data. |
interno | getProdutor () The version of the code that produced this data. |
booleano final | |
VersãoDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VersãoDef.Builder | mergeFrom (com.google.protobuf.Message outro) |
Versão finalDef.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
VersãoDef.Builder | setBadConsumers (índice int, valor int) Specific consumer versions which are disallowed (e.g. |
VersãoDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
VersãoDef.Builder | setMinConsumer (valor interno) Any consumer below this version is not allowed to consume this data. |
VersãoDef.Builder | setProducer (valor interno) The version of the code that produced this data. |
VersãoDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
Versão finalDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public VersionDef.Builder addAllBadConsumers (Iterable<? estende valores inteiros>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (valor 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, valor do objeto)
Versão públicaDef.Builder clearBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
versão públicaDef.Builder clearMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
versão públicaDef.Builder clearProducer ()
The version of the code that produced this data.
int32 producer = 1;
público int getBadConsumers (índice int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
público int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
lista pública<inteiro> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
público int getProdutor ()
The version of the code that produced this data.
int32 producer = 1;
público final booleano isInitialized ()
public VersionDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
versão final públicaDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public VersionDef.Builder setBadConsumers (índice int, valor 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, valor do objeto)
público VersionDef.Builder setMinConsumer (valor int)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
público VersionDef.Builder setProducer (valor int)
The version of the code that produced this data.
int32 producer = 1;