testv1

package
v0.0.0-...-5c77a2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CountryCode_name = map[int32]string{
		0: "COUNTRY_CODE_UNSPECIFIED",
		1: "COUNTRY_CODE_KR",
		2: "COUNTRY_CODE_CA",
		3: "COUNTRY_CODE_GB",
		4: "COUNTRY_CODE_JP",
	}
	CountryCode_value = map[string]int32{
		"COUNTRY_CODE_UNSPECIFIED": 0,
		"COUNTRY_CODE_KR":          1,
		"COUNTRY_CODE_CA":          2,
		"COUNTRY_CODE_GB":          3,
		"COUNTRY_CODE_JP":          4,
	}
)

Enum value maps for CountryCode.

View Source
var (
	UserIdType_name = map[int32]string{
		0: "USER_ID_TYPE_UNSPECIFIED",
		1: "USER_ID_TYPE_KARROT",
		2: "USER_ID_TYPE_HOIAN",
	}
	UserIdType_value = map[string]int32{
		"USER_ID_TYPE_UNSPECIFIED": 0,
		"USER_ID_TYPE_KARROT":      1,
		"USER_ID_TYPE_HOIAN":       2,
	}
)

Enum value maps for UserIdType.

View Source
var File_taehoio_ddl_services_test_v1_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CountryCode

type CountryCode int32
const (
	CountryCode_COUNTRY_CODE_UNSPECIFIED CountryCode = 0
	CountryCode_COUNTRY_CODE_KR          CountryCode = 1
	CountryCode_COUNTRY_CODE_CA          CountryCode = 2
	CountryCode_COUNTRY_CODE_GB          CountryCode = 3
	CountryCode_COUNTRY_CODE_JP          CountryCode = 4
)

func (CountryCode) Descriptor

func (CountryCode) Enum

func (x CountryCode) Enum() *CountryCode

func (CountryCode) EnumDescriptor deprecated

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

Deprecated: Use CountryCode.Descriptor instead.

func (CountryCode) Number

func (x CountryCode) Number() protoreflect.EnumNumber

func (CountryCode) String

func (x CountryCode) String() string

func (CountryCode) Type

type User

type User struct {
	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	PasswordHash string                 `protobuf:"bytes,5,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"`
	FullName     *string                `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
	Email        string                 `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	ProfileJson  string                 `protobuf:"bytes,8,opt,name=profile_json,json=profileJson,proto3" json:"profile_json,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() *timestamppb.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFullName

func (x *User) GetFullName() string

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetPasswordHash

func (x *User) GetPasswordHash() string

func (*User) GetProfileJson

func (x *User) GetProfileJson() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserCheckin

type UserCheckin struct {
	Id                 uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt          *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
	CountryCode        CountryCode            `` /* 141-byte string literal not displayed */
	UserIdType         UserIdType             `` /* 139-byte string literal not displayed */
	UserId             string                 `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Latitude           float64                `protobuf:"fixed64,8,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude          float64                `protobuf:"fixed64,9,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Altitude           *float64               `protobuf:"fixed64,10,opt,name=altitude,proto3,oneof" json:"altitude,omitempty"`
	HorizontalAccuracy *float64               `protobuf:"fixed64,11,opt,name=horizontal_accuracy,json=horizontalAccuracy,proto3,oneof" json:"horizontal_accuracy,omitempty"`
	VerticalAccuracy   *float64               `protobuf:"fixed64,12,opt,name=vertical_accuracy,json=verticalAccuracy,proto3,oneof" json:"vertical_accuracy,omitempty"`
	MeasuredAt         *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=measured_at,json=measuredAt,proto3,oneof" json:"measured_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCheckin) Descriptor deprecated

func (*UserCheckin) Descriptor() ([]byte, []int)

Deprecated: Use UserCheckin.ProtoReflect.Descriptor instead.

func (*UserCheckin) GetAltitude

func (x *UserCheckin) GetAltitude() float64

func (*UserCheckin) GetCountryCode

func (x *UserCheckin) GetCountryCode() CountryCode

func (*UserCheckin) GetCreatedAt

func (x *UserCheckin) GetCreatedAt() *timestamppb.Timestamp

func (*UserCheckin) GetDeletedAt

func (x *UserCheckin) GetDeletedAt() *timestamppb.Timestamp

func (*UserCheckin) GetHorizontalAccuracy

func (x *UserCheckin) GetHorizontalAccuracy() float64

func (*UserCheckin) GetId

func (x *UserCheckin) GetId() uint64

func (*UserCheckin) GetLatitude

func (x *UserCheckin) GetLatitude() float64

func (*UserCheckin) GetLongitude

func (x *UserCheckin) GetLongitude() float64

func (*UserCheckin) GetMeasuredAt

func (x *UserCheckin) GetMeasuredAt() *timestamppb.Timestamp

func (*UserCheckin) GetUpdatedAt

func (x *UserCheckin) GetUpdatedAt() *timestamppb.Timestamp

func (*UserCheckin) GetUserId

func (x *UserCheckin) GetUserId() string

func (*UserCheckin) GetUserIdType

func (x *UserCheckin) GetUserIdType() UserIdType

func (*UserCheckin) GetVerticalAccuracy

func (x *UserCheckin) GetVerticalAccuracy() float64

func (*UserCheckin) ProtoMessage

func (*UserCheckin) ProtoMessage()

func (*UserCheckin) ProtoReflect

func (x *UserCheckin) ProtoReflect() protoreflect.Message

func (*UserCheckin) Reset

func (x *UserCheckin) Reset()

func (*UserCheckin) String

func (x *UserCheckin) String() string

type UserIdType

type UserIdType int32
const (
	UserIdType_USER_ID_TYPE_UNSPECIFIED UserIdType = 0
	UserIdType_USER_ID_TYPE_KARROT      UserIdType = 1
	UserIdType_USER_ID_TYPE_HOIAN       UserIdType = 2
)

func (UserIdType) Descriptor

func (UserIdType) Descriptor() protoreflect.EnumDescriptor

func (UserIdType) Enum

func (x UserIdType) Enum() *UserIdType

func (UserIdType) EnumDescriptor deprecated

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

Deprecated: Use UserIdType.Descriptor instead.

func (UserIdType) Number

func (x UserIdType) Number() protoreflect.EnumNumber

func (UserIdType) String

func (x UserIdType) String() string

func (UserIdType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL