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, unknownFields
memoizedSize
memoizedHashCode
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, 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 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public long getCount()
Approximate number of occurrences in the given time period.
int64 count = 1;
getCount
in interface TimedCountOrBuilder
public boolean hasStartTime()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;
hasStartTime
in interface TimedCountOrBuilder
public Timestamp getStartTime()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;
getStartTime
in interface TimedCountOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
Start of the time period to which `count` refers (included).
.google.protobuf.Timestamp start_time = 2;
getStartTimeOrBuilder
in interface TimedCountOrBuilder
public boolean hasEndTime()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;
hasEndTime
in interface TimedCountOrBuilder
public Timestamp getEndTime()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;
getEndTime
in interface TimedCountOrBuilder
public TimestampOrBuilder getEndTimeOrBuilder()
End of the time period to which `count` refers (excluded).
.google.protobuf.Timestamp end_time = 3;
getEndTimeOrBuilder
in interface TimedCountOrBuilder
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 TimedCount parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static TimedCount parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TimedCount parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TimedCount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TimedCount parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TimedCount parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TimedCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public TimedCount.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static TimedCount.Builder newBuilder()
public static TimedCount.Builder newBuilder(TimedCount prototype)
public TimedCount.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected TimedCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static TimedCount getDefaultInstance()
public static Parser<TimedCount> parser()
public Parser<TimedCount> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public TimedCount getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder