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

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

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

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

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

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

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

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

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

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

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

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

        public ClientConnectionInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws 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<ClientConnectionInfo.Builder>
        Throws:
        IOException
      • setIdBytes

        public ClientConnectionInfo.Builder setIdBytes​(com.google.protobuf.ByteString value)
        optional string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • setOpen

        public ClientConnectionInfo.Builder setOpen​(boolean value)
        optional bool open = 2;
        Parameters:
        value - The open to set.
        Returns:
        This builder for chaining.
      • setActive

        public ClientConnectionInfo.Builder setActive​(boolean value)
        optional bool active = 3;
        Parameters:
        value - The active to set.
        Returns:
        This builder for chaining.
      • setWritable

        public ClientConnectionInfo.Builder setWritable​(boolean value)
        optional bool writable = 4;
        Parameters:
        value - The writable to set.
        Returns:
        This builder for chaining.
      • setRemoteAddress

        public ClientConnectionInfo.Builder setRemoteAddress​(String value)
        optional string remoteAddress = 5;
        Parameters:
        value - The remoteAddress to set.
        Returns:
        This builder for chaining.
      • clearRemoteAddress

        public ClientConnectionInfo.Builder clearRemoteAddress()
        optional string remoteAddress = 5;
        Returns:
        This builder for chaining.
      • setRemoteAddressBytes

        public ClientConnectionInfo.Builder setRemoteAddressBytes​(com.google.protobuf.ByteString value)
        optional string remoteAddress = 5;
        Parameters:
        value - The bytes for remoteAddress to set.
        Returns:
        This builder for chaining.
      • setReadBytes

        public ClientConnectionInfo.Builder setReadBytes​(long value)
        optional uint64 readBytes = 6;
        Parameters:
        value - The readBytes to set.
        Returns:
        This builder for chaining.
      • setWrittenBytes

        public ClientConnectionInfo.Builder setWrittenBytes​(long value)
        optional uint64 writtenBytes = 7;
        Parameters:
        value - The writtenBytes to set.
        Returns:
        This builder for chaining.
      • clearWrittenBytes

        public ClientConnectionInfo.Builder clearWrittenBytes()
        optional uint64 writtenBytes = 7;
        Returns:
        This builder for chaining.
      • setReadThroughput

        public ClientConnectionInfo.Builder setReadThroughput​(long value)
        optional uint64 readThroughput = 8;
        Parameters:
        value - The readThroughput to set.
        Returns:
        This builder for chaining.
      • clearReadThroughput

        public ClientConnectionInfo.Builder clearReadThroughput()
        optional uint64 readThroughput = 8;
        Returns:
        This builder for chaining.
      • setWriteThroughput

        public ClientConnectionInfo.Builder setWriteThroughput​(long value)
        optional uint64 writeThroughput = 9;
        Parameters:
        value - The writeThroughput to set.
        Returns:
        This builder for chaining.
      • clearWriteThroughput

        public ClientConnectionInfo.Builder clearWriteThroughput()
        optional uint64 writeThroughput = 9;
        Returns:
        This builder for chaining.
      • hasHttpRequest

        public boolean hasHttpRequest()
        optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
        Specified by:
        hasHttpRequest in interface ClientConnectionInfoOrBuilder
        Returns:
        Whether the httpRequest field is set.
      • clearHttpRequest

        public ClientConnectionInfo.Builder clearHttpRequest()
        optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
      • setUsername

        public ClientConnectionInfo.Builder setUsername​(String value)
        optional string username = 11;
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • setUsernameBytes

        public ClientConnectionInfo.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
        optional string username = 11;
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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