Class WeeklyRecurrence.Builder (3.36.0)

public static final class WeeklyRecurrence.Builder extends GeneratedMessage.Builder<WeeklyRecurrence.Builder> implements WeeklyRecurrenceOrBuilder

Represents a recurring schedule that runs on a specified day of the week.

The time zone is UTC.

Protobuf type google.firestore.admin.v1.WeeklyRecurrence

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public WeeklyRecurrence build()
Returns
Type Description
WeeklyRecurrence

buildPartial()

public WeeklyRecurrence buildPartial()
Returns
Type Description
WeeklyRecurrence

clear()

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

clearDay()

public WeeklyRecurrence.Builder clearDay()

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

.google.type.DayOfWeek day = 2;

Returns
Type Description
WeeklyRecurrence.Builder

This builder for chaining.

getDay()

public DayOfWeek getDay()

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

.google.type.DayOfWeek day = 2;

Returns
Type Description
com.google.type.DayOfWeek

The day.

getDayValue()

public int getDayValue()

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

.google.type.DayOfWeek day = 2;

Returns
Type Description
int

The enum numeric value on the wire for day.

getDefaultInstanceForType()

public WeeklyRecurrence getDefaultInstanceForType()
Returns
Type Description
WeeklyRecurrence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WeeklyRecurrence other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDay(DayOfWeek value)

public WeeklyRecurrence.Builder setDay(DayOfWeek value)

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

.google.type.DayOfWeek day = 2;

Parameter
Name Description
value com.google.type.DayOfWeek

The day to set.

Returns
Type Description
WeeklyRecurrence.Builder

This builder for chaining.

setDayValue(int value)

public WeeklyRecurrence.Builder setDayValue(int value)

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

.google.type.DayOfWeek day = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for day to set.

Returns
Type Description
WeeklyRecurrence.Builder

This builder for chaining.