public final class View extends com.google.protobuf.GeneratedMessageV3 implements ViewOrBuilder
opencensus.proto.stats.v1.View| Modifier and Type | Class and Description |
|---|---|
static class |
View.AggregationCase |
static class |
View.Builder
Protobuf type
opencensus.proto.stats.v1.View |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COLUMNS_FIELD_NUMBER |
static int |
COUNT_AGGREGATION_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISTRIBUTION_AGGREGATION_FIELD_NUMBER |
static int |
LAST_VALUE_AGGREGATION_FIELD_NUMBER |
static int |
MEASURE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SUM_AGGREGATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
View.AggregationCase |
getAggregationCase() |
String |
getColumns(int index)
An array of tag keys.
|
com.google.protobuf.ByteString |
getColumnsBytes(int index)
An array of tag keys.
|
int |
getColumnsCount()
An array of tag keys.
|
com.google.protobuf.ProtocolStringList |
getColumnsList()
An array of tag keys.
|
CountAggregation |
getCountAggregation()
Counts the number of measurements recorded.
|
CountAggregationOrBuilder |
getCountAggregationOrBuilder()
Counts the number of measurements recorded.
|
static View |
getDefaultInstance() |
View |
getDefaultInstanceForType() |
String |
getDescription()
Describes the view, e.g.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Describes the view, e.g.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DistributionAggregation |
getDistributionAggregation()
Indicates that the desired Aggregation is a histogram distribution.
|
DistributionAggregationOrBuilder |
getDistributionAggregationOrBuilder()
Indicates that the desired Aggregation is a histogram distribution.
|
LastValueAggregation |
getLastValueAggregation()
Indicates that data collected and aggregated with this Aggregation will represent the last
recorded value.
|
LastValueAggregationOrBuilder |
getLastValueAggregationOrBuilder()
Indicates that data collected and aggregated with this Aggregation will represent the last
recorded value.
|
Measure |
getMeasure()
The Measure to which this view is applied.
|
MeasureOrBuilder |
getMeasureOrBuilder()
The Measure to which this view is applied.
|
String |
getName()
A string by which the View will be referred to, e.g.
|
com.google.protobuf.ByteString |
getNameBytes()
A string by which the View will be referred to, e.g.
|
com.google.protobuf.Parser<View> |
getParserForType() |
int |
getSerializedSize() |
SumAggregation |
getSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
|
SumAggregationOrBuilder |
getSumAggregationOrBuilder()
Indicates that data collected and aggregated with this Aggregation will be summed up.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCountAggregation()
Counts the number of measurements recorded.
|
boolean |
hasDistributionAggregation()
Indicates that the desired Aggregation is a histogram distribution.
|
int |
hashCode() |
boolean |
hasLastValueAggregation()
Indicates that data collected and aggregated with this Aggregation will represent the last
recorded value.
|
boolean |
hasMeasure()
The Measure to which this view is applied.
|
boolean |
hasSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static View.Builder |
newBuilder() |
static View.Builder |
newBuilder(View prototype) |
View.Builder |
newBuilderForType() |
protected View.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static View |
parseDelimitedFrom(InputStream input) |
static View |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static View |
parseFrom(byte[] data) |
static View |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static View |
parseFrom(ByteBuffer data) |
static View |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static View |
parseFrom(com.google.protobuf.ByteString data) |
static View |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static View |
parseFrom(com.google.protobuf.CodedInputStream input) |
static View |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static View |
parseFrom(InputStream input) |
static View |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<View> |
parser() |
View.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int MEASURE_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
public static final int COUNT_AGGREGATION_FIELD_NUMBER
public static final int SUM_AGGREGATION_FIELD_NUMBER
public static final int LAST_VALUE_AGGREGATION_FIELD_NUMBER
public static final int DISTRIBUTION_AGGREGATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public View.AggregationCase getAggregationCase()
getAggregationCase in interface ViewOrBuilderpublic 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;getName in interface ViewOrBuilderpublic 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;getNameBytes in interface ViewOrBuilderpublic String getDescription()
Describes the view, e.g. "RPC latency distribution"
string description = 2;getDescription in interface ViewOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Describes the view, e.g. "RPC latency distribution"
string description = 2;getDescriptionBytes in interface ViewOrBuilderpublic boolean hasMeasure()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;hasMeasure in interface ViewOrBuilderpublic Measure getMeasure()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;getMeasure in interface ViewOrBuilderpublic MeasureOrBuilder getMeasureOrBuilder()
The Measure to which this view is applied.
.opencensus.proto.stats.v1.Measure measure = 3;getMeasureOrBuilder in interface ViewOrBuilderpublic 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;getColumnsList in interface ViewOrBuilderpublic 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;getColumnsCount in interface ViewOrBuilderpublic 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;getColumns in interface ViewOrBuilderpublic 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;getColumnsBytes in interface ViewOrBuilderpublic boolean hasCountAggregation()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;hasCountAggregation in interface ViewOrBuilderpublic CountAggregation getCountAggregation()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;getCountAggregation in interface ViewOrBuilderpublic CountAggregationOrBuilder getCountAggregationOrBuilder()
Counts the number of measurements recorded.
.opencensus.proto.stats.v1.CountAggregation count_aggregation = 5;getCountAggregationOrBuilder in interface ViewOrBuilderpublic boolean hasSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;hasSumAggregation in interface ViewOrBuilderpublic SumAggregation getSumAggregation()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;getSumAggregation in interface ViewOrBuilderpublic SumAggregationOrBuilder getSumAggregationOrBuilder()
Indicates that data collected and aggregated with this Aggregation will be summed up.
.opencensus.proto.stats.v1.SumAggregation sum_aggregation = 6;getSumAggregationOrBuilder in interface ViewOrBuilderpublic 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;hasLastValueAggregation in interface ViewOrBuilderpublic 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;getLastValueAggregation in interface ViewOrBuilderpublic 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;getLastValueAggregationOrBuilder in interface ViewOrBuilderpublic 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;hasDistributionAggregation in interface ViewOrBuilderpublic 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;getDistributionAggregation in interface ViewOrBuilderpublic 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;getDistributionAggregationOrBuilder in interface ViewOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static View parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static View parseFrom(InputStream input) throws IOException
IOExceptionpublic static View parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static View parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static View parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static View parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static View parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic View.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static View.Builder newBuilder()
public static View.Builder newBuilder(View prototype)
public View.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected View.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static View getDefaultInstance()
public static com.google.protobuf.Parser<View> parser()
public com.google.protobuf.Parser<View> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public View getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.