Class QueryTimeRange.Builder (0.173.0-beta)

public static final class QueryTimeRange.Builder extends GeneratedMessageV3.Builder<QueryTimeRange.Builder> implements QueryTimeRangeOrBuilder

A time range for which error group data shall be displayed. Query time ranges end at 'now'. When longer time ranges are selected, the resolution of the data decreases. The description of each time range below indicates the suggested minimum timed count duration for that range.

Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.

Protobuf type google.devtools.clouderrorreporting.v1beta1.QueryTimeRange

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryTimeRange build()
Returns
Type Description
QueryTimeRange

buildPartial()

public QueryTimeRange buildPartial()
Returns
Type Description
QueryTimeRange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeriod()

public QueryTimeRange.Builder clearPeriod()

Restricts the query to the specified time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;

Returns
Type Description
QueryTimeRange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryTimeRange getDefaultInstanceForType()
Returns
Type Description
QueryTimeRange

getDescriptorForType()

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

getPeriod()

public QueryTimeRange.Period getPeriod()

Restricts the query to the specified time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;

Returns
Type Description
QueryTimeRange.Period

The period.

getPeriodValue()

public int getPeriodValue()

Restricts the query to the specified time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;

Returns
Type Description
int

The enum numeric value on the wire for period.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryTimeRange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPeriod(QueryTimeRange.Period value)

public QueryTimeRange.Builder setPeriod(QueryTimeRange.Period value)

Restricts the query to the specified time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;

Parameter
Name Description
value QueryTimeRange.Period

The period to set.

Returns
Type Description
QueryTimeRange.Builder

This builder for chaining.

setPeriodValue(int value)

public QueryTimeRange.Builder setPeriodValue(int value)

Restricts the query to the specified time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for period to set.

Returns
Type Description
QueryTimeRange.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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