clase 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
VersiónDef.Builder | addAllBadConsumers (Iterable<? extiende valores enteros>) Specific consumer versions which are disallowed (e.g. |
VersiónDef.Builder | addBadConsumers (valor int) Specific consumer versions which are disallowed (e.g. |
VersiónDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
VersiónDef | construir () |
VersiónDef | |
VersiónDef.Builder | claro () |
VersiónDef.Builder | borrarBadConsumers () Specific consumer versions which are disallowed (e.g. |
VersiónDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
VersiónDef.Builder | clearMinConsumer () Any consumer below this version is not allowed to consume this data. |
VersiónDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
VersiónDef.Builder | claroProductor () The version of the code that produced this data. |
VersiónDef.Builder | clonar () |
entero | getBadConsumers (índice int) Specific consumer versions which are disallowed (e.g. |
entero | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Lista<Entero> | obtener lista de consumidores malos () Specific consumer versions which are disallowed (e.g. |
VersiónDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
entero | getMinConsumidor () Any consumer below this version is not allowed to consume this data. |
entero | obtenerProductor () The version of the code that produced this data. |
booleano final | |
VersiónDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
VersiónDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
Versión finalDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
VersiónDef.Builder | setBadConsumers (índice int, valor int) Specific consumer versions which are disallowed (e.g. |
VersiónDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
VersiónDef.Builder | setMinConsumer (valor int) Any consumer below this version is not allowed to consume this data. |
VersiónDef.Builder | setProducer (valor int) The version of the code that produced this data. |
VersiónDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
Versión finalDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public VersionDef.Builder addAllBadConsumers (Iterable<? extiende valores enteros>)
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 del objeto)
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;
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<Entero> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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;
público int getProductor ()
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)
Lanza
IOExcepción |
---|
VersionDef.Builder final pública mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público VersionDef.Builder setBadConsumers (índice int, valor int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
público VersionDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del 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;