Package io.hstream.internal
Class StatType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StatType.Builder>
-
- io.hstream.internal.StatType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StatTypeOrBuilder
,Cloneable
- Enclosing class:
- StatType
public static final class StatType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatType.Builder> implements StatTypeOrBuilder
Protobuf typehstream.server.StatType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StatType
build()
StatType
buildPartial()
StatType.Builder
clear()
StatType.Builder
clearConnStat()
.hstream.server.ConnectorStats connStat = 3;
StatType.Builder
clearQueryStat()
.hstream.server.QueryStats queryStat = 4;
StatType.Builder
clearStat()
StatType.Builder
clearStreamStat()
.hstream.server.StreamStats streamStat = 1;
StatType.Builder
clearSubStat()
.hstream.server.SubscriptionStats subStat = 2;
StatType.Builder
clearViewStat()
.hstream.server.ViewStats viewStat = 5;
ConnectorStats
getConnStat()
.hstream.server.ConnectorStats connStat = 3;
int
getConnStatValue()
.hstream.server.ConnectorStats connStat = 3;
StatType
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
QueryStats
getQueryStat()
.hstream.server.QueryStats queryStat = 4;
int
getQueryStatValue()
.hstream.server.QueryStats queryStat = 4;
StatType.StatCase
getStatCase()
StreamStats
getStreamStat()
.hstream.server.StreamStats streamStat = 1;
int
getStreamStatValue()
.hstream.server.StreamStats streamStat = 1;
SubscriptionStats
getSubStat()
.hstream.server.SubscriptionStats subStat = 2;
int
getSubStatValue()
.hstream.server.SubscriptionStats subStat = 2;
ViewStats
getViewStat()
.hstream.server.ViewStats viewStat = 5;
int
getViewStatValue()
.hstream.server.ViewStats viewStat = 5;
boolean
hasConnStat()
.hstream.server.ConnectorStats connStat = 3;
boolean
hasQueryStat()
.hstream.server.QueryStats queryStat = 4;
boolean
hasStreamStat()
.hstream.server.StreamStats streamStat = 1;
boolean
hasSubStat()
.hstream.server.SubscriptionStats subStat = 2;
boolean
hasViewStat()
.hstream.server.ViewStats viewStat = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StatType.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StatType.Builder
mergeFrom(com.google.protobuf.Message other)
StatType.Builder
mergeFrom(StatType other)
StatType.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StatType.Builder
setConnStat(ConnectorStats value)
.hstream.server.ConnectorStats connStat = 3;
StatType.Builder
setConnStatValue(int value)
.hstream.server.ConnectorStats connStat = 3;
StatType.Builder
setQueryStat(QueryStats value)
.hstream.server.QueryStats queryStat = 4;
StatType.Builder
setQueryStatValue(int value)
.hstream.server.QueryStats queryStat = 4;
StatType.Builder
setStreamStat(StreamStats value)
.hstream.server.StreamStats streamStat = 1;
StatType.Builder
setStreamStatValue(int value)
.hstream.server.StreamStats streamStat = 1;
StatType.Builder
setSubStat(SubscriptionStats value)
.hstream.server.SubscriptionStats subStat = 2;
StatType.Builder
setSubStatValue(int value)
.hstream.server.SubscriptionStats subStat = 2;
StatType.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StatType.Builder
setViewStat(ViewStats value)
.hstream.server.ViewStats viewStat = 5;
StatType.Builder
setViewStatValue(int value)
.hstream.server.ViewStats viewStat = 5;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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<StatType.Builder>
-
clear
public StatType.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<StatType.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<StatType.Builder>
-
getDefaultInstanceForType
public StatType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StatType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StatType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public StatType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StatType.Builder>
-
mergeFrom
public StatType.Builder mergeFrom(StatType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatType.Builder>
-
mergeFrom
public StatType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<StatType.Builder>
- Throws:
IOException
-
getStatCase
public StatType.StatCase getStatCase()
- Specified by:
getStatCase
in interfaceStatTypeOrBuilder
-
clearStat
public StatType.Builder clearStat()
-
hasStreamStat
public boolean hasStreamStat()
.hstream.server.StreamStats streamStat = 1;
- Specified by:
hasStreamStat
in interfaceStatTypeOrBuilder
- Returns:
- Whether the streamStat field is set.
-
getStreamStatValue
public int getStreamStatValue()
.hstream.server.StreamStats streamStat = 1;
- Specified by:
getStreamStatValue
in interfaceStatTypeOrBuilder
- Returns:
- The enum numeric value on the wire for streamStat.
-
setStreamStatValue
public StatType.Builder setStreamStatValue(int value)
.hstream.server.StreamStats streamStat = 1;
- Parameters:
value
- The enum numeric value on the wire for streamStat to set.- Returns:
- This builder for chaining.
-
getStreamStat
public StreamStats getStreamStat()
.hstream.server.StreamStats streamStat = 1;
- Specified by:
getStreamStat
in interfaceStatTypeOrBuilder
- Returns:
- The streamStat.
-
setStreamStat
public StatType.Builder setStreamStat(StreamStats value)
.hstream.server.StreamStats streamStat = 1;
- Parameters:
value
- The streamStat to set.- Returns:
- This builder for chaining.
-
clearStreamStat
public StatType.Builder clearStreamStat()
.hstream.server.StreamStats streamStat = 1;
- Returns:
- This builder for chaining.
-
hasSubStat
public boolean hasSubStat()
.hstream.server.SubscriptionStats subStat = 2;
- Specified by:
hasSubStat
in interfaceStatTypeOrBuilder
- Returns:
- Whether the subStat field is set.
-
getSubStatValue
public int getSubStatValue()
.hstream.server.SubscriptionStats subStat = 2;
- Specified by:
getSubStatValue
in interfaceStatTypeOrBuilder
- Returns:
- The enum numeric value on the wire for subStat.
-
setSubStatValue
public StatType.Builder setSubStatValue(int value)
.hstream.server.SubscriptionStats subStat = 2;
- Parameters:
value
- The enum numeric value on the wire for subStat to set.- Returns:
- This builder for chaining.
-
getSubStat
public SubscriptionStats getSubStat()
.hstream.server.SubscriptionStats subStat = 2;
- Specified by:
getSubStat
in interfaceStatTypeOrBuilder
- Returns:
- The subStat.
-
setSubStat
public StatType.Builder setSubStat(SubscriptionStats value)
.hstream.server.SubscriptionStats subStat = 2;
- Parameters:
value
- The subStat to set.- Returns:
- This builder for chaining.
-
clearSubStat
public StatType.Builder clearSubStat()
.hstream.server.SubscriptionStats subStat = 2;
- Returns:
- This builder for chaining.
-
hasConnStat
public boolean hasConnStat()
.hstream.server.ConnectorStats connStat = 3;
- Specified by:
hasConnStat
in interfaceStatTypeOrBuilder
- Returns:
- Whether the connStat field is set.
-
getConnStatValue
public int getConnStatValue()
.hstream.server.ConnectorStats connStat = 3;
- Specified by:
getConnStatValue
in interfaceStatTypeOrBuilder
- Returns:
- The enum numeric value on the wire for connStat.
-
setConnStatValue
public StatType.Builder setConnStatValue(int value)
.hstream.server.ConnectorStats connStat = 3;
- Parameters:
value
- The enum numeric value on the wire for connStat to set.- Returns:
- This builder for chaining.
-
getConnStat
public ConnectorStats getConnStat()
.hstream.server.ConnectorStats connStat = 3;
- Specified by:
getConnStat
in interfaceStatTypeOrBuilder
- Returns:
- The connStat.
-
setConnStat
public StatType.Builder setConnStat(ConnectorStats value)
.hstream.server.ConnectorStats connStat = 3;
- Parameters:
value
- The connStat to set.- Returns:
- This builder for chaining.
-
clearConnStat
public StatType.Builder clearConnStat()
.hstream.server.ConnectorStats connStat = 3;
- Returns:
- This builder for chaining.
-
hasQueryStat
public boolean hasQueryStat()
.hstream.server.QueryStats queryStat = 4;
- Specified by:
hasQueryStat
in interfaceStatTypeOrBuilder
- Returns:
- Whether the queryStat field is set.
-
getQueryStatValue
public int getQueryStatValue()
.hstream.server.QueryStats queryStat = 4;
- Specified by:
getQueryStatValue
in interfaceStatTypeOrBuilder
- Returns:
- The enum numeric value on the wire for queryStat.
-
setQueryStatValue
public StatType.Builder setQueryStatValue(int value)
.hstream.server.QueryStats queryStat = 4;
- Parameters:
value
- The enum numeric value on the wire for queryStat to set.- Returns:
- This builder for chaining.
-
getQueryStat
public QueryStats getQueryStat()
.hstream.server.QueryStats queryStat = 4;
- Specified by:
getQueryStat
in interfaceStatTypeOrBuilder
- Returns:
- The queryStat.
-
setQueryStat
public StatType.Builder setQueryStat(QueryStats value)
.hstream.server.QueryStats queryStat = 4;
- Parameters:
value
- The queryStat to set.- Returns:
- This builder for chaining.
-
clearQueryStat
public StatType.Builder clearQueryStat()
.hstream.server.QueryStats queryStat = 4;
- Returns:
- This builder for chaining.
-
hasViewStat
public boolean hasViewStat()
.hstream.server.ViewStats viewStat = 5;
- Specified by:
hasViewStat
in interfaceStatTypeOrBuilder
- Returns:
- Whether the viewStat field is set.
-
getViewStatValue
public int getViewStatValue()
.hstream.server.ViewStats viewStat = 5;
- Specified by:
getViewStatValue
in interfaceStatTypeOrBuilder
- Returns:
- The enum numeric value on the wire for viewStat.
-
setViewStatValue
public StatType.Builder setViewStatValue(int value)
.hstream.server.ViewStats viewStat = 5;
- Parameters:
value
- The enum numeric value on the wire for viewStat to set.- Returns:
- This builder for chaining.
-
getViewStat
public ViewStats getViewStat()
.hstream.server.ViewStats viewStat = 5;
- Specified by:
getViewStat
in interfaceStatTypeOrBuilder
- Returns:
- The viewStat.
-
setViewStat
public StatType.Builder setViewStat(ViewStats value)
.hstream.server.ViewStats viewStat = 5;
- Parameters:
value
- The viewStat to set.- Returns:
- This builder for chaining.
-
clearViewStat
public StatType.Builder clearViewStat()
.hstream.server.ViewStats viewStat = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StatType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatType.Builder>
-
mergeUnknownFields
public final StatType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StatType.Builder>
-
-