Send feedback
Class DashboardQuery.Input.RelativeTime.Builder (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.31.0 (latest)
0.29.0
0.26.0
0.25.0
0.23.0
0.21.0
0.20.0
0.19.0
0.18.0
0.16.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.8.0
0.6.0
0.5.0
0.2.0
0.1.0
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.
Send feedback
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-06-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]