java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.ClientConnectionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ClientConnectionInfoOrBuilder
public final class ClientConnectionInfo
extends com.google.protobuf.GeneratedMessageV3
implements ClientConnectionInfoOrBuilder
Protobuf type
yamcs.protobuf.server.ClientConnectionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.server.ClientConnectionInfostatic final classProtobuf typeyamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfostatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<ClientConnectionInfo>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanoptional bool active = 3;static ClientConnectionInfostatic final com.google.protobuf.Descriptors.Descriptoroptional .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;com.google.protobuf.Parser<ClientConnectionInfo>longoptional uint64 readBytes = 6;longoptional uint64 readThroughput = 8;optional string remoteAddress = 5;com.google.protobuf.ByteStringoptional string remoteAddress = 5;intfinal com.google.protobuf.UnknownFieldSetoptional 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;inthashCode()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 booleanstatic ClientConnectionInfo.Builderstatic ClientConnectionInfo.BuildernewBuilder(ClientConnectionInfo prototype) protected ClientConnectionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ClientConnectionInfoparseDelimitedFrom(InputStream input) static ClientConnectionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfoparseFrom(byte[] data) static ClientConnectionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfoparseFrom(com.google.protobuf.ByteString data) static ClientConnectionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input) static ClientConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfoparseFrom(InputStream input) static ClientConnectionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfoparseFrom(ByteBuffer data) static ClientConnectionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClientConnectionInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
OPEN_FIELD_NUMBER
public static final int OPEN_FIELD_NUMBER- See Also:
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER- See Also:
-
WRITABLE_FIELD_NUMBER
public static final int WRITABLE_FIELD_NUMBER- See Also:
-
REMOTEADDRESS_FIELD_NUMBER
public static final int REMOTEADDRESS_FIELD_NUMBER- See Also:
-
READBYTES_FIELD_NUMBER
public static final int READBYTES_FIELD_NUMBER- See Also:
-
WRITTENBYTES_FIELD_NUMBER
public static final int WRITTENBYTES_FIELD_NUMBER- See Also:
-
READTHROUGHPUT_FIELD_NUMBER
public static final int READTHROUGHPUT_FIELD_NUMBER- See Also:
-
WRITETHROUGHPUT_FIELD_NUMBER
public static final int WRITETHROUGHPUT_FIELD_NUMBER- See Also:
-
HTTPREQUEST_FIELD_NUMBER
public static final int HTTPREQUEST_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClientConnectionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConnectionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConnectionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConnectionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientConnectionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClientConnectionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClientConnectionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClientConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClientConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConnectionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-