VersionDef

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
 
Protobuf type tensorflow.VersionDef

Nested Classes

class 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. 

Constants

int BAD_CONSUMERS_FIELD_NUMBER
int MIN_CONSUMER_FIELD_NUMBER
int PRODUCER_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
int
getBadConsumers(int index)
 Specific consumer versions which are disallowed (e.g.
int
getBadConsumersCount()
 Specific consumer versions which are disallowed (e.g.
List<Integer>
getBadConsumersList()
 Specific consumer versions which are disallowed (e.g.
static 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
final boolean
static VersionDef.Builder
newBuilder(VersionDef prototype)
static VersionDef.Builder
VersionDef.Builder
static VersionDef
parseDelimitedFrom(InputStream input)
static VersionDef
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VersionDef
parseFrom(ByteBuffer data)
static VersionDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VersionDef
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VersionDef
parseFrom(com.google.protobuf.CodedInputStream input)
static VersionDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VersionDef
parseFrom(com.google.protobuf.ByteString data)
static VersionDef
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VersionDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
VersionDef.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BAD_CONSUMERS_FIELD_NUMBER

Constant Value: 3

public static final int MIN_CONSUMER_FIELD_NUMBER

Constant Value: 2

public static final int PRODUCER_FIELD_NUMBER

Constant Value: 1

Public Methods

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 VersionDef getDefaultInstance ()

public VersionDef getDefaultInstanceForType ()

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;

public 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.Builder newBuilder (VersionDef prototype)

public static VersionDef.Builder newBuilder ()

public VersionDef.Builder newBuilderForType ()

public static VersionDef parseDelimitedFrom (InputStream input)

Throws
IOException

public static VersionDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static VersionDef parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static VersionDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static VersionDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static VersionDef parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static VersionDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static VersionDef parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static VersionDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static VersionDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public VersionDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException