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

パブリックメソッド

バージョン定義ビルダー
addAllBadConsumers (Iterable<? extends Integer> 値)
 Specific consumer versions which are disallowed (e.g.
バージョン定義ビルダー
addBadConsumers (int 値)
 Specific consumer versions which are disallowed (e.g.
バージョン定義ビルダー
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
バージョン定義
建てる()
バージョン定義
バージョン定義ビルダー
クリア()
バージョン定義ビルダー
クリア悪い消費者()
 Specific consumer versions which are disallowed (e.g.
バージョン定義ビルダー
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
バージョン定義ビルダー
ClearMinConsumer ()
 Any consumer below this version is not allowed to consume this data.
バージョン定義ビルダー
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
バージョン定義ビルダー
クリアプロデューサー()
 The version of the code that produced this data.
バージョン定義ビルダー
整数
getBadConsumers (int インデックス)
 Specific consumer versions which are disallowed (e.g.
整数
getBadConsumersCount ()
 Specific consumer versions which are disallowed (e.g.
リスト<整数>
getBadConsumersList ()
 Specific consumer versions which are disallowed (e.g.
バージョン定義
最終的な静的 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
整数
getMinConsumer ()
 Any consumer below this version is not allowed to consume this data.
整数
getプロデューサー()
 The version of the code that produced this data.
最終ブール値
バージョン定義ビルダー
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
バージョン定義ビルダー
mergeFrom (com.google.protobuf.Message other)
最終バージョンDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
バージョン定義ビルダー
setBadConsumers (int インデックス、int 値)
 Specific consumer versions which are disallowed (e.g.
バージョン定義ビルダー
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
バージョン定義ビルダー
setMinConsumer (int 値)
 Any consumer below this version is not allowed to consume this data.
バージョン定義ビルダー
setProducer (int 値)
 The version of the code that produced this data.
バージョン定義ビルダー
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
最終バージョンDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

継承されたメソッド

パブリックメソッド

public VersionDef.Builder addAllBadConsumers (Iterable<? extends 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;

パブリックVersionDef.Builderクローン()

public int getBadConsumers (int インデックス)

 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 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;

パブリック最終ブール値isInitialized ()

public VersionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public VersionDef.Builder mergeFrom (com.google.protobuf.Message other)

public Final VersionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public VersionDef.Builder setBadConsumers (int インデックス、int 値)

 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 フィールド、int インデックス、オブジェクト値)

public Final VersionDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)