Class Persistent.SubscriptionInfo.ConnectionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.SubscriptionInfo.ConnectionInfo.Builder
-
- All Implemented Interfaces:
Persistent.SubscriptionInfo.ConnectionInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Persistent.SubscriptionInfo.ConnectionInfo
public static final class Persistent.SubscriptionInfo.ConnectionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder> implements Persistent.SubscriptionInfo.ConnectionInfoOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Persistent.SubscriptionInfo.ConnectionInfo.Builder
addAllObservedMeasurements(java.lang.Iterable<? extends Persistent.SubscriptionInfo.Measurement> values)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
addObservedMeasurements(Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
addObservedMeasurements(Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.Measurement.Builder
addObservedMeasurementsBuilder()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.Measurement.Builder
addObservedMeasurementsBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.SubscriptionInfo.ConnectionInfo
build()
Persistent.SubscriptionInfo.ConnectionInfo
buildPartial()
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clear()
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearAvailableSlots()
int32 available_slots = 7;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearAverageItemsPerSecond()
int32 average_items_per_second = 3;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearConnectionName()
string connection_name = 9;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearFrom()
string from = 1;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearInFlightMessages()
int32 in_flight_messages = 8;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearObservedMeasurements()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearTotalItems()
int64 total_items = 4;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clearUsername()
string username = 2;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
clone()
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;
Persistent.SubscriptionInfo.ConnectionInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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;
Persistent.SubscriptionInfo.Measurement.Builder
getObservedMeasurementsBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
java.util.List<Persistent.SubscriptionInfo.Measurement.Builder>
getObservedMeasurementsBuilderList()
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;
long
getTotalItems()
int64 total_items = 4;
java.lang.String
getUsername()
string username = 2;
com.google.protobuf.ByteString
getUsernameBytes()
string username = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Persistent.SubscriptionInfo.ConnectionInfo.Builder
mergeFrom(Persistent.SubscriptionInfo.ConnectionInfo other)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
removeObservedMeasurements(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setAvailableSlots(int value)
int32 available_slots = 7;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setAverageItemsPerSecond(int value)
int32 average_items_per_second = 3;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setConnectionName(java.lang.String value)
string connection_name = 9;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setConnectionNameBytes(com.google.protobuf.ByteString value)
string connection_name = 9;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setCountSinceLastMeasurement(long value)
int64 count_since_last_measurement = 5;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setFrom(java.lang.String value)
string from = 1;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setFromBytes(com.google.protobuf.ByteString value)
string from = 1;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setInFlightMessages(int value)
int32 in_flight_messages = 8;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setTotalItems(long value)
int64 total_items = 4;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setUsername(java.lang.String value)
string username = 2;
Persistent.SubscriptionInfo.ConnectionInfo.Builder
setUsernameBytes(com.google.protobuf.ByteString value)
string username = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
clear
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
getDefaultInstanceForType
public Persistent.SubscriptionInfo.ConnectionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Persistent.SubscriptionInfo.ConnectionInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Persistent.SubscriptionInfo.ConnectionInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
setField
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
clearField
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
clearOneof
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
setRepeatedField
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
addRepeatedField
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
mergeFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
mergeFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeFrom(Persistent.SubscriptionInfo.ConnectionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
mergeFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
- Throws:
java.io.IOException
-
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.
-
setFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setFrom(java.lang.String value)
string from = 1;
- Parameters:
value
- The from to set.- Returns:
- This builder for chaining.
-
clearFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearFrom()
string from = 1;
- Returns:
- This builder for chaining.
-
setFromBytes
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setFromBytes(com.google.protobuf.ByteString value)
string from = 1;
- Parameters:
value
- The bytes for from to set.- Returns:
- This builder for chaining.
-
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.
-
setUsername
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setUsername(java.lang.String value)
string username = 2;
- Parameters:
value
- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearUsername()
string username = 2;
- Returns:
- This builder for chaining.
-
setUsernameBytes
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setUsernameBytes(com.google.protobuf.ByteString value)
string username = 2;
- Parameters:
value
- The bytes for username to set.- Returns:
- This builder for chaining.
-
getAverageItemsPerSecond
public int getAverageItemsPerSecond()
int32 average_items_per_second = 3;
- Specified by:
getAverageItemsPerSecond
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The averageItemsPerSecond.
-
setAverageItemsPerSecond
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setAverageItemsPerSecond(int value)
int32 average_items_per_second = 3;
- Parameters:
value
- The averageItemsPerSecond to set.- Returns:
- This builder for chaining.
-
clearAverageItemsPerSecond
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearAverageItemsPerSecond()
int32 average_items_per_second = 3;
- Returns:
- This builder for chaining.
-
getTotalItems
public long getTotalItems()
int64 total_items = 4;
- Specified by:
getTotalItems
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The totalItems.
-
setTotalItems
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setTotalItems(long value)
int64 total_items = 4;
- Parameters:
value
- The totalItems to set.- Returns:
- This builder for chaining.
-
clearTotalItems
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearTotalItems()
int64 total_items = 4;
- Returns:
- This builder for chaining.
-
getCountSinceLastMeasurement
public long getCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;
- Specified by:
getCountSinceLastMeasurement
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The countSinceLastMeasurement.
-
setCountSinceLastMeasurement
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setCountSinceLastMeasurement(long value)
int64 count_since_last_measurement = 5;
- Parameters:
value
- The countSinceLastMeasurement to set.- Returns:
- This builder for chaining.
-
clearCountSinceLastMeasurement
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearCountSinceLastMeasurement()
int64 count_since_last_measurement = 5;
- Returns:
- This builder for chaining.
-
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
-
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
-
setObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
setObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addObservedMeasurements(Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addObservedMeasurements(Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addAllObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder addAllObservedMeasurements(java.lang.Iterable<? extends Persistent.SubscriptionInfo.Measurement> values)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
clearObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearObservedMeasurements()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
removeObservedMeasurements
public Persistent.SubscriptionInfo.ConnectionInfo.Builder removeObservedMeasurements(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
getObservedMeasurementsBuilder
public Persistent.SubscriptionInfo.Measurement.Builder getObservedMeasurementsBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
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
-
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
-
addObservedMeasurementsBuilder
public Persistent.SubscriptionInfo.Measurement.Builder addObservedMeasurementsBuilder()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
addObservedMeasurementsBuilder
public Persistent.SubscriptionInfo.Measurement.Builder addObservedMeasurementsBuilder(int index)
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
getObservedMeasurementsBuilderList
public java.util.List<Persistent.SubscriptionInfo.Measurement.Builder> getObservedMeasurementsBuilderList()
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;
-
getAvailableSlots
public int getAvailableSlots()
int32 available_slots = 7;
- Specified by:
getAvailableSlots
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The availableSlots.
-
setAvailableSlots
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setAvailableSlots(int value)
int32 available_slots = 7;
- Parameters:
value
- The availableSlots to set.- Returns:
- This builder for chaining.
-
clearAvailableSlots
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearAvailableSlots()
int32 available_slots = 7;
- Returns:
- This builder for chaining.
-
getInFlightMessages
public int getInFlightMessages()
int32 in_flight_messages = 8;
- Specified by:
getInFlightMessages
in interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
- Returns:
- The inFlightMessages.
-
setInFlightMessages
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setInFlightMessages(int value)
int32 in_flight_messages = 8;
- Parameters:
value
- The inFlightMessages to set.- Returns:
- This builder for chaining.
-
clearInFlightMessages
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearInFlightMessages()
int32 in_flight_messages = 8;
- Returns:
- This builder for chaining.
-
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.
-
setConnectionName
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setConnectionName(java.lang.String value)
string connection_name = 9;
- Parameters:
value
- The connectionName to set.- Returns:
- This builder for chaining.
-
clearConnectionName
public Persistent.SubscriptionInfo.ConnectionInfo.Builder clearConnectionName()
string connection_name = 9;
- Returns:
- This builder for chaining.
-
setConnectionNameBytes
public Persistent.SubscriptionInfo.ConnectionInfo.Builder setConnectionNameBytes(com.google.protobuf.ByteString value)
string connection_name = 9;
- Parameters:
value
- The bytes for connectionName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Persistent.SubscriptionInfo.ConnectionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
mergeUnknownFields
public final Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
-