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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimestampRange build()
Returns
buildPartial()
public TimestampRange buildPartial()
Returns
clear()
public TimestampRange.Builder clear()
Returns
Overrides
clearEndTime()
public TimestampRange.Builder clearEndTime()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TimestampRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTime()
public TimestampRange.Builder clearStartTime()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns
clone()
public TimestampRange.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimestampRange getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndTime()
public Timestamp getEndTime()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Returns
getStartTime()
public Timestamp getStartTime()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndTime(Timestamp value)
public TimestampRange.Builder mergeEndTime(Timestamp value)
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
mergeFrom(TimestampRange other)
public TimestampRange.Builder mergeFrom(TimestampRange other)
Parameter
Returns
public TimestampRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimestampRange.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStartTime(Timestamp value)
public TimestampRange.Builder mergeStartTime(Timestamp value)
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEndTime(Timestamp value)
public TimestampRange.Builder setEndTime(Timestamp value)
End of the period (exclusive).
.google.protobuf.Timestamp end_time = 2;
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTime(Timestamp value)
public TimestampRange.Builder setStartTime(Timestamp value)
Begin of the period (inclusive).
.google.protobuf.Timestamp start_time = 1;
Parameter
Returns
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
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides