Class RegisterGraphRequest.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<RegisterGraphRequest.Builder>
      • clear

        public RegisterGraphRequest.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.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<RegisterGraphRequest.Builder>
      • getDefaultInstanceForType

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

        public RegisterGraphRequest 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 RegisterGraphRequest buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public RegisterGraphRequest.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • setField

        public RegisterGraphRequest.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • clearField

        public RegisterGraphRequest.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • clearOneof

        public RegisterGraphRequest.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • setRepeatedField

        public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
      • addRepeatedField

        public RegisterGraphRequest.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • mergeFrom

        public RegisterGraphRequest.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RegisterGraphRequest.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<RegisterGraphRequest.Builder>
      • mergeFrom

        public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
        Throws:
        IOException
      • getSessionHandleBytes

        public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
         Subgraphs are scoped within one session.
         
        string session_handle = 1;
        Specified by:
        getSessionHandleBytes in interface RegisterGraphRequestOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public RegisterGraphRequest.Builder setSessionHandle​(String value)
         Subgraphs are scoped within one session.
         
        string session_handle = 1;
        Parameters:
        value - The sessionHandle to set.
        Returns:
        This builder for chaining.
      • clearSessionHandle

        public RegisterGraphRequest.Builder clearSessionHandle()
         Subgraphs are scoped within one session.
         
        string session_handle = 1;
        Returns:
        This builder for chaining.
      • setSessionHandleBytes

        public RegisterGraphRequest.Builder setSessionHandleBytes​(org.nd4j.shade.protobuf.ByteString value)
         Subgraphs are scoped within one session.
         
        string session_handle = 1;
        Parameters:
        value - The bytes for sessionHandle to set.
        Returns:
        This builder for chaining.
      • getCreateWorkerSessionCalled

        public boolean getCreateWorkerSessionCalled()
         Set to true if `CreateWorkerSession` was called for `session_handle`.
         
        bool create_worker_session_called = 6;
        Specified by:
        getCreateWorkerSessionCalled in interface RegisterGraphRequestOrBuilder
        Returns:
        The createWorkerSessionCalled.
      • setCreateWorkerSessionCalled

        public RegisterGraphRequest.Builder setCreateWorkerSessionCalled​(boolean value)
         Set to true if `CreateWorkerSession` was called for `session_handle`.
         
        bool create_worker_session_called = 6;
        Parameters:
        value - The createWorkerSessionCalled to set.
        Returns:
        This builder for chaining.
      • clearCreateWorkerSessionCalled

        public RegisterGraphRequest.Builder clearCreateWorkerSessionCalled()
         Set to true if `CreateWorkerSession` was called for `session_handle`.
         
        bool create_worker_session_called = 6;
        Returns:
        This builder for chaining.
      • hasGraphDef

        public boolean hasGraphDef()
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
        Specified by:
        hasGraphDef in interface RegisterGraphRequestOrBuilder
        Returns:
        Whether the graphDef field is set.
      • getGraphDef

        public GraphDef getGraphDef()
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
        Specified by:
        getGraphDef in interface RegisterGraphRequestOrBuilder
        Returns:
        The graphDef.
      • setGraphDef

        public RegisterGraphRequest.Builder setGraphDef​(GraphDef value)
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
      • setGraphDef

        public RegisterGraphRequest.Builder setGraphDef​(GraphDef.Builder builderForValue)
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
      • mergeGraphDef

        public RegisterGraphRequest.Builder mergeGraphDef​(GraphDef value)
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
      • clearGraphDef

        public RegisterGraphRequest.Builder clearGraphDef()
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
      • getGraphDefBuilder

        public GraphDef.Builder getGraphDefBuilder()
         "graph_def" has the subgraph of nodes for this worker, with each node
         having its device_name filled in.
         
        .tensorflow.GraphDef graph_def = 2;
      • getHasControlFlow

        @Deprecated
        public boolean getHasControlFlow()
        Deprecated.
        tensorflow.RegisterGraphRequest.has_control_flow is deprecated. See tensorflow/core/protobuf/worker.proto;l=117
         True iff the graph (before partitioning) contains control flow nodes.
         As of 01/11/2015, this is no longer set by clients.
         
        bool has_control_flow = 3 [deprecated = true];
        Specified by:
        getHasControlFlow in interface RegisterGraphRequestOrBuilder
        Returns:
        The hasControlFlow.
      • setHasControlFlow

        @Deprecated
        public RegisterGraphRequest.Builder setHasControlFlow​(boolean value)
        Deprecated.
        tensorflow.RegisterGraphRequest.has_control_flow is deprecated. See tensorflow/core/protobuf/worker.proto;l=117
         True iff the graph (before partitioning) contains control flow nodes.
         As of 01/11/2015, this is no longer set by clients.
         
        bool has_control_flow = 3 [deprecated = true];
        Parameters:
        value - The hasControlFlow to set.
        Returns:
        This builder for chaining.
      • clearHasControlFlow

        @Deprecated
        public RegisterGraphRequest.Builder clearHasControlFlow()
        Deprecated.
        tensorflow.RegisterGraphRequest.has_control_flow is deprecated. See tensorflow/core/protobuf/worker.proto;l=117
         True iff the graph (before partitioning) contains control flow nodes.
         As of 01/11/2015, this is no longer set by clients.
         
        bool has_control_flow = 3 [deprecated = true];
        Returns:
        This builder for chaining.
      • hasGraphOptions

        public boolean hasGraphOptions()
         Configuration options for the session in which this graph was created.
         
        .tensorflow.GraphOptions graph_options = 4;
        Specified by:
        hasGraphOptions in interface RegisterGraphRequestOrBuilder
        Returns:
        Whether the graphOptions field is set.
      • setGraphOptions

        public RegisterGraphRequest.Builder setGraphOptions​(GraphOptions value)
         Configuration options for the session in which this graph was created.
         
        .tensorflow.GraphOptions graph_options = 4;
      • mergeGraphOptions

        public RegisterGraphRequest.Builder mergeGraphOptions​(GraphOptions value)
         Configuration options for the session in which this graph was created.
         
        .tensorflow.GraphOptions graph_options = 4;
      • clearGraphOptions

        public RegisterGraphRequest.Builder clearGraphOptions()
         Configuration options for the session in which this graph was created.
         
        .tensorflow.GraphOptions graph_options = 4;
      • getGraphOptionsBuilder

        public GraphOptions.Builder getGraphOptionsBuilder()
         Configuration options for the session in which this graph was created.
         
        .tensorflow.GraphOptions graph_options = 4;
      • hasDebugOptions

        public boolean hasDebugOptions()
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .tensorflow.DebugOptions debug_options = 5;
        Specified by:
        hasDebugOptions in interface RegisterGraphRequestOrBuilder
        Returns:
        Whether the debugOptions field is set.
      • clearDebugOptions

        public RegisterGraphRequest.Builder clearDebugOptions()
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .tensorflow.DebugOptions debug_options = 5;
      • getDebugOptionsBuilder

        public DebugOptions.Builder getDebugOptionsBuilder()
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .tensorflow.DebugOptions debug_options = 5;
      • getCollectiveGraphKey

        public long getCollectiveGraphKey()
         If graph_def contains any collective ops this must be a positive
         integer used to coordinate execution with other graphs.  All
         graphs in a distributed execution with the same
         collective_graph_key will coordinate to use the same step_id
         concurrently so that BufRendezvous entries will make the correct
         values accessible.
         
        int64 collective_graph_key = 7;
        Specified by:
        getCollectiveGraphKey in interface RegisterGraphRequestOrBuilder
        Returns:
        The collectiveGraphKey.
      • setCollectiveGraphKey

        public RegisterGraphRequest.Builder setCollectiveGraphKey​(long value)
         If graph_def contains any collective ops this must be a positive
         integer used to coordinate execution with other graphs.  All
         graphs in a distributed execution with the same
         collective_graph_key will coordinate to use the same step_id
         concurrently so that BufRendezvous entries will make the correct
         values accessible.
         
        int64 collective_graph_key = 7;
        Parameters:
        value - The collectiveGraphKey to set.
        Returns:
        This builder for chaining.
      • clearCollectiveGraphKey

        public RegisterGraphRequest.Builder clearCollectiveGraphKey()
         If graph_def contains any collective ops this must be a positive
         integer used to coordinate execution with other graphs.  All
         graphs in a distributed execution with the same
         collective_graph_key will coordinate to use the same step_id
         concurrently so that BufRendezvous entries will make the correct
         values accessible.
         
        int64 collective_graph_key = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RegisterGraphRequest.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<RegisterGraphRequest.Builder>
      • mergeUnknownFields

        public final RegisterGraphRequest.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<RegisterGraphRequest.Builder>