VersionDef

כיתת גמר ציבורית 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 מסוג Protobuf.VersionDef

כיתות מקוננות

מעמד 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. 

קבועים

int BAD_CONSUMERS_FIELD_NUMBER
int MIN_CONSUMER_FIELD_NUMBER
int PRODUCER_FIELD_NUMBER

שיטות ציבוריות

בוליאני
שווה (Object obj)
int
getBadConsumers (int index)
 Specific consumer versions which are disallowed (e.g.
int
getBadConsumersCount ()
 Specific consumer versions which are disallowed (e.g.
רשימה <מספר שלם>
getBadConsumersList ()
 Specific consumer versions which are disallowed (e.g.
סטטי 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
בוליאנית סופית
סטטי VersionDef.Builder
newBuilder (אב-טיפוס VersionDef )
סטטי VersionDef.Builder
VersionDef.Builder
סטטי VersionDef
parseDelimitedFrom (קלט InputStream)
סטטי VersionDef
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי VersionDef
parseFrom (נתוני ByteBuffer)
סטטי VersionDef
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי VersionDef
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי VersionDef
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי VersionDef
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי VersionDef
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי VersionDef
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי VersionDef
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
VersionDef.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

גמר סטטי ציבורי BAD_CONSUMERS_FIELD_NUMBER

ערך קבוע: 3

גמר סטטי ציבורי MIN_CONSUMER_FIELD_NUMBER

ערך קבוע: 2

גמר סטטי ציבורי PRODUCER_FIELD_NUMBER

ערך קבוע: 1

שיטות ציבוריות

שווה ערך בוליאני ציבורי (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;

רשימה ציבורית<Integer> getBadConsumersList ()

 Specific consumer versions which are disallowed (e.g. due to bugs).
 
repeated int32 bad_consumers = 3;

סטטי ציבורי 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;

פּוּמְבֵּי 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 ()

בוליאני הסופי הציבורי הוא אתחול ()

סטטי ציבורי VersionDef.Builder newBuilder (אב-טיפוס VersionDef )

public static VersionDef.Builder newBuilder ()

public VersionDef.Builder newBuilderForType ()

public static VersionDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static VersionDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static VersionDef parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

public static VersionDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static VersionDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static VersionDef parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

public static VersionDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static VersionDef parseFrom (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

public static VersionDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static VersionDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public VersionDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException