Class EagerServiceOuterClass.CreateContextRequest

    • Field Detail

      • SERVER_DEF_FIELD_NUMBER

        public static final int SERVER_DEF_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KEEP_ALIVE_SECS_FIELD_NUMBER

        public static final int KEEP_ALIVE_SECS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERSION_DEF_FIELD_NUMBER

        public static final int VERSION_DEF_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLUSTER_DEVICE_ATTRIBUTES_FIELD_NUMBER

        public static final int CLUSTER_DEVICE_ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTEXT_ID_FIELD_NUMBER

        public static final int CONTEXT_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTEXT_VIEW_ID_FIELD_NUMBER

        public static final int CONTEXT_VIEW_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAZY_COPY_REMOTE_FUNCTION_INPUTS_FIELD_NUMBER

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

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getKeepAliveSecs

        public long getKeepAliveSecs()
         Number of seconds to keep the context alive. If more than keep_alive_secs
         has passed since a particular context has been communicated with, it will
         be garbage collected.
         
        int64 keep_alive_secs = 3;
        Specified by:
        getKeepAliveSecs in interface EagerServiceOuterClass.CreateContextRequestOrBuilder
        Returns:
        The keepAliveSecs.
      • getContextId

        public long getContextId()
         The ID of the created context. This is usually a randomly generated number,
         that will be used to identify the context in future requests to the
         service. Contexts are not persisted through server restarts.
         This ID will be used for all future communications as well. It is essential
         that both ends use this ID for selecting a rendezvous to get everything to
         match.
         
        fixed64 context_id = 7;
        Specified by:
        getContextId in interface EagerServiceOuterClass.CreateContextRequestOrBuilder
        Returns:
        The contextId.
      • getLazyCopyRemoteFunctionInputs

        public boolean getLazyCopyRemoteFunctionInputs()
         For a multi device function, if false, eagerly copy all remote inputs to
         the default function device; if true, lazily copy remote inputs to their
         target devices after function instantiation to avoid redundant copies.
         
        bool lazy_copy_remote_function_inputs = 9;
        Specified by:
        getLazyCopyRemoteFunctionInputs in interface EagerServiceOuterClass.CreateContextRequestOrBuilder
        Returns:
        The lazyCopyRemoteFunctionInputs.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(java.nio.ByteBuffer data)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(java.nio.ByteBuffer data,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(com.google.protobuf.ByteString data)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(com.google.protobuf.ByteString data,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(byte[] data)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(byte[] data,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(java.io.InputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static EagerServiceOuterClass.CreateContextRequest parseDelimitedFrom​(java.io.InputStream input,
                                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static EagerServiceOuterClass.CreateContextRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getParserForType

        public com.google.protobuf.Parser<EagerServiceOuterClass.CreateContextRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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