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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.Builder<ResourceHandleProto.Builder>
public ResourceHandleProto.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>
public ResourceHandleProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public ResourceHandleProto build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public ResourceHandleProto buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public ResourceHandleProto.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ResourceHandleProto.Builder>
IOException
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 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 ResourceHandleProtoOrBuilder
public com.github.os72.protobuf351.ByteString getContainerBytes()
Container in which this resource is placed.
string container = 2;
getContainerBytes
in interface ResourceHandleProtoOrBuilder
public 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 ResourceHandleProtoOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
Unique name of this resource.
string name = 3;
getNameBytes
in interface ResourceHandleProtoOrBuilder
public 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 ResourceHandleProtoOrBuilder
public 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 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 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResourceHandleProto.Builder>
Copyright © 2018. All rights reserved.