public static final class ResourceHandleProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder> 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 | Method and Description |
|---|---|
ResourceHandleProto.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ResourceHandleProto |
build() |
ResourceHandleProto |
buildPartial() |
ResourceHandleProto.Builder |
clear() |
ResourceHandleProto.Builder |
clearContainer()
Container in which this resource is placed.
|
ResourceHandleProto.Builder |
clearDevice()
Unique name for the device containing the resource.
|
ResourceHandleProto.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ResourceHandleProto.Builder |
clearHashCode()
Hash code for the type of the resource.
|
ResourceHandleProto.Builder |
clearMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if
available.
|
ResourceHandleProto.Builder |
clearName()
Unique name of this resource.
|
ResourceHandleProto.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ResourceHandleProto.Builder |
clone() |
String |
getContainer()
Container in which this resource is placed.
|
com.github.os72.protobuf351.ByteString |
getContainerBytes()
Container in which this resource is placed.
|
ResourceHandleProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResourceHandleProto.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ResourceHandleProto.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ResourceHandleProto.Builder |
mergeFrom(ResourceHandleProto other) |
ResourceHandleProto.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
ResourceHandleProto.Builder |
setContainer(String value)
Container in which this resource is placed.
|
ResourceHandleProto.Builder |
setContainerBytes(com.github.os72.protobuf351.ByteString value)
Container in which this resource is placed.
|
ResourceHandleProto.Builder |
setDevice(String value)
Unique name for the device containing the resource.
|
ResourceHandleProto.Builder |
setDeviceBytes(com.github.os72.protobuf351.ByteString value)
Unique name for the device containing the resource.
|
ResourceHandleProto.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ResourceHandleProto.Builder |
setHashCode(long value)
Hash code for the type of the resource.
|
ResourceHandleProto.Builder |
setMaybeTypeName(String value)
For debug-only, the name of the type pointed to by this handle, if
available.
|
ResourceHandleProto.Builder |
setMaybeTypeNameBytes(com.github.os72.protobuf351.ByteString value)
For debug-only, the name of the type pointed to by this handle, if
available.
|
ResourceHandleProto.Builder |
setName(String value)
Unique name of this resource.
|
ResourceHandleProto.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
Unique name of this resource.
|
ResourceHandleProto.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourceHandleProto.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic ResourceHandleProto build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic ResourceHandleProto buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic ResourceHandleProto.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder mergeFrom(ResourceHandleProto other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public ResourceHandleProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ResourceHandleProto.Builder>IOExceptionpublic String getDevice()
Unique name for the device containing the resource.
string device = 1;getDevice in interface ResourceHandleProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDeviceBytes()
Unique name for the device containing the resource.
string device = 1;getDeviceBytes in interface ResourceHandleProtoOrBuilderpublic ResourceHandleProto.Builder setDevice(String value)
Unique name for the device containing the resource.
string device = 1;public ResourceHandleProto.Builder clearDevice()
Unique name for the device containing the resource.
string device = 1;public ResourceHandleProto.Builder setDeviceBytes(com.github.os72.protobuf351.ByteString value)
Unique name for the device containing the resource.
string device = 1;public String getContainer()
Container in which this resource is placed.
string container = 2;getContainer in interface ResourceHandleProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getContainerBytes()
Container in which this resource is placed.
string container = 2;getContainerBytes in interface ResourceHandleProtoOrBuilderpublic ResourceHandleProto.Builder setContainer(String value)
Container in which this resource is placed.
string container = 2;public ResourceHandleProto.Builder clearContainer()
Container in which this resource is placed.
string container = 2;public ResourceHandleProto.Builder setContainerBytes(com.github.os72.protobuf351.ByteString value)
Container in which this resource is placed.
string container = 2;public String getName()
Unique name of this resource.
string name = 3;getName in interface ResourceHandleProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
Unique name of this resource.
string name = 3;getNameBytes in interface ResourceHandleProtoOrBuilderpublic ResourceHandleProto.Builder setName(String value)
Unique name of this resource.
string name = 3;public ResourceHandleProto.Builder clearName()
Unique name of this resource.
string name = 3;public ResourceHandleProto.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
Unique name of this resource.
string name = 3;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 ResourceHandleProtoOrBuilderpublic ResourceHandleProto.Builder setHashCode(long value)
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4;public ResourceHandleProto.Builder clearHashCode()
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4;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 ResourceHandleProtoOrBuilderpublic 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 ResourceHandleProtoOrBuilderpublic ResourceHandleProto.Builder setMaybeTypeName(String value)
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;public ResourceHandleProto.Builder clearMaybeTypeName()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;public ResourceHandleProto.Builder setMaybeTypeNameBytes(com.github.os72.protobuf351.ByteString value)
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5;public final ResourceHandleProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>public final ResourceHandleProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>Copyright © 2018. All rights reserved.