Interface ResourceHandleProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourceHandleProto, ResourceHandleProto.Builder

public interface ResourceHandleProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDevice

      String getDevice()
       Unique name for the device containing the resource.
       
      string device = 1;
      Returns:
      The device.
    • getDeviceBytes

      com.google.protobuf.ByteString getDeviceBytes()
       Unique name for the device containing the resource.
       
      string device = 1;
      Returns:
      The bytes for device.
    • getContainer

      String getContainer()
       Container in which this resource is placed.
       
      string container = 2;
      Returns:
      The container.
    • getContainerBytes

      com.google.protobuf.ByteString getContainerBytes()
       Container in which this resource is placed.
       
      string container = 2;
      Returns:
      The bytes for container.
    • getName

      String getName()
       Unique name of this resource.
       
      string name = 3;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Unique name of this resource.
       
      string name = 3;
      Returns:
      The bytes for name.
    • getHashCode

      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;
      Returns:
      The hashCode.
    • getMaybeTypeName

      String getMaybeTypeName()
       For debug-only, the name of the type pointed to by this handle, if
       available.
       
      string maybe_type_name = 5;
      Returns:
      The maybeTypeName.
    • getMaybeTypeNameBytes

      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;
      Returns:
      The bytes for maybeTypeName.
    • getDtypesAndShapesList

      List<ResourceHandleProto.DtypeAndShape> getDtypesAndShapesList()
       Data types and shapes for the underlying resource.
       
      repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
    • getDtypesAndShapes

      ResourceHandleProto.DtypeAndShape getDtypesAndShapes(int index)
       Data types and shapes for the underlying resource.
       
      repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
    • getDtypesAndShapesCount

      int getDtypesAndShapesCount()
       Data types and shapes for the underlying resource.
       
      repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
    • getDtypesAndShapesOrBuilderList

      List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder> getDtypesAndShapesOrBuilderList()
       Data types and shapes for the underlying resource.
       
      repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;
    • getDtypesAndShapesOrBuilder

      ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder(int index)
       Data types and shapes for the underlying resource.
       
      repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;