Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetCity() string
- func (x *Address) GetCountry() string
- func (x *Address) GetPostalCode() string
- func (x *Address) GetState() string
- func (x *Address) GetStreet() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type AddressUpdate
- func (*AddressUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *AddressUpdate) GetCity() *wrapperspb.StringValue
- func (x *AddressUpdate) GetCountry() *wrapperspb.StringValue
- func (x *AddressUpdate) GetPostalCode() *wrapperspb.StringValue
- func (x *AddressUpdate) GetState() *wrapperspb.StringValue
- func (x *AddressUpdate) GetStreet() *wrapperspb.StringValue
- func (*AddressUpdate) ProtoMessage()
- func (x *AddressUpdate) ProtoReflect() protoreflect.Message
- func (x *AddressUpdate) Reset()
- func (x *AddressUpdate) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAddress() *Address
- func (x *Profile) GetFamilyName() string
- func (x *Profile) GetGivenName() string
- func (x *Profile) GetPhoneNumbers() []*types.PhoneNumberDTO
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type ProfileUpdate
- func (*ProfileUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileUpdate) GetAddress() *AddressUpdate
- func (x *ProfileUpdate) GetFamilyName() *wrapperspb.StringValue
- func (x *ProfileUpdate) GetGivenName() *wrapperspb.StringValue
- func (x *ProfileUpdate) GetPhoneNumbers() []*types.PhoneNumberDTOUpdate
- func (*ProfileUpdate) ProtoMessage()
- func (x *ProfileUpdate) ProtoReflect() protoreflect.Message
- func (x *ProfileUpdate) Reset()
- func (x *ProfileUpdate) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetId() string
- func (x *User) GetMetadata() map[string]string
- func (x *User) GetProfile() *Profile
- func (x *User) GetState() UserState
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserState
- type UserStateFilterExpression
- func (*UserStateFilterExpression) Descriptor() ([]byte, []int)deprecated
- func (x *UserStateFilterExpression) GetEq() UserState
- func (x *UserStateFilterExpression) GetIn() []UserState
- func (*UserStateFilterExpression) ProtoMessage()
- func (x *UserStateFilterExpression) ProtoReflect() protoreflect.Message
- func (x *UserStateFilterExpression) Reset()
- func (x *UserStateFilterExpression) String() string
- type UserStateValue
- type UserUpdate
- func (*UserUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdate) GetId() string
- func (x *UserUpdate) GetMetadata() *types.StringMapUpdate
- func (x *UserUpdate) GetProfile() *ProfileUpdate
- func (x *UserUpdate) GetState() *UserStateValue
- func (*UserUpdate) ProtoMessage()
- func (x *UserUpdate) ProtoReflect() protoreflect.Message
- func (x *UserUpdate) Reset()
- func (x *UserUpdate) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserState_name = map[int32]string{ 0: "USER_STATE_UNSPECIFIED", 1: "USER_STATE_ACTIVE", 2: "USER_STATE_DISABLED", 3: "USER_STATE_DELETED", 4: "USER_STATE_PENDING", } UserState_value = map[string]int32{ "USER_STATE_UNSPECIFIED": 0, "USER_STATE_ACTIVE": 1, "USER_STATE_DISABLED": 2, "USER_STATE_DELETED": 3, "USER_STATE_PENDING": 4, } )
Enum value maps for UserState.
View Source
var File_proto_external_models_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Street string `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"` City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetCountry ¶
func (*Address) GetPostalCode ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AddressUpdate ¶
type AddressUpdate struct { Street *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=street,proto3" json:"street,omitempty"` City *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` State *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` PostalCode *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` Country *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*AddressUpdate) Descriptor
deprecated
func (*AddressUpdate) Descriptor() ([]byte, []int)
Deprecated: Use AddressUpdate.ProtoReflect.Descriptor instead.
func (*AddressUpdate) GetCity ¶
func (x *AddressUpdate) GetCity() *wrapperspb.StringValue
func (*AddressUpdate) GetCountry ¶
func (x *AddressUpdate) GetCountry() *wrapperspb.StringValue
func (*AddressUpdate) GetPostalCode ¶
func (x *AddressUpdate) GetPostalCode() *wrapperspb.StringValue
func (*AddressUpdate) GetState ¶
func (x *AddressUpdate) GetState() *wrapperspb.StringValue
func (*AddressUpdate) GetStreet ¶
func (x *AddressUpdate) GetStreet() *wrapperspb.StringValue
func (*AddressUpdate) ProtoMessage ¶
func (*AddressUpdate) ProtoMessage()
func (*AddressUpdate) ProtoReflect ¶
func (x *AddressUpdate) ProtoReflect() protoreflect.Message
func (*AddressUpdate) Reset ¶
func (x *AddressUpdate) Reset()
func (*AddressUpdate) String ¶
func (x *AddressUpdate) String() string
type Profile ¶
type Profile struct { GivenName string `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` FamilyName string `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` PhoneNumbers []*types.PhoneNumberDTO `protobuf:"bytes,3,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"` Address *Address `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAddress ¶
func (*Profile) GetFamilyName ¶
func (*Profile) GetGivenName ¶
func (*Profile) GetPhoneNumbers ¶
func (x *Profile) GetPhoneNumbers() []*types.PhoneNumberDTO
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type ProfileUpdate ¶
type ProfileUpdate struct { GivenName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` FamilyName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` PhoneNumbers []*types.PhoneNumberDTOUpdate `protobuf:"bytes,3,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"` Address *AddressUpdate `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ProfileUpdate) Descriptor
deprecated
func (*ProfileUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ProfileUpdate.ProtoReflect.Descriptor instead.
func (*ProfileUpdate) GetAddress ¶
func (x *ProfileUpdate) GetAddress() *AddressUpdate
func (*ProfileUpdate) GetFamilyName ¶
func (x *ProfileUpdate) GetFamilyName() *wrapperspb.StringValue
func (*ProfileUpdate) GetGivenName ¶
func (x *ProfileUpdate) GetGivenName() *wrapperspb.StringValue
func (*ProfileUpdate) GetPhoneNumbers ¶
func (x *ProfileUpdate) GetPhoneNumbers() []*types.PhoneNumberDTOUpdate
func (*ProfileUpdate) ProtoMessage ¶
func (*ProfileUpdate) ProtoMessage()
func (*ProfileUpdate) ProtoReflect ¶
func (x *ProfileUpdate) ProtoReflect() protoreflect.Message
func (*ProfileUpdate) Reset ¶
func (x *ProfileUpdate) Reset()
func (*ProfileUpdate) String ¶
func (x *ProfileUpdate) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ State UserState `protobuf:"varint,3,opt,name=state,proto3,enum=proto.external.models.UserState" json:"state,omitempty"` Profile *Profile `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetMetadata ¶
func (*User) GetProfile ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserState ¶
type UserState int32
func (UserState) Descriptor ¶
func (UserState) Descriptor() protoreflect.EnumDescriptor
func (UserState) EnumDescriptor
deprecated
func (UserState) Number ¶
func (x UserState) Number() protoreflect.EnumNumber
func (UserState) Type ¶
func (UserState) Type() protoreflect.EnumType
type UserStateFilterExpression ¶
type UserStateFilterExpression struct { Eq UserState `protobuf:"varint,1,opt,name=eq,proto3,enum=proto.external.models.UserState" json:"eq,omitempty"` In []UserState `protobuf:"varint,2,rep,packed,name=in,proto3,enum=proto.external.models.UserState" json:"in,omitempty"` // contains filtered or unexported fields }
func (*UserStateFilterExpression) Descriptor
deprecated
func (*UserStateFilterExpression) Descriptor() ([]byte, []int)
Deprecated: Use UserStateFilterExpression.ProtoReflect.Descriptor instead.
func (*UserStateFilterExpression) GetEq ¶
func (x *UserStateFilterExpression) GetEq() UserState
func (*UserStateFilterExpression) GetIn ¶
func (x *UserStateFilterExpression) GetIn() []UserState
func (*UserStateFilterExpression) ProtoMessage ¶
func (*UserStateFilterExpression) ProtoMessage()
func (*UserStateFilterExpression) ProtoReflect ¶
func (x *UserStateFilterExpression) ProtoReflect() protoreflect.Message
func (*UserStateFilterExpression) Reset ¶
func (x *UserStateFilterExpression) Reset()
func (*UserStateFilterExpression) String ¶
func (x *UserStateFilterExpression) String() string
type UserStateValue ¶
type UserStateValue struct { Value UserState `protobuf:"varint,1,opt,name=value,proto3,enum=proto.external.models.UserState" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UserStateValue) Descriptor
deprecated
func (*UserStateValue) Descriptor() ([]byte, []int)
Deprecated: Use UserStateValue.ProtoReflect.Descriptor instead.
func (*UserStateValue) GetValue ¶
func (x *UserStateValue) GetValue() UserState
func (*UserStateValue) ProtoMessage ¶
func (*UserStateValue) ProtoMessage()
func (*UserStateValue) ProtoReflect ¶
func (x *UserStateValue) ProtoReflect() protoreflect.Message
func (*UserStateValue) Reset ¶
func (x *UserStateValue) Reset()
func (*UserStateValue) String ¶
func (x *UserStateValue) String() string
type UserUpdate ¶
type UserUpdate struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *types.StringMapUpdate `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` State *UserStateValue `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Profile *ProfileUpdate `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*UserUpdate) Descriptor
deprecated
func (*UserUpdate) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdate.ProtoReflect.Descriptor instead.
func (*UserUpdate) GetId ¶
func (x *UserUpdate) GetId() string
func (*UserUpdate) GetMetadata ¶
func (x *UserUpdate) GetMetadata() *types.StringMapUpdate
func (*UserUpdate) GetProfile ¶
func (x *UserUpdate) GetProfile() *ProfileUpdate
func (*UserUpdate) GetState ¶
func (x *UserUpdate) GetState() *UserStateValue
func (*UserUpdate) ProtoMessage ¶
func (*UserUpdate) ProtoMessage()
func (*UserUpdate) ProtoReflect ¶
func (x *UserUpdate) ProtoReflect() protoreflect.Message
func (*UserUpdate) Reset ¶
func (x *UserUpdate) Reset()
func (*UserUpdate) String ¶
func (x *UserUpdate) String() string
Click to show internal directories.
Click to hide internal directories.