Class Persistent.SubscriptionInfo.ConnectionInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.SubscriptionInfo.ConnectionInfo
-
- All Implemented Interfaces:
Persistent.SubscriptionInfo.ConnectionInfoOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
- Enclosing class:
- Persistent.SubscriptionInfo
public static final class Persistent.SubscriptionInfo.ConnectionInfo extends com.google.protobuf.GeneratedMessageV3 implements Persistent.SubscriptionInfo.ConnectionInfoOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Persistent.SubscriptionInfo.ConnectionInfo.Builder
Protobuf typeevent_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AVAILABLE_SLOTS_FIELD_NUMBER
static int
AVERAGE_ITEMS_PER_SECOND_FIELD_NUMBER
static int
CONNECTION_NAME_FIELD_NUMBER
static int
COUNT_SINCE_LAST_MEASUREMENT_FIELD_NUMBER
static int
FROM_FIELD_NUMBER
static int
IN_FLIGHT_MESSAGES_FIELD_NUMBER
static int
OBSERVED_MEASUREMENTS_FIELD_NUMBER
static int
TOTAL_ITEMS_FIELD_NUMBER
static int
USERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getAvailableSlots()
int32 available_slots = 7;
int
getAverageItemsPerSecond()
int32 average_items_per_second = 3;
java.lang.String
getConnectionName()
string connection_name = 9;
com.google.protobuf.ByteString
getConnectionNameBytes()
string connection_name = 9;
long
getCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;
static Persistent.SubscriptionInfo.ConnectionInfo
getDefaultInstance()
Persistent.SubscriptionInfo.ConnectionInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
java.lang.String
getFrom()
string from = 1;
com.google.protobuf.ByteString
getFromBytes()
string from = 1;
int
getInFlightMessages()
int32 in_flight_messages = 8;
Persistent.SubscriptionInfo.Measurement
getObservedMeasurements(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
int
getObservedMeasurementsCount()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
java.util.List<Persistent.SubscriptionInfo.Measurement>
getObservedMeasurementsList()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.MeasurementOrBuilder
getObservedMeasurementsOrBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
java.util.List<? extends Persistent.SubscriptionInfo.MeasurementOrBuilder>
getObservedMeasurementsOrBuilderList()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
com.google.protobuf.Parser<Persistent.SubscriptionInfo.ConnectionInfo>
getParserForType()
int
getSerializedSize()
long
getTotalItems()
int64 total_items = 4;
java.lang.String
getUsername()
string username = 2;
com.google.protobuf.ByteString
getUsernameBytes()
string username = 2;
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Persistent.SubscriptionInfo.ConnectionInfo.Builder
newBuilder()
static Persistent.SubscriptionInfo.ConnectionInfo.Builder
newBuilder(Persistent.SubscriptionInfo.ConnectionInfo prototype)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
newBuilderForType()
protected Persistent.SubscriptionInfo.ConnectionInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Persistent.SubscriptionInfo.ConnectionInfo
parseDelimitedFrom(java.io.InputStream input)
static Persistent.SubscriptionInfo.ConnectionInfo
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(byte[] data)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(com.google.protobuf.ByteString data)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(java.io.InputStream input)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(java.nio.ByteBuffer data)
static Persistent.SubscriptionInfo.ConnectionInfo
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Persistent.SubscriptionInfo.ConnectionInfo>
parser()
Persistent.SubscriptionInfo.ConnectionInfo.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
-
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVERAGE_ITEMS_PER_SECOND_FIELD_NUMBER
public static final int AVERAGE_ITEMS_PER_SECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_ITEMS_FIELD_NUMBER
public static final int TOTAL_ITEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNT_SINCE_LAST_MEASUREMENT_FIELD_NUMBER
public static final int COUNT_SINCE_LAST_MEASUREMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSERVED_MEASUREMENTS_FIELD_NUMBER
public static final int OBSERVED_MEASUREMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABLE_SLOTS_FIELD_NUMBER
public static final int AVAILABLE_SLOTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IN_FLIGHT_MESSAGES_FIELD_NUMBER
public static final int IN_FLIGHT_MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONNECTION_NAME_FIELD_NUMBER
public static final int CONNECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
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
-
getFrom
public java.lang.String getFrom()
string from = 1;
- Specified by:
getFrom
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The from.
-
getFromBytes
public com.google.protobuf.ByteString getFromBytes()
string from = 1;
- Specified by:
getFromBytes
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The bytes for from.
-
getUsername
public java.lang.String getUsername()
string username = 2;
- Specified by:
getUsername
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
string username = 2;
- Specified by:
getUsernameBytes
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The bytes for username.
-
getAverageItemsPerSecond
public int getAverageItemsPerSecond()
int32 average_items_per_second = 3;
- Specified by:
getAverageItemsPerSecond
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The averageItemsPerSecond.
-
getTotalItems
public long getTotalItems()
int64 total_items = 4;
- Specified by:
getTotalItems
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The totalItems.
-
getCountSinceLastMeasurement
public long getCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;
- Specified by:
getCountSinceLastMeasurement
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The countSinceLastMeasurement.
-
getObservedMeasurementsList
public java.util.List<Persistent.SubscriptionInfo.Measurement> getObservedMeasurementsList()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
- Specified by:
getObservedMeasurementsList
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsOrBuilderList
public java.util.List<? extends Persistent.SubscriptionInfo.MeasurementOrBuilder> getObservedMeasurementsOrBuilderList()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
- Specified by:
getObservedMeasurementsOrBuilderList
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsCount
public int getObservedMeasurementsCount()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
- Specified by:
getObservedMeasurementsCount
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurements
public Persistent.SubscriptionInfo.Measurement getObservedMeasurements(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
- Specified by:
getObservedMeasurements
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsOrBuilder
public Persistent.SubscriptionInfo.MeasurementOrBuilder getObservedMeasurementsOrBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
- Specified by:
getObservedMeasurementsOrBuilder
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getAvailableSlots
public int getAvailableSlots()
int32 available_slots = 7;
- Specified by:
getAvailableSlots
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The availableSlots.
-
getInFlightMessages
public int getInFlightMessages()
int32 in_flight_messages = 8;
- Specified by:
getInFlightMessages
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The inFlightMessages.
-
getConnectionName
public java.lang.String getConnectionName()
string connection_name = 9;
- Specified by:
getConnectionName
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The connectionName.
-
getConnectionNameBytes
public com.google.protobuf.ByteString getConnectionNameBytes()
string connection_name = 9;
- Specified by:
getConnectionNameBytes
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The bytes for connectionName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 Persistent.SubscriptionInfo.ConnectionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.SubscriptionInfo.ConnectionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Persistent.SubscriptionInfo.ConnectionInfo.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Persistent.SubscriptionInfo.ConnectionInfo.Builder newBuilder()
-
newBuilder
public static Persistent.SubscriptionInfo.ConnectionInfo.Builder newBuilder(Persistent.SubscriptionInfo.ConnectionInfo prototype)
-
toBuilder
public Persistent.SubscriptionInfo.ConnectionInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Persistent.SubscriptionInfo.ConnectionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Persistent.SubscriptionInfo.ConnectionInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Persistent.SubscriptionInfo.ConnectionInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<Persistent.SubscriptionInfo.ConnectionInfo> 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
public Persistent.SubscriptionInfo.ConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-