VersionDefOrBuilder
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
既知の間接サブクラスバージョン定義 |
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. | バージョン定義ビルダー |
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. |
|
パブリックメソッド
抽象整数 | getBadConsumers (int インデックス)
Specific consumer versions which are disallowed (e.g. |
抽象整数 | |
抽象リスト<整数> | |
抽象整数 | getMinConsumer ()
Any consumer below this version is not allowed to consume this data. |
抽象整数 | getプロデューサー()
The version of the code that produced this data. |
パブリックメソッド
public abstract int getBadConsumers (int インデックス)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract List<Integer> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
public abstract int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
public abstract int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# VersionDefOrBuilder\n\npublic interface **VersionDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [VersionDef](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDef), [VersionDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDef.Builder) |--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [VersionDef](/jvm/api_docs/java/org/tensorflow/proto/framework/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. ``` | | [VersionDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/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. ``` | |||\n\n### Public Methods\n\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | [getBadConsumers](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumers(int))(int index) ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract int | [getBadConsumersCount](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumersCount())() ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract List\\\u003cInteger\\\u003e | [getBadConsumersList](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getBadConsumersList())() ``` Specific consumer versions which are disallowed (e.g. ``` |\n| abstract int | [getMinConsumer](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getMinConsumer())() ``` Any consumer below this version is not allowed to consume this data. ``` |\n| abstract int | [getProducer](/jvm/api_docs/java/org/tensorflow/proto/framework/VersionDefOrBuilder#getProducer())() ``` The version of the code that produced this data. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract int\n**getBadConsumers**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getBadConsumersCount**\n()\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003cInteger\\\u003e\n**getBadConsumersList**\n()\n\n\u003cbr /\u003e\n\n```\n Specific consumer versions which are disallowed (e.g. due to bugs).\n \n```\n`repeated int32 bad_consumers = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getMinConsumer**\n()\n\n\u003cbr /\u003e\n\n```\n Any consumer below this version is not allowed to consume this data.\n \n```\n`int32 min_consumer = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getProducer**\n()\n\n\u003cbr /\u003e\n\n```\n The version of the code that produced this data.\n \n```\n`int32 producer = 1;`\n\n\u003cbr /\u003e"]]