Class Persistent.SubscriptionInfo.ConnectionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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,Cloneable
- Enclosing class:
- Persistent.SubscriptionInfo.ConnectionInfo
public static final class Persistent.SubscriptionInfo.ConnectionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
implements Persistent.SubscriptionInfo.ConnectionInfoOrBuilder
Protobuf type
event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllObservedMeasurements(Iterable<? extends Persistent.SubscriptionInfo.Measurement> values) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;addObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;addObservedMeasurements(Persistent.SubscriptionInfo.Measurement.Builder builderForValue) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;addObservedMeasurementsBuilder(int index) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;build()clear()int32 available_slots = 7;int32 average_items_per_second = 3;string connection_name = 9;int64 count_since_last_measurement = 5;string from = 1;int32 in_flight_messages = 8;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;int64 total_items = 4;string username = 2;intint32 available_slots = 7;intint32 average_items_per_second = 3;string connection_name = 9;com.google.protobuf.ByteStringstring connection_name = 9;longint64 count_since_last_measurement = 5;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFrom()string from = 1;com.google.protobuf.ByteStringstring from = 1;intint32 in_flight_messages = 8;getObservedMeasurements(int index) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;getObservedMeasurementsBuilder(int index) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;intrepeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;getObservedMeasurementsOrBuilder(int index) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;longint64 total_items = 4;string username = 2;com.google.protobuf.ByteStringstring username = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeObservedMeasurements(int index) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;setAvailableSlots(int value) int32 available_slots = 7;setAverageItemsPerSecond(int value) int32 average_items_per_second = 3;setConnectionName(String value) string connection_name = 9;setConnectionNameBytes(com.google.protobuf.ByteString value) string connection_name = 9;setCountSinceLastMeasurement(long value) int64 count_since_last_measurement = 5;string from = 1;setFromBytes(com.google.protobuf.ByteString value) string from = 1;setInFlightMessages(int value) int32 in_flight_messages = 8;setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement value) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;setObservedMeasurements(int index, Persistent.SubscriptionInfo.Measurement.Builder builderForValue) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;setTotalItems(long value) int64 total_items = 4;setUsername(String value) string username = 2;setUsernameBytes(com.google.protobuf.ByteString value) string username = 2;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>
-
mergeFrom
public Persistent.SubscriptionInfo.ConnectionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Persistent.SubscriptionInfo.ConnectionInfo.Builder>- Throws:
IOException
-
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.
-
setFrom
string from = 1;- Parameters:
value- The from to set.- Returns:
- This builder for chaining.
-
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
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.
-
setUsername
string username = 2;- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
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:
getAverageItemsPerSecondin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The averageItemsPerSecond.
-
setAverageItemsPerSecond
int32 average_items_per_second = 3;- Parameters:
value- The averageItemsPerSecond to set.- Returns:
- This builder for chaining.
-
clearAverageItemsPerSecond
int32 average_items_per_second = 3;- Returns:
- This builder for chaining.
-
getTotalItems
public long getTotalItems()int64 total_items = 4;- Specified by:
getTotalItemsin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The totalItems.
-
setTotalItems
int64 total_items = 4;- Parameters:
value- The totalItems to set.- Returns:
- This builder for chaining.
-
clearTotalItems
int64 total_items = 4;- Returns:
- This builder for chaining.
-
getCountSinceLastMeasurement
public long getCountSinceLastMeasurement()int64 count_since_last_measurement = 5;- Specified by:
getCountSinceLastMeasurementin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The countSinceLastMeasurement.
-
setCountSinceLastMeasurement
int64 count_since_last_measurement = 5;- Parameters:
value- The countSinceLastMeasurement to set.- Returns:
- This builder for chaining.
-
clearCountSinceLastMeasurement
int64 count_since_last_measurement = 5;- Returns:
- This builder for chaining.
-
getObservedMeasurementsList
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsListin 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
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsin 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(Iterable<? extends Persistent.SubscriptionInfo.Measurement> values) repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
clearObservedMeasurements
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
removeObservedMeasurements
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
getObservedMeasurementsBuilder
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
getObservedMeasurementsOrBuilder
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsOrBuilderin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
getObservedMeasurementsOrBuilderList
public List<? extends Persistent.SubscriptionInfo.MeasurementOrBuilder> getObservedMeasurementsOrBuilderList()repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6;- Specified by:
getObservedMeasurementsOrBuilderListin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder
-
addObservedMeasurementsBuilder
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
addObservedMeasurementsBuilder
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
getObservedMeasurementsBuilderList
repeated .event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement observed_measurements = 6; -
getAvailableSlots
public int getAvailableSlots()int32 available_slots = 7;- Specified by:
getAvailableSlotsin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The availableSlots.
-
setAvailableSlots
int32 available_slots = 7;- Parameters:
value- The availableSlots to set.- Returns:
- This builder for chaining.
-
clearAvailableSlots
int32 available_slots = 7;- Returns:
- This builder for chaining.
-
getInFlightMessages
public int getInFlightMessages()int32 in_flight_messages = 8;- Specified by:
getInFlightMessagesin interfacePersistent.SubscriptionInfo.ConnectionInfoOrBuilder- Returns:
- The inFlightMessages.
-
setInFlightMessages
int32 in_flight_messages = 8;- Parameters:
value- The inFlightMessages to set.- Returns:
- This builder for chaining.
-
clearInFlightMessages
int32 in_flight_messages = 8;- Returns:
- This builder for chaining.
-
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.
-
setConnectionName
string connection_name = 9;- Parameters:
value- The connectionName to set.- Returns:
- This builder for chaining.
-
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.
-