Class EagerServiceOuterClass.UpdateContextRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
      • getDefaultInstanceForType

        public EagerServiceOuterClass.UpdateContextRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public EagerServiceOuterClass.UpdateContextRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
      • mergeFrom

        public EagerServiceOuterClass.UpdateContextRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.UpdateContextRequest.Builder>
        Throws:
        java.io.IOException
      • getServerDefBuilder

        public ServerDef.Builder getServerDefBuilder()
         Identifies the full cluster, and this particular worker's position within.
         
        .org.platanios.tensorflow.proto.ServerDef server_def = 1;
      • getClusterDeviceAttributesList

        public 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;
        Specified by:
        getClusterDeviceAttributesList in interface EagerServiceOuterClass.UpdateContextRequestOrBuilder
      • getClusterDeviceAttributesCount

        public 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;
        Specified by:
        getClusterDeviceAttributesCount in interface EagerServiceOuterClass.UpdateContextRequestOrBuilder
      • getClusterDeviceAttributes

        public 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;
        Specified by:
        getClusterDeviceAttributes in interface EagerServiceOuterClass.UpdateContextRequestOrBuilder
      • setClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder setClusterDeviceAttributes​(int index,
                                                                                              DeviceAttributes value)
         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;
      • setClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder setClusterDeviceAttributes​(int index,
                                                                                              DeviceAttributes.Builder builderForValue)
         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;
      • addClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes​(DeviceAttributes value)
         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;
      • addClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes​(int index,
                                                                                              DeviceAttributes value)
         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;
      • addClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes​(DeviceAttributes.Builder builderForValue)
         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;
      • addClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder addClusterDeviceAttributes​(int index,
                                                                                              DeviceAttributes.Builder builderForValue)
         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;
      • addAllClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder addAllClusterDeviceAttributes​(java.lang.Iterable<? extends DeviceAttributes> values)
         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;
      • clearClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder clearClusterDeviceAttributes()
         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;
      • removeClusterDeviceAttributes

        public EagerServiceOuterClass.UpdateContextRequest.Builder removeClusterDeviceAttributes​(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;
      • getClusterDeviceAttributesBuilder

        public DeviceAttributes.Builder getClusterDeviceAttributesBuilder​(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;
      • addClusterDeviceAttributesBuilder

        public DeviceAttributes.Builder addClusterDeviceAttributesBuilder()
         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;
      • addClusterDeviceAttributesBuilder

        public DeviceAttributes.Builder addClusterDeviceAttributesBuilder​(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;
      • getClusterDeviceAttributesBuilderList

        public java.util.List<DeviceAttributes.Builder> getClusterDeviceAttributesBuilderList()
         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;
      • setContextId

        public EagerServiceOuterClass.UpdateContextRequest.Builder setContextId​(long value)
         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;
        Parameters:
        value - The contextId to set.
        Returns:
        This builder for chaining.
      • clearContextId

        public EagerServiceOuterClass.UpdateContextRequest.Builder clearContextId()
         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:
        This builder for chaining.
      • setContextViewId

        public EagerServiceOuterClass.UpdateContextRequest.Builder setContextViewId​(long value)
         The view ID of the context, which should be contiguously incremented when
         updating the same context.
         
        fixed64 context_view_id = 4;
        Parameters:
        value - The contextViewId to set.
        Returns:
        This builder for chaining.
      • clearContextViewId

        public EagerServiceOuterClass.UpdateContextRequest.Builder clearContextViewId()
         The view ID of the context, which should be contiguously incremented when
         updating the same context.
         
        fixed64 context_view_id = 4;
        Returns:
        This builder for chaining.