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
public static final int END_TIME_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
Static Methods
public static TimedCount getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TimedCount.Builder newBuilder()
Returns
public static TimedCount.Builder newBuilder(TimedCount prototype)
Parameter
Returns
public static TimedCount parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimedCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimedCount parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TimedCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimedCount parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TimedCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimedCount parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TimedCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimedCount parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimedCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimedCount parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TimedCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TimedCount> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
Approximate number of occurrences in the given time period.
int64 count = 1;
Returns
Type | Description |
long | The count.
|
public TimedCount getDefaultInstanceForType()
Returns
public Timestamp getEndTime()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns
public TimestampOrBuilder getEndTimeOrBuilder()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns
public Parser<TimedCount> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TimedCount.Builder newBuilderForType()
Returns
protected TimedCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TimedCount.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions