Class TimestampRange.Builder (2.50.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimestampRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimestampRange.Builder
Overrides

build()

public TimestampRange build()
Returns
Type Description
TimestampRange

buildPartial()

public TimestampRange buildPartial()
Returns
Type Description
TimestampRange

clear()

public TimestampRange.Builder clear()
Returns
Type Description
TimestampRange.Builder
Overrides

clearEndTime()

public TimestampRange.Builder clearEndTime()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampRange.Builder

clearField(Descriptors.FieldDescriptor field)

public TimestampRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimestampRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimestampRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TimestampRange.Builder
Overrides

clearStartTime()

public TimestampRange.Builder clearStartTime()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampRange.Builder

clone()

public TimestampRange.Builder clone()
Returns
Type Description
TimestampRange.Builder
Overrides

getDefaultInstanceForType()

public TimestampRange getDefaultInstanceForType()
Returns
Type Description
TimestampRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

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;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public TimestampRange.Builder mergeEndTime(Timestamp value)

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimestampRange.Builder

mergeFrom(TimestampRange other)

public TimestampRange.Builder mergeFrom(TimestampRange other)
Parameter
Name Description
other TimestampRange
Returns
Type Description
TimestampRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimestampRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimestampRange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimestampRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimestampRange.Builder
Overrides

mergeStartTime(Timestamp value)

public TimestampRange.Builder mergeStartTime(Timestamp value)

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimestampRange.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimestampRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimestampRange.Builder
Overrides

setEndTime(Timestamp value)

public TimestampRange.Builder setEndTime(Timestamp value)

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimestampRange.Builder

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
Type Description
TimestampRange.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimestampRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimestampRange.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimestampRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimestampRange.Builder
Overrides

setStartTime(Timestamp value)

public TimestampRange.Builder setStartTime(Timestamp value)

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
TimestampRange.Builder

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
Type Description
TimestampRange.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimestampRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimestampRange.Builder
Overrides