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 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 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 9 packages. Updated 2020-10-26. Refresh now. Tools for package owners.