Class WeeklyRecurrence (3.20.0)

public final class WeeklyRecurrence extends GeneratedMessageV3 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 Fields

DAY_FIELD_NUMBER

public static final int DAY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WeeklyRecurrence getDefaultInstance()
Returns
TypeDescription
WeeklyRecurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WeeklyRecurrence.Builder newBuilder()
Returns
TypeDescription
WeeklyRecurrence.Builder

newBuilder(WeeklyRecurrence prototype)

public static WeeklyRecurrence.Builder newBuilder(WeeklyRecurrence prototype)
Parameter
NameDescription
prototypeWeeklyRecurrence
Returns
TypeDescription
WeeklyRecurrence.Builder

parseDelimitedFrom(InputStream input)

public static WeeklyRecurrence parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WeeklyRecurrence parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WeeklyRecurrence parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WeeklyRecurrence parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WeeklyRecurrence parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WeeklyRecurrence parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WeeklyRecurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WeeklyRecurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WeeklyRecurrence> parser()
Returns
TypeDescription
Parser<WeeklyRecurrence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<WeeklyRecurrence> getParserForType()
Returns
TypeDescription
Parser<WeeklyRecurrence>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WeeklyRecurrence.Builder newBuilderForType()
Returns
TypeDescription
WeeklyRecurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WeeklyRecurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WeeklyRecurrence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WeeklyRecurrence.Builder toBuilder()
Returns
TypeDescription
WeeklyRecurrence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException