public interface ResourceHandleProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContainer()
Container in which this resource is placed.
|
com.google.protobuf.ByteString |
getContainerBytes()
Container in which this resource is placed.
|
java.lang.String |
getDevice()
Unique name for the device containing the resource.
|
com.google.protobuf.ByteString |
getDeviceBytes()
Unique name for the device containing the resource.
|
ResourceHandleProto.DtypeAndShape |
getDtypesAndShapes(int index)
Data types and shapes for the underlying resource.
|
int |
getDtypesAndShapesCount()
Data types and shapes for the underlying resource.
|
java.util.List<ResourceHandleProto.DtypeAndShape> |
getDtypesAndShapesList()
Data types and shapes for the underlying resource.
|
ResourceHandleProto.DtypeAndShapeOrBuilder |
getDtypesAndShapesOrBuilder(int index)
Data types and shapes for the underlying resource.
|
java.util.List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> |
getDtypesAndShapesOrBuilderList()
Data types and shapes for the underlying resource.
|
long |
getHashCode()
Hash code for the type of the resource.
|
java.lang.String |
getMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if
available.
|
com.google.protobuf.ByteString |
getMaybeTypeNameBytes()
For debug-only, the name of the type pointed to by this handle, if
available.
|
java.lang.String |
getName()
Unique name of this resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Unique name of this resource.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getDevice()
Unique name for the device containing the resource.
string device = 1;com.google.protobuf.ByteString getDeviceBytes()
Unique name for the device containing the resource.
string device = 1;java.lang.String getContainer()
Container in which this resource is placed.
string container = 2;com.google.protobuf.ByteString getContainerBytes()
Container in which this resource is placed.
string container = 2;java.lang.String getName()
Unique name of this resource.
string name = 3;com.google.protobuf.ByteString getNameBytes()
Unique name of this resource.
string name = 3;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;java.lang.String getMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;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;java.util.List<ResourceHandleProto.DtypeAndShape> getDtypesAndShapesList()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;ResourceHandleProto.DtypeAndShape getDtypesAndShapes(int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;int getDtypesAndShapesCount()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;java.util.List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> getDtypesAndShapesOrBuilderList()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder(int index)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;