Class WeeklyRecurrence.Builder (3.20.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WeeklyRecurrence build()
Returns
TypeDescription
WeeklyRecurrence

buildPartial()

public WeeklyRecurrence buildPartial()
Returns
TypeDescription
WeeklyRecurrence

clear()

public WeeklyRecurrence.Builder clear()
Returns
TypeDescription
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
TypeDescription
WeeklyRecurrence.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public WeeklyRecurrence.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for day.

getDefaultInstanceForType()

public WeeklyRecurrence getDefaultInstanceForType()
Returns
TypeDescription
WeeklyRecurrence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WeeklyRecurrence other)

public WeeklyRecurrence.Builder mergeFrom(WeeklyRecurrence other)
Parameter
NameDescription
otherWeeklyRecurrence
Returns
TypeDescription
WeeklyRecurrence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WeeklyRecurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuecom.google.type.DayOfWeek

The day to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
WeeklyRecurrence.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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