Package io.hstream.internal
Class StatValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
- io.hstream.internal.StatValue.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StatValueOrBuilder,Cloneable
- Enclosing class:
- StatValue
public static final class StatValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder> implements StatValueOrBuilder
Protobuf typehstream.server.StatValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StatValuebuild()StatValuebuildPartial()StatValue.Builderclear()StatValue.BuilderclearStatType().hstream.server.StatType statType = 1;StatValue.BuilderclearStatValues()booleancontainsStatValues(String key)map<string, int64> statValues = 2;StatValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,Long>getMutableStatValues()Deprecated.StatTypegetStatType().hstream.server.StatType statType = 1;StatType.BuildergetStatTypeBuilder().hstream.server.StatType statType = 1;StatTypeOrBuildergetStatTypeOrBuilder().hstream.server.StatType statType = 1;Map<String,Long>getStatValues()Deprecated.intgetStatValuesCount()map<string, int64> statValues = 2;Map<String,Long>getStatValuesMap()map<string, int64> statValues = 2;longgetStatValuesOrDefault(String key, long defaultValue)map<string, int64> statValues = 2;longgetStatValuesOrThrow(String key)map<string, int64> statValues = 2;booleanhasStatType().hstream.server.StatType statType = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()StatValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StatValue.BuildermergeFrom(com.google.protobuf.Message other)StatValue.BuildermergeFrom(StatValue other)StatValue.BuildermergeStatType(StatType value).hstream.server.StatType statType = 1;StatValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StatValue.BuilderputAllStatValues(Map<String,Long> values)map<string, int64> statValues = 2;StatValue.BuilderputStatValues(String key, long value)map<string, int64> statValues = 2;StatValue.BuilderremoveStatValues(String key)map<string, int64> statValues = 2;StatValue.BuildersetStatType(StatType value).hstream.server.StatType statType = 1;StatValue.BuildersetStatType(StatType.Builder builderForValue).hstream.server.StatType statType = 1;StatValue.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
clear
public StatValue.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.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.GeneratedMessageV3.Builder<StatValue.Builder>
-
getDefaultInstanceForType
public StatValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StatValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StatValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public StatValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StatValue.Builder>
-
mergeFrom
public StatValue.Builder mergeFrom(StatValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
mergeFrom
public StatValue.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<StatValue.Builder>- Throws:
IOException
-
hasStatType
public boolean hasStatType()
.hstream.server.StatType statType = 1;- Specified by:
hasStatTypein interfaceStatValueOrBuilder- Returns:
- Whether the statType field is set.
-
getStatType
public StatType getStatType()
.hstream.server.StatType statType = 1;- Specified by:
getStatTypein interfaceStatValueOrBuilder- Returns:
- The statType.
-
setStatType
public StatValue.Builder setStatType(StatType value)
.hstream.server.StatType statType = 1;
-
setStatType
public StatValue.Builder setStatType(StatType.Builder builderForValue)
.hstream.server.StatType statType = 1;
-
mergeStatType
public StatValue.Builder mergeStatType(StatType value)
.hstream.server.StatType statType = 1;
-
clearStatType
public StatValue.Builder clearStatType()
.hstream.server.StatType statType = 1;
-
getStatTypeBuilder
public StatType.Builder getStatTypeBuilder()
.hstream.server.StatType statType = 1;
-
getStatTypeOrBuilder
public StatTypeOrBuilder getStatTypeOrBuilder()
.hstream.server.StatType statType = 1;- Specified by:
getStatTypeOrBuilderin interfaceStatValueOrBuilder
-
getStatValuesCount
public int getStatValuesCount()
Description copied from interface:StatValueOrBuildermap<string, int64> statValues = 2;- Specified by:
getStatValuesCountin interfaceStatValueOrBuilder
-
containsStatValues
public boolean containsStatValues(String key)
map<string, int64> statValues = 2;- Specified by:
containsStatValuesin interfaceStatValueOrBuilder
-
getStatValues
@Deprecated public Map<String,Long> getStatValues()
Deprecated.UsegetStatValuesMap()instead.- Specified by:
getStatValuesin interfaceStatValueOrBuilder
-
getStatValuesMap
public Map<String,Long> getStatValuesMap()
map<string, int64> statValues = 2;- Specified by:
getStatValuesMapin interfaceStatValueOrBuilder
-
getStatValuesOrDefault
public long getStatValuesOrDefault(String key, long defaultValue)
map<string, int64> statValues = 2;- Specified by:
getStatValuesOrDefaultin interfaceStatValueOrBuilder
-
getStatValuesOrThrow
public long getStatValuesOrThrow(String key)
map<string, int64> statValues = 2;- Specified by:
getStatValuesOrThrowin interfaceStatValueOrBuilder
-
clearStatValues
public StatValue.Builder clearStatValues()
-
removeStatValues
public StatValue.Builder removeStatValues(String key)
map<string, int64> statValues = 2;
-
getMutableStatValues
@Deprecated public Map<String,Long> getMutableStatValues()
Deprecated.Use alternate mutation accessors instead.
-
putStatValues
public StatValue.Builder putStatValues(String key, long value)
map<string, int64> statValues = 2;
-
putAllStatValues
public StatValue.Builder putAllStatValues(Map<String,Long> values)
map<string, int64> statValues = 2;
-
setUnknownFields
public final StatValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
mergeUnknownFields
public final StatValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StatValue.Builder>
-
-