Class MetricDescriptor.Types.MetricDescriptorMetadata
Additional annotations that can be used to guide the usage of a metric.
Inheritance
System.Object
MetricDescriptor.Types.MetricDescriptorMetadata
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
public sealed class MetricDescriptorMetadata : IMessage<MetricDescriptor.Types.MetricDescriptorMetadata>, IMessage, IEquatable<MetricDescriptor.Types.MetricDescriptorMetadata>, IDeepCloneable<MetricDescriptor.Types.MetricDescriptorMetadata>
Constructors
Declaration
public MetricDescriptorMetadata()
Declaration
public MetricDescriptorMetadata(MetricDescriptor.Types.MetricDescriptorMetadata other)
Parameters
Fields
Field number for the "ingest_delay" field.
Declaration
public const int IngestDelayFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "launch_stage" field.
Declaration
public const int LaunchStageFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "sample_period" field.
Declaration
public const int SamplePeriodFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
The delay of data points caused by ingestion. Data points older than this
age are guaranteed to be ingested and available to be read, excluding
data loss due to errors.
Declaration
public Duration IngestDelay { get; set; }
Property Value
Deprecated. Please use the MetricDescriptor.launch_stage instead.
The launch stage of the metric definition.
Declaration
[Obsolete]
public LaunchStage LaunchStage { get; set; }
Property Value
Declaration
public static MessageParser<MetricDescriptor.Types.MetricDescriptorMetadata> Parser { get; }
Property Value
The sampling period of metric data points. For metrics which are written
periodically, consecutive data points are stored at this time interval,
excluding data loss due to errors. Metrics with a higher granularity have
a smaller sampling period.
Declaration
public Duration SamplePeriod { get; set; }
Property Value
Methods
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Declaration
public MetricDescriptor.Types.MetricDescriptorMetadata Clone()
Returns
Implements
Declaration
public bool Equals(MetricDescriptor.Types.MetricDescriptorMetadata other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public void MergeFrom(MetricDescriptor.Types.MetricDescriptorMetadata other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements