Class RegisterGraphRequest

  • All Implemented Interfaces:
    Serializable, org.nd4j.shade.protobuf.Message, org.nd4j.shade.protobuf.MessageLite, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, RegisterGraphRequestOrBuilder

    public final class RegisterGraphRequest
    extends org.nd4j.shade.protobuf.GeneratedMessageV3
    implements RegisterGraphRequestOrBuilder
    Protobuf type tensorflow.RegisterGraphRequest
    See Also:
    Serialized Form
    • Field Detail

      • SESSION_HANDLE_FIELD_NUMBER

        public static final int SESSION_HANDLE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_WORKER_SESSION_CALLED_FIELD_NUMBER

        public static final int CREATE_WORKER_SESSION_CALLED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HAS_CONTROL_FLOW_FIELD_NUMBER

        public static final int HAS_CONTROL_FLOW_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GRAPH_OPTIONS_FIELD_NUMBER

        public static final int GRAPH_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEBUG_OPTIONS_FIELD_NUMBER

        public static final int DEBUG_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COLLECTIVE_GRAPH_KEY_FIELD_NUMBER

        public static final int COLLECTIVE_GRAPH_KEY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(org.nd4j.shade.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        writeTo in class org.nd4j.shade.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface org.nd4j.shade.protobuf.Message
        Overrides:
        equals in class org.nd4j.shade.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.nd4j.shade.protobuf.Message
        Overrides:
        hashCode in class org.nd4j.shade.protobuf.AbstractMessage
      • parseFrom

        public static RegisterGraphRequest parseFrom​(ByteBuffer data)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(ByteBuffer data,
                                                     org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(org.nd4j.shade.protobuf.ByteString data)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(org.nd4j.shade.protobuf.ByteString data,
                                                     org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(byte[] data)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(byte[] data,
                                                     org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RegisterGraphRequest parseFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                     org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Throws:
        IOException
      • newBuilderForType

        public RegisterGraphRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.MessageLite
      • toBuilder

        public RegisterGraphRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.Message
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.MessageLite
      • newBuilderForType

        protected RegisterGraphRequest.Builder newBuilderForType​(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getParserForType

        public org.nd4j.shade.protobuf.Parser<RegisterGraphRequest> getParserForType()
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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