public final class TimedCount extends GeneratedMessageV3 implements TimedCountOrBuilder
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.Protobuf type
google.devtools.clouderrorreporting.v1beta1.TimedCount| Modifier and Type | Class and Description |
|---|---|
static class |
TimedCount.Builder
The number of errors in a given time period.
|
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 |
COUNT_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getCount()
Approximate number of occurrences in the given time period.
|
static TimedCount |
getDefaultInstance() |
TimedCount |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Timestamp |
getEndTime()
End of the time period to which `count` refers (excluded).
|
TimestampOrBuilder |
getEndTimeOrBuilder()
End of the time period to which `count` refers (excluded).
|
Parser<TimedCount> |
getParserForType() |
int |
getSerializedSize() |
Timestamp |
getStartTime()
Start of the time period to which `count` refers (included).
|
TimestampOrBuilder |
getStartTimeOrBuilder()
Start of the time period to which `count` refers (included).
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndTime()
End of the time period to which `count` refers (excluded).
|
int |
hashCode() |
boolean |
hasStartTime()
Start of the time period to which `count` refers (included).
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TimedCount.Builder |
newBuilder() |
static TimedCount.Builder |
newBuilder(TimedCount prototype) |
TimedCount.Builder |
newBuilderForType() |
protected TimedCount.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static TimedCount |
parseDelimitedFrom(java.io.InputStream input) |
static TimedCount |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static TimedCount |
parseFrom(byte[] data) |
static TimedCount |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static TimedCount |
parseFrom(java.nio.ByteBuffer data) |
static TimedCount |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static TimedCount |
parseFrom(ByteString data) |
static TimedCount |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static TimedCount |
parseFrom(CodedInputStream input) |
static TimedCount |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static TimedCount |
parseFrom(java.io.InputStream input) |
static TimedCount |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<TimedCount> |
parser() |
TimedCount.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int COUNT_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public long getCount()
Approximate number of occurrences in the given time period.
int64 count = 1;getCount in interface TimedCountOrBuilderpublic boolean hasStartTime()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;hasStartTime in interface TimedCountOrBuilderpublic Timestamp getStartTime()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;getStartTime in interface TimedCountOrBuilderpublic TimestampOrBuilder getStartTimeOrBuilder()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;getStartTimeOrBuilder in interface TimedCountOrBuilderpublic boolean hasEndTime()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;hasEndTime in interface TimedCountOrBuilderpublic Timestamp getEndTime()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;getEndTime in interface TimedCountOrBuilderpublic TimestampOrBuilder getEndTimeOrBuilder()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;getEndTimeOrBuilder in interface TimedCountOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static TimedCount parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static TimedCount parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TimedCount parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TimedCount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TimedCount parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TimedCount parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TimedCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic TimedCount.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static TimedCount.Builder newBuilder()
public static TimedCount.Builder newBuilder(TimedCount prototype)
public TimedCount.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected TimedCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static TimedCount getDefaultInstance()
public static Parser<TimedCount> parser()
public Parser<TimedCount> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public TimedCount getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder