Package org.tensorflow.distruntime
Interface CreateWorkerSessionRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateWorkerSessionRequest,CreateWorkerSessionRequest.Builder
public interface CreateWorkerSessionRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetIsolateSessionState()If true, any resources such as Variables used in the session will not be shared with other sessions.ServerDefgetServerDef()Defines the configuration of a TensorFlow worker.ServerDefOrBuildergetServerDefOrBuilder()Defines the configuration of a TensorFlow worker.StringgetSessionHandle()Sessions are identified by a given handle.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()Sessions are identified by a given handle.booleanhasServerDef()Defines the configuration of a TensorFlow worker.-
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()
Sessions are identified by a given handle.
string session_handle = 1;- Returns:
- The sessionHandle.
-
getSessionHandleBytes
org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
Sessions are identified by a given handle.
string session_handle = 1;- Returns:
- The bytes for sessionHandle.
-
hasServerDef
boolean hasServerDef()
Defines the configuration of a TensorFlow worker.
.tensorflow.ServerDef server_def = 2;- Returns:
- Whether the serverDef field is set.
-
getServerDef
ServerDef getServerDef()
Defines the configuration of a TensorFlow worker.
.tensorflow.ServerDef server_def = 2;- Returns:
- The serverDef.
-
getServerDefOrBuilder
ServerDefOrBuilder getServerDefOrBuilder()
Defines the configuration of a TensorFlow worker.
.tensorflow.ServerDef server_def = 2;
-
getIsolateSessionState
boolean getIsolateSessionState()
If true, any resources such as Variables used in the session will not be shared with other sessions.
bool isolate_session_state = 3;- Returns:
- The isolateSessionState.
-
-