Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class TimedCount.Builder (0.164.0-beta)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.164.0-betakeyboard_arrow_down
public static final class TimedCount . Builder extends GeneratedMessageV3 . Builder<TimedCount . Builder > 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public TimedCount . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public TimedCount build ()
public TimedCount buildPartial ()
public TimedCount . Builder clear ()
Overrides
public TimedCount . Builder clearCount ()
Approximate number of occurrences in the given time period.
int64 count = 1;
public TimedCount . Builder clearEndTime ()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
public TimedCount . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public TimedCount . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public TimedCount . Builder clearStartTime ()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
public TimedCount . Builder clone ()
Overrides
Approximate number of occurrences in the given time period.
int64 count = 1;
Returns
Type
Description
long
The count.
public TimedCount getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public Timestamp getEndTime ()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns
Type
Description
Timestamp
The endTime.
public Timestamp . Builder getEndTimeBuilder ()
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 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 Timestamp . Builder getStartTimeBuilder ()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
public TimestampOrBuilder getStartTimeOrBuilder ()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public TimedCount . Builder mergeEndTime ( Timestamp value )
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
public TimedCount . Builder mergeFrom ( TimedCount other )
public TimedCount . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public TimedCount . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public TimedCount . Builder mergeStartTime ( Timestamp value )
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
public final TimedCount . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public TimedCount . Builder setCount ( long value )
Approximate number of occurrences in the given time period.
int64 count = 1;
Parameter
Name
Description
value
long
The count to set.
public TimedCount . Builder setEndTime ( Timestamp value )
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
public TimedCount . Builder setEndTime ( Timestamp . Builder builderForValue )
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Parameter
Name
Description
builderForValue
Builder
public TimedCount . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public TimedCount . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public TimedCount . Builder setStartTime ( Timestamp value )
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
public TimedCount . Builder setStartTime ( Timestamp . Builder builderForValue )
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Parameter
Name
Description
builderForValue
Builder
public final TimedCount . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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 2025-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]