public static final class MetricDescriptor.MetricDescriptorMetadata extends GeneratedMessageV3 implements MetricDescriptor.MetricDescriptorMetadataOrBuilder
Additional annotations that can be used to guide the usage of a metric.
Protobuf type google.api.MetricDescriptor.MetricDescriptorMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MetricDescriptor.MetricDescriptorMetadataStatic Fields
INGEST_DELAY_FIELD_NUMBER
public static final int INGEST_DELAY_FIELD_NUMBER
Type | Description |
int |
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
Type | Description |
int |
SAMPLE_PERIOD_FIELD_NUMBER
public static final int SAMPLE_PERIOD_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MetricDescriptor.MetricDescriptorMetadata getDefaultInstance()
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static MetricDescriptor.MetricDescriptorMetadata.Builder newBuilder()
Type | Description |
MetricDescriptor.MetricDescriptorMetadata.Builder |
newBuilder(MetricDescriptor.MetricDescriptorMetadata prototype)
public static MetricDescriptor.MetricDescriptorMetadata.Builder newBuilder(MetricDescriptor.MetricDescriptorMetadata prototype)
Name | Description |
prototype | MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MetricDescriptor.MetricDescriptorMetadata> parser()
Type | Description |
Parser<MetricDescriptorMetadata> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
Type | Description |
MetricDescriptor.MetricDescriptorMetadata |
getIngestDelay()
public Duration getIngestDelay()
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.
.google.protobuf.Duration ingest_delay = 3;
Type | Description |
Duration | The ingestDelay. |
getIngestDelayOrBuilder()
public DurationOrBuilder getIngestDelayOrBuilder()
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.
.google.protobuf.Duration ingest_delay = 3;
Type | Description |
DurationOrBuilder |
getLaunchStage()
public LaunchStage getLaunchStage()
Deprecated. Must use the MetricDescriptor.launch_stage instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];
Type | Description |
LaunchStage | The launchStage. |
getLaunchStageValue()
public int getLaunchStageValue()
Deprecated. Must use the MetricDescriptor.launch_stage instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];
Type | Description |
int | The enum numeric value on the wire for launchStage. |
getParserForType()
public Parser<MetricDescriptor.MetricDescriptorMetadata> getParserForType()
Type | Description |
Parser<MetricDescriptorMetadata> |
getSamplePeriod()
public Duration getSamplePeriod()
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.
.google.protobuf.Duration sample_period = 2;
Type | Description |
Duration | The samplePeriod. |
getSamplePeriodOrBuilder()
public DurationOrBuilder getSamplePeriodOrBuilder()
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.
.google.protobuf.Duration sample_period = 2;
Type | Description |
DurationOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasIngestDelay()
public boolean hasIngestDelay()
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.
.google.protobuf.Duration ingest_delay = 3;
Type | Description |
boolean | Whether the ingestDelay field is set. |
hasSamplePeriod()
public boolean hasSamplePeriod()
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.
.google.protobuf.Duration sample_period = 2;
Type | Description |
boolean | Whether the samplePeriod field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public MetricDescriptor.MetricDescriptorMetadata.Builder newBuilderForType()
Type | Description |
MetricDescriptor.MetricDescriptorMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MetricDescriptor.MetricDescriptorMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
MetricDescriptor.MetricDescriptorMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public MetricDescriptor.MetricDescriptorMetadata.Builder toBuilder()
Type | Description |
MetricDescriptor.MetricDescriptorMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |