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 type
yamcs.protobuf.server.ClientConnectionInfo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.server.ClientConnectionInfo
static final class
Protobuf typeyamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo
static interface
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<ClientConnectionInfo>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
optional bool active = 3;
static ClientConnectionInfo
static final com.google.protobuf.Descriptors.Descriptor
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
getId()
optional string id = 1;
com.google.protobuf.ByteString
optional string id = 1;
boolean
getOpen()
optional bool open = 2;
com.google.protobuf.Parser<ClientConnectionInfo>
long
optional uint64 readBytes = 6;
long
optional uint64 readThroughput = 8;
optional string remoteAddress = 5;
com.google.protobuf.ByteString
optional string remoteAddress = 5;
int
final com.google.protobuf.UnknownFieldSet
optional string username = 11;
com.google.protobuf.ByteString
optional string username = 11;
boolean
optional bool writable = 4;
long
optional uint64 writeThroughput = 9;
long
optional uint64 writtenBytes = 7;
boolean
optional bool active = 3;
int
hashCode()
boolean
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
boolean
hasId()
optional string id = 1;
boolean
hasOpen()
optional bool open = 2;
boolean
optional uint64 readBytes = 6;
boolean
optional uint64 readThroughput = 8;
boolean
optional string remoteAddress = 5;
boolean
optional string username = 11;
boolean
optional bool writable = 4;
boolean
optional uint64 writeThroughput = 9;
boolean
optional uint64 writtenBytes = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static ClientConnectionInfo.Builder
static ClientConnectionInfo.Builder
newBuilder
(ClientConnectionInfo prototype) protected ClientConnectionInfo.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ClientConnectionInfo
parseDelimitedFrom
(InputStream input) static ClientConnectionInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfo
parseFrom
(byte[] data) static ClientConnectionInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfo
parseFrom
(com.google.protobuf.ByteString data) static ClientConnectionInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static ClientConnectionInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfo
parseFrom
(InputStream input) static ClientConnectionInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientConnectionInfo
parseFrom
(ByteBuffer data) static ClientConnectionInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClientConnectionInfo>
parser()
void
writeTo
(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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasId
public boolean hasId()optional string id = 1;
- Specified by:
hasId
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the id field is set.
-
getId
optional string id = 1;
- Specified by:
getId
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1;
- Specified by:
getIdBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The bytes for id.
-
hasOpen
public boolean hasOpen()optional bool open = 2;
- Specified by:
hasOpen
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the open field is set.
-
getOpen
public boolean getOpen()optional bool open = 2;
- Specified by:
getOpen
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The open.
-
hasActive
public boolean hasActive()optional bool active = 3;
- Specified by:
hasActive
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the active field is set.
-
getActive
public boolean getActive()optional bool active = 3;
- Specified by:
getActive
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The active.
-
hasWritable
public boolean hasWritable()optional bool writable = 4;
- Specified by:
hasWritable
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the writable field is set.
-
getWritable
public boolean getWritable()optional bool writable = 4;
- Specified by:
getWritable
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The writable.
-
hasRemoteAddress
public boolean hasRemoteAddress()optional string remoteAddress = 5;
- Specified by:
hasRemoteAddress
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
optional string remoteAddress = 5;
- Specified by:
getRemoteAddress
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
public com.google.protobuf.ByteString getRemoteAddressBytes()optional string remoteAddress = 5;
- Specified by:
getRemoteAddressBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The bytes for remoteAddress.
-
hasReadBytes
public boolean hasReadBytes()optional uint64 readBytes = 6;
- Specified by:
hasReadBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the readBytes field is set.
-
getReadBytes
public long getReadBytes()optional uint64 readBytes = 6;
- Specified by:
getReadBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The readBytes.
-
hasWrittenBytes
public boolean hasWrittenBytes()optional uint64 writtenBytes = 7;
- Specified by:
hasWrittenBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the writtenBytes field is set.
-
getWrittenBytes
public long getWrittenBytes()optional uint64 writtenBytes = 7;
- Specified by:
getWrittenBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The writtenBytes.
-
hasReadThroughput
public boolean hasReadThroughput()optional uint64 readThroughput = 8;
- Specified by:
hasReadThroughput
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the readThroughput field is set.
-
getReadThroughput
public long getReadThroughput()optional uint64 readThroughput = 8;
- Specified by:
getReadThroughput
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The readThroughput.
-
hasWriteThroughput
public boolean hasWriteThroughput()optional uint64 writeThroughput = 9;
- Specified by:
hasWriteThroughput
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the writeThroughput field is set.
-
getWriteThroughput
public long getWriteThroughput()optional uint64 writeThroughput = 9;
- Specified by:
getWriteThroughput
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The writeThroughput.
-
hasHttpRequest
public boolean hasHttpRequest()optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
- Specified by:
hasHttpRequest
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the httpRequest field is set.
-
getHttpRequest
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
- Specified by:
getHttpRequest
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The httpRequest.
-
getHttpRequestOrBuilder
optional .yamcs.protobuf.server.ClientConnectionInfo.HttpRequestInfo httpRequest = 10;
- Specified by:
getHttpRequestOrBuilder
in interfaceClientConnectionInfoOrBuilder
-
hasUsername
public boolean hasUsername()optional string username = 11;
- Specified by:
hasUsername
in interfaceClientConnectionInfoOrBuilder
- Returns:
- Whether the username field is set.
-
getUsername
optional string username = 11;
- Specified by:
getUsername
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()optional string username = 11;
- Specified by:
getUsernameBytes
in interfaceClientConnectionInfoOrBuilder
- Returns:
- The bytes for username.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientConnectionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-