Send feedback
Class MetricDescriptor.Types.MetricDescriptorMetadata (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.10.0 keyboard_arrow_down
public sealed class MetricDescriptor.Types.MetricDescriptorMetadata : IMessage<MetricDescriptor.Types.MetricDescriptorMetadata>, IEquatable<MetricDescriptor.Types.MetricDescriptorMetadata>, IDeepCloneable<MetricDescriptor.Types.MetricDescriptorMetadata>, IBufferMessage, IMessage
Additional annotations that can be used to guide the usage of a metric.
Inheritance
object >
MetricDescriptor.Types.MetricDescriptorMetadata
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
public MetricDescriptorMetadata()
public MetricDescriptorMetadata(MetricDescriptor.Types.MetricDescriptorMetadata other)
Fields
public const int IngestDelayFieldNumber = 3
Field number for the "ingest_delay" field.
Field Value
Type
Description
int
public const int LaunchStageFieldNumber = 1
Field number for the "launch_stage" field.
Field Value
Type
Description
int
public const int SamplePeriodFieldNumber = 2
Field number for the "sample_period" field.
Field Value
Type
Description
int
Properties
public static MessageDescriptor Descriptor { get; }
public Duration IngestDelay { get; set; }
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.
Property Value
Type
Description
Duration
[Obsolete]
public LaunchStage LaunchStage { get; set; }
Deprecated. Must use the
[MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
instead.
public static MessageParser<MetricDescriptor.Types.MetricDescriptorMetadata> Parser { get; }
public Duration SamplePeriod { get; set; }
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.
Property Value
Type
Description
Duration
Methods
public int CalculateSize()
Returns
Type
Description
int
public MetricDescriptor.Types.MetricDescriptorMetadata Clone()
public bool Equals(MetricDescriptor.Types.MetricDescriptorMetadata other)
Returns
Type
Description
bool
public override bool Equals(object other)
Parameter
Name
Description
other
object
Returns
Type
Description
bool
Overrides
public override int GetHashCode()
Returns
Type
Description
int
Overrides
public void MergeFrom(MetricDescriptor.Types.MetricDescriptorMetadata other)
public void MergeFrom(CodedInputStream input)
public override string ToString()
Returns
Type
Description
string
Overrides
public void WriteTo(CodedOutputStream output)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}