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

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

        public RegisterGraphRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RegisterGraphRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RegisterGraphRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

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

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

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

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

        public RegisterGraphRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • addRepeatedField

        public RegisterGraphRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • isInitialized

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

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

        public java.lang.String getSessionHandle()
         Subgraphs are scoped within one session.
         
        string session_handle = 1;
        Specified by:
        getSessionHandle in interface RegisterGraphRequestOrBuilder
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        public com.google.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​(java.lang.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​(com.google.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.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.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • getHasControlFlow

        @Deprecated
        public boolean getHasControlFlow()
        Deprecated.
         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.
         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.
         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.
         
        .org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
        Specified by:
        hasGraphOptions in interface RegisterGraphRequestOrBuilder
        Returns:
        Whether the graphOptions field is set.
      • getGraphOptions

        public GraphOptions getGraphOptions()
         Configuration options for the session in which this graph was created.
         
        .org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
        Specified by:
        getGraphOptions in interface RegisterGraphRequestOrBuilder
        Returns:
        The graphOptions.
      • setGraphOptions

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

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

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

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

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

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

        public RegisterGraphRequest.Builder setDebugOptions​(DebugOptions value)
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
      • mergeDebugOptions

        public RegisterGraphRequest.Builder mergeDebugOptions​(DebugOptions value)
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
      • clearDebugOptions

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

        public DebugOptions.Builder getDebugOptionsBuilder()
         Field(s) used by TensorFlow Debugger (tfdbg).
         
        .org.platanios.tensorflow.proto.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.
      • hasConfigProto

        public boolean hasConfigProto()
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
        Specified by:
        hasConfigProto in interface RegisterGraphRequestOrBuilder
        Returns:
        Whether the configProto field is set.
      • getConfigProto

        public ConfigProto getConfigProto()
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
        Specified by:
        getConfigProto in interface RegisterGraphRequestOrBuilder
        Returns:
        The configProto.
      • setConfigProto

        public RegisterGraphRequest.Builder setConfigProto​(ConfigProto value)
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
      • setConfigProto

        public RegisterGraphRequest.Builder setConfigProto​(ConfigProto.Builder builderForValue)
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
      • mergeConfigProto

        public RegisterGraphRequest.Builder mergeConfigProto​(ConfigProto value)
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
      • clearConfigProto

        public RegisterGraphRequest.Builder clearConfigProto()
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
      • getConfigProtoBuilder

        public ConfigProto.Builder getConfigProtoBuilder()
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
      • getConfigProtoOrBuilder

        public ConfigProtoOrBuilder getConfigProtoOrBuilder()
         ConfigProto from the session in which this graph was created.
         Contains additional parameters beyond graph_options, including
         the name of the requested executor.
         
        .org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
        Specified by:
        getConfigProtoOrBuilder in interface RegisterGraphRequestOrBuilder
      • setUnknownFields

        public final RegisterGraphRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
      • mergeUnknownFields

        public final RegisterGraphRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>