public final class ResourceHandleProto extends org.nd4j.shade.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
Modifier and Type | Class and Description |
---|---|
static class |
ResourceHandleProto.Builder
Protocol buffer representing a handle to a tensorflow resource.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CONTAINER_FIELD_NUMBER |
static int |
DEVICE_FIELD_NUMBER |
static int |
HASH_CODE_FIELD_NUMBER |
static int |
MAYBE_TYPE_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContainer()
Container in which this resource is placed.
|
org.nd4j.shade.protobuf.ByteString |
getContainerBytes()
Container in which this resource is placed.
|
static ResourceHandleProto |
getDefaultInstance() |
ResourceHandleProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
Unique name for the device containing the resource.
|
org.nd4j.shade.protobuf.ByteString |
getDeviceBytes()
Unique name for the device containing the resource.
|
long |
getHashCode()
Hash code for the type of the resource.
|
String |
getMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if
available.
|
org.nd4j.shade.protobuf.ByteString |
getMaybeTypeNameBytes()
For debug-only, the name of the type pointed to by this handle, if
available.
|
String |
getName()
Unique name of this resource.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Unique name of this resource.
|
org.nd4j.shade.protobuf.Parser<ResourceHandleProto> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourceHandleProto.Builder |
newBuilder() |
static ResourceHandleProto.Builder |
newBuilder(ResourceHandleProto prototype) |
ResourceHandleProto.Builder |
newBuilderForType() |
protected ResourceHandleProto.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourceHandleProto |
parseDelimitedFrom(InputStream input) |
static ResourceHandleProto |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(byte[] data) |
static ResourceHandleProto |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(ByteBuffer data) |
static ResourceHandleProto |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static ResourceHandleProto |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static ResourceHandleProto |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(InputStream input) |
static ResourceHandleProto |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<ResourceHandleProto> |
parser() |
ResourceHandleProto.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DEVICE_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int HASH_CODE_FIELD_NUMBER
public static final int MAYBE_TYPE_NAME_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public String getDevice()
Unique name for the device containing the resource.
string device = 1;
getDevice
in interface ResourceHandleProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDeviceBytes()
Unique name for the device containing the resource.
string device = 1;
getDeviceBytes
in interface ResourceHandleProtoOrBuilder
public String getContainer()
Container in which this resource is placed.
string container = 2;
getContainer
in interface ResourceHandleProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getContainerBytes()
Container in which this resource is placed.
string container = 2;
getContainerBytes
in interface ResourceHandleProtoOrBuilder
public String getName()
Unique name of this resource.
string name = 3;
getName
in interface ResourceHandleProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
Unique name of this resource.
string name = 3;
getNameBytes
in interface ResourceHandleProtoOrBuilder
public 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;
getHashCode
in interface ResourceHandleProtoOrBuilder
public String getMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
getMaybeTypeName
in interface ResourceHandleProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getMaybeTypeNameBytes()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;
getMaybeTypeNameBytes
in interface ResourceHandleProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static ResourceHandleProto parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(InputStream input) throws IOException
IOException
public static ResourceHandleProto parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ResourceHandleProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ResourceHandleProto parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ResourceHandleProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static ResourceHandleProto parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ResourceHandleProto.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static ResourceHandleProto.Builder newBuilder()
public static ResourceHandleProto.Builder newBuilder(ResourceHandleProto prototype)
public ResourceHandleProto.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected ResourceHandleProto.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static ResourceHandleProto getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<ResourceHandleProto> parser()
public org.nd4j.shade.protobuf.Parser<ResourceHandleProto> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public ResourceHandleProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.