Package org.tensorflow.distruntime
Interface CreateSessionResponseOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSessionResponse
,CreateSessionResponse.Builder
public interface CreateSessionResponseOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getGraphVersion()
The initial version number for the graph, to be used in the next call to ExtendSession.String
getSessionHandle()
The session handle to be used in subsequent calls for the created session.org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes()
The session handle to be used in subsequent calls for the created session.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
String getSessionHandle()
The session handle to be used in subsequent calls for the created session. The client must arrange to call CloseSession with this returned session handle to close the session.
string session_handle = 1;
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
The session handle to be used in subsequent calls for the created session. The client must arrange to call CloseSession with this returned session handle to close the session.
string session_handle = 1;
- Returns:
- The bytes for sessionHandle.
-
getGraphVersion
long getGraphVersion()
The initial version number for the graph, to be used in the next call to ExtendSession.
int64 graph_version = 2;
- Returns:
- The graphVersion.
-
-