genproto: google.golang.org/genproto/googleapis/type/dayofweek Index | Files

package dayofweek

import "google.golang.org/genproto/googleapis/type/dayofweek"

Index

Package Files

dayofweek.pb.go

Variables

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.

var File_google_type_dayofweek_proto protoreflect.FileDescriptor

type DayOfWeek Uses

type DayOfWeek int32

Represents a day of week.

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

func (DayOfWeek) Descriptor Uses

func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor

func (DayOfWeek) Enum Uses

func (x DayOfWeek) Enum() *DayOfWeek

func (DayOfWeek) EnumDescriptor Uses

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

Deprecated: Use DayOfWeek.Descriptor instead.

func (DayOfWeek) Number Uses

func (x DayOfWeek) Number() protoreflect.EnumNumber

func (DayOfWeek) String Uses

func (x DayOfWeek) String() string

func (DayOfWeek) Type Uses

func (DayOfWeek) Type() protoreflect.EnumType

Package dayofweek imports 5 packages (graph) and is imported by 6 packages. Updated 2020-06-15. Refresh now. Tools for package owners.