kelas akhir publik VersionDef
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
Kelas Bersarang
kelas | 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. |
Konstanta
ke dalam | BAD_CONSUMERS_FIELD_NUMBER | |
ke dalam | MIN_CONSUMER_FIELD_NUMBER | |
ke dalam | PRODUCER_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
ke dalam | getBadConsumers (indeks int) Specific consumer versions which are disallowed (e.g. |
ke dalam | dapatkanBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
Daftar<Bilangan Bulat> | dapatkanDaftar Konsumen Buruk () Specific consumer versions which are disallowed (e.g. |
Versi statisDef | |
VersiDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
ke dalam | dapatkanMinConsumer () Any consumer below this version is not allowed to consume this data. |
ke dalam | dapatkanProduser () The version of the code that produced this data. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
VersionDef.Builder statis | newBuilder (prototipe VersionDef ) |
VersionDef.Builder statis | |
VersionDef.Builder | |
Versi statisDef | parseDelimitedFrom (masukan Aliran Masukan) |
Versi statisDef | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versi statisDef | parseFrom (data ByteBuffer) |
Versi statisDef | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versi statisDef | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versi statisDef | parseFrom (com.google.protobuf.CodedInputStream masukan) |
Versi statisDef | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versi statisDef | parseFrom (com.google.protobuf.ByteString data) |
Versi statisDef | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Versi statisDef | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
VersionDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik BAD_CONSUMERS_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik MIN_CONSUMER_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik PRODUCER_FIELD_NUMBER
Nilai Konstan: 1
Metode Publik
boolean publik sama (Obj objek)
publik int getBadConsumers (indeks int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
int publik getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
Daftar publik<Bilangan Bulat> 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 ()
int publik getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
publik dapatkanParserForType ()
publik int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
public static VersionDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public static VersionDef parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public static VersionDef parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFromVersionDef statis publik (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
parseFromDef VersionDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom VersionDef statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
public static VersionDef parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
public static VersionDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|