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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TimedCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TimedCount build()
Returns
public TimedCount buildPartial()
Returns
public TimedCount.Builder clear()
Returns
Overrides
public TimedCount.Builder clearCount()
Approximate number of occurrences in the given time period.
int64 count = 1;
Returns
public TimedCount.Builder clearEndTime()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns
public TimedCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TimedCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TimedCount.Builder clearStartTime()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns
public TimedCount.Builder clone()
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 Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getEndTime()
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Returns
public Timestamp.Builder getEndTimeBuilder()
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 Timestamp getStartTime()
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Returns
public Timestamp.Builder getStartTimeBuilder()
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 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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TimedCount.Builder mergeEndTime(Timestamp value)
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Parameter
Returns
public TimedCount.Builder mergeFrom(TimedCount other)
Parameter
Returns
public TimedCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TimedCount.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public TimedCount.Builder mergeStartTime(Timestamp value)
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Parameter
Returns
public final TimedCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
public TimedCount.Builder setEndTime(Timestamp value)
End of the time period to which count
refers (excluded).
.google.protobuf.Timestamp end_time = 3;
Parameter
Returns
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
|
Returns
public TimedCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TimedCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public TimedCount.Builder setStartTime(Timestamp value)
Start of the time period to which count
refers (included).
.google.protobuf.Timestamp start_time = 2;
Parameter
Returns
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
|
Returns
public final TimedCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides