Class WeeklyRecurrence.Builder (3.21.4)

public static final class WeeklyRecurrence.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WeeklyRecurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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