Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddAllConnections
(Iterable<? extends ClientConnectionInfo> values) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
addConnections
(int index, ClientConnectionInfo value) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
addConnections
(int index, ClientConnectionInfo.Builder builderForValue) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
addConnections
(ClientConnectionInfo.Builder builderForValue) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
addConnectionsBuilder
(int index) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional uint64 readBytes = 1;
optional uint64 readThroughput = 3;
optional uint64 writeThroughput = 4;
optional uint64 writtenBytes = 2;
clone()
getConnections
(int index) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
getConnectionsBuilder
(int index) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
int
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
getConnectionsOrBuilder
(int index) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
List<? extends ClientConnectionInfoOrBuilder>
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
optional uint64 readBytes = 1;
long
optional uint64 readThroughput = 3;
long
optional uint64 writeThroughput = 4;
long
optional uint64 writtenBytes = 2;
boolean
optional uint64 readBytes = 1;
boolean
optional uint64 readThroughput = 3;
boolean
optional uint64 writeThroughput = 4;
boolean
optional uint64 writtenBytes = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(HttpTraffic other) final HttpTraffic.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeConnections
(int index) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
setConnections
(int index, ClientConnectionInfo value) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
setConnections
(int index, ClientConnectionInfo.Builder builderForValue) repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
setReadBytes
(long value) optional uint64 readBytes = 1;
setReadThroughput
(long value) optional uint64 readThroughput = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final HttpTraffic.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWriteThroughput
(long value) optional uint64 writeThroughput = 4;
setWrittenBytes
(long value) optional uint64 writtenBytes = 2;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
setField
public HttpTraffic.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
addRepeatedField
public HttpTraffic.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpTraffic.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpTraffic.Builder>
- Throws:
IOException
-
hasReadBytes
public boolean hasReadBytes()optional uint64 readBytes = 1;
- Specified by:
hasReadBytes
in interfaceHttpTrafficOrBuilder
- Returns:
- Whether the readBytes field is set.
-
getReadBytes
public long getReadBytes()optional uint64 readBytes = 1;
- Specified by:
getReadBytes
in interfaceHttpTrafficOrBuilder
- Returns:
- The readBytes.
-
setReadBytes
optional uint64 readBytes = 1;
- Parameters:
value
- The readBytes to set.- Returns:
- This builder for chaining.
-
clearReadBytes
optional uint64 readBytes = 1;
- Returns:
- This builder for chaining.
-
hasWrittenBytes
public boolean hasWrittenBytes()optional uint64 writtenBytes = 2;
- Specified by:
hasWrittenBytes
in interfaceHttpTrafficOrBuilder
- Returns:
- Whether the writtenBytes field is set.
-
getWrittenBytes
public long getWrittenBytes()optional uint64 writtenBytes = 2;
- Specified by:
getWrittenBytes
in interfaceHttpTrafficOrBuilder
- Returns:
- The writtenBytes.
-
setWrittenBytes
optional uint64 writtenBytes = 2;
- Parameters:
value
- The writtenBytes to set.- Returns:
- This builder for chaining.
-
clearWrittenBytes
optional uint64 writtenBytes = 2;
- Returns:
- This builder for chaining.
-
hasReadThroughput
public boolean hasReadThroughput()optional uint64 readThroughput = 3;
- Specified by:
hasReadThroughput
in interfaceHttpTrafficOrBuilder
- Returns:
- Whether the readThroughput field is set.
-
getReadThroughput
public long getReadThroughput()optional uint64 readThroughput = 3;
- Specified by:
getReadThroughput
in interfaceHttpTrafficOrBuilder
- Returns:
- The readThroughput.
-
setReadThroughput
optional uint64 readThroughput = 3;
- Parameters:
value
- The readThroughput to set.- Returns:
- This builder for chaining.
-
clearReadThroughput
optional uint64 readThroughput = 3;
- Returns:
- This builder for chaining.
-
hasWriteThroughput
public boolean hasWriteThroughput()optional uint64 writeThroughput = 4;
- Specified by:
hasWriteThroughput
in interfaceHttpTrafficOrBuilder
- Returns:
- Whether the writeThroughput field is set.
-
getWriteThroughput
public long getWriteThroughput()optional uint64 writeThroughput = 4;
- Specified by:
getWriteThroughput
in interfaceHttpTrafficOrBuilder
- Returns:
- The writeThroughput.
-
setWriteThroughput
optional uint64 writeThroughput = 4;
- Parameters:
value
- The writeThroughput to set.- Returns:
- This builder for chaining.
-
clearWriteThroughput
optional uint64 writeThroughput = 4;
- Returns:
- This builder for chaining.
-
getConnectionsList
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
- Specified by:
getConnectionsList
in interfaceHttpTrafficOrBuilder
-
getConnectionsCount
public int getConnectionsCount()repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
- Specified by:
getConnectionsCount
in interfaceHttpTrafficOrBuilder
-
getConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
- Specified by:
getConnections
in interfaceHttpTrafficOrBuilder
-
setConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
setConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addAllConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
clearConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
removeConnections
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
getConnectionsBuilder
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
getConnectionsOrBuilder
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
- Specified by:
getConnectionsOrBuilder
in interfaceHttpTrafficOrBuilder
-
getConnectionsOrBuilderList
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
- Specified by:
getConnectionsOrBuilderList
in interfaceHttpTrafficOrBuilder
-
addConnectionsBuilder
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
addConnectionsBuilder
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
getConnectionsBuilderList
repeated .yamcs.protobuf.server.ClientConnectionInfo connections = 5;
-
setUnknownFields
public final HttpTraffic.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-
mergeUnknownFields
public final HttpTraffic.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpTraffic.Builder>
-