Class Metrics.Summary.Builder
java.lang.Object
io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_36_2.Metrics.Summary.Builder
- All Implemented Interfaces:
Metrics.SummaryOrBuilder, Cloneable
- Enclosing class:
Metrics.Summary
public static final class Metrics.Summary.Builder
extends Object
implements Metrics.SummaryOrBuilder
Protobuf type
io.prometheus.client.Summary-
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> voidaddAll(Iterable<T> arg0, Collection<? super T> arg1) Deprecated.protected static <T> voidaddAllQuantile(Iterable<? extends Metrics.Quantile> values) repeated .io.prometheus.client.Quantile quantile = 3;addQuantile(int index, Metrics.Quantile value) repeated .io.prometheus.client.Quantile quantile = 3;addQuantile(int index, Metrics.Quantile.Builder builderForValue) repeated .io.prometheus.client.Quantile quantile = 3;addQuantile(Metrics.Quantile value) repeated .io.prometheus.client.Quantile quantile = 3;addQuantile(Metrics.Quantile.Builder builderForValue) repeated .io.prometheus.client.Quantile quantile = 3;repeated .io.prometheus.client.Quantile quantile = 3;addQuantileBuilder(int index) repeated .io.prometheus.client.Quantile quantile = 3;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, Object arg1) build()clear()optional .google.protobuf.Timestamp created_timestamp = 4;clearField(com.google.protobuf.Descriptors.FieldDescriptor arg0) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) repeated .io.prometheus.client.Quantile quantile = 3;optional uint64 sample_count = 1;optional double sample_sum = 2;clone()com.google.protobuf.Timestampoptional .google.protobuf.Timestamp created_timestamp = 4;com.google.protobuf.Timestamp.Builderoptional .google.protobuf.Timestamp created_timestamp = 4;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp created_timestamp = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetField(com.google.protobuf.Descriptors.FieldDescriptor arg0) getField(com.google.protobuf.Descriptors.FieldDescriptor arg0) com.google.protobuf.Message.BuildergetFieldBuilder(com.google.protobuf.Descriptors.FieldDescriptor arg0) com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) protected com.google.protobuf.AbstractMessage.BuilderParentgetQuantile(int index) repeated .io.prometheus.client.Quantile quantile = 3;getQuantileBuilder(int index) repeated .io.prometheus.client.Quantile quantile = 3;repeated .io.prometheus.client.Quantile quantile = 3;intrepeated .io.prometheus.client.Quantile quantile = 3;repeated .io.prometheus.client.Quantile quantile = 3;getQuantileOrBuilder(int index) repeated .io.prometheus.client.Quantile quantile = 3;List<? extends Metrics.QuantileOrBuilder> repeated .io.prometheus.client.Quantile quantile = 3;getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) com.google.protobuf.Message.BuildergetRepeatedFieldBuilder(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) longoptional uint64 sample_count = 1;doubleoptional double sample_sum = 2;final com.google.protobuf.UnknownFieldSetcom.google.protobuf.UnknownFieldSetprotected com.google.protobuf.UnknownFieldSet.Builderbooleanoptional .google.protobuf.Timestamp created_timestamp = 4;booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanoptional uint64 sample_count = 1;booleanoptional double sample_sum = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int arg0) Deprecated.protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int arg0) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int arg0) Deprecated.protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int arg0) protected Metrics.Summary.BuilderinternalMergeFrom(com.google.protobuf.AbstractMessageLite arg0) protected booleanisClean()final booleanprotected voidmergeCreatedTimestamp(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp created_timestamp = 4;booleanbooleanbooleanmergeDelimitedFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) booleanmergeDelimitedFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) mergeFrom(byte[] arg0) mergeFrom(byte[] arg0, int arg1, int arg2) mergeFrom(byte[] arg0, int arg1, int arg2, com.google.protobuf.ExtensionRegistryLite arg3) mergeFrom(byte[] arg0, com.google.protobuf.ExtensionRegistryLite arg1) mergeFrom(com.google.protobuf.ByteString arg0) mergeFrom(com.google.protobuf.ByteString arg0, com.google.protobuf.ExtensionRegistryLite arg1) mergeFrom(com.google.protobuf.CodedInputStream arg0) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) com.google.protobuf.AbstractMessageLite.BuildermergeFrom(com.google.protobuf.MessageLite arg0) com.google.protobuf.MessageLite.BuildermergeFrom(com.google.protobuf.MessageLite arg0) mergeFrom(Metrics.Summary other) mergeFrom(InputStream arg0) mergeFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) mergeUnknownFields(com.google.protobuf.UnknownFieldSet arg0) protected final voidmergeUnknownLengthDelimitedField(int arg0, com.google.protobuf.ByteString arg1) protected final voidmergeUnknownVarintField(int arg0, int arg1) com.google.protobuf.Message.BuildernewBuilderForField(com.google.protobuf.Descriptors.FieldDescriptor arg0) protected static com.google.protobuf.UninitializedMessageExceptionnewUninitializedMessageException(com.google.protobuf.Message arg0) protected static com.google.protobuf.UninitializedMessageExceptionnewUninitializedMessageException(com.google.protobuf.MessageLite arg0) protected voidonBuilt()protected final voidprotected booleanparseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1, int arg2) removeQuantile(int index) repeated .io.prometheus.client.Quantile quantile = 3;setCreatedTimestamp(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp created_timestamp = 4;setCreatedTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp created_timestamp = 4;setQuantile(int index, Metrics.Quantile value) repeated .io.prometheus.client.Quantile quantile = 3;setQuantile(int index, Metrics.Quantile.Builder builderForValue) repeated .io.prometheus.client.Quantile quantile = 3;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1, Object arg2) setSampleCount(long value) optional uint64 sample_count = 1;setSampleSum(double value) optional double sample_sum = 2;setUnknownFields(com.google.protobuf.UnknownFieldSet arg0) protected voidsetUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder arg0) protected Metrics.Summary.BuildersetUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet arg0) toString()
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() -
clear
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() -
getDefaultInstanceForType
-
build
-
buildPartial
-
mergeFrom
-
mergeFrom
-
isInitialized
public final boolean isInitialized() -
mergeFrom
public Metrics.Summary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
hasSampleCount
public boolean hasSampleCount()optional uint64 sample_count = 1;- Specified by:
hasSampleCountin interfaceMetrics.SummaryOrBuilder- Returns:
- Whether the sampleCount field is set.
-
getSampleCount
public long getSampleCount()optional uint64 sample_count = 1;- Specified by:
getSampleCountin interfaceMetrics.SummaryOrBuilder- Returns:
- The sampleCount.
-
setSampleCount
optional uint64 sample_count = 1;- Parameters:
value- The sampleCount to set.- Returns:
- This builder for chaining.
-
clearSampleCount
optional uint64 sample_count = 1;- Returns:
- This builder for chaining.
-
hasSampleSum
public boolean hasSampleSum()optional double sample_sum = 2;- Specified by:
hasSampleSumin interfaceMetrics.SummaryOrBuilder- Returns:
- Whether the sampleSum field is set.
-
getSampleSum
public double getSampleSum()optional double sample_sum = 2;- Specified by:
getSampleSumin interfaceMetrics.SummaryOrBuilder- Returns:
- The sampleSum.
-
setSampleSum
optional double sample_sum = 2;- Parameters:
value- The sampleSum to set.- Returns:
- This builder for chaining.
-
clearSampleSum
optional double sample_sum = 2;- Returns:
- This builder for chaining.
-
getQuantileList
repeated .io.prometheus.client.Quantile quantile = 3;- Specified by:
getQuantileListin interfaceMetrics.SummaryOrBuilder
-
getQuantileCount
public int getQuantileCount()repeated .io.prometheus.client.Quantile quantile = 3;- Specified by:
getQuantileCountin interfaceMetrics.SummaryOrBuilder
-
getQuantile
repeated .io.prometheus.client.Quantile quantile = 3;- Specified by:
getQuantilein interfaceMetrics.SummaryOrBuilder
-
setQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
setQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
addQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
addQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
addQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
addQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
addAllQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
clearQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
removeQuantile
repeated .io.prometheus.client.Quantile quantile = 3; -
getQuantileBuilder
repeated .io.prometheus.client.Quantile quantile = 3; -
getQuantileOrBuilder
repeated .io.prometheus.client.Quantile quantile = 3;- Specified by:
getQuantileOrBuilderin interfaceMetrics.SummaryOrBuilder
-
getQuantileOrBuilderList
repeated .io.prometheus.client.Quantile quantile = 3;- Specified by:
getQuantileOrBuilderListin interfaceMetrics.SummaryOrBuilder
-
addQuantileBuilder
repeated .io.prometheus.client.Quantile quantile = 3; -
addQuantileBuilder
repeated .io.prometheus.client.Quantile quantile = 3; -
getQuantileBuilderList
repeated .io.prometheus.client.Quantile quantile = 3; -
hasCreatedTimestamp
public boolean hasCreatedTimestamp()optional .google.protobuf.Timestamp created_timestamp = 4;- Specified by:
hasCreatedTimestampin interfaceMetrics.SummaryOrBuilder- Returns:
- Whether the createdTimestamp field is set.
-
getCreatedTimestamp
public com.google.protobuf.Timestamp getCreatedTimestamp()optional .google.protobuf.Timestamp created_timestamp = 4;- Specified by:
getCreatedTimestampin interfaceMetrics.SummaryOrBuilder- Returns:
- The createdTimestamp.
-
setCreatedTimestamp
optional .google.protobuf.Timestamp created_timestamp = 4; -
setCreatedTimestamp
public Metrics.Summary.Builder setCreatedTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp created_timestamp = 4; -
mergeCreatedTimestamp
optional .google.protobuf.Timestamp created_timestamp = 4; -
clearCreatedTimestamp
optional .google.protobuf.Timestamp created_timestamp = 4; -
getCreatedTimestampBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimestampBuilder()optional .google.protobuf.Timestamp created_timestamp = 4; -
getCreatedTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimestampOrBuilder()optional .google.protobuf.Timestamp created_timestamp = 4;- Specified by:
getCreatedTimestampOrBuilderin interfaceMetrics.SummaryOrBuilder
-
findInitializationErrors
-
getInitializationErrorString
String getInitializationErrorString() -
getAllFields
-
hasOneof
boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
getRepeatedFieldCount
int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
getUnknownFields
com.google.protobuf.UnknownFieldSet getUnknownFields() -
onBuilt
protected void onBuilt() -
markClean
protected void markClean() -
isClean
protected boolean isClean() -
clone
-
getAllFields
-
newBuilderForField
public com.google.protobuf.Message.Builder newBuilderForField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getFieldBuilder
public com.google.protobuf.Message.Builder getFieldBuilder(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedFieldBuilder
public com.google.protobuf.Message.Builder getRepeatedFieldBuilder(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) -
hasOneof
public boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
public boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
setField
public Metrics.Summary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor arg0, Object arg1) -
clearField
-
clearOneof
-
getRepeatedFieldCount
public int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
setRepeatedField
public Metrics.Summary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1, Object arg2) -
addRepeatedField
public Metrics.Summary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, Object arg1) -
setUnknownFields
-
setUnknownFieldsProto3
-
mergeUnknownFields
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields() -
parseUnknownField
protected boolean parseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1, int arg2) throws IOException - Throws:
IOException
-
mergeUnknownLengthDelimitedField
protected final void mergeUnknownLengthDelimitedField(int arg0, com.google.protobuf.ByteString arg1) -
mergeUnknownVarintField
protected final void mergeUnknownVarintField(int arg0, int arg1) -
getUnknownFieldSetBuilder
protected com.google.protobuf.UnknownFieldSet.Builder getUnknownFieldSetBuilder() -
setUnknownFieldSetBuilder
protected void setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder arg0) -
getParentForChildren
protected com.google.protobuf.AbstractMessage.BuilderParent getParentForChildren() -
onChanged
protected final void onChanged() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int arg0) -
internalGetMapField
Deprecated. -
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int arg0) -
internalGetMutableMapField
Deprecated. -
findInitializationErrors
-
getInitializationErrorString
-
internalMergeFrom
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(com.google.protobuf.CodedInputStream arg0) throws IOException - Throws:
IOException
-
toString
-
newUninitializedMessageException
protected static com.google.protobuf.UninitializedMessageException newUninitializedMessageException(com.google.protobuf.Message arg0) -
mergeFrom
public Metrics.Summary.Builder mergeFrom(com.google.protobuf.ByteString arg0) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(com.google.protobuf.ByteString arg0, com.google.protobuf.ExtensionRegistryLite arg1) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(byte[] arg0) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(byte[] arg0, int arg1, int arg2) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(byte[] arg0, com.google.protobuf.ExtensionRegistryLite arg1) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(byte[] arg0, int arg1, int arg2, com.google.protobuf.ExtensionRegistryLite arg3) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
mergeFrom
- Throws:
IOException
-
mergeFrom
public Metrics.Summary.Builder mergeFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) throws IOException - Throws:
IOException
-
mergeDelimitedFrom
- Throws:
IOException
-
mergeDelimitedFrom
boolean mergeDelimitedFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) throws IOException - Throws:
IOException
-
mergeFrom
@CanIgnoreReturnValue com.google.protobuf.MessageLite.Builder mergeFrom(com.google.protobuf.MessageLite arg0) -
mergeDelimitedFrom
public boolean mergeDelimitedFrom(InputStream arg0, com.google.protobuf.ExtensionRegistryLite arg1) throws IOException - Throws:
IOException
-
mergeDelimitedFrom
- Throws:
IOException
-
mergeFrom
public com.google.protobuf.AbstractMessageLite.Builder mergeFrom(com.google.protobuf.MessageLite arg0) -
newUninitializedMessageException
protected static com.google.protobuf.UninitializedMessageException newUninitializedMessageException(com.google.protobuf.MessageLite arg0) -
addAll
Deprecated. -
addAll
-