Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DayOfWeek_name = map[int32]string{
		0: "DAY_OF_WEEK_UNSPECIFIED",
		1: "MONDAY",
		2: "TUESDAY",
		3: "WEDNESDAY",
		4: "THURSDAY",
		5: "FRIDAY",
		6: "SATURDAY",
		7: "SUNDAY",
	}
	DayOfWeek_value = map[string]int32{
		"DAY_OF_WEEK_UNSPECIFIED": 0,
		"MONDAY":                  1,
		"TUESDAY":                 2,
		"WEDNESDAY":               3,
		"THURSDAY":                4,
		"FRIDAY":                  5,
		"SATURDAY":                6,
		"SUNDAY":                  7,
	}
)

Enum value maps for DayOfWeek.

View Source
var File_google_type_dayofweek_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DayOfWeek

type DayOfWeek int32

Represents a day of the week.

const (
	// The day of the week is unspecified.
	DayOfWeek_DAY_OF_WEEK_UNSPECIFIED DayOfWeek = 0
	// Monday
	DayOfWeek_MONDAY DayOfWeek = 1
	// Tuesday
	DayOfWeek_TUESDAY DayOfWeek = 2
	// Wednesday
	DayOfWeek_WEDNESDAY DayOfWeek = 3
	// Thursday
	DayOfWeek_THURSDAY DayOfWeek = 4
	// Friday
	DayOfWeek_FRIDAY DayOfWeek = 5
	// Saturday
	DayOfWeek_SATURDAY DayOfWeek = 6
	// Sunday
	DayOfWeek_SUNDAY DayOfWeek = 7
)

func (DayOfWeek) Descriptor

func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor

func (DayOfWeek) Enum

func (x DayOfWeek) Enum() *DayOfWeek

func (DayOfWeek) EnumDescriptor

func (DayOfWeek) EnumDescriptor() ([]byte, []int)

Deprecated: Use DayOfWeek.Descriptor instead.

func (DayOfWeek) Number

func (x DayOfWeek) Number() protoreflect.EnumNumber

func (DayOfWeek) String

func (x DayOfWeek) String() string

func (DayOfWeek) Type

Source Files