publiczna statyczna klasa końcowa 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
Metody publiczne
WersjaDef.Builder | addAllBadConsumers (Iterable<? rozszerza wartości Integer>) Specific consumer versions which are disallowed (e.g. |
WersjaDef.Builder | addBadConsumers (wartość int) Specific consumer versions which are disallowed (e.g. |
WersjaDef.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
WersjaDef | zbudować () |
WersjaDef | |
WersjaDef.Builder | jasne () |
WersjaDef.Builder | wyczyśćBadConsumers () Specific consumer versions which are disallowed (e.g. |
WersjaDef.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
WersjaDef.Builder | clearMinConsumer () Any consumer below this version is not allowed to consume this data. |
WersjaDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WersjaDef.Builder | clearProducent () The version of the code that produced this data. |
WersjaDef.Builder | klon () |
wew | getBadConsumers (indeks int) Specific consumer versions which are disallowed (e.g. |
wew | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Lista<liczba całkowita> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
WersjaDef | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
wew | pobierzMinConsumer () Any consumer below this version is not allowed to consume this data. |
wew | getProducer () The version of the code that produced this data. |
końcowa wartość logiczna | |
WersjaDef.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
WersjaDef.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
wersja ostatecznaDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
WersjaDef.Builder | setBadConsumers (indeks int, wartość int) Specific consumer versions which are disallowed (e.g. |
WersjaDef.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
WersjaDef.Builder | setMinConsumer (wartość int) Any consumer below this version is not allowed to consume this data. |
WersjaDef.Builder | setProducer (wartość int) The version of the code that produced this data. |
WersjaDef.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
wersja ostatecznaDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public VersionDef.Builder addAllBadConsumers (wartości Iterable<? rozszerza Integer>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (wartość int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
Wersja publicznaDef.Builder wyczyśćBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
Wersja publicznaDef.Builder clearMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
wersja publicznaDef.Builder clearProducer ()
The version of the code that produced this data.
int32 producer = 1;
public int getBadConsumers (indeks 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 ()
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;
publiczny int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
publiczna końcowa wartość logiczna isInitialized ()
wersja publicznaDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczna wersja ostatecznaDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public VersionDef.Builder setBadConsumers (indeks int, wartość int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public VersionDef.Builder setMinConsumer (wartość int)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder setProducer (wartość int)
The version of the code that produced this data.
int32 producer = 1;