Class TimestampRange.Builder (2.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimestampRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimestampRange.Builder
Overrides

build()

public TimestampRange build()
Returns
TypeDescription
TimestampRange

buildPartial()

public TimestampRange buildPartial()
Returns
TypeDescription
TimestampRange

clear()

public TimestampRange.Builder clear()
Returns
TypeDescription
TimestampRange.Builder
Overrides

clearEndTime()

public TimestampRange.Builder clearEndTime()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampRange.Builder

clearField(Descriptors.FieldDescriptor field)

public TimestampRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimestampRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimestampRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimestampRange.Builder
Overrides

clearStartTime()

public TimestampRange.Builder clearStartTime()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampRange.Builder

clone()

public TimestampRange.Builder clone()
Returns
TypeDescription
TimestampRange.Builder
Overrides

getDefaultInstanceForType()

public TimestampRange getDefaultInstanceForType()
Returns
TypeDescription
TimestampRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public TimestampRange.Builder mergeEndTime(Timestamp value)

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimestampRange.Builder

mergeFrom(TimestampRange other)

public TimestampRange.Builder mergeFrom(TimestampRange other)
Parameter
NameDescription
otherTimestampRange
Returns
TypeDescription
TimestampRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimestampRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimestampRange.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimestampRange.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimestampRange.Builder
Overrides

mergeStartTime(Timestamp value)

public TimestampRange.Builder mergeStartTime(Timestamp value)

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
TimestampRange.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimestampRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimestampRange.Builder
Overrides

setEndTime(Timestamp value)

public TimestampRange.Builder setEndTime(Timestamp value)

End of the period (exclusive).

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimestampRange.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimestampRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimestampRange.Builder
Overrides

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

public TimestampRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimestampRange.Builder
Overrides

setStartTime(Timestamp value)

public TimestampRange.Builder setStartTime(Timestamp value)

Begin of the period (inclusive).

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimestampRange.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimestampRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimestampRange.Builder
Overrides