public final class 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
tipo tensorflow.VersionDef
Classes aninhadas
aula | 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. |
Constantes
int | BAD_CONSUMERS_FIELD_NUMBER | |
int | MIN_CONSUMER_FIELD_NUMBER | |
int | PRODUCER_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
int | |
int | getBadConsumersCount () Specific consumer versions which are disallowed (e.g. |
List <Integer> | getBadConsumersList () Specific consumer versions which are disallowed (e.g. |
estático VersionDef | |
VersionDef | |
final static 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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
static VersionDef.Builder | newBuilder ( VersionDef protótipo) |
static VersionDef.Builder | newBuilder () |
VersionDef.Builder | |
estático VersionDef | parseDelimitedFrom (input InputStream) |
estático VersionDef | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático VersionDef | parseFrom (dados ByteBuffer) |
estático VersionDef | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático VersionDef | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático VersionDef | parseFrom (com.google.protobuf.CodedInputStream input) |
estático VersionDef | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático VersionDef | parseFrom (com.google.protobuf.ByteString data) |
estático VersionDef | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático VersionDef | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
VersionDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int BAD_CONSUMERS_FIELD_NUMBER
Valor Constante: 3
public static final int MIN_CONSUMER_FIELD_NUMBER
Valor constante: 2
public static final int PRODUCER_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
public int getBadConsumers (int index)
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 int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
público getParserForType ()
public int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static VersionDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VersionDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VersionDef parseFrom (ByteBuffer dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static VersionDef parseFrom (dados byte [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static VersionDef parseFrom (com.google.protobuf.ByteString de dados)
Lança
InvalidProtocolBufferException |
---|
public static VersionDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VersionDef parseFrom (com.google.protobuf.ByteString dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|