Class ListDevicesRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, ListDevicesRequestOrBuilder
    Enclosing class:
    ListDevicesRequest

    public static final class ListDevicesRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
    implements ListDevicesRequestOrBuilder
    Protobuf type org.platanios.tensorflow.proto.ListDevicesRequest
    • 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<ListDevicesRequest.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public ListDevicesRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListDevicesRequest.Builder>
      • isInitialized

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

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

        public java.lang.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 com.google.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​(java.lang.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​(com.google.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​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
      • mergeUnknownFields

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