Class ClientConnectionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
org.yamcs.protobuf.ClientConnectionInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ClientConnectionInfoOrBuilder
Enclosing class:
ClientConnectionInfo

public static final class ClientConnectionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder> implements ClientConnectionInfoOrBuilder
Protobuf type yamcs.protobuf.server.ClientConnectionInfo
  • Method Details

    • 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

      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

      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>
    • mergeFrom

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

    • 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
    • hasId

      public boolean hasId()
      optional string id = 1;
      Specified by:
      hasId in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
      optional string id = 1;
      Specified by:
      getId in interface ClientConnectionInfoOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      optional string id = 1;
      Specified by:
      getIdBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ClientConnectionInfo.Builder setId(String value)
      optional string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ClientConnectionInfo.Builder clearId()
      optional string id = 1;
      Returns:
      This builder for chaining.
    • 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.
    • hasOpen

      public boolean hasOpen()
      optional bool open = 2;
      Specified by:
      hasOpen in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the open field is set.
    • getOpen

      public boolean getOpen()
      optional bool open = 2;
      Specified by:
      getOpen in interface ClientConnectionInfoOrBuilder
      Returns:
      The open.
    • setOpen

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

      public ClientConnectionInfo.Builder clearOpen()
      optional bool open = 2;
      Returns:
      This builder for chaining.
    • hasActive

      public boolean hasActive()
      optional bool active = 3;
      Specified by:
      hasActive in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the active field is set.
    • getActive

      public boolean getActive()
      optional bool active = 3;
      Specified by:
      getActive in interface ClientConnectionInfoOrBuilder
      Returns:
      The active.
    • setActive

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

      public ClientConnectionInfo.Builder clearActive()
      optional bool active = 3;
      Returns:
      This builder for chaining.
    • hasWritable

      public boolean hasWritable()
      optional bool writable = 4;
      Specified by:
      hasWritable in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the writable field is set.
    • getWritable

      public boolean getWritable()
      optional bool writable = 4;
      Specified by:
      getWritable in interface ClientConnectionInfoOrBuilder
      Returns:
      The writable.
    • setWritable

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

      public ClientConnectionInfo.Builder clearWritable()
      optional bool writable = 4;
      Returns:
      This builder for chaining.
    • hasRemoteAddress

      public boolean hasRemoteAddress()
      optional string remoteAddress = 5;
      Specified by:
      hasRemoteAddress in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the remoteAddress field is set.
    • getRemoteAddress

      public String getRemoteAddress()
      optional string remoteAddress = 5;
      Specified by:
      getRemoteAddress in interface ClientConnectionInfoOrBuilder
      Returns:
      The remoteAddress.
    • getRemoteAddressBytes

      public com.google.protobuf.ByteString getRemoteAddressBytes()
      optional string remoteAddress = 5;
      Specified by:
      getRemoteAddressBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      The bytes for remoteAddress.
    • 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.
    • hasReadBytes

      public boolean hasReadBytes()
      optional uint64 readBytes = 6;
      Specified by:
      hasReadBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the readBytes field is set.
    • getReadBytes

      public long getReadBytes()
      optional uint64 readBytes = 6;
      Specified by:
      getReadBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      The readBytes.
    • setReadBytes

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

      public ClientConnectionInfo.Builder clearReadBytes()
      optional uint64 readBytes = 6;
      Returns:
      This builder for chaining.
    • hasWrittenBytes

      public boolean hasWrittenBytes()
      optional uint64 writtenBytes = 7;
      Specified by:
      hasWrittenBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the writtenBytes field is set.
    • getWrittenBytes

      public long getWrittenBytes()
      optional uint64 writtenBytes = 7;
      Specified by:
      getWrittenBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      The writtenBytes.
    • 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.
    • hasReadThroughput

      public boolean hasReadThroughput()
      optional uint64 readThroughput = 8;
      Specified by:
      hasReadThroughput in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the readThroughput field is set.
    • getReadThroughput

      public long getReadThroughput()
      optional uint64 readThroughput = 8;
      Specified by:
      getReadThroughput in interface ClientConnectionInfoOrBuilder
      Returns:
      The readThroughput.
    • 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.
    • hasWriteThroughput

      public boolean hasWriteThroughput()
      optional uint64 writeThroughput = 9;
      Specified by:
      hasWriteThroughput in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the writeThroughput field is set.
    • getWriteThroughput

      public long getWriteThroughput()
      optional uint64 writeThroughput = 9;
      Specified by:
      getWriteThroughput in interface ClientConnectionInfoOrBuilder
      Returns:
      The writeThroughput.
    • 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.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
      Specified by:
      hasHttpRequest in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the httpRequest field is set.
    • getHttpRequest

      public ClientConnectionInfo.HttpRequestInfo getHttpRequest()
      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
      Specified by:
      getHttpRequest in interface ClientConnectionInfoOrBuilder
      Returns:
      The httpRequest.
    • setHttpRequest

      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
    • setHttpRequest

      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
    • mergeHttpRequest

      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
    • clearHttpRequest

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

      public ClientConnectionInfo.HttpRequestInfo.Builder getHttpRequestBuilder()
      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
    • getHttpRequestOrBuilder

      public ClientConnectionInfo.HttpRequestInfoOrBuilder getHttpRequestOrBuilder()
      optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
      Specified by:
      getHttpRequestOrBuilder in interface ClientConnectionInfoOrBuilder
    • hasUsername

      public boolean hasUsername()
      optional string username = 11;
      Specified by:
      hasUsername in interface ClientConnectionInfoOrBuilder
      Returns:
      Whether the username field is set.
    • getUsername

      public String getUsername()
      optional string username = 11;
      Specified by:
      getUsername in interface ClientConnectionInfoOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
      optional string username = 11;
      Specified by:
      getUsernameBytes in interface ClientConnectionInfoOrBuilder
      Returns:
      The bytes for username.
    • setUsername

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

      public ClientConnectionInfo.Builder clearUsername()
      optional string username = 11;
      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>