Package io.hstream.internal
Class StatType
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.hstream.internal.StatType
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StatTypeOrBuilder,Serializable
public final class StatType extends com.google.protobuf.GeneratedMessageV3 implements StatTypeOrBuilder
Protobuf typehstream.server.StatType- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatType.BuilderProtobuf typehstream.server.StatTypestatic classStatType.StatCase-
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 intCONNSTAT_FIELD_NUMBERstatic intQUERYSTAT_FIELD_NUMBERstatic intSTREAMSTAT_FIELD_NUMBERstatic intSUBSTAT_FIELD_NUMBERstatic intVIEWSTAT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ConnectorStatsgetConnStat().hstream.server.ConnectorStats connStat = 3;intgetConnStatValue().hstream.server.ConnectorStats connStat = 3;static StatTypegetDefaultInstance()StatTypegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<StatType>getParserForType()QueryStatsgetQueryStat().hstream.server.QueryStats queryStat = 4;intgetQueryStatValue().hstream.server.QueryStats queryStat = 4;intgetSerializedSize()StatType.StatCasegetStatCase()StreamStatsgetStreamStat().hstream.server.StreamStats streamStat = 1;intgetStreamStatValue().hstream.server.StreamStats streamStat = 1;SubscriptionStatsgetSubStat().hstream.server.SubscriptionStats subStat = 2;intgetSubStatValue().hstream.server.SubscriptionStats subStat = 2;ViewStatsgetViewStat().hstream.server.ViewStats viewStat = 5;intgetViewStatValue().hstream.server.ViewStats viewStat = 5;booleanhasConnStat().hstream.server.ConnectorStats connStat = 3;inthashCode()booleanhasQueryStat().hstream.server.QueryStats queryStat = 4;booleanhasStreamStat().hstream.server.StreamStats streamStat = 1;booleanhasSubStat().hstream.server.SubscriptionStats subStat = 2;booleanhasViewStat().hstream.server.ViewStats viewStat = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StatType.BuildernewBuilder()static StatType.BuildernewBuilder(StatType prototype)StatType.BuildernewBuilderForType()protected StatType.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StatTypeparseDelimitedFrom(InputStream input)static StatTypeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StatTypeparseFrom(byte[] data)static StatTypeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StatTypeparseFrom(com.google.protobuf.ByteString data)static StatTypeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StatTypeparseFrom(com.google.protobuf.CodedInputStream input)static StatTypeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StatTypeparseFrom(InputStream input)static StatTypeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StatTypeparseFrom(ByteBuffer data)static StatTypeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StatType>parser()StatType.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
STREAMSTAT_FIELD_NUMBER
public static final int STREAMSTAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSTAT_FIELD_NUMBER
public static final int SUBSTAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONNSTAT_FIELD_NUMBER
public static final int CONNSTAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERYSTAT_FIELD_NUMBER
public static final int QUERYSTAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIEWSTAT_FIELD_NUMBER
public static final int VIEWSTAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein 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
-
getStatCase
public StatType.StatCase getStatCase()
- Specified by:
getStatCasein interfaceStatTypeOrBuilder
-
hasStreamStat
public boolean hasStreamStat()
.hstream.server.StreamStats streamStat = 1;- Specified by:
hasStreamStatin interfaceStatTypeOrBuilder- Returns:
- Whether the streamStat field is set.
-
getStreamStatValue
public int getStreamStatValue()
.hstream.server.StreamStats streamStat = 1;- Specified by:
getStreamStatValuein interfaceStatTypeOrBuilder- Returns:
- The enum numeric value on the wire for streamStat.
-
getStreamStat
public StreamStats getStreamStat()
.hstream.server.StreamStats streamStat = 1;- Specified by:
getStreamStatin interfaceStatTypeOrBuilder- Returns:
- The streamStat.
-
hasSubStat
public boolean hasSubStat()
.hstream.server.SubscriptionStats subStat = 2;- Specified by:
hasSubStatin interfaceStatTypeOrBuilder- Returns:
- Whether the subStat field is set.
-
getSubStatValue
public int getSubStatValue()
.hstream.server.SubscriptionStats subStat = 2;- Specified by:
getSubStatValuein interfaceStatTypeOrBuilder- Returns:
- The enum numeric value on the wire for subStat.
-
getSubStat
public SubscriptionStats getSubStat()
.hstream.server.SubscriptionStats subStat = 2;- Specified by:
getSubStatin interfaceStatTypeOrBuilder- Returns:
- The subStat.
-
hasConnStat
public boolean hasConnStat()
.hstream.server.ConnectorStats connStat = 3;- Specified by:
hasConnStatin interfaceStatTypeOrBuilder- Returns:
- Whether the connStat field is set.
-
getConnStatValue
public int getConnStatValue()
.hstream.server.ConnectorStats connStat = 3;- Specified by:
getConnStatValuein interfaceStatTypeOrBuilder- Returns:
- The enum numeric value on the wire for connStat.
-
getConnStat
public ConnectorStats getConnStat()
.hstream.server.ConnectorStats connStat = 3;- Specified by:
getConnStatin interfaceStatTypeOrBuilder- Returns:
- The connStat.
-
hasQueryStat
public boolean hasQueryStat()
.hstream.server.QueryStats queryStat = 4;- Specified by:
hasQueryStatin interfaceStatTypeOrBuilder- Returns:
- Whether the queryStat field is set.
-
getQueryStatValue
public int getQueryStatValue()
.hstream.server.QueryStats queryStat = 4;- Specified by:
getQueryStatValuein interfaceStatTypeOrBuilder- Returns:
- The enum numeric value on the wire for queryStat.
-
getQueryStat
public QueryStats getQueryStat()
.hstream.server.QueryStats queryStat = 4;- Specified by:
getQueryStatin interfaceStatTypeOrBuilder- Returns:
- The queryStat.
-
hasViewStat
public boolean hasViewStat()
.hstream.server.ViewStats viewStat = 5;- Specified by:
hasViewStatin interfaceStatTypeOrBuilder- Returns:
- Whether the viewStat field is set.
-
getViewStatValue
public int getViewStatValue()
.hstream.server.ViewStats viewStat = 5;- Specified by:
getViewStatValuein interfaceStatTypeOrBuilder- Returns:
- The enum numeric value on the wire for viewStat.
-
getViewStat
public ViewStats getViewStat()
.hstream.server.ViewStats viewStat = 5;- Specified by:
getViewStatin interfaceStatTypeOrBuilder- Returns:
- The viewStat.
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 StatType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StatType parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StatType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StatType parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StatType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StatType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StatType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StatType.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StatType.Builder newBuilder()
-
newBuilder
public static StatType.Builder newBuilder(StatType prototype)
-
toBuilder
public StatType.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StatType.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StatType getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StatType> parser()
-
getParserForType
public com.google.protobuf.Parser<StatType> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StatType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-