VersionDef.Builder

classe finale statique publique 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 de type Protobuf.VersionDef

Méthodes publiques

VersionDef.Builder
addAllBadConsumers (Iterable<? extends Integer> valeurs)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
addBadConsumers (valeur int)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
VersionDef
VersionDef
VersionDef.Builder
clair ()
VersionDef.Builder
clearBadConsumers ()
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
VersionDef.Builder
clearMinConsommateur ()
 Any consumer below this version is not allowed to consume this data.
VersionDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
VersionDef.Builder
clearProducteur ()
 The version of the code that produced this data.
VersionDef.Builder
cloner ()
int
getBadConsumers (index int)
 Specific consumer versions which are disallowed (e.g.
int
getBadConsumersCount ()
 Specific consumer versions which are disallowed (e.g.
Liste<Entier>
getBadConsumersList ()
 Specific consumer versions which are disallowed (e.g.
VersionDef
final statique 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
getProducteur ()
 The version of the code that produced this data.
booléen final
VersionDef.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef.Builder
mergeFrom (com.google.protobuf.Message autre)
Version finaleDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
VersionDef.Builder
setBadConsumers (index int, valeur int)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
VersionDef.Builder
setMinConsumer (valeur entière)
 Any consumer below this version is not allowed to consume this data.
VersionDef.Builder
setProducer (valeur entière)
 The version of the code that produced this data.
VersionDef.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
Version finaleDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public VersionDef.Builder addAllBadConsumers (Iterable<? extends Integer> valeurs)

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public VersionDef.Builder addBadConsumers (valeur int)

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public VersionDef.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public VersionDef ()

public VersionDef buildPartial ()

public VersionDef.Builder clear ()

public VersionDef.Builder clearBadConsumers ()

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public VersionDef.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public VersionDef.Builder clearMinConsumer ()

 Any consumer below this version is not allowed to consume this data.
 
int32 min_consumer = 2;

public VersionDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public VersionDef.Builder clearProducer ()

 The version of the code that produced this data.
 
int32 producer = 1;

clone public de VersionDef.Builder ()

public int getBadConsumers (index 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;

liste publique<Integer> getBadConsumersList ()

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public VersionDef getDefaultInstanceForType ()

public statique 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;

public final booléen isInitialized ()

public VersionDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public VersionDef.Builder mergeFrom (com.google.protobuf.Message autre)

Version finale publiqueDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public VersionDef.Builder setBadConsumers (index int, valeur int)

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

public VersionDef.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public VersionDef.Builder setMinConsumer (valeur int)

 Any consumer below this version is not allowed to consume this data.
 
int32 min_consumer = 2;

public VersionDef.Builder setProducer (valeur int)

 The version of the code that produced this data.
 
int32 producer = 1;

public VersionDef.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

version finale publiqueDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)