lớp cuối cùng tĩnh công khai 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
Phương pháp công khai
Phiên bảnDef.Builder | addAllBadConsumers (Có thể lặp lại các giá trị Integer>) Specific consumer versions which are disallowed (e.g. |
Phiên bảnDef.Builder | addBadConsumers (giá trị int) Specific consumer versions which are disallowed (e.g. |
Phiên bảnDef.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Phiên bảnDef | xây dựng () |
Phiên bảnDef | |
Phiên bảnDef.Builder | thông thoáng () |
Phiên bảnDef.Builder | clearBadConsumers () Specific consumer versions which are disallowed (e.g. |
Phiên bảnDef.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
Phiên bảnDef.Builder | ClearMinConsumer () Any consumer below this version is not allowed to consume this data. |
Phiên bảnDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Phiên bảnDef.Builder | ClearProducer () The version of the code that produced this data. |
Phiên bảnDef.Builder | dòng vô tính () |
int | getBadConsumers (chỉ mục int) Specific consumer versions which are disallowed (e.g. |
int | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Danh sách<Số nguyên> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
Phiên bảnDef | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
int | getMinConsumer () Any consumer below this version is not allowed to consume this data. |
int | getProducer () The version of the code that produced this data. |
boolean cuối cùng | |
Phiên bảnDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Phiên bảnDef.Builder | mergeFrom (com.google.protobuf.Message other) |
Phiên bản cuối cùngDef.Builder | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phiên bảnDef.Builder | setBadConsumers (chỉ số int, giá trị int) Specific consumer versions which are disallowed (e.g. |
Phiên bảnDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
Phiên bảnDef.Builder | setMinConsumer (giá trị int) Any consumer below this version is not allowed to consume this data. |
Phiên bảnDef.Builder | setProducer (giá trị int) The version of the code that produced this data. |
Phiên bảnDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
Phiên bản cuối cùngDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công khai
public VersionDef.Builder addAllBadConsumers (các giá trị Iterable<?extends Integer>)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addBadConsumers (giá trị int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
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;
int công khai getBadConsumers (chỉ mục int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
int công khai getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
Danh sách công khai<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
int công khai getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
int công khai getProducer ()
The version of the code that produced this data.
int32 producer = 1;
boolean cuối cùng công khai được khởi tạo ()
public VersionDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
phiên bản cuối cùng công khaiDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public VersionDef.Builder setBadConsumers (chỉ số int, giá trị int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public VersionDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public VersionDef.Builder setMinConsumer (giá trị int)
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public VersionDef.Builder setProducer (giá trị int)
The version of the code that produced this data.
int32 producer = 1;