Class ResourceHandleProto

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.ResourceHandleProto
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, ResourceHandleProtoOrBuilder

public final class ResourceHandleProto
extends com.google.protobuf.GeneratedMessageV3
implements ResourceHandleProtoOrBuilder
 Protocol buffer representing a handle to a tensorflow resource. Handles are
 not valid across executions, but can be serialized back and forth from within
 a single run.
 
Protobuf type tensorflow.ResourceHandleProto
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ResourceHandleProto.Builder
    Protocol buffer representing a handle to a tensorflow resource.
    static class  ResourceHandleProto.DtypeAndShape
    Protocol buffer representing a pair of (data type, tensor shape).
    static interface  ResourceHandleProto.DtypeAndShapeOrBuilder  

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int CONTAINER_FIELD_NUMBER  
    static int DEVICE_FIELD_NUMBER  
    static int DTYPES_AND_SHAPES_FIELD_NUMBER  
    static int HASH_CODE_FIELD_NUMBER  
    static int MAYBE_TYPE_NAME_FIELD_NUMBER  
    static int NAME_FIELD_NUMBER  

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.lang.String getContainer()
    Container in which this resource is placed.
    com.google.protobuf.ByteString getContainerBytes()
    Container in which this resource is placed.
    static ResourceHandleProto getDefaultInstance()  
    ResourceHandleProto getDefaultInstanceForType()  
    static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
    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.
    com.google.protobuf.Parser<ResourceHandleProto> getParserForType()  
    int getSerializedSize()  
    com.google.protobuf.UnknownFieldSet getUnknownFields()  
    int hashCode()  
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
    boolean isInitialized()  
    static ResourceHandleProto.Builder newBuilder()  
    static ResourceHandleProto.Builder newBuilder​(ResourceHandleProto prototype)  
    ResourceHandleProto.Builder newBuilderForType()  
    protected ResourceHandleProto.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
    protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
    static ResourceHandleProto parseDelimitedFrom​(java.io.InputStream input)  
    static ResourceHandleProto parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static ResourceHandleProto parseFrom​(byte[] data)  
    static ResourceHandleProto parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static ResourceHandleProto parseFrom​(com.google.protobuf.ByteString data)  
    static ResourceHandleProto parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static ResourceHandleProto parseFrom​(com.google.protobuf.CodedInputStream input)  
    static ResourceHandleProto parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static ResourceHandleProto parseFrom​(java.io.InputStream input)  
    static ResourceHandleProto parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static ResourceHandleProto parseFrom​(java.nio.ByteBuffer data)  
    static ResourceHandleProto parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static com.google.protobuf.Parser<ResourceHandleProto> parser()  
    ResourceHandleProto.Builder toBuilder()  
    void writeTo​(com.google.protobuf.CodedOutputStream output)  

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof