publicstaticfinalclass TimeInterval.BuilderextendsGeneratedMessageV3.Builder<TimeInterval.Builder>implementsTimeIntervalOrBuilder
A time interval extending just after a start time through an end time.
If the start time is the same as the end time, then the interval
represents a single point in time.
Protobuf type google.cloud.bigquery.migration.v2alpha.TimeInterval
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTimeInterval.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicTimeIntervalbuild()
buildPartial()
publicTimeIntervalbuildPartial()
clear()
publicTimeInterval.Builderclear()
Overrides
clearEndTime()
publicTimeInterval.BuilderclearEndTime()
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
publicTimeInterval.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicTimeInterval.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearStartTime()
publicTimeInterval.BuilderclearStartTime()
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
publicTimeInterval.Builderclone()
Overrides
getDefaultInstanceForType()
publicTimeIntervalgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getEndTime()
publicTimestampgetEndTime()
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
getEndTimeBuilder()
publicTimestamp.BuildergetEndTimeBuilder()
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
getEndTimeOrBuilder()
publicTimestampOrBuildergetEndTimeOrBuilder()
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
getStartTime()
publicTimestampgetStartTime()
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
getStartTimeBuilder()
publicTimestamp.BuildergetStartTimeBuilder()
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
getStartTimeOrBuilder()
publicTimestampOrBuildergetStartTimeOrBuilder()
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
hasEndTime()
publicbooleanhasEndTime()
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
hasStartTime()
publicbooleanhasStartTime()
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeEndTime(Timestamp value)
publicTimeInterval.BuildermergeEndTime(Timestampvalue)
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(TimeInterval other)
publicTimeInterval.BuildermergeFrom(TimeIntervalother)
publicTimeInterval.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicTimeInterval.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeStartTime(Timestamp value)
publicTimeInterval.BuildermergeStartTime(Timestampvalue)
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTimeInterval.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setEndTime(Timestamp value)
publicTimeInterval.BuildersetEndTime(Timestampvalue)
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
setEndTime(Timestamp.Builder builderForValue)
publicTimeInterval.BuildersetEndTime(Timestamp.BuilderbuilderForValue)
Required. The end of the time interval.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
publicTimeInterval.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTimeInterval.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setStartTime(Timestamp value)
publicTimeInterval.BuildersetStartTime(Timestampvalue)
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
setStartTime(Timestamp.Builder builderForValue)
publicTimeInterval.BuildersetStartTime(Timestamp.BuilderbuilderForValue)
Optional. The beginning of the time interval. The default value
for the start time is the end time. The start time must not be
later than the end time.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTimeInterval.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides