public static final class TimedCount.Builder extends GeneratedMessage.Builder<TimedCount.Builder> implements TimedCountOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimedCount.BuilderImplements
TimedCountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimedCount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimedCount.Builder |
|
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 |
|
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 |
longThe 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 |
|
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 |
|