Class CreateWorkerSessionRequest.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>
      • getDefaultInstanceForType

        public CreateWorkerSessionRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public CreateWorkerSessionRequest build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public CreateWorkerSessionRequest buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public CreateWorkerSessionRequest.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                   int index,
                                                                   Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>
      • mergeFrom

        public CreateWorkerSessionRequest.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                            org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<CreateWorkerSessionRequest.Builder>
        Throws:
        IOException
      • getSessionHandleBytes

        public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
         Sessions are identified by a given handle.
         
        string session_handle = 1;
        Specified by:
        getSessionHandleBytes in interface CreateWorkerSessionRequestOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public CreateWorkerSessionRequest.Builder setSessionHandle​(String value)
         Sessions are identified by a given handle.
         
        string session_handle = 1;
        Parameters:
        value - The sessionHandle to set.
        Returns:
        This builder for chaining.
      • clearSessionHandle

        public CreateWorkerSessionRequest.Builder clearSessionHandle()
         Sessions are identified by a given handle.
         
        string session_handle = 1;
        Returns:
        This builder for chaining.
      • setSessionHandleBytes

        public CreateWorkerSessionRequest.Builder setSessionHandleBytes​(org.nd4j.shade.protobuf.ByteString value)
         Sessions are identified by a given handle.
         
        string session_handle = 1;
        Parameters:
        value - The bytes for sessionHandle to set.
        Returns:
        This builder for chaining.
      • hasServerDef

        public boolean hasServerDef()
         Defines the configuration of a TensorFlow worker.
         
        .tensorflow.ServerDef server_def = 2;
        Specified by:
        hasServerDef in interface CreateWorkerSessionRequestOrBuilder
        Returns:
        Whether the serverDef field is set.
      • getServerDefBuilder

        public ServerDef.Builder getServerDefBuilder()
         Defines the configuration of a TensorFlow worker.
         
        .tensorflow.ServerDef server_def = 2;
      • getIsolateSessionState

        public 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;
        Specified by:
        getIsolateSessionState in interface CreateWorkerSessionRequestOrBuilder
        Returns:
        The isolateSessionState.
      • setIsolateSessionState

        public CreateWorkerSessionRequest.Builder setIsolateSessionState​(boolean value)
         If true, any resources such as Variables used in the session will not be
         shared with other sessions.
         
        bool isolate_session_state = 3;
        Parameters:
        value - The isolateSessionState to set.
        Returns:
        This builder for chaining.
      • clearIsolateSessionState

        public CreateWorkerSessionRequest.Builder clearIsolateSessionState()
         If true, any resources such as Variables used in the session will not be
         shared with other sessions.
         
        bool isolate_session_state = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateWorkerSessionRequest.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>
      • mergeUnknownFields

        public final CreateWorkerSessionRequest.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CreateWorkerSessionRequest.Builder>