Package org.yamcs.protobuf
Class ClientConnectionInfo
- 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 typeyamcs.protobuf.web.ClientConnectionInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientConnectionInfo.BuilderProtobuf typeyamcs.protobuf.web.ClientConnectionInfostatic classClientConnectionInfo.HttpRequestInfoProtobuf typeyamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfostatic interfaceClientConnectionInfo.HttpRequestInfoOrBuilder-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_FIELD_NUMBERstatic intHTTPREQUEST_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intOPEN_FIELD_NUMBERstatic com.google.protobuf.Parser<ClientConnectionInfo>PARSERDeprecated.static intREADBYTES_FIELD_NUMBERstatic intREADTHROUGHPUT_FIELD_NUMBERstatic intREMOTEADDRESS_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBERstatic intWRITABLE_FIELD_NUMBERstatic intWRITETHROUGHPUT_FIELD_NUMBERstatic intWRITTENBYTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetActive()optional bool active = 3;static ClientConnectionInfogetDefaultInstance()ClientConnectionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ClientConnectionInfo.HttpRequestInfogetHttpRequest()optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;ClientConnectionInfo.HttpRequestInfoOrBuildergetHttpRequestOrBuilder()optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;StringgetId()optional string id = 1;com.google.protobuf.ByteStringgetIdBytes()optional string id = 1;booleangetOpen()optional bool open = 2;com.google.protobuf.Parser<ClientConnectionInfo>getParserForType()longgetReadBytes()optional uint64 readBytes = 6;longgetReadThroughput()optional uint64 readThroughput = 8;StringgetRemoteAddress()optional string remoteAddress = 5;com.google.protobuf.ByteStringgetRemoteAddressBytes()optional string remoteAddress = 5;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUsername()optional string username = 11;com.google.protobuf.ByteStringgetUsernameBytes()optional string username = 11;booleangetWritable()optional bool writable = 4;longgetWriteThroughput()optional uint64 writeThroughput = 9;longgetWrittenBytes()optional uint64 writtenBytes = 7;booleanhasActive()optional bool active = 3;inthashCode()booleanhasHttpRequest()optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;booleanhasId()optional string id = 1;booleanhasOpen()optional bool open = 2;booleanhasReadBytes()optional uint64 readBytes = 6;booleanhasReadThroughput()optional uint64 readThroughput = 8;booleanhasRemoteAddress()optional string remoteAddress = 5;booleanhasUsername()optional string username = 11;booleanhasWritable()optional bool writable = 4;booleanhasWriteThroughput()optional uint64 writeThroughput = 9;booleanhasWrittenBytes()optional uint64 writtenBytes = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClientConnectionInfo.BuildernewBuilder()static ClientConnectionInfo.BuildernewBuilder(ClientConnectionInfo prototype)ClientConnectionInfo.BuildernewBuilderForType()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()ClientConnectionInfo.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPEN_FIELD_NUMBER
public static final int OPEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WRITABLE_FIELD_NUMBER
public static final int WRITABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTEADDRESS_FIELD_NUMBER
public static final int REMOTEADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READBYTES_FIELD_NUMBER
public static final int READBYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WRITTENBYTES_FIELD_NUMBER
public static final int WRITTENBYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READTHROUGHPUT_FIELD_NUMBER
public static final int READTHROUGHPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WRITETHROUGHPUT_FIELD_NUMBER
public static final int WRITETHROUGHPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTPREQUEST_FIELD_NUMBER
public static final int HTTPREQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<ClientConnectionInfo> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public String 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
public String 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.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;- Specified by:
hasHttpRequestin interfaceClientConnectionInfoOrBuilder- Returns:
- Whether the httpRequest field is set.
-
getHttpRequest
public ClientConnectionInfo.HttpRequestInfo getHttpRequest()
optional .yamcs.protobuf.web.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;- Specified by:
getHttpRequestin interfaceClientConnectionInfoOrBuilder- Returns:
- The httpRequest.
-
getHttpRequestOrBuilder
public ClientConnectionInfo.HttpRequestInfoOrBuilder getHttpRequestOrBuilder()
optional .yamcs.protobuf.web.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
public String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static ClientConnectionInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientConnectionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientConnectionInfo parseDelimitedFrom(InputStream input) throws IOException
- 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
public ClientConnectionInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClientConnectionInfo.Builder newBuilder()
-
newBuilder
public static ClientConnectionInfo.Builder newBuilder(ClientConnectionInfo prototype)
-
toBuilder
public ClientConnectionInfo.Builder 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
public static ClientConnectionInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClientConnectionInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<ClientConnectionInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClientConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-