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

package month

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

Index

Package Files

month.pb.go

Variables

var (
    Month_name = map[int32]string{
        0:  "MONTH_UNSPECIFIED",
        1:  "JANUARY",
        2:  "FEBRUARY",
        3:  "MARCH",
        4:  "APRIL",
        5:  "MAY",
        6:  "JUNE",
        7:  "JULY",
        8:  "AUGUST",
        9:  "SEPTEMBER",
        10: "OCTOBER",
        11: "NOVEMBER",
        12: "DECEMBER",
    }
    Month_value = map[string]int32{
        "MONTH_UNSPECIFIED": 0,
        "JANUARY":           1,
        "FEBRUARY":          2,
        "MARCH":             3,
        "APRIL":             4,
        "MAY":               5,
        "JUNE":              6,
        "JULY":              7,
        "AUGUST":            8,
        "SEPTEMBER":         9,
        "OCTOBER":           10,
        "NOVEMBER":          11,
        "DECEMBER":          12,
    }
)

Enum value maps for Month.

var File_google_type_month_proto protoreflect.FileDescriptor

type Month Uses

type Month int32

Represents a month in the Gregorian calendar.

const (
    // The unspecifed month.
    Month_MONTH_UNSPECIFIED Month = 0
    // The month of January.
    Month_JANUARY Month = 1
    // The month of February.
    Month_FEBRUARY Month = 2
    // The month of March.
    Month_MARCH Month = 3
    // The month of April.
    Month_APRIL Month = 4
    // The month of May.
    Month_MAY Month = 5
    // The month of June.
    Month_JUNE Month = 6
    // The month of July.
    Month_JULY Month = 7
    // The month of August.
    Month_AUGUST Month = 8
    // The month of September.
    Month_SEPTEMBER Month = 9
    // The month of October.
    Month_OCTOBER Month = 10
    // The month of November.
    Month_NOVEMBER Month = 11
    // The month of December.
    Month_DECEMBER Month = 12
)

func (Month) Descriptor Uses

func (Month) Descriptor() protoreflect.EnumDescriptor

func (Month) Enum Uses

func (x Month) Enum() *Month

func (Month) EnumDescriptor Uses

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

Deprecated: Use Month.Descriptor instead.

func (Month) Number Uses

func (x Month) Number() protoreflect.EnumNumber

func (Month) String Uses

func (x Month) String() string

func (Month) Type Uses

func (Month) Type() protoreflect.EnumType

Package month imports 5 packages (graph). Updated 2020-08-13. Refresh now. Tools for package owners.