Class TimedCount (0.138.0-beta)
Stay organized with collections
Save and categorize content based on your preferences.
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
Static Fields
public static final int COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static TimedCount getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TimedCount.Builder newBuilder()
public static TimedCount.Builder newBuilder(TimedCount prototype)
public static TimedCount parseDelimitedFrom(InputStream input)
public static TimedCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedCount parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static TimedCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimedCount parseFrom(ByteString data)
public static TimedCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimedCount parseFrom(CodedInputStream input)
public static TimedCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedCount parseFrom(InputStream input)
public static TimedCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TimedCount parseFrom(ByteBuffer data)
public static TimedCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TimedCount> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
Approximate number of occurrences in the given time period.
int64 count = 1;
Returns |
---|
Type | Description |
long | The count.
|
public TimedCount getDefaultInstanceForType()
public Timestamp getEndTime()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
public TimestampOrBuilder getEndTimeOrBuilder()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
public Parser<TimedCount> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public Timestamp getStartTime()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
public final UnknownFieldSet getUnknownFields()
Overrides
public boolean hasEndTime()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns |
---|
Type | Description |
boolean | Whether the endTime field is set.
|
public boolean hasStartTime()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns |
---|
Type | Description |
boolean | Whether the startTime field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TimedCount.Builder newBuilderForType()
protected TimedCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public TimedCount.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
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-10-01 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"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]