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

        public ListDevicesRequest.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<ListDevicesRequest.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<ListDevicesRequest.Builder>
      • getDefaultInstanceForType

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

        public ListDevicesRequest 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 ListDevicesRequest 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 ListDevicesRequest.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<ListDevicesRequest.Builder>
      • setField

        public ListDevicesRequest.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<ListDevicesRequest.Builder>
      • clearField

        public ListDevicesRequest.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<ListDevicesRequest.Builder>
      • clearOneof

        public ListDevicesRequest.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<ListDevicesRequest.Builder>
      • setRepeatedField

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

        public ListDevicesRequest.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<ListDevicesRequest.Builder>
      • mergeFrom

        public ListDevicesRequest.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<ListDevicesRequest.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<ListDevicesRequest.Builder>
      • mergeFrom

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

        public String getSessionHandle()
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Specified by:
        getSessionHandle in interface ListDevicesRequestOrBuilder
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Specified by:
        getSessionHandleBytes in interface ListDevicesRequestOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public ListDevicesRequest.Builder setSessionHandle​(String value)
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Parameters:
        value - The sessionHandle to set.
        Returns:
        This builder for chaining.
      • clearSessionHandle

        public ListDevicesRequest.Builder clearSessionHandle()
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Returns:
        This builder for chaining.
      • setSessionHandleBytes

        public ListDevicesRequest.Builder setSessionHandleBytes​(org.nd4j.shade.protobuf.ByteString value)
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Parameters:
        value - The bytes for sessionHandle to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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