общедоступный статический конечный класс 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
Публичные методы
VersionDef.Builder | addAllBadConsumers (Iterable<? расширяет целые значения>) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addBadConsumers (целое значение) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ВерсияDef | строить () |
ВерсияDef | |
VersionDef.Builder | прозрачный () |
VersionDef.Builder | очиститьBadConsumers () Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
VersionDef.Builder | очиститьМинКонсумер () Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VersionDef.Builder | очиститьПроизводитель () The version of the code that produced this data. |
VersionDef.Builder | клон () |
интервал | getBadConsumers (индекс целого числа) Specific consumer versions which are disallowed (e.g. |
интервал | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Список<Целое число> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
ВерсияDef | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
интервал | getMinConsumer () Any consumer below this version is not allowed to consume this data. |
интервал | получитьПродюсер () The version of the code that produced this data. |
последнее логическое значение | |
VersionDef.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
VersionDef.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательная версия VersionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
VersionDef.Builder | setBadConsumers (индекс int, значение int) Specific consumer versions which are disallowed (e.g. |
VersionDef.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
VersionDef.Builder | setMinConsumer (целое значение) Any consumer below this version is not allowed to consume this data. |
VersionDef.Builder | setProducer (целое значение) The version of the code that produced this data. |
VersionDef.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательная версия VersionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public VersionDef.Builder addAllBadConsumers (Iterable<? расширяет значения Integer>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (целое значение)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный VersionDef.Builder ClearBadConsumers ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
общедоступный VersionDef.Builder ClearMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
общедоступный VersionDef.Builder ClearProducer ()
The version of the code that produced this data.
int32 producer = 1;
public int getBadConsumers (индекс 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;
общедоступный список<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный 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;
публичное финальное логическое значение isInitialized ()
общедоступный VersionDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
публичный окончательный вариант VersionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public VersionDef.Builder setBadConsumers (индекс int, значение int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный VersionDef.Builder setMinConsumer (целое значение)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder setProducer (целое значение)
The version of the code that produced this data.
int32 producer = 1;