Class QueryTimeRange.Builder (0.144.0-beta)

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

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryTimeRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

build()

public QueryTimeRange build()
Returns
TypeDescription
QueryTimeRange

buildPartial()

public QueryTimeRange buildPartial()
Returns
TypeDescription
QueryTimeRange

clear()

public QueryTimeRange.Builder clear()
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryTimeRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryTimeRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
QueryTimeRange.Builder

This builder for chaining.

clone()

public QueryTimeRange.Builder clone()
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

getDefaultInstanceForType()

public QueryTimeRange getDefaultInstanceForType()
Returns
TypeDescription
QueryTimeRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPeriod()

public QueryTimeRange.Period getPeriod()

Restricts the query to the specified time range.

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

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for period.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryTimeRange other)

public QueryTimeRange.Builder mergeFrom(QueryTimeRange other)
Parameter
NameDescription
otherQueryTimeRange
Returns
TypeDescription
QueryTimeRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryTimeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeRange.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryTimeRange.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryTimeRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public QueryTimeRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueQueryTimeRange.Period

The period to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryTimeRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryTimeRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryTimeRange.Builder
Overrides