Package org.platanios.tensorflow.proto
Interface CreateWorkerSessionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateWorkerSessionRequest
,CreateWorkerSessionRequest.Builder
public interface CreateWorkerSessionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceAttributes
getClusterDeviceAttributes(int index)
The device attributes of all the devices in the cluster.int
getClusterDeviceAttributesCount()
The device attributes of all the devices in the cluster.java.util.List<DeviceAttributes>
getClusterDeviceAttributesList()
The device attributes of all the devices in the cluster.DeviceAttributesOrBuilder
getClusterDeviceAttributesOrBuilder(int index)
The device attributes of all the devices in the cluster.java.util.List<? extends DeviceAttributesOrBuilder>
getClusterDeviceAttributesOrBuilderList()
The device attributes of all the devices in the cluster.boolean
getIsolateSessionState()
If true, any resources such as Variables used in the session will not be shared with other sessions.ServerDef
getServerDef()
Defines the configuration of a TensorFlow worker.ServerDefOrBuilder
getServerDefOrBuilder()
Defines the configuration of a TensorFlow worker.java.lang.String
getSessionHandle()
Sessions are identified by a given handle.com.google.protobuf.ByteString
getSessionHandleBytes()
Sessions are identified by a given handle.boolean
hasServerDef()
Defines the configuration of a TensorFlow worker.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
java.lang.String getSessionHandle()
Sessions are identified by a given handle.
string session_handle = 1;
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
com.google.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.
.org.platanios.tensorflow.proto.ServerDef server_def = 2;
- Returns:
- Whether the serverDef field is set.
-
getServerDef
ServerDef getServerDef()
Defines the configuration of a TensorFlow worker.
.org.platanios.tensorflow.proto.ServerDef server_def = 2;
- Returns:
- The serverDef.
-
getServerDefOrBuilder
ServerDefOrBuilder getServerDefOrBuilder()
Defines the configuration of a TensorFlow worker.
.org.platanios.tensorflow.proto.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.
-
getClusterDeviceAttributesList
java.util.List<DeviceAttributes> getClusterDeviceAttributesList()
The device attributes of all the devices in the cluster.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 4;
-
getClusterDeviceAttributes
DeviceAttributes getClusterDeviceAttributes(int index)
The device attributes of all the devices in the cluster.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 4;
-
getClusterDeviceAttributesCount
int getClusterDeviceAttributesCount()
The device attributes of all the devices in the cluster.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 4;
-
getClusterDeviceAttributesOrBuilderList
java.util.List<? extends DeviceAttributesOrBuilder> getClusterDeviceAttributesOrBuilderList()
The device attributes of all the devices in the cluster.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 4;
-
getClusterDeviceAttributesOrBuilder
DeviceAttributesOrBuilder getClusterDeviceAttributesOrBuilder(int index)
The device attributes of all the devices in the cluster.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 4;
-
-