ResourceHandleProtoOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
public
abstract
String
getContainer
()
Container in which this resource is placed.
string container = 2;
public
abstract
com.google.protobuf.ByteString
getContainerBytes
()
Container in which this resource is placed.
string container = 2;
public
abstract
String
getDevice
()
Unique name for the device containing the resource.
string device = 1;
public
abstract
com.google.protobuf.ByteString
getDeviceBytes
()
Unique name for the device containing the resource.
string device = 1;
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public
abstract
int
getDtypesAndShapesCount
()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
public
abstract
long
getHashCode
()
Hash code for the type of the resource. Is only valid in the same device
and in the same execution.
uint64 hash_code = 4;
public
abstract
String
getMaybeTypeName
()
For debug-only, the name of the type pointed to by this handle, if
available.
string maybe_type_name = 5;
public
abstract
com.google.protobuf.ByteString
getMaybeTypeNameBytes
()
For debug-only, the name of the type pointed to by this handle, if
available.
string maybe_type_name = 5;
public
abstract
String
getName
()
Unique name of this resource.
string name = 3;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Unique name of this resource.
string name = 3;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# ResourceHandleProtoOrBuilder\n\npublic interface **ResourceHandleProtoOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [ResourceHandleProto](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto), [ResourceHandleProto.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.Builder) |--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| | [ResourceHandleProto](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto) | ``` Protocol buffer representing a handle to a tensorflow resource. ``` | | [ResourceHandleProto.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.Builder) | ``` Protocol buffer representing a handle to a tensorflow resource. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getContainer](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getContainer())() ``` Container in which this resource is placed. ``` |\n| abstract com.google.protobuf.ByteString | [getContainerBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getContainerBytes())() ``` Container in which this resource is placed. ``` |\n| abstract String | [getDevice](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDevice())() ``` Unique name for the device containing the resource. ``` |\n| abstract com.google.protobuf.ByteString | [getDeviceBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDeviceBytes())() ``` Unique name for the device containing the resource. ``` |\n| abstract [ResourceHandleProto.DtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShape) | [getDtypesAndShapes](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDtypesAndShapes(int))(int index) ``` Data types and shapes for the underlying resource. ``` |\n| abstract int | [getDtypesAndShapesCount](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDtypesAndShapesCount())() ``` Data types and shapes for the underlying resource. ``` |\n| abstract List\\\u003c[ResourceHandleProto.DtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShape)\\\u003e | [getDtypesAndShapesList](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDtypesAndShapesList())() ``` Data types and shapes for the underlying resource. ``` |\n| abstract [ResourceHandleProto.DtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShapeOrBuilder) | [getDtypesAndShapesOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDtypesAndShapesOrBuilder(int))(int index) ``` Data types and shapes for the underlying resource. ``` |\n| abstract List\\\u003c? extends [ResourceHandleProto.DtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShapeOrBuilder)\\\u003e | [getDtypesAndShapesOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getDtypesAndShapesOrBuilderList())() ``` Data types and shapes for the underlying resource. ``` |\n| abstract long | [getHashCode](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getHashCode())() ``` Hash code for the type of the resource. ``` |\n| abstract String | [getMaybeTypeName](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getMaybeTypeName())() ``` For debug-only, the name of the type pointed to by this handle, if available. ``` |\n| abstract com.google.protobuf.ByteString | [getMaybeTypeNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getMaybeTypeNameBytes())() ``` For debug-only, the name of the type pointed to by this handle, if available. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getName())() ``` Unique name of this resource. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProtoOrBuilder#getNameBytes())() ``` Unique name of this resource. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getContainer**\n()\n\n\u003cbr /\u003e\n\n```\n Container in which this resource is placed.\n \n```\n`string container = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getContainerBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Container in which this resource is placed.\n \n```\n`string container = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getDevice**\n()\n\n\u003cbr /\u003e\n\n```\n Unique name for the device containing the resource.\n \n```\n`string device = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDeviceBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Unique name for the device containing the resource.\n \n```\n`string device = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract [ResourceHandleProto.DtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShape)\n**getDtypesAndShapes**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Data types and shapes for the underlying resource.\n \n```\n`repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getDtypesAndShapesCount**\n()\n\n\u003cbr /\u003e\n\n```\n Data types and shapes for the underlying resource.\n \n```\n`repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[ResourceHandleProto.DtypeAndShape](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShape)\\\u003e\n**getDtypesAndShapesList**\n()\n\n\u003cbr /\u003e\n\n```\n Data types and shapes for the underlying resource.\n \n```\n`repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract [ResourceHandleProto.DtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShapeOrBuilder)\n**getDtypesAndShapesOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Data types and shapes for the underlying resource.\n \n```\n`repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [ResourceHandleProto.DtypeAndShapeOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/ResourceHandleProto.DtypeAndShapeOrBuilder)\\\u003e\n**getDtypesAndShapesOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n Data types and shapes for the underlying resource.\n \n```\n`repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getHashCode**\n()\n\n\u003cbr /\u003e\n\n```\n Hash code for the type of the resource. Is only valid in the same device\n and in the same execution.\n \n```\n`uint64 hash_code = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getMaybeTypeName**\n()\n\n\u003cbr /\u003e\n\n```\n For debug-only, the name of the type pointed to by this handle, if\n available.\n \n```\n`string maybe_type_name = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getMaybeTypeNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n For debug-only, the name of the type pointed to by this handle, if\n available.\n \n```\n`string maybe_type_name = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Unique name of this resource.\n \n```\n`string name = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Unique name of this resource.\n \n```\n`string name = 3;`\n\n\u003cbr /\u003e"]]