Class HttpTraffic.Builder

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

public static final class HttpTraffic.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder> implements HttpTrafficOrBuilder
Protobuf type yamcs.protobuf.server.HttpTraffic
  • 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<HttpTraffic.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public HttpTraffic.Builder mergeFrom(HttpTraffic other)
    • isInitialized

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

      public HttpTraffic.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<HttpTraffic.Builder>
      Throws:
      IOException
    • hasReadBytes

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

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

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

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

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

      public long getWrittenBytes()
      optional uint64 writtenBytes = 2;
      Specified by:
      getWrittenBytes in interface HttpTrafficOrBuilder
      Returns:
      The writtenBytes.
    • setWrittenBytes

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

      public HttpTraffic.Builder clearWrittenBytes()
      optional uint64 writtenBytes = 2;
      Returns:
      This builder for chaining.
    • hasReadThroughput

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

      public long getReadThroughput()
      optional uint64 readThroughput = 3;
      Specified by:
      getReadThroughput in interface HttpTrafficOrBuilder
      Returns:
      The readThroughput.
    • setReadThroughput

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

      public HttpTraffic.Builder clearReadThroughput()
      optional uint64 readThroughput = 3;
      Returns:
      This builder for chaining.
    • hasWriteThroughput

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

      public long getWriteThroughput()
      optional uint64 writeThroughput = 4;
      Specified by:
      getWriteThroughput in interface HttpTrafficOrBuilder
      Returns:
      The writeThroughput.
    • setWriteThroughput

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

      public HttpTraffic.Builder clearWriteThroughput()
      optional uint64 writeThroughput = 4;
      Returns:
      This builder for chaining.
    • getConnectionsList

      public List<ClientConnectionInfo> getConnectionsList()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
      Specified by:
      getConnectionsList in interface HttpTrafficOrBuilder
    • getConnectionsCount

      public int getConnectionsCount()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
      Specified by:
      getConnectionsCount in interface HttpTrafficOrBuilder
    • getConnections

      public ClientConnectionInfo getConnections(int index)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
      Specified by:
      getConnections in interface HttpTrafficOrBuilder
    • setConnections

      public HttpTraffic.Builder setConnections(int index, ClientConnectionInfo value)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • setConnections

      public HttpTraffic.Builder setConnections(int index, ClientConnectionInfo.Builder builderForValue)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addConnections

      public HttpTraffic.Builder addConnections(ClientConnectionInfo value)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addConnections

      public HttpTraffic.Builder addConnections(int index, ClientConnectionInfo value)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addConnections

      public HttpTraffic.Builder addConnections(ClientConnectionInfo.Builder builderForValue)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addConnections

      public HttpTraffic.Builder addConnections(int index, ClientConnectionInfo.Builder builderForValue)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addAllConnections

      public HttpTraffic.Builder addAllConnections(Iterable<? extends ClientConnectionInfo> values)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • clearConnections

      public HttpTraffic.Builder clearConnections()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • removeConnections

      public HttpTraffic.Builder removeConnections(int index)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • getConnectionsBuilder

      public ClientConnectionInfo.Builder getConnectionsBuilder(int index)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • getConnectionsOrBuilder

      public ClientConnectionInfoOrBuilder getConnectionsOrBuilder(int index)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
      Specified by:
      getConnectionsOrBuilder in interface HttpTrafficOrBuilder
    • getConnectionsOrBuilderList

      public List<? extends ClientConnectionInfoOrBuilder> getConnectionsOrBuilderList()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
      Specified by:
      getConnectionsOrBuilderList in interface HttpTrafficOrBuilder
    • addConnectionsBuilder

      public ClientConnectionInfo.Builder addConnectionsBuilder()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • addConnectionsBuilder

      public ClientConnectionInfo.Builder addConnectionsBuilder(int index)
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • getConnectionsBuilderList

      public List<ClientConnectionInfo.Builder> getConnectionsBuilderList()
      repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
    • setUnknownFields

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

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