Package org.platanios.tensorflow.proto
Interface EagerServiceOuterClass.UpdateContextRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EagerServiceOuterClass.UpdateContextRequest
,EagerServiceOuterClass.UpdateContextRequest.Builder
- Enclosing class:
- EagerServiceOuterClass
public static interface EagerServiceOuterClass.UpdateContextRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceAttributes
getClusterDeviceAttributes(int index)
Device attributes in the cluster.int
getClusterDeviceAttributesCount()
Device attributes in the cluster.java.util.List<DeviceAttributes>
getClusterDeviceAttributesList()
Device attributes in the cluster.DeviceAttributesOrBuilder
getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster.java.util.List<? extends DeviceAttributesOrBuilder>
getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster.long
getContextId()
The ID of the context to be updated.long
getContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.ServerDef
getServerDef()
Identifies the full cluster, and this particular worker's position within.ServerDefOrBuilder
getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.boolean
hasServerDef()
Identifies the full cluster, and this particular worker's position within.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasServerDef
boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Returns:
- Whether the serverDef field is set.
-
getServerDef
ServerDef getServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Returns:
- The serverDef.
-
getServerDefOrBuilder
ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
getClusterDeviceAttributesList
java.util.List<DeviceAttributes> getClusterDeviceAttributesList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributes
DeviceAttributes getClusterDeviceAttributes(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesCount
int getClusterDeviceAttributesCount()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesOrBuilderList
java.util.List<? extends DeviceAttributesOrBuilder> getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getClusterDeviceAttributesOrBuilder
DeviceAttributesOrBuilder getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
-
getContextId
long getContextId()
The ID of the context to be updated. A context with the specified ID must already exist on the recepient server of this request.
fixed64 context_id = 3;
- Returns:
- The contextId.
-
getContextViewId
long getContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.
fixed64 context_view_id = 4;
- Returns:
- The contextViewId.
-
-