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 classPersistent.SubscriptionInfo.ConnectionInfo.BuilderProtobuf 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 intAVAILABLE_SLOTS_FIELD_NUMBERstatic intAVERAGE_ITEMS_PER_SECOND_FIELD_NUMBERstatic intCONNECTION_NAME_FIELD_NUMBERstatic intCOUNT_SINCE_LAST_MEASUREMENT_FIELD_NUMBERstatic intFROM_FIELD_NUMBERstatic intIN_FLIGHT_MESSAGES_FIELD_NUMBERstatic intOBSERVED_MEASUREMENTS_FIELD_NUMBERstatic intTOTAL_ITEMS_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetAvailableSlots()int32 available_slots = 7;intgetAverageItemsPerSecond()int32 average_items_per_second = 3;java.lang.StringgetConnectionName()string connection_name = 9;com.google.protobuf.ByteStringgetConnectionNameBytes()string connection_name = 9;longgetCountSinceLastMeasurement()int64 count_since_last_measurement = 5;static Persistent.SubscriptionInfo.ConnectionInfogetDefaultInstance()Persistent.SubscriptionInfo.ConnectionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFrom()string from = 1;com.google.protobuf.ByteStringgetFromBytes()string from = 1;intgetInFlightMessages()int32 in_flight_messages = 8;Persistent.SubscriptionInfo.MeasurementgetObservedMeasurements(int index)repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;intgetObservedMeasurementsCount()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.MeasurementOrBuildergetObservedMeasurementsOrBuilder(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()intgetSerializedSize()longgetTotalItems()int64 total_items = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetUsername()string username = 2;com.google.protobuf.ByteStringgetUsernameBytes()string username = 2;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Persistent.SubscriptionInfo.ConnectionInfo.BuildernewBuilder()static Persistent.SubscriptionInfo.ConnectionInfo.BuildernewBuilder(Persistent.SubscriptionInfo.ConnectionInfo prototype)Persistent.SubscriptionInfo.ConnectionInfo.BuildernewBuilderForType()protected Persistent.SubscriptionInfo.ConnectionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Persistent.SubscriptionInfo.ConnectionInfoparseDelimitedFrom(java.io.InputStream input)static Persistent.SubscriptionInfo.ConnectionInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(byte[] data)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(com.google.protobuf.ByteString data)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(java.io.InputStream input)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(java.nio.ByteBuffer data)static Persistent.SubscriptionInfo.ConnectionInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Persistent.SubscriptionInfo.ConnectionInfo>parser()Persistent.SubscriptionInfo.ConnectionInfo.BuildertoBuilder()voidwriteTo(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, hasField, hasOneof, internalGetMapField, 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:
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
-
getFrom
public java.lang.String getFrom()
string from = 1;- Specified by:
getFromin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The from.
-
getFromBytes
public com.google.protobuf.ByteString getFromBytes()
string from = 1;- Specified by:
getFromBytesin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The bytes for from.
-
getUsername
public java.lang.String getUsername()
string username = 2;- Specified by:
getUsernamein interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
string username = 2;- Specified by:
getUsernameBytesin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The bytes for username.
-
getAverageItemsPerSecond
public int getAverageItemsPerSecond()
int32 average_items_per_second = 3;- Specified by:
getAverageItemsPerSecondin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The averageItemsPerSecond.
-
getTotalItems
public long getTotalItems()
int64 total_items = 4;- Specified by:
getTotalItemsin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The totalItems.
-
getCountSinceLastMeasurement
public long getCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;- Specified by:
getCountSinceLastMeasurementin 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:
getObservedMeasurementsListin 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:
getObservedMeasurementsOrBuilderListin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsCount
public int getObservedMeasurementsCount()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsCountin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurements
public Persistent.SubscriptionInfo.Measurement getObservedMeasurements(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsOrBuilder
public Persistent.SubscriptionInfo.MeasurementOrBuilder getObservedMeasurementsOrBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsOrBuilderin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getAvailableSlots
public int getAvailableSlots()
int32 available_slots = 7;- Specified by:
getAvailableSlotsin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The availableSlots.
-
getInFlightMessages
public int getInFlightMessages()
int32 in_flight_messages = 8;- Specified by:
getInFlightMessagesin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The inFlightMessages.
-
getConnectionName
public java.lang.String getConnectionName()
string connection_name = 9;- Specified by:
getConnectionNamein interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The connectionName.
-
getConnectionNameBytes
public com.google.protobuf.ByteString getConnectionNameBytes()
string connection_name = 9;- Specified by:
getConnectionNameBytesin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The bytes for connectionName.
-
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 java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Persistent.SubscriptionInfo.ConnectionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Persistent.SubscriptionInfo.ConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-