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
Modifier and Type | Class and Description |
---|---|
static class |
MetricDescriptor.MetricDescriptorMetadata.Builder
Additional annotations that can be used to guide the usage of a metric.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
INGEST_DELAY_FIELD_NUMBER |
static int |
LAUNCH_STAGE_FIELD_NUMBER |
static int |
SAMPLE_PERIOD_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int LAUNCH_STAGE_FIELD_NUMBER
public static final int SAMPLE_PERIOD_FIELD_NUMBER
public static final int INGEST_DELAY_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
@Deprecated public int getLaunchStageValue()
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];
getLaunchStageValue
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
@Deprecated public LaunchStage getLaunchStage()
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];
getLaunchStage
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
hasSamplePeriod
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
getSamplePeriod
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
getSamplePeriodOrBuilder
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
hasIngestDelay
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
getIngestDelay
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
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;
getIngestDelayOrBuilder
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static MetricDescriptor.MetricDescriptorMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public MetricDescriptor.MetricDescriptorMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static MetricDescriptor.MetricDescriptorMetadata.Builder newBuilder()
public static MetricDescriptor.MetricDescriptorMetadata.Builder newBuilder(MetricDescriptor.MetricDescriptorMetadata prototype)
public MetricDescriptor.MetricDescriptorMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected MetricDescriptor.MetricDescriptorMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static MetricDescriptor.MetricDescriptorMetadata getDefaultInstance()
public static Parser<MetricDescriptor.MetricDescriptorMetadata> parser()
public Parser<MetricDescriptor.MetricDescriptorMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder