usersv1

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserStatus_name = map[int32]string{
		0: "USER_STATUS_UNSPECIFIED",
		1: "USER_STATUS_ACTIVE",
		2: "USER_STATUS_INVITED",
		3: "USER_STATUS_DISABLED",
	}
	UserStatus_value = map[string]int32{
		"USER_STATUS_UNSPECIFIED": 0,
		"USER_STATUS_ACTIVE":      1,
		"USER_STATUS_INVITED":     2,
		"USER_STATUS_DISABLED":    3,
	}
)

Enum value maps for UserStatus.

View Source
var File_autokitteh_users_v1_svc_proto protoreflect.FileDescriptor
View Source
var File_autokitteh_users_v1_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateRequest added in v0.12.1

type CreateRequest struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated added in v0.12.1

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetUser added in v0.12.1

func (x *CreateRequest) GetUser() *User

func (*CreateRequest) ProtoMessage added in v0.12.1

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect added in v0.12.1

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

func (*CreateRequest) Reset added in v0.12.1

func (x *CreateRequest) Reset()

func (*CreateRequest) String added in v0.12.1

func (x *CreateRequest) String() string

type CreateResponse added in v0.12.1

type CreateResponse struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated added in v0.12.1

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetUserId added in v0.12.1

func (x *CreateResponse) GetUserId() string

func (*CreateResponse) ProtoMessage added in v0.12.1

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect added in v0.12.1

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

func (*CreateResponse) Reset added in v0.12.1

func (x *CreateResponse) Reset()

func (*CreateResponse) String added in v0.12.1

func (x *CreateResponse) String() string

type GetIDRequest added in v0.13.0

type GetIDRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIDRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use GetIDRequest.ProtoReflect.Descriptor instead.

func (*GetIDRequest) GetEmail added in v0.13.0

func (x *GetIDRequest) GetEmail() string

func (*GetIDRequest) ProtoMessage added in v0.13.0

func (*GetIDRequest) ProtoMessage()

func (*GetIDRequest) ProtoReflect added in v0.13.0

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

func (*GetIDRequest) Reset added in v0.13.0

func (x *GetIDRequest) Reset()

func (*GetIDRequest) String added in v0.13.0

func (x *GetIDRequest) String() string

type GetIDResponse added in v0.13.0

type GetIDResponse struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIDResponse) Descriptor deprecated added in v0.13.0

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

Deprecated: Use GetIDResponse.ProtoReflect.Descriptor instead.

func (*GetIDResponse) GetUserId added in v0.13.0

func (x *GetIDResponse) GetUserId() string

func (*GetIDResponse) ProtoMessage added in v0.13.0

func (*GetIDResponse) ProtoMessage()

func (*GetIDResponse) ProtoReflect added in v0.13.0

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

func (*GetIDResponse) Reset added in v0.13.0

func (x *GetIDResponse) Reset()

func (*GetIDResponse) String added in v0.13.0

func (x *GetIDResponse) String() string

type GetRequest added in v0.12.1

type GetRequest struct {

	// at least one of these fields must be set.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email  string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated added in v0.12.1

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetEmail added in v0.12.1

func (x *GetRequest) GetEmail() string

func (*GetRequest) GetUserId added in v0.12.1

func (x *GetRequest) GetUserId() string

func (*GetRequest) ProtoMessage added in v0.12.1

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v0.12.1

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

func (*GetRequest) Reset added in v0.12.1

func (x *GetRequest) Reset()

func (*GetRequest) String added in v0.12.1

func (x *GetRequest) String() string

type GetResponse added in v0.12.1

type GetResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated added in v0.12.1

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetUser added in v0.12.1

func (x *GetResponse) GetUser() *User

func (*GetResponse) ProtoMessage added in v0.12.1

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect added in v0.12.1

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

func (*GetResponse) Reset added in v0.12.1

func (x *GetResponse) Reset()

func (*GetResponse) String added in v0.12.1

func (x *GetResponse) String() string

type UpdateRequest added in v0.12.1

type UpdateRequest struct {
	User      *User                  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated added in v0.12.1

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetFieldMask added in v0.13.0

func (x *UpdateRequest) GetFieldMask() *fieldmaskpb.FieldMask

func (*UpdateRequest) GetUser added in v0.12.1

func (x *UpdateRequest) GetUser() *User

func (*UpdateRequest) ProtoMessage added in v0.12.1

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v0.12.1

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

func (*UpdateRequest) Reset added in v0.12.1

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String added in v0.12.1

func (x *UpdateRequest) String() string

type UpdateResponse added in v0.12.1

type UpdateResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated added in v0.12.1

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage added in v0.12.1

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.12.1

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

func (*UpdateResponse) Reset added in v0.12.1

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String added in v0.12.1

func (x *UpdateResponse) String() string

type User

type User struct {
	UserId       string     `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email        string     `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // if email is empty, user cannot login.
	DisplayName  string     `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Disabled     bool       `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`                              // obsolete, use status instead.
	DefaultOrgId string     `protobuf:"bytes,5,opt,name=default_org_id,json=defaultOrgId,proto3" json:"default_org_id,omitempty"` // org to use for projects, if not otherwise specified.
	Status       UserStatus `protobuf:"varint,6,opt,name=status,proto3,enum=autokitteh.users.v1.UserStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

`display_name` is a human-readable name for the user. `name` is a globally unique symbol for the user.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetDefaultOrgId added in v0.12.1

func (x *User) GetDefaultOrgId() string

func (*User) GetDisabled added in v0.10.13

func (x *User) GetDisabled() bool

func (*User) GetDisplayName added in v0.10.13

func (x *User) GetDisplayName() string

func (*User) GetEmail added in v0.10.13

func (x *User) GetEmail() string

func (*User) GetStatus added in v0.13.0

func (x *User) GetStatus() UserStatus

func (*User) GetUserId added in v0.10.13

func (x *User) GetUserId() string

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 UserStatus added in v0.13.0

type UserStatus int32
const (
	UserStatus_USER_STATUS_UNSPECIFIED UserStatus = 0
	UserStatus_USER_STATUS_ACTIVE      UserStatus = 1
	UserStatus_USER_STATUS_INVITED     UserStatus = 2 // not active yet, just invited.
	UserStatus_USER_STATUS_DISABLED    UserStatus = 3 // disabled, cannot login.
)

func (UserStatus) Descriptor added in v0.13.0

func (UserStatus) Descriptor() protoreflect.EnumDescriptor

func (UserStatus) Enum added in v0.13.0

func (x UserStatus) Enum() *UserStatus

func (UserStatus) EnumDescriptor deprecated added in v0.13.0

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

Deprecated: Use UserStatus.Descriptor instead.

func (UserStatus) Number added in v0.13.0

func (x UserStatus) Number() protoreflect.EnumNumber

func (UserStatus) String added in v0.13.0

func (x UserStatus) String() string

func (UserStatus) Type added in v0.13.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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