Class DashboardQuery.Input.RelativeTime.Builder (0.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class DashboardQuery.Input.RelativeTime.Builder extends GeneratedMessage.Builder<DashboardQuery.Input.RelativeTime.Builder> implements DashboardQuery.Input.RelativeTimeOrBuilder
time representation for last x units.
Protobuf type google.cloud.chronicle.v1.DashboardQuery.Input.RelativeTime
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DashboardQuery.Input.RelativeTime build()
public DashboardQuery.Input.RelativeTime buildPartial()
public DashboardQuery.Input.RelativeTime.Builder clear()
Overrides
public DashboardQuery.Input.RelativeTime.Builder clearStartTimeVal()
int64 start_time_val = 2 [(.google.api.field_behavior) = REQUIRED];
public DashboardQuery.Input.RelativeTime.Builder clearTimeUnit()
.google.cloud.chronicle.v1.TimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED];
public DashboardQuery.Input.RelativeTime getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public long getStartTimeVal()
int64 start_time_val = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The startTimeVal.
|
public TimeUnit getTimeUnit()
.google.cloud.chronicle.v1.TimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
TimeUnit |
The timeUnit.
|
public int getTimeUnitValue()
.google.cloud.chronicle.v1.TimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for timeUnit.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DashboardQuery.Input.RelativeTime.Builder mergeFrom(DashboardQuery.Input.RelativeTime other)
public DashboardQuery.Input.RelativeTime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DashboardQuery.Input.RelativeTime.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public DashboardQuery.Input.RelativeTime.Builder setStartTimeVal(long value)
int64 start_time_val = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
long
The startTimeVal to set.
|
public DashboardQuery.Input.RelativeTime.Builder setTimeUnit(TimeUnit value)
.google.cloud.chronicle.v1.TimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
TimeUnit
The timeUnit to set.
|
public DashboardQuery.Input.RelativeTime.Builder setTimeUnitValue(int value)
.google.cloud.chronicle.v1.TimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for timeUnit to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]