ResourceHandleProto.Builder

public static final class ResourceHandleProto.Builder

 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

Public Methods

ResourceHandleProto.Builder
addAllDtypesAndShapes (Iterable<? extends ResourceHandleProto.DtypeAndShape > values)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape.Builder builderForValue)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape value)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
addDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape value)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
addDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape.Builder builderForValue)
 Data types and shapes for the underlying resource.
ResourceHandleProto.DtypeAndShape.Builder
addDtypesAndShapesBuilder (int index)
 Data types and shapes for the underlying resource.
ResourceHandleProto.DtypeAndShape.Builder
addDtypesAndShapesBuilder ()
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResourceHandleProto
ResourceHandleProto
ResourceHandleProto.Builder
ResourceHandleProto.Builder
clearContainer ()
 Container in which this resource is placed.
ResourceHandleProto.Builder
clearDevice ()
 Unique name for the device containing the resource.
ResourceHandleProto.Builder
clearDtypesAndShapes ()
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
clearField (com.google.protobuf.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.google.protobuf.Descriptors.OneofDescriptor oneof)
ResourceHandleProto.Builder
String
getContainer ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
ResourceHandleProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.
ResourceHandleProto.DtypeAndShape.Builder
getDtypesAndShapesBuilder (int index)
 Data types and shapes for the underlying resource.
List< ResourceHandleProto.DtypeAndShape.Builder >
getDtypesAndShapesBuilderList ()
 Data types and shapes for the underlying resource.
int
getDtypesAndShapesCount ()
 Data types and shapes for the underlying resource.
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.
List<? extends ResourceHandleProto.DtypeAndShapeOrBuilder >
getDtypesAndShapesOrBuilderList ()
 Data types and shapes for the underlying 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.google.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.
com.google.protobuf.ByteString
getNameBytes ()
 Unique name of this resource.
final boolean
ResourceHandleProto.Builder
mergeFrom (com.google.protobuf.Message other)
ResourceHandleProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final ResourceHandleProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
ResourceHandleProto.Builder
removeDtypesAndShapes (int index)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
setContainer (String value)
 Container in which this resource is placed.
ResourceHandleProto.Builder
setContainerBytes (com.google.protobuf.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.google.protobuf.ByteString value)
 Unique name for the device containing the resource.
ResourceHandleProto.Builder
setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape.Builder builderForValue)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
setDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape value)
 Data types and shapes for the underlying resource.
ResourceHandleProto.Builder
setField (com.google.protobuf.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.google.protobuf.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.google.protobuf.ByteString value)
 Unique name of this resource.
ResourceHandleProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final ResourceHandleProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public ResourceHandleProto.Builder addAllDtypesAndShapes (Iterable<? extends ResourceHandleProto.DtypeAndShape > values)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public ResourceHandleProto.Builder addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape.Builder builderForValue)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public ResourceHandleProto.Builder addDtypesAndShapes ( ResourceHandleProto.DtypeAndShape value)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public ResourceHandleProto.Builder addDtypesAndShapes (int index, ResourceHandleProto.DtypeAndShape value)

 Data types and shapes for the underlying resource.