Package org.yamcs.protobuf
Class ClientConnectionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional bool active = 3;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;clearId()optional string id = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional bool open = 2;optional uint64 readBytes = 6;optional uint64 readThroughput = 8;optional string remoteAddress = 5;optional string username = 11;optional bool writable = 4;optional uint64 writeThroughput = 9;optional uint64 writtenBytes = 7;clone()booleanoptional bool active = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;getId()optional string id = 1;com.google.protobuf.ByteStringoptional string id = 1;booleangetOpen()optional bool open = 2;longoptional uint64 readBytes = 6;longoptional uint64 readThroughput = 8;optional string remoteAddress = 5;com.google.protobuf.ByteStringoptional string remoteAddress = 5;optional string username = 11;com.google.protobuf.ByteStringoptional string username = 11;booleanoptional bool writable = 4;longoptional uint64 writeThroughput = 9;longoptional uint64 writtenBytes = 7;booleanoptional bool active = 3;booleanoptional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;booleanhasId()optional string id = 1;booleanhasOpen()optional bool open = 2;booleanoptional uint64 readBytes = 6;booleanoptional uint64 readThroughput = 8;booleanoptional string remoteAddress = 5;booleanoptional string username = 11;booleanoptional bool writable = 4;booleanoptional uint64 writeThroughput = 9;booleanoptional uint64 writtenBytes = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ClientConnectionInfo other) optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActive(boolean value) optional bool active = 3;optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;setHttpRequest(ClientConnectionInfo.HttpRequestInfo.Builder builderForValue) optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;optional string id = 1;setIdBytes(com.google.protobuf.ByteString value) optional string id = 1;setOpen(boolean value) optional bool open = 2;setReadBytes(long value) optional uint64 readBytes = 6;setReadThroughput(long value) optional uint64 readThroughput = 8;setRemoteAddress(String value) optional string remoteAddress = 5;setRemoteAddressBytes(com.google.protobuf.ByteString value) optional string remoteAddress = 5;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUsername(String value) optional string username = 11;setUsernameBytes(com.google.protobuf.ByteString value) optional string username = 11;setWritable(boolean value) optional bool writable = 4;setWriteThroughput(long value) optional uint64 writeThroughput = 9;setWrittenBytes(long value) optional uint64 writtenBytes = 7;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
setField
public ClientConnectionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
clearField
public ClientConnectionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
clearOneof
public ClientConnectionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
setRepeatedField
public ClientConnectionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
addRepeatedField
public ClientConnectionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientConnectionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientConnectionInfo.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional string id = 1;- Specified by:
hasIdin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 1;- Specified by:
getIdin interfaceClientConnectionInfoOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1;- Specified by:
getIdBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- The bytes for id.
-
setId
optional string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
optional string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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:
hasOpenin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the open field is set.
-
getOpen
public boolean getOpen()optional bool open = 2;- Specified by:
getOpenin interfaceClientConnectionInfoOrBuilder- Returns:
- The open.
-
setOpen
optional bool open = 2;- Parameters:
value- The open to set.- Returns:
- This builder for chaining.
-
clearOpen
optional bool open = 2;- Returns:
- This builder for chaining.
-
hasActive
public boolean hasActive()optional bool active = 3;- Specified by:
hasActivein interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the active field is set.
-
getActive
public boolean getActive()optional bool active = 3;- Specified by:
getActivein interfaceClientConnectionInfoOrBuilder- Returns:
- The active.
-
setActive
optional bool active = 3;- Parameters:
value- The active to set.- Returns:
- This builder for chaining.
-
clearActive
optional bool active = 3;- Returns:
- This builder for chaining.
-
hasWritable
public boolean hasWritable()optional bool writable = 4;- Specified by:
hasWritablein interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the writable field is set.
-
getWritable
public boolean getWritable()optional bool writable = 4;- Specified by:
getWritablein interfaceClientConnectionInfoOrBuilder- Returns:
- The writable.
-
setWritable
optional bool writable = 4;- Parameters:
value- The writable to set.- Returns:
- This builder for chaining.
-
clearWritable
optional bool writable = 4;- Returns:
- This builder for chaining.
-
hasRemoteAddress
public boolean hasRemoteAddress()optional string remoteAddress = 5;- Specified by:
hasRemoteAddressin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
optional string remoteAddress = 5;- Specified by:
getRemoteAddressin interfaceClientConnectionInfoOrBuilder- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
public com.google.protobuf.ByteString getRemoteAddressBytes()optional string remoteAddress = 5;- Specified by:
getRemoteAddressBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- The bytes for remoteAddress.
-
setRemoteAddress
optional string remoteAddress = 5;- Parameters:
value- The remoteAddress to set.- Returns:
- This builder for chaining.
-
clearRemoteAddress
optional string remoteAddress = 5;- Returns:
- This builder for chaining.
-
setRemoteAddressBytes
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:
hasReadBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the readBytes field is set.
-
getReadBytes
public long getReadBytes()optional uint64 readBytes = 6;- Specified by:
getReadBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- The readBytes.
-
setReadBytes
optional uint64 readBytes = 6;- Parameters:
value- The readBytes to set.- Returns:
- This builder for chaining.
-
clearReadBytes
optional uint64 readBytes = 6;- Returns:
- This builder for chaining.
-
hasWrittenBytes
public boolean hasWrittenBytes()optional uint64 writtenBytes = 7;- Specified by:
hasWrittenBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the writtenBytes field is set.
-
getWrittenBytes
public long getWrittenBytes()optional uint64 writtenBytes = 7;- Specified by:
getWrittenBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- The writtenBytes.
-
setWrittenBytes
optional uint64 writtenBytes = 7;- Parameters:
value- The writtenBytes to set.- Returns:
- This builder for chaining.
-
clearWrittenBytes
optional uint64 writtenBytes = 7;- Returns:
- This builder for chaining.
-
hasReadThroughput
public boolean hasReadThroughput()optional uint64 readThroughput = 8;- Specified by:
hasReadThroughputin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the readThroughput field is set.
-
getReadThroughput
public long getReadThroughput()optional uint64 readThroughput = 8;- Specified by:
getReadThroughputin interfaceClientConnectionInfoOrBuilder- Returns:
- The readThroughput.
-
setReadThroughput
optional uint64 readThroughput = 8;- Parameters:
value- The readThroughput to set.- Returns:
- This builder for chaining.
-
clearReadThroughput
optional uint64 readThroughput = 8;- Returns:
- This builder for chaining.
-
hasWriteThroughput
public boolean hasWriteThroughput()optional uint64 writeThroughput = 9;- Specified by:
hasWriteThroughputin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the writeThroughput field is set.
-
getWriteThroughput
public long getWriteThroughput()optional uint64 writeThroughput = 9;- Specified by:
getWriteThroughputin interfaceClientConnectionInfoOrBuilder- Returns:
- The writeThroughput.
-
setWriteThroughput
optional uint64 writeThroughput = 9;- Parameters:
value- The writeThroughput to set.- Returns:
- This builder for chaining.
-
clearWriteThroughput
optional uint64 writeThroughput = 9;- Returns:
- This builder for chaining.
-
hasHttpRequest
public boolean hasHttpRequest()optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;- Specified by:
hasHttpRequestin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the httpRequest field is set.
-
getHttpRequest
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;- Specified by:
getHttpRequestin interfaceClientConnectionInfoOrBuilder- Returns:
- The httpRequest.
-
setHttpRequest
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10; -
setHttpRequest
public ClientConnectionInfo.Builder setHttpRequest(ClientConnectionInfo.HttpRequestInfo.Builder builderForValue) optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10; -
mergeHttpRequest
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10; -
clearHttpRequest
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10; -
getHttpRequestBuilder
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10; -
getHttpRequestOrBuilder
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;- Specified by:
getHttpRequestOrBuilderin interfaceClientConnectionInfoOrBuilder
-
hasUsername
public boolean hasUsername()optional string username = 11;- Specified by:
hasUsernamein interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the username field is set.
-
getUsername
optional string username = 11;- Specified by:
getUsernamein interfaceClientConnectionInfoOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()optional string username = 11;- Specified by:
getUsernameBytesin interfaceClientConnectionInfoOrBuilder- Returns:
- The bytes for username.
-
setUsername
optional string username = 11;- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
optional string username = 11;- Returns:
- This builder for chaining.
-
setUsernameBytes
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-
mergeUnknownFields
public final ClientConnectionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ClientConnectionInfo.Builder>
-