Package io.opencensus.proto.stats.v1
Class View.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
- io.opencensus.proto.stats.v1.View.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ViewOrBuilder,Cloneable
- Enclosing class:
- View
public static final class View.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<View.Builder> implements ViewOrBuilder
Protobuf typeopencensus.proto.stats.v1.View
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description View.BuilderaddAllColumns(Iterable<String> values)An array of tag keys.View.BuilderaddColumns(String value)An array of tag keys.View.BuilderaddColumnsBytes(com.google.protobuf.ByteString value)An array of tag keys.View.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Viewbuild()ViewbuildPartial()View.Builderclear()View.BuilderclearAggregation()View.BuilderclearColumns()An array of tag keys.View.BuilderclearCountAggregation()Counts the number of measurements recorded.View.BuilderclearDescription()Describes the view, e.g.View.BuilderclearDistributionAggregation()Indicates that the desired Aggregation is a histogram distribution.View.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)View.BuilderclearLastValueAggregation()Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.View.BuilderclearMeasure()The Measure to which this view is applied.View.BuilderclearName()A string by which the View will be referred to, e.g.View.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)View.BuilderclearSumAggregation()Indicates that data collected and aggregated with this Aggregation will be summed up.View.Builderclone()View.AggregationCasegetAggregationCase()StringgetColumns(int index)An array of tag keys.com.google.protobuf.ByteStringgetColumnsBytes(int index)An array of tag keys.intgetColumnsCount()An array of tag keys.com.google.protobuf.ProtocolStringListgetColumnsList()An array of tag keys.CountAggregationgetCountAggregation()Counts the number of measurements recorded.CountAggregation.BuildergetCountAggregationBuilder()Counts the number of measurements recorded.CountAggregationOrBuildergetCountAggregationOrBuilder()Counts the number of measurements recorded.ViewgetDefaultInstanceForType()StringgetDescription()Describes the view, e.g.com.google.protobuf.ByteStringgetDescriptionBytes()Describes the view, e.g.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DistributionAggregationgetDistributionAggregation()Indicates that the desired Aggregation is a histogram distribution.DistributionAggregation.BuildergetDistributionAggregationBuilder()Indicates that the desired Aggregation is a histogram distribution.DistributionAggregationOrBuildergetDistributionAggregationOrBuilder()Indicates that the desired Aggregation is a histogram distribution.LastValueAggregationgetLastValueAggregation()Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.LastValueAggregation.BuildergetLastValueAggregationBuilder()Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.LastValueAggregationOrBuildergetLastValueAggregationOrBuilder()Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.MeasuregetMeasure()The Measure to which this view is applied.Measure.BuildergetMeasureBuilder()The Measure to which this view is applied.MeasureOrBuildergetMeasureOrBuilder()The Measure to which this view is applied.StringgetName()A string by which the View will be referred to, e.g.com.google.protobuf.ByteStringgetNameBytes()A string by which the View will be referred to, e.g.SumAggregationgetSumAggregation()Indicates that data collected and aggregated with this Aggregation will be summed up.SumAggregation.BuildergetSumAggregationBuilder()Indicates that data collected and aggregated with this Aggregation will be summed up.SumAggregationOrBuildergetSumAggregationOrBuilder()Indicates that data collected and aggregated with this Aggregation will be summed up.booleanhasCountAggregation()Counts the number of measurements recorded.booleanhasDistributionAggregation()Indicates that the desired Aggregation is a histogram distribution.booleanhasLastValueAggregation()Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.booleanhasMeasure()The Measure to which this view is applied.booleanhasSumAggregation()Indicates that data collected and aggregated with this Aggregation will be summed up.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()View.BuildermergeCountAggregation(CountAggregation value)Counts the number of measurements recorded.View.BuildermergeDistributionAggregation(DistributionAggregation value)Indicates that the desired Aggregation is a histogram distribution.View.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)View.BuildermergeFrom(com.google.protobuf.Message other)View.BuildermergeFrom(View other)View.BuildermergeLastValueAggregation(LastValueAggregation value)Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.View.BuildermergeMeasure(Measure value)The Measure to which this view is applied.View.BuildermergeSumAggregation(SumAggregation value)Indicates that data collected and aggregated with this Aggregation will be summed up.View.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)View.BuildersetColumns(int index, String value)An array of tag keys.View.BuildersetCountAggregation(CountAggregation value)Counts the number of measurements recorded.View.BuildersetCountAggregation(CountAggregation.Builder builderForValue)Counts the number of measurements recorded.View.BuildersetDescription(String value)Describes the view, e.g.View.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Describes the view, e.g.View.BuildersetDistributionAggregation(DistributionAggregation value)Indicates that the desired Aggregation is a histogram distribution.View.BuildersetDistributionAggregation(DistributionAggregation.Builder builderForValue)Indicates that the desired Aggregation is a histogram distribution.View.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)View.BuildersetLastValueAggregation(LastValueAggregation value)Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.View.BuildersetLastValueAggregation(LastValueAggregation.Builder builderForValue)Indicates that data collected and aggregated with this Aggregation will represent the last recorded value.View.BuildersetMeasure(Measure value)The Measure to which this view is applied.View.BuildersetMeasure(Measure.Builder builderForValue)The Measure to which this view is applied.View.BuildersetName(String value)A string by which the View will be referred to, e.g.View.BuildersetNameBytes(com.google.protobuf.ByteString value)A string by which the View will be referred to, e.g.View.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)View.BuildersetSumAggregation(SumAggregation value)Indicates that data collected and aggregated with this Aggregation will be summed up.View.BuildersetSumAggregation(SumAggregation.Builder builderForValue)Indicates that data collected and aggregated with this Aggregation will be summed up.View.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
clear
public View.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<View.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<View.Builder>
-
getDefaultInstanceForType
public View getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public View build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public View buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public View.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
setField
public View.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
clearField
public View.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
clearOneof
public View.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
setRepeatedField
public View.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
addRepeatedField
public View.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
mergeFrom
public View.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<View.Builder>
-
mergeFrom
public View.Builder mergeFrom(View other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
mergeFrom
public View.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<View.Builder>- Throws:
IOException
-
getAggregationCase
public View.AggregationCase getAggregationCase()
- Specified by:
getAggregationCasein interfaceViewOrBuilder
-
clearAggregation
public View.Builder clearAggregation()
-
getName
public String getName()
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
string name = 1;- Specified by:
getNamein interfaceViewOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
string name = 1;- Specified by:
getNameBytesin interfaceViewOrBuilder- Returns:
- The bytes for name.
-
setName
public View.Builder setName(String value)
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public View.Builder clearName()
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public View.Builder setNameBytes(com.google.protobuf.ByteString value)
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Describes the view, e.g. "RPC latency distribution"
string description = 2;- Specified by:
getDescriptionin interfaceViewOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Describes the view, e.g. "RPC latency distribution"
string description = 2;- Specified by:
getDescriptionBytesin interfaceViewOrBuilder- Returns:
- The bytes for description.
-
setDescription
public View.Builder setDescription(String value)
Describes the view, e.g. "RPC latency distribution"
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public View.Builder clearDescription()
Describes the view, e.g. "RPC latency distribution"
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public View.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Describes the view, e.g. "RPC latency distribution"
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasMeasure
public boolean hasMeasure()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;- Specified by:
hasMeasurein interfaceViewOrBuilder- Returns:
- Whether the measure field is set.
-
getMeasure
public Measure getMeasure()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;- Specified by:
getMeasurein interfaceViewOrBuilder- Returns:
- The measure.
-
setMeasure
public View.Builder setMeasure(Measure value)
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;
-
setMeasure
public View.Builder setMeasure(Measure.Builder builderForValue)
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;
-
mergeMeasure
public View.Builder mergeMeasure(Measure value)
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;
-
clearMeasure
public View.Builder clearMeasure()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;
-
getMeasureBuilder
public Measure.Builder getMeasureBuilder()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;
-
getMeasureOrBuilder
public MeasureOrBuilder getMeasureOrBuilder()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;- Specified by:
getMeasureOrBuilderin interfaceViewOrBuilder
-
getColumnsList
public com.google.protobuf.ProtocolStringList getColumnsList()
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Specified by:
getColumnsListin interfaceViewOrBuilder- Returns:
- A list containing the columns.
-
getColumnsCount
public int getColumnsCount()
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Specified by:
getColumnsCountin interfaceViewOrBuilder- Returns:
- The count of columns.
-
getColumns
public String getColumns(int index)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Specified by:
getColumnsin interfaceViewOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The columns at the given index.
-
getColumnsBytes
public com.google.protobuf.ByteString getColumnsBytes(int index)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Specified by:
getColumnsBytesin interfaceViewOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the columns at the given index.
-
setColumns
public View.Builder setColumns(int index, String value)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Parameters:
index- The index to set the value at.value- The columns to set.- Returns:
- This builder for chaining.
-
addColumns
public View.Builder addColumns(String value)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Parameters:
value- The columns to add.- Returns:
- This builder for chaining.
-
addAllColumns
public View.Builder addAllColumns(Iterable<String> values)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Parameters:
values- The columns to add.- Returns:
- This builder for chaining.
-
clearColumns
public View.Builder clearColumns()
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Returns:
- This builder for chaining.
-
addColumnsBytes
public View.Builder addColumnsBytes(com.google.protobuf.ByteString value)
An array of tag keys. These values associated with tags of this name form the basis by which individual stats will be aggregated (one aggregation per unique tag value). If none are provided, then all data is recorded in a single aggregation.
repeated string columns = 4;- Parameters:
value- The bytes of the columns to add.- Returns:
- This builder for chaining.
-
hasCountAggregation
public boolean hasCountAggregation()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;- Specified by:
hasCountAggregationin interfaceViewOrBuilder- Returns:
- Whether the countAggregation field is set.
-
getCountAggregation
public CountAggregation getCountAggregation()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;- Specified by:
getCountAggregationin interfaceViewOrBuilder- Returns:
- The countAggregation.
-
setCountAggregation
public View.Builder setCountAggregation(CountAggregation value)
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
-
setCountAggregation
public View.Builder setCountAggregation(CountAggregation.Builder builderForValue)
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
-
mergeCountAggregation
public View.Builder mergeCountAggregation(CountAggregation value)
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
-
clearCountAggregation
public View.Builder clearCountAggregation()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
-
getCountAggregationBuilder
public CountAggregation.Builder getCountAggregationBuilder()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;
-
getCountAggregationOrBuilder
public CountAggregationOrBuilder getCountAggregationOrBuilder()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;- Specified by:
getCountAggregationOrBuilderin interfaceViewOrBuilder
-
hasSumAggregation
public boolean hasSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;- Specified by:
hasSumAggregationin interfaceViewOrBuilder- Returns:
- Whether the sumAggregation field is set.
-
getSumAggregation
public SumAggregation getSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;- Specified by:
getSumAggregationin interfaceViewOrBuilder- Returns:
- The sumAggregation.
-
setSumAggregation
public View.Builder setSumAggregation(SumAggregation value)
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
-
setSumAggregation
public View.Builder setSumAggregation(SumAggregation.Builder builderForValue)
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
-
mergeSumAggregation
public View.Builder mergeSumAggregation(SumAggregation value)
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
-
clearSumAggregation
public View.Builder clearSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
-
getSumAggregationBuilder
public SumAggregation.Builder getSumAggregationBuilder()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;
-
getSumAggregationOrBuilder
public SumAggregationOrBuilder getSumAggregationOrBuilder()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;- Specified by:
getSumAggregationOrBuilderin interfaceViewOrBuilder
-
hasLastValueAggregation
public boolean hasLastValueAggregation()
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;- Specified by:
hasLastValueAggregationin interfaceViewOrBuilder- Returns:
- Whether the lastValueAggregation field is set.
-
getLastValueAggregation
public LastValueAggregation getLastValueAggregation()
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;- Specified by:
getLastValueAggregationin interfaceViewOrBuilder- Returns:
- The lastValueAggregation.
-
setLastValueAggregation
public View.Builder setLastValueAggregation(LastValueAggregation value)
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
-
setLastValueAggregation
public View.Builder setLastValueAggregation(LastValueAggregation.Builder builderForValue)
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
-
mergeLastValueAggregation
public View.Builder mergeLastValueAggregation(LastValueAggregation value)
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
-
clearLastValueAggregation
public View.Builder clearLastValueAggregation()
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
-
getLastValueAggregationBuilder
public LastValueAggregation.Builder getLastValueAggregationBuilder()
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;
-
getLastValueAggregationOrBuilder
public LastValueAggregationOrBuilder getLastValueAggregationOrBuilder()
Indicates that data collected and aggregated with this Aggregation will represent the last recorded value. This is useful to support Gauges.
.opencensus.proto.stats.v1.LastValueAggregation last_value_aggregation = 7;- Specified by:
getLastValueAggregationOrBuilderin interfaceViewOrBuilder
-
hasDistributionAggregation
public boolean hasDistributionAggregation()
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;- Specified by:
hasDistributionAggregationin interfaceViewOrBuilder- Returns:
- Whether the distributionAggregation field is set.
-
getDistributionAggregation
public DistributionAggregation getDistributionAggregation()
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;- Specified by:
getDistributionAggregationin interfaceViewOrBuilder- Returns:
- The distributionAggregation.
-
setDistributionAggregation
public View.Builder setDistributionAggregation(DistributionAggregation value)
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
-
setDistributionAggregation
public View.Builder setDistributionAggregation(DistributionAggregation.Builder builderForValue)
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
-
mergeDistributionAggregation
public View.Builder mergeDistributionAggregation(DistributionAggregation value)
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
-
clearDistributionAggregation
public View.Builder clearDistributionAggregation()
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
-
getDistributionAggregationBuilder
public DistributionAggregation.Builder getDistributionAggregationBuilder()
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;
-
getDistributionAggregationOrBuilder
public DistributionAggregationOrBuilder getDistributionAggregationOrBuilder()
Indicates that the desired Aggregation is a histogram distribution. A distribution Aggregation may contain a histogram of the values in the population. User should define the bucket boundaries for that histogram (see DistributionAggregation).
.opencensus.proto.stats.v1.DistributionAggregation distribution_aggregation = 8;- Specified by:
getDistributionAggregationOrBuilderin interfaceViewOrBuilder
-
setUnknownFields
public final View.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
mergeUnknownFields
public final View.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<View.Builder>
-
-