Class TimedCount.Builder (0.163.0-beta)

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

Implements

TimedCountOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimedCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimedCount.Builder
Overrides

build()

public TimedCount build()
Returns
Type Description
TimedCount

buildPartial()

public TimedCount buildPartial()
Returns
Type Description
TimedCount

clear()

public TimedCount.Builder clear()
Returns
Type Description
TimedCount.Builder
Overrides

clearCount()

public TimedCount.Builder clearCount()

Approximate number of occurrences in the given time period.

int64 count = 1;

Returns
Type Description
TimedCount.Builder

This builder for chaining.

clearEndTime()

public TimedCount.Builder clearEndTime()

End of the time period to which count refers (excluded).

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimedCount.Builder

clearField(Descriptors.FieldDescriptor field)

public TimedCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimedCount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimedCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TimedCount.Builder
Overrides

clearStartTime()

public TimedCount.Builder clearStartTime()

Start of the time period to which count refers (included).

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimedCount.Builder

clone()

public TimedCount.Builder clone()
Returns
Type Description
TimedCount.Builder
Overrides

getCount()

public long getCount()

Approximate number of occurrences in the given time period.

int64 count = 1;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public TimedCount getDefaultInstanceForType()
Returns
Type Description
TimedCount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

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.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

End of the time period to which count refers (excluded).

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End of the time period to which count refers (excluded).

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getStartTime()

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start of the time period to which count refers (included).

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start of the time period to which count refers (included).

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

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.

hasStartTime()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public TimedCount.Builder mergeEndTime(Timestamp value)

End of the time period to which count refers (excluded).

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedCount.Builder

mergeFrom(TimedCount other)

public TimedCount.Builder mergeFrom(TimedCount other)
Parameter
Name Description
other TimedCount
Returns
Type Description
TimedCount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimedCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedCount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimedCount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimedCount.Builder
Overrides

mergeStartTime(Timestamp value)

public TimedCount.Builder mergeStartTime(Timestamp value)

Start of the time period to which count refers (included).

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedCount.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimedCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimedCount.Builder
Overrides

setCount(long value)

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
Type Description
TimedCount.Builder

This builder for chaining.

setEndTime(Timestamp value)

public TimedCount.Builder setEndTime(Timestamp value)

End of the time period to which count refers (excluded).

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedCount.Builder

setEndTime(Timestamp.Builder builderForValue)

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
Type Description
TimedCount.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimedCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimedCount.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimedCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimedCount.Builder
Overrides

setStartTime(Timestamp value)

public TimedCount.Builder setStartTime(Timestamp value)

Start of the time period to which count refers (included).

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedCount.Builder

setStartTime(Timestamp.Builder builderForValue)

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
Type Description
TimedCount.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimedCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimedCount.Builder
Overrides