public static final class TimestampRange.Builder extends GeneratedMessageV3.Builder<TimestampRange.Builder> implements TimestampRangeOrBuilder
Message representing a period of time between two timestamps.
Protobuf type google.cloud.talent.v4beta1.TimestampRange
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimestampRange build()
buildPartial()
public TimestampRange buildPartial()
clear()
public TimestampRange.Builder clear()
Overrides
clearEndTime()
public TimestampRange.Builder clearEndTime()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
clearField(Descriptors.FieldDescriptor field)
public TimestampRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartTime()
public TimestampRange.Builder clearStartTime()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
clone()
public TimestampRange.Builder clone()
Overrides
getDefaultInstanceForType()
public TimestampRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndTime()
public Timestamp getEndTime()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns |
Type |
Description |
Timestamp |
The endTime.
|
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
getStartTime()
public Timestamp getStartTime()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns |
Type |
Description |
Timestamp |
The startTime.
|
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
hasEndTime()
public boolean hasEndTime()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEndTime(Timestamp value)
public TimestampRange.Builder mergeEndTime(Timestamp value)
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
mergeFrom(TimestampRange other)
public TimestampRange.Builder mergeFrom(TimestampRange other)
public TimestampRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimestampRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStartTime(Timestamp value)
public TimestampRange.Builder mergeStartTime(Timestamp value)
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEndTime(Timestamp value)
public TimestampRange.Builder setEndTime(Timestamp value)
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
setEndTime(Timestamp.Builder builderForValue)
public TimestampRange.Builder setEndTime(Timestamp.Builder builderForValue)
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartTime(Timestamp value)
public TimestampRange.Builder setStartTime(Timestamp value)
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
setStartTime(Timestamp.Builder builderForValue)
public TimestampRange.Builder setStartTime(Timestamp.Builder builderForValue)
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides