VersionDef.Builder

מחלקה סופית סטטית ציבורית 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
 
סוג Protobuf tensorflow.VersionDef

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

VersionDef.Builder
addAllBadConsumers (Iterable<? מרחיב את ערכי Integer>)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
addBadConsumers (int value)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
VersionDef
VersionDef
VersionDef.Builder
VersionDef.Builder
clearBadConsumers ()
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)
VersionDef.Builder
clearMinConsumer ()
 Any consumer below this version is not allowed to consume this data.
VersionDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
VersionDef.Builder
clearProducer ()
 The version of the code that produced this data.
VersionDef.Builder
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
final static com.google.protobuf.Descriptors.Descriptor
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.
בוליאנית סופית
VersionDef.Builder
mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionDef.Builder
mergeFrom (com.google.protobuf.Message אחר)
final VersionDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
VersionDef.Builder
setBadConsumers (int index, int value)
 Specific consumer versions which are disallowed (e.g.
VersionDef.Builder
setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
VersionDef.Builder
setMinConsumer (ערך int)
 Any consumer below this version is not allowed to consume this data.
VersionDef.Builder
setProducer (ערך int)
 The version of the code that produced this data.
VersionDef.Builder
setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
final VersionDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

שיטות בירושה

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

public VersionDef.Builder addAllBadConsumers (Iterable<? מרחיב ערכי Integer>)

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

public VersionDef.Builder addBadConsumers (ערך int)

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

public VersionDef.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

בנייה ציבורית של VersionDef ()

public VersionDef buildPartial ()

public VersionDef.Builder clear ()

public VersionDef.Builder clearBadConsumers ()

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

public VersionDef.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

public VersionDef.Builder clearMinConsumer ()

 Any consumer below this version is not allowed to consume this data.
 
int32 min_consumer = 2;

public VersionDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public VersionDef.Builder clearProducer ()

 The version of the code that produced this data.
 
int32 producer = 1;

שיבוט Public VersionDef.Builder ()

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;

public VersionDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public int getMinConsumer ()

 Any consumer below this version is not allowed to consume this data.
 
int32 min_consumer = 2;

public int getProducer ()

 The version of the code that produced this data.
 
int32 producer = 1;

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

public VersionDef.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public VersionDef.Builder mergeFrom (com.google.protobuf.Message אחר)

public final VersionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public VersionDef.Builder setBadConsumers (int index, int value)

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

public VersionDef.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public VersionDef.Builder setMinConsumer (ערך int)

 Any consumer below this version is not allowed to consume this data.
 
int32 min_consumer = 2;

public VersionDef.Builder setProducer (ערך int)

 The version of the code that produced this data.
 
int32 producer = 1;

public VersionDef.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)

Public final VersionDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)