public final class ResourceHandleProto extends com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
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.
|
com.github.os72.protobuf351.ByteString |
getContainerBytes()
Container in which this resource is placed.
|
static ResourceHandleProto |
getDefaultInstance() |
ResourceHandleProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
Unique name for the device containing the resource.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.ByteString |
getMaybeTypeNameBytes()
For debug-only, the name of the type pointed to by this handle, if
available.
|
String |
getName()
Unique name of this resource.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Unique name of this resource.
|
com.github.os72.protobuf351.Parser<ResourceHandleProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourceHandleProto.Builder |
newBuilder() |
static ResourceHandleProto.Builder |
newBuilder(ResourceHandleProto prototype) |
ResourceHandleProto.Builder |
newBuilderForType() |
protected ResourceHandleProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static ResourceHandleProto |
parseDelimitedFrom(InputStream input) |
static ResourceHandleProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(byte[] data) |
static ResourceHandleProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(ByteBuffer data) |
static ResourceHandleProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static ResourceHandleProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static ResourceHandleProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ResourceHandleProto |
parseFrom(InputStream input) |
static ResourceHandleProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<ResourceHandleProto> |
parser() |
ResourceHandleProto.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getDevice()
Unique name for the device containing the resource.
string device = 1;
getDevice
in interface ResourceHandleProtoOrBuilder
public com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static ResourceHandleProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static ResourceHandleProto parseFrom(InputStream input) throws IOException
IOException
public static ResourceHandleProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ResourceHandleProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ResourceHandleProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ResourceHandleProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static ResourceHandleProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ResourceHandleProto.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static ResourceHandleProto.Builder newBuilder()
public static ResourceHandleProto.Builder newBuilder(ResourceHandleProto prototype)
public ResourceHandleProto.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected ResourceHandleProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static ResourceHandleProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<ResourceHandleProto> parser()
public com.github.os72.protobuf351.Parser<ResourceHandleProto> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public ResourceHandleProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.