VersionDefOrBuilder
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Subclasses indiretas conhecidas VersãoDef |
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. | VersãoDef.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. |
|
Métodos Públicos
abstrato int | getBadConsumers (índice interno)
Specific consumer versions which are disallowed (e.g. |
abstrato int | |
lista abstrata<inteiro> | |
abstrato int | getMinConsumer ()
Any consumer below this version is not allowed to consume this data. |
abstrato int | getProdutor ()
The version of the code that produced this data. |
Métodos Públicos
resumo público int getBadConsumers (índice int)
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
resumo público int getBadConsumersCount ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
lista abstrata pública<inteiro> getBadConsumersList ()
Specific consumer versions which are disallowed (e.g. due to bugs).
repeated int32 bad_consumers = 3;
resumo público int getMinConsumer ()
Any consumer below this version is not allowed to consume this data.
int32 min_consumer = 2;
público abstrato int getProducer ()
The version of the code that produced this data.
int32 producer = 1;
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-27 UTC.
[null,null,["Última atualização 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"]]