pb

package
v0.0.0-...-2502acc Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

pkg/pb/contacts.proto

It has these top-level messages:

Profile
CreateProfileRequest
CreateProfileResponse
ReadProfileRequest
ReadProfileResponse
UpdateProfileRequest
UpdateProfileResponse
DeleteProfileRequest
DeleteProfileResponse
ListProfileRequest
ListProfilesResponse
Group
CreateGroupRequest
CreateGroupResponse
ReadGroupRequest
ReadGroupResponse
UpdateGroupRequest
UpdateGroupResponse
DeleteGroupRequest
DeleteGroupResponse
ListGroupRequest
ListGroupsResponse
Contact
Email
Address
CreateContactRequest
CreateContactResponse
ReadContactRequest
ReadContactResponse
UpdateContactRequest
UpdateContactResponse
DeleteContactRequest
DeleteContactResponse
ListContactsResponse
SMSRequest
SMSResponse
ListContactRequest

Package pb is a generated protocol buffer package.

It is generated from these files:

pkg/pb/contacts.proto

It has these top-level messages:

Profile
CreateProfileRequest
CreateProfileResponse
ReadProfileRequest
ReadProfileResponse
UpdateProfileRequest
UpdateProfileResponse
DeleteProfileRequest
DeleteProfileResponse
ListProfileRequest
ListProfilesResponse
Group
CreateGroupRequest
CreateGroupResponse
ReadGroupRequest
ReadGroupResponse
UpdateGroupRequest
UpdateGroupResponse
DeleteGroupRequest
DeleteGroupResponse
ListGroupRequest
ListGroupsResponse
Contact
Email
Address
CreateContactRequest
CreateContactResponse
ReadContactRequest
ReadContactResponse
UpdateContactRequest
UpdateContactResponse
DeleteContactRequest
DeleteContactResponse
ListContactsResponse
SMSRequest
SMSResponse
ListContactRequest

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDeleteContact

func DefaultDeleteContact(ctx context.Context, in *Contact, db *gorm1.DB) error

func DefaultDeleteEmail

func DefaultDeleteEmail(ctx context.Context, in *Email, db *gorm1.DB) error

func DefaultDeleteGroup

func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm1.DB) error

func DefaultDeleteProfile

func DefaultDeleteProfile(ctx context.Context, in *Profile, db *gorm1.DB) error

func IterateFiltering

func IterateFiltering(f *query.Filtering, callback FilteringIteratorCallback) []string

IterateFiltering call callback function for each condtion struct of *Filtering. Callback results override original Filtering condition and append list of joins, so finally IterateFiltering returns modified *Filtering with list of join conditions for supporting new *Filtering

func RegisterContactsHandler

func RegisterContactsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterContactsHandler registers the http handlers for service Contacts to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterContactsHandlerClient

func RegisterContactsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContactsClient) error

RegisterContactsHandlerClient registers the http handlers for service Contacts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ContactsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ContactsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ContactsClient" to call the correct interceptors.

func RegisterContactsHandlerFromEndpoint

func RegisterContactsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterContactsHandlerFromEndpoint is same as RegisterContactsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterContactsServer

func RegisterContactsServer(s *grpc.Server, srv ContactsServer)

func RegisterGroupsHandler

func RegisterGroupsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGroupsHandler registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGroupsHandlerClient

func RegisterGroupsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupsClient) error

RegisterGroupsHandlerClient registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupsClient" to call the correct interceptors.

func RegisterGroupsHandlerFromEndpoint

func RegisterGroupsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGroupsHandlerFromEndpoint is same as RegisterGroupsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGroupsServer

func RegisterGroupsServer(s *grpc.Server, srv GroupsServer)

func RegisterProfilesHandler

func RegisterProfilesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProfilesHandler registers the http handlers for service Profiles to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProfilesHandlerClient

func RegisterProfilesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfilesClient) error

RegisterProfilesHandlerClient registers the http handlers for service Profiles to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfilesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfilesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfilesClient" to call the correct interceptors.

func RegisterProfilesHandlerFromEndpoint

func RegisterProfilesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProfilesHandlerFromEndpoint is same as RegisterProfilesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProfilesServer

func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer)

Types

type Address

type Address struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	City    string `protobuf:"bytes,2,opt,name=city" json:"city,omitempty"`
	State   string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
	Zip     string `protobuf:"bytes,4,opt,name=zip" json:"zip,omitempty"`
	Country string `protobuf:"bytes,5,opt,name=country" json:"country,omitempty"`
}

func DefaultCreateAddress

func DefaultCreateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultCreateAddress executes a basic gorm create call

func DefaultListAddress

func DefaultListAddress(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Address, error)

DefaultListAddress executes a gorm list call

func (*Address) Descriptor

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

func (*Address) GetAddress

func (m *Address) GetAddress() string

func (*Address) GetCity

func (m *Address) GetCity() string

func (*Address) GetCountry

func (m *Address) GetCountry() string

func (*Address) GetState

func (m *Address) GetState() string

func (*Address) GetZip

func (m *Address) GetZip() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) ToORM

func (m *Address) ToORM(ctx context.Context) (AddressORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Address) Validate

func (m *Address) Validate() error

Validate checks the field values on Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AddressORM

type AddressORM struct {
	AccountID            string
	Address              string
	City                 string
	Country              string
	HomeAddressContactId *int64
	State                string
	WorkAddressContactId *int64
	Zip                  string
}

func (AddressORM) TableName

func (AddressORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*AddressORM) ToPB

func (m *AddressORM) ToPB(ctx context.Context) (Address, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type AddressValidationError

type AddressValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

AddressValidationError is the validation error returned by Address.Validate if the designated constraints aren't met.

func (AddressValidationError) Error

func (e AddressValidationError) Error() string

Error satisfies the builtin error interface

func (AddressValidationError) GetCause

func (e AddressValidationError) GetCause() error

GetCause function returns Cause value.

func (AddressValidationError) GetErrorName

func (e AddressValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (AddressValidationError) GetField

func (e AddressValidationError) GetField() string

GetField function returns Field value.

func (AddressValidationError) GetKey

func (e AddressValidationError) GetKey() bool

GetKey function returns Key value.

func (AddressValidationError) GetReason

func (e AddressValidationError) GetReason() string

GetReason function returns Reason value.

type AddressWithAfterToORM

type AddressWithAfterToORM interface {
	AfterToORM(context.Context, *AddressORM) error
}

AddressAfterToORM called after default ToORM code

type AddressWithAfterToPB

type AddressWithAfterToPB interface {
	AfterToPB(context.Context, *Address) error
}

AddressAfterToPB called after default ToPB code

type AddressWithBeforeToORM

type AddressWithBeforeToORM interface {
	BeforeToORM(context.Context, *AddressORM) error
}

AddressBeforeToORM called before default ToORM code

type AddressWithBeforeToPB

type AddressWithBeforeToPB interface {
	BeforeToPB(context.Context, *Address) error
}

AddressBeforeToPB called before default ToPB code

type Contact

type Contact struct {
	Id           *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	FirstName    string                `protobuf:"bytes,2,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	MiddleName   string                `protobuf:"bytes,3,opt,name=middle_name,json=middleName" json:"middle_name,omitempty"`
	LastName     string                `protobuf:"bytes,4,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	PrimaryEmail string                `protobuf:"bytes,5,opt,name=primary_email,json=primaryEmail" json:"primary_email,omitempty"`
	Notes        string                `protobuf:"bytes,6,opt,name=notes" json:"notes,omitempty"`
	Emails       []*Email              `protobuf:"bytes,7,rep,name=emails" json:"emails,omitempty"`
	HomeAddress  *Address              `protobuf:"bytes,8,opt,name=home_address,json=homeAddress" json:"home_address,omitempty"`
	WorkAddress  *Address              `protobuf:"bytes,9,opt,name=work_address,json=workAddress" json:"work_address,omitempty"`
	ProfileId    *atlas_rpc.Identifier `protobuf:"bytes,10,opt,name=profile_id,json=profileId" json:"profile_id,omitempty"`
	Groups       []*Group              `protobuf:"bytes,11,rep,name=groups" json:"groups,omitempty"`
	// nicknames is arbitrary json, but should be used for a list of strings
	Nicknames *gorm_types.JSONValue `protobuf:"bytes,12,opt,name=nicknames" json:"nicknames,omitempty"`
}

func DefaultApplyFieldMaskContact

func DefaultApplyFieldMaskContact(ctx context.Context, patchee *Contact, ormObj *ContactORM, patcher *Contact, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Contact, error)

DefaultApplyFieldMaskContact patches an pbObject with patcher according to a field mask.

func DefaultCreateContact

func DefaultCreateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)

DefaultCreateContact executes a basic gorm create call

func DefaultListContact

func DefaultListContact(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Contact, error)

DefaultListContact executes a gorm list call

func DefaultPatchContact

func DefaultPatchContact(ctx context.Context, in *Contact, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Contact, error)

DefaultPatchContact executes a basic gorm update call with patch behavior

func DefaultReadContact

func DefaultReadContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)

DefaultReadContact executes a basic gorm read call

func DefaultStrictUpdateContact

func DefaultStrictUpdateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)

DefaultStrictUpdateContact clears first level 1:many children and then executes a gorm update call

func DefaultUpdateContact

func DefaultUpdateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)

DefaultUpdateContact executes a basic gorm update call

func (*Contact) AfterToORM

func (m *Contact) AfterToORM(ctx context.Context, c *ContactORM) error

AfterToORM will add the primary e-mail to the list of e-mails if it isn't present already

func (*Contact) Descriptor

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

func (*Contact) GetEmails

func (m *Contact) GetEmails() []*Email

func (*Contact) GetFirstName

func (m *Contact) GetFirstName() string

func (*Contact) GetGroups

func (m *Contact) GetGroups() []*Group

func (*Contact) GetHomeAddress

func (m *Contact) GetHomeAddress() *Address

func (*Contact) GetId

func (m *Contact) GetId() *atlas_rpc.Identifier

func (*Contact) GetLastName

func (m *Contact) GetLastName() string

func (*Contact) GetMiddleName

func (m *Contact) GetMiddleName() string

func (*Contact) GetNicknames

func (m *Contact) GetNicknames() *gorm_types.JSONValue

func (*Contact) GetNotes

func (m *Contact) GetNotes() string

func (*Contact) GetPrimaryEmail

func (m *Contact) GetPrimaryEmail() string

func (*Contact) GetProfileId

func (m *Contact) GetProfileId() *atlas_rpc.Identifier

func (*Contact) GetWorkAddress

func (m *Contact) GetWorkAddress() *Address

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) String

func (m *Contact) String() string

func (*Contact) ToORM

func (m *Contact) ToORM(ctx context.Context) (ContactORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Contact) Validate

func (m *Contact) Validate() error

Validate checks the field values on Contact with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ContactORM

type ContactORM struct {
	AccountID   string
	Emails      []*EmailORM `gorm:"foreignkey:ContactId;association_foreignkey:Id"`
	FirstName   string
	Groups      []*GroupORM `` /* 145-byte string literal not displayed */
	HomeAddress *AddressORM `gorm:"foreignkey:HomeAddressContactId;association_foreignkey:Id"`
	Id          int64       `gorm:"type:serial;primary_key"`
	LastName    string
	MiddleName  string
	Nicknames   *postgres1.Jsonb `gorm:"type:jsonb"`
	Notes       string
	ProfileId   *int64
	WorkAddress *AddressORM `gorm:"foreignkey:WorkAddressContactId;association_foreignkey:Id"`
}

func (*ContactORM) AfterToPB

func (m *ContactORM) AfterToPB(ctx context.Context, c *Contact) error

AfterToPB copies the primary e-mail address from the DB to the special PB field

func (ContactORM) TableName

func (ContactORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ContactORM) ToPB

func (m *ContactORM) ToPB(ctx context.Context) (Contact, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type ContactValidationError

type ContactValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ContactValidationError is the validation error returned by Contact.Validate if the designated constraints aren't met.

func (ContactValidationError) Error

func (e ContactValidationError) Error() string

Error satisfies the builtin error interface

func (ContactValidationError) GetCause

func (e ContactValidationError) GetCause() error

GetCause function returns Cause value.

func (ContactValidationError) GetErrorName

func (e ContactValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ContactValidationError) GetField

func (e ContactValidationError) GetField() string

GetField function returns Field value.

func (ContactValidationError) GetKey

func (e ContactValidationError) GetKey() bool

GetKey function returns Key value.

func (ContactValidationError) GetReason

func (e ContactValidationError) GetReason() string

GetReason function returns Reason value.

type ContactWithAfterToORM

type ContactWithAfterToORM interface {
	AfterToORM(context.Context, *ContactORM) error
}

ContactAfterToORM called after default ToORM code

type ContactWithAfterToPB

type ContactWithAfterToPB interface {
	AfterToPB(context.Context, *Contact) error
}

ContactAfterToPB called after default ToPB code

type ContactWithBeforePatchSave

type ContactWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Contact, *field_mask1.FieldMask, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

type ContactWithBeforeToORM

type ContactWithBeforeToORM interface {
	BeforeToORM(context.Context, *ContactORM) error
}

ContactBeforeToORM called before default ToORM code

type ContactWithBeforeToPB

type ContactWithBeforeToPB interface {
	BeforeToPB(context.Context, *Contact) error
}

ContactBeforeToPB called before default ToPB code

type ContactsContactWithBeforeCreate

type ContactsContactWithBeforeCreate interface {
	BeforeCreate(context.Context, *CreateContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ContactsContactWithBeforeCreate called before DefaultCreateContact in the default Create handler

type ContactsContactWithBeforeDelete

type ContactsContactWithBeforeDelete interface {
	BeforeDelete(context.Context, *DeleteContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ContactsContactWithBeforeDelete called before DefaultDeleteContact in the default Delete handler

type ContactsContactWithBeforeList

type ContactsContactWithBeforeList interface {
	BeforeList(context.Context, *ListContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ContactsContactWithBeforeList called before DefaultListContact in the default List handler

type ContactsContactWithBeforeRead

type ContactsContactWithBeforeRead interface {
	BeforeRead(context.Context, *ReadContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ContactsContactWithBeforeRead called before DefaultReadContact in the default Read handler

type ContactsContactWithBeforeUpdate

type ContactsContactWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *UpdateContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ContactsContactWithBeforeUpdate called before DefaultUpdateContact in the default Update handler

type ContactsDefaultServer

type ContactsDefaultServer struct {
	DB *gorm1.DB
}

func (*ContactsDefaultServer) Create

Create ...

func (*ContactsDefaultServer) CustomList

CustomList method overrides the default Read function and modify Filtering to support synthetic fields.

func (*ContactsDefaultServer) CustomRead

CustomRead method overrides the default Read function and adds custom errors with multiple details.

func (*ContactsDefaultServer) Delete

Delete ...

func (*ContactsDefaultServer) List

List ...

func (*ContactsDefaultServer) Read

Read ...

func (*ContactsDefaultServer) SendSMS

SendSMS ...

func (*ContactsDefaultServer) Update

Update ...

type CreateContactRequest

type CreateContactRequest struct {
	Payload *Contact `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*CreateContactRequest) Descriptor

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

func (*CreateContactRequest) GetPayload

func (m *CreateContactRequest) GetPayload() *Contact

func (*CreateContactRequest) ProtoMessage

func (*CreateContactRequest) ProtoMessage()

func (*CreateContactRequest) Reset

func (m *CreateContactRequest) Reset()

func (*CreateContactRequest) String

func (m *CreateContactRequest) String() string

func (*CreateContactRequest) Validate

func (m *CreateContactRequest) Validate() error

Validate checks the field values on CreateContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateContactRequestValidationError

type CreateContactRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateContactRequestValidationError is the validation error returned by CreateContactRequest.Validate if the designated constraints aren't met.

func (CreateContactRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateContactRequestValidationError) GetCause

GetCause function returns Cause value.

func (CreateContactRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (CreateContactRequestValidationError) GetField

GetField function returns Field value.

func (CreateContactRequestValidationError) GetKey

GetKey function returns Key value.

func (CreateContactRequestValidationError) GetReason

GetReason function returns Reason value.

type CreateContactResponse

type CreateContactResponse struct {
	Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*CreateContactResponse) Descriptor

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

func (*CreateContactResponse) GetResult

func (m *CreateContactResponse) GetResult() *Contact

func (*CreateContactResponse) ProtoMessage

func (*CreateContactResponse) ProtoMessage()

func (*CreateContactResponse) Reset

func (m *CreateContactResponse) Reset()

func (*CreateContactResponse) String

func (m *CreateContactResponse) String() string

func (*CreateContactResponse) Validate

func (m *CreateContactResponse) Validate() error

Validate checks the field values on CreateContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateContactResponseValidationError

type CreateContactResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateContactResponseValidationError is the validation error returned by CreateContactResponse.Validate if the designated constraints aren't met.

func (CreateContactResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateContactResponseValidationError) GetCause

GetCause function returns Cause value.

func (CreateContactResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (CreateContactResponseValidationError) GetField

GetField function returns Field value.

func (CreateContactResponseValidationError) GetKey

GetKey function returns Key value.

func (CreateContactResponseValidationError) GetReason

GetReason function returns Reason value.

type CreateGroupRequest

type CreateGroupRequest struct {
	Payload *Group `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*CreateGroupRequest) Descriptor

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

func (*CreateGroupRequest) GetPayload

func (m *CreateGroupRequest) GetPayload() *Group

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) Reset

func (m *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (m *CreateGroupRequest) String() string

func (*CreateGroupRequest) Validate

func (m *CreateGroupRequest) Validate() error

Validate checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateGroupRequestValidationError

type CreateGroupRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.

func (CreateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupRequestValidationError) GetCause

GetCause function returns Cause value.

func (CreateGroupRequestValidationError) GetErrorName

func (e CreateGroupRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (CreateGroupRequestValidationError) GetField

GetField function returns Field value.

func (CreateGroupRequestValidationError) GetKey

GetKey function returns Key value.

func (CreateGroupRequestValidationError) GetReason

GetReason function returns Reason value.

type CreateGroupResponse

type CreateGroupResponse struct {
	Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*CreateGroupResponse) Descriptor

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

func (*CreateGroupResponse) GetResult

func (m *CreateGroupResponse) GetResult() *Group

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) Reset

func (m *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (m *CreateGroupResponse) String() string

func (*CreateGroupResponse) Validate

func (m *CreateGroupResponse) Validate() error

Validate checks the field values on CreateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateGroupResponseValidationError

type CreateGroupResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateGroupResponseValidationError is the validation error returned by CreateGroupResponse.Validate if the designated constraints aren't met.

func (CreateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupResponseValidationError) GetCause

GetCause function returns Cause value.

func (CreateGroupResponseValidationError) GetErrorName

func (e CreateGroupResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (CreateGroupResponseValidationError) GetField

GetField function returns Field value.

func (CreateGroupResponseValidationError) GetKey

GetKey function returns Key value.

func (CreateGroupResponseValidationError) GetReason

GetReason function returns Reason value.

type CreateProfileRequest

type CreateProfileRequest struct {
	Payload *Profile `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*CreateProfileRequest) Descriptor

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

func (*CreateProfileRequest) GetPayload

func (m *CreateProfileRequest) GetPayload() *Profile

func (*CreateProfileRequest) ProtoMessage

func (*CreateProfileRequest) ProtoMessage()

func (*CreateProfileRequest) Reset

func (m *CreateProfileRequest) Reset()

func (*CreateProfileRequest) String

func (m *CreateProfileRequest) String() string

func (*CreateProfileRequest) Validate

func (m *CreateProfileRequest) Validate() error

Validate checks the field values on CreateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateProfileRequestValidationError

type CreateProfileRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateProfileRequestValidationError is the validation error returned by CreateProfileRequest.Validate if the designated constraints aren't met.

func (CreateProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateProfileRequestValidationError) GetCause

GetCause function returns Cause value.

func (CreateProfileRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (CreateProfileRequestValidationError) GetField

GetField function returns Field value.

func (CreateProfileRequestValidationError) GetKey

GetKey function returns Key value.

func (CreateProfileRequestValidationError) GetReason

GetReason function returns Reason value.

type CreateProfileResponse

type CreateProfileResponse struct {
	Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*CreateProfileResponse) Descriptor

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

func (*CreateProfileResponse) GetResult

func (m *CreateProfileResponse) GetResult() *Profile

func (*CreateProfileResponse) ProtoMessage

func (*CreateProfileResponse) ProtoMessage()

func (*CreateProfileResponse) Reset

func (m *CreateProfileResponse) Reset()

func (*CreateProfileResponse) String

func (m *CreateProfileResponse) String() string

func (*CreateProfileResponse) Validate

func (m *CreateProfileResponse) Validate() error

Validate checks the field values on CreateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateProfileResponseValidationError

type CreateProfileResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

CreateProfileResponseValidationError is the validation error returned by CreateProfileResponse.Validate if the designated constraints aren't met.

func (CreateProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateProfileResponseValidationError) GetCause

GetCause function returns Cause value.

func (CreateProfileResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (CreateProfileResponseValidationError) GetField

GetField function returns Field value.

func (CreateProfileResponseValidationError) GetKey

GetKey function returns Key value.

func (CreateProfileResponseValidationError) GetReason

GetReason function returns Reason value.

type DeleteContactRequest

type DeleteContactRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteContactRequest) Descriptor

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

func (*DeleteContactRequest) GetId

func (*DeleteContactRequest) ProtoMessage

func (*DeleteContactRequest) ProtoMessage()

func (*DeleteContactRequest) Reset

func (m *DeleteContactRequest) Reset()

func (*DeleteContactRequest) String

func (m *DeleteContactRequest) String() string

func (*DeleteContactRequest) Validate

func (m *DeleteContactRequest) Validate() error

Validate checks the field values on DeleteContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteContactRequestValidationError

type DeleteContactRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteContactRequestValidationError is the validation error returned by DeleteContactRequest.Validate if the designated constraints aren't met.

func (DeleteContactRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteContactRequestValidationError) GetCause

GetCause function returns Cause value.

func (DeleteContactRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (DeleteContactRequestValidationError) GetField

GetField function returns Field value.

func (DeleteContactRequestValidationError) GetKey

GetKey function returns Key value.

func (DeleteContactRequestValidationError) GetReason

GetReason function returns Reason value.

type DeleteContactResponse

type DeleteContactResponse struct {
}

func (*DeleteContactResponse) Descriptor

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

func (*DeleteContactResponse) ProtoMessage

func (*DeleteContactResponse) ProtoMessage()

func (*DeleteContactResponse) Reset

func (m *DeleteContactResponse) Reset()

func (*DeleteContactResponse) String

func (m *DeleteContactResponse) String() string

func (*DeleteContactResponse) Validate

func (m *DeleteContactResponse) Validate() error

Validate checks the field values on DeleteContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteContactResponseValidationError

type DeleteContactResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteContactResponseValidationError is the validation error returned by DeleteContactResponse.Validate if the designated constraints aren't met.

func (DeleteContactResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteContactResponseValidationError) GetCause

GetCause function returns Cause value.

func (DeleteContactResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (DeleteContactResponseValidationError) GetField

GetField function returns Field value.

func (DeleteContactResponseValidationError) GetKey

GetKey function returns Key value.

func (DeleteContactResponseValidationError) GetReason

GetReason function returns Reason value.

type DeleteGroupRequest

type DeleteGroupRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteGroupRequest) Descriptor

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

func (*DeleteGroupRequest) GetId

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) Reset

func (m *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (m *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) Validate

func (m *DeleteGroupRequest) Validate() error

Validate checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteGroupRequestValidationError

type DeleteGroupRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.

func (DeleteGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupRequestValidationError) GetCause

GetCause function returns Cause value.

func (DeleteGroupRequestValidationError) GetErrorName

func (e DeleteGroupRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (DeleteGroupRequestValidationError) GetField

GetField function returns Field value.

func (DeleteGroupRequestValidationError) GetKey

GetKey function returns Key value.

func (DeleteGroupRequestValidationError) GetReason

GetReason function returns Reason value.

type DeleteGroupResponse

type DeleteGroupResponse struct {
}

func (*DeleteGroupResponse) Descriptor

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

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) Reset

func (m *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (m *DeleteGroupResponse) String() string

func (*DeleteGroupResponse) Validate

func (m *DeleteGroupResponse) Validate() error

Validate checks the field values on DeleteGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteGroupResponseValidationError

type DeleteGroupResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteGroupResponseValidationError is the validation error returned by DeleteGroupResponse.Validate if the designated constraints aren't met.

func (DeleteGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupResponseValidationError) GetCause

GetCause function returns Cause value.

func (DeleteGroupResponseValidationError) GetErrorName

func (e DeleteGroupResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (DeleteGroupResponseValidationError) GetField

GetField function returns Field value.

func (DeleteGroupResponseValidationError) GetKey

GetKey function returns Key value.

func (DeleteGroupResponseValidationError) GetReason

GetReason function returns Reason value.

type DeleteProfileRequest

type DeleteProfileRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteProfileRequest) Descriptor

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

func (*DeleteProfileRequest) GetId

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) Reset

func (m *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (m *DeleteProfileRequest) String() string

func (*DeleteProfileRequest) Validate

func (m *DeleteProfileRequest) Validate() error

Validate checks the field values on DeleteProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteProfileRequestValidationError

type DeleteProfileRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteProfileRequestValidationError is the validation error returned by DeleteProfileRequest.Validate if the designated constraints aren't met.

func (DeleteProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProfileRequestValidationError) GetCause

GetCause function returns Cause value.

func (DeleteProfileRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (DeleteProfileRequestValidationError) GetField

GetField function returns Field value.

func (DeleteProfileRequestValidationError) GetKey

GetKey function returns Key value.

func (DeleteProfileRequestValidationError) GetReason

GetReason function returns Reason value.

type DeleteProfileResponse

type DeleteProfileResponse struct {
}

func (*DeleteProfileResponse) Descriptor

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

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) Reset

func (m *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (m *DeleteProfileResponse) String() string

func (*DeleteProfileResponse) Validate

func (m *DeleteProfileResponse) Validate() error

Validate checks the field values on DeleteProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteProfileResponseValidationError

type DeleteProfileResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

DeleteProfileResponseValidationError is the validation error returned by DeleteProfileResponse.Validate if the designated constraints aren't met.

func (DeleteProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteProfileResponseValidationError) GetCause

GetCause function returns Cause value.

func (DeleteProfileResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (DeleteProfileResponseValidationError) GetField

GetField function returns Field value.

func (DeleteProfileResponseValidationError) GetKey

GetKey function returns Key value.

func (DeleteProfileResponseValidationError) GetReason

GetReason function returns Reason value.

type Email

type Email struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
}

func DefaultApplyFieldMaskEmail

func DefaultApplyFieldMaskEmail(ctx context.Context, patchee *Email, ormObj *EmailORM, patcher *Email, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Email, error)

DefaultApplyFieldMaskEmail patches an pbObject with patcher according to a field mask.

func DefaultCreateEmail

func DefaultCreateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)

DefaultCreateEmail executes a basic gorm create call

func DefaultListEmail

func DefaultListEmail(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Email, error)

DefaultListEmail executes a gorm list call

func DefaultPatchEmail

func DefaultPatchEmail(ctx context.Context, in *Email, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Email, error)

DefaultPatchEmail executes a basic gorm update call with patch behavior

func DefaultReadEmail

func DefaultReadEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)

DefaultReadEmail executes a basic gorm read call

func DefaultStrictUpdateEmail

func DefaultStrictUpdateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)

DefaultStrictUpdateEmail clears first level 1:many children and then executes a gorm update call

func DefaultUpdateEmail

func DefaultUpdateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)

DefaultUpdateEmail executes a basic gorm update call

func (*Email) Descriptor

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

func (*Email) GetAddress

func (m *Email) GetAddress() string

func (*Email) GetId

func (m *Email) GetId() uint64

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) Reset

func (m *Email) Reset()

func (*Email) String

func (m *Email) String() string

func (*Email) ToORM

func (m *Email) ToORM(ctx context.Context) (EmailORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Email) Validate

func (m *Email) Validate() error

Validate checks the field values on Email with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EmailORM

type EmailORM struct {
	AccountID string
	Address   string `gorm:"unique"`
	ContactId *int64
	Id        uint64
	IsPrimary *bool
}

func (EmailORM) TableName

func (EmailORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*EmailORM) ToPB

func (m *EmailORM) ToPB(ctx context.Context) (Email, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type EmailValidationError

type EmailValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

EmailValidationError is the validation error returned by Email.Validate if the designated constraints aren't met.

func (EmailValidationError) Error

func (e EmailValidationError) Error() string

Error satisfies the builtin error interface

func (EmailValidationError) GetCause

func (e EmailValidationError) GetCause() error

GetCause function returns Cause value.

func (EmailValidationError) GetErrorName

func (e EmailValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (EmailValidationError) GetField

func (e EmailValidationError) GetField() string

GetField function returns Field value.

func (EmailValidationError) GetKey

func (e EmailValidationError) GetKey() bool

GetKey function returns Key value.

func (EmailValidationError) GetReason

func (e EmailValidationError) GetReason() string

GetReason function returns Reason value.

type EmailWithAfterToORM

type EmailWithAfterToORM interface {
	AfterToORM(context.Context, *EmailORM) error
}

EmailAfterToORM called after default ToORM code

type EmailWithAfterToPB

type EmailWithAfterToPB interface {
	AfterToPB(context.Context, *Email) error
}

EmailAfterToPB called after default ToPB code

type EmailWithBeforePatchSave

type EmailWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Email, *field_mask1.FieldMask, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

type EmailWithBeforeToORM

type EmailWithBeforeToORM interface {
	BeforeToORM(context.Context, *EmailORM) error
}

EmailBeforeToORM called before default ToORM code

type EmailWithBeforeToPB

type EmailWithBeforeToPB interface {
	BeforeToPB(context.Context, *Email) error
}

EmailBeforeToPB called before default ToPB code

type FilteringIteratorCallback

type FilteringIteratorCallback func(path []string, f interface{}) (interface{}, string)

type Group

type Group struct {
	Id        *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Name      string                `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Notes     string                `protobuf:"bytes,3,opt,name=notes" json:"notes,omitempty"`
	ProfileId *atlas_rpc.Identifier `protobuf:"bytes,4,opt,name=profile_id,json=profileId" json:"profile_id,omitempty"`
	Contacts  []*Contact            `protobuf:"bytes,5,rep,name=contacts" json:"contacts,omitempty"`
}

func DefaultApplyFieldMaskGroup

func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, ormObj *GroupORM, patcher *Group, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Group, error)

DefaultApplyFieldMaskGroup patches an pbObject with patcher according to a field mask.

func DefaultCreateGroup

func DefaultCreateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultCreateGroup executes a basic gorm create call

func DefaultListGroup

func DefaultListGroup(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Group, error)

DefaultListGroup executes a gorm list call

func DefaultPatchGroup

func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Group, error)

DefaultPatchGroup executes a basic gorm update call with patch behavior

func DefaultReadGroup

func DefaultReadGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultReadGroup executes a basic gorm read call

func DefaultStrictUpdateGroup

func DefaultStrictUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultStrictUpdateGroup clears first level 1:many children and then executes a gorm update call

func DefaultUpdateGroup

func DefaultUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)

DefaultUpdateGroup executes a basic gorm update call

func (*Group) Descriptor

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

func (*Group) GetContacts

func (m *Group) GetContacts() []*Contact

func (*Group) GetId

func (m *Group) GetId() *atlas_rpc.Identifier

func (*Group) GetName

func (m *Group) GetName() string

func (*Group) GetNotes

func (m *Group) GetNotes() string

func (*Group) GetProfileId

func (m *Group) GetProfileId() *atlas_rpc.Identifier

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) ToORM

func (m *Group) ToORM(ctx context.Context) (GroupORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Group) Validate

func (m *Group) Validate() error

Validate checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GroupORM

type GroupORM struct {
	AccountID string
	Contacts  []*ContactORM `` /* 145-byte string literal not displayed */
	Id        int64         `gorm:"type:serial;primary_key"`
	Name      string
	Notes     string
	ProfileId *int64
}

func (GroupORM) TableName

func (GroupORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*GroupORM) ToPB

func (m *GroupORM) ToPB(ctx context.Context) (Group, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type GroupValidationError

type GroupValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.

func (GroupValidationError) Error

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) GetCause

func (e GroupValidationError) GetCause() error

GetCause function returns Cause value.

func (GroupValidationError) GetErrorName

func (e GroupValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (GroupValidationError) GetField

func (e GroupValidationError) GetField() string

GetField function returns Field value.

func (GroupValidationError) GetKey

func (e GroupValidationError) GetKey() bool

GetKey function returns Key value.

func (GroupValidationError) GetReason

func (e GroupValidationError) GetReason() string

GetReason function returns Reason value.

type GroupWithAfterToORM

type GroupWithAfterToORM interface {
	AfterToORM(context.Context, *GroupORM) error
}

GroupAfterToORM called after default ToORM code

type GroupWithAfterToPB

type GroupWithAfterToPB interface {
	AfterToPB(context.Context, *Group) error
}

GroupAfterToPB called after default ToPB code

type GroupWithBeforePatchSave

type GroupWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Group, *field_mask1.FieldMask, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

type GroupWithBeforeToORM

type GroupWithBeforeToORM interface {
	BeforeToORM(context.Context, *GroupORM) error
}

GroupBeforeToORM called before default ToORM code

type GroupWithBeforeToPB

type GroupWithBeforeToPB interface {
	BeforeToPB(context.Context, *Group) error
}

GroupBeforeToPB called before default ToPB code

type GroupsDefaultServer

type GroupsDefaultServer struct {
	DB *gorm1.DB
}

func (*GroupsDefaultServer) Create

Create ...

func (*GroupsDefaultServer) Delete

Delete ...

func (*GroupsDefaultServer) List

List ...

func (*GroupsDefaultServer) Read

Read ...

func (*GroupsDefaultServer) Update

Update ...

type GroupsGroupWithBeforeCreate

type GroupsGroupWithBeforeCreate interface {
	BeforeCreate(context.Context, *CreateGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

GroupsGroupWithBeforeCreate called before DefaultCreateGroup in the default Create handler

type GroupsGroupWithBeforeDelete

type GroupsGroupWithBeforeDelete interface {
	BeforeDelete(context.Context, *DeleteGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

GroupsGroupWithBeforeDelete called before DefaultDeleteGroup in the default Delete handler

type GroupsGroupWithBeforeList

type GroupsGroupWithBeforeList interface {
	BeforeList(context.Context, *ListGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

GroupsGroupWithBeforeList called before DefaultListGroup in the default List handler

type GroupsGroupWithBeforeRead

type GroupsGroupWithBeforeRead interface {
	BeforeRead(context.Context, *ReadGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

GroupsGroupWithBeforeRead called before DefaultReadGroup in the default Read handler

type GroupsGroupWithBeforeUpdate

type GroupsGroupWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *UpdateGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

GroupsGroupWithBeforeUpdate called before DefaultUpdateGroup in the default Update handler

type ListContactRequest

type ListContactRequest struct {
	Filter  *infoblox_api.Filtering      `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	OrderBy *infoblox_api.Sorting        `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
	Fields  *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"`
	Paging  *infoblox_api.Pagination     `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"`
}

func (*ListContactRequest) Descriptor

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

func (*ListContactRequest) GetFields

func (*ListContactRequest) GetFilter

func (m *ListContactRequest) GetFilter() *infoblox_api.Filtering

func (*ListContactRequest) GetOrderBy

func (m *ListContactRequest) GetOrderBy() *infoblox_api.Sorting

func (*ListContactRequest) GetPaging

func (m *ListContactRequest) GetPaging() *infoblox_api.Pagination

func (*ListContactRequest) ProtoMessage

func (*ListContactRequest) ProtoMessage()

func (*ListContactRequest) Reset

func (m *ListContactRequest) Reset()

func (*ListContactRequest) String

func (m *ListContactRequest) String() string

func (*ListContactRequest) Validate

func (m *ListContactRequest) Validate() error

Validate checks the field values on ListContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListContactRequestValidationError

type ListContactRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListContactRequestValidationError is the validation error returned by ListContactRequest.Validate if the designated constraints aren't met.

func (ListContactRequestValidationError) Error

Error satisfies the builtin error interface

func (ListContactRequestValidationError) GetCause

GetCause function returns Cause value.

func (ListContactRequestValidationError) GetErrorName

func (e ListContactRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ListContactRequestValidationError) GetField

GetField function returns Field value.

func (ListContactRequestValidationError) GetKey

GetKey function returns Key value.

func (ListContactRequestValidationError) GetReason

GetReason function returns Reason value.

type ListContactsResponse

type ListContactsResponse struct {
	Results []*Contact `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}

func (*ListContactsResponse) Descriptor

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

func (*ListContactsResponse) GetResults

func (m *ListContactsResponse) GetResults() []*Contact

func (*ListContactsResponse) ProtoMessage

func (*ListContactsResponse) ProtoMessage()

func (*ListContactsResponse) Reset

func (m *ListContactsResponse) Reset()

func (*ListContactsResponse) String

func (m *ListContactsResponse) String() string

func (*ListContactsResponse) Validate

func (m *ListContactsResponse) Validate() error

Validate checks the field values on ListContactsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListContactsResponseValidationError

type ListContactsResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListContactsResponseValidationError is the validation error returned by ListContactsResponse.Validate if the designated constraints aren't met.

func (ListContactsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListContactsResponseValidationError) GetCause

GetCause function returns Cause value.

func (ListContactsResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (ListContactsResponseValidationError) GetField

GetField function returns Field value.

func (ListContactsResponseValidationError) GetKey

GetKey function returns Key value.

func (ListContactsResponseValidationError) GetReason

GetReason function returns Reason value.

type ListGroupRequest

type ListGroupRequest struct {
	Filter  *infoblox_api.Filtering      `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	OrderBy *infoblox_api.Sorting        `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
	Fields  *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"`
	Paging  *infoblox_api.Pagination     `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"`
}

func (*ListGroupRequest) Descriptor

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

func (*ListGroupRequest) GetFields

func (*ListGroupRequest) GetFilter

func (m *ListGroupRequest) GetFilter() *infoblox_api.Filtering

func (*ListGroupRequest) GetOrderBy

func (m *ListGroupRequest) GetOrderBy() *infoblox_api.Sorting

func (*ListGroupRequest) GetPaging

func (m *ListGroupRequest) GetPaging() *infoblox_api.Pagination

func (*ListGroupRequest) ProtoMessage

func (*ListGroupRequest) ProtoMessage()

func (*ListGroupRequest) Reset

func (m *ListGroupRequest) Reset()

func (*ListGroupRequest) String

func (m *ListGroupRequest) String() string

func (*ListGroupRequest) Validate

func (m *ListGroupRequest) Validate() error

Validate checks the field values on ListGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListGroupRequestValidationError

type ListGroupRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListGroupRequestValidationError is the validation error returned by ListGroupRequest.Validate if the designated constraints aren't met.

func (ListGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (ListGroupRequestValidationError) GetCause

GetCause function returns Cause value.

func (ListGroupRequestValidationError) GetErrorName

func (e ListGroupRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ListGroupRequestValidationError) GetField

GetField function returns Field value.

func (ListGroupRequestValidationError) GetKey

GetKey function returns Key value.

func (ListGroupRequestValidationError) GetReason

GetReason function returns Reason value.

type ListGroupsResponse

type ListGroupsResponse struct {
	Results []*Group `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}

func (*ListGroupsResponse) Descriptor

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

func (*ListGroupsResponse) GetResults

func (m *ListGroupsResponse) GetResults() []*Group

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) Reset

func (m *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (m *ListGroupsResponse) String() string

func (*ListGroupsResponse) Validate

func (m *ListGroupsResponse) Validate() error

Validate checks the field values on ListGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListGroupsResponseValidationError

type ListGroupsResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListGroupsResponseValidationError is the validation error returned by ListGroupsResponse.Validate if the designated constraints aren't met.

func (ListGroupsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListGroupsResponseValidationError) GetCause

GetCause function returns Cause value.

func (ListGroupsResponseValidationError) GetErrorName

func (e ListGroupsResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ListGroupsResponseValidationError) GetField

GetField function returns Field value.

func (ListGroupsResponseValidationError) GetKey

GetKey function returns Key value.

func (ListGroupsResponseValidationError) GetReason

GetReason function returns Reason value.

type ListProfileRequest

type ListProfileRequest struct {
	Filter  *infoblox_api.Filtering      `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	OrderBy *infoblox_api.Sorting        `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
	Fields  *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"`
	Paging  *infoblox_api.Pagination     `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"`
}

func (*ListProfileRequest) Descriptor

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

func (*ListProfileRequest) GetFields

func (*ListProfileRequest) GetFilter

func (m *ListProfileRequest) GetFilter() *infoblox_api.Filtering

func (*ListProfileRequest) GetOrderBy

func (m *ListProfileRequest) GetOrderBy() *infoblox_api.Sorting

func (*ListProfileRequest) GetPaging

func (m *ListProfileRequest) GetPaging() *infoblox_api.Pagination

func (*ListProfileRequest) ProtoMessage

func (*ListProfileRequest) ProtoMessage()

func (*ListProfileRequest) Reset

func (m *ListProfileRequest) Reset()

func (*ListProfileRequest) String

func (m *ListProfileRequest) String() string

func (*ListProfileRequest) Validate

func (m *ListProfileRequest) Validate() error

Validate checks the field values on ListProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListProfileRequestValidationError

type ListProfileRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListProfileRequestValidationError is the validation error returned by ListProfileRequest.Validate if the designated constraints aren't met.

func (ListProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (ListProfileRequestValidationError) GetCause

GetCause function returns Cause value.

func (ListProfileRequestValidationError) GetErrorName

func (e ListProfileRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ListProfileRequestValidationError) GetField

GetField function returns Field value.

func (ListProfileRequestValidationError) GetKey

GetKey function returns Key value.

func (ListProfileRequestValidationError) GetReason

GetReason function returns Reason value.

type ListProfilesResponse

type ListProfilesResponse struct {
	Results []*Profile `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}

func (*ListProfilesResponse) Descriptor

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

func (*ListProfilesResponse) GetResults

func (m *ListProfilesResponse) GetResults() []*Profile

func (*ListProfilesResponse) ProtoMessage

func (*ListProfilesResponse) ProtoMessage()

func (*ListProfilesResponse) Reset

func (m *ListProfilesResponse) Reset()

func (*ListProfilesResponse) String

func (m *ListProfilesResponse) String() string

func (*ListProfilesResponse) Validate

func (m *ListProfilesResponse) Validate() error

Validate checks the field values on ListProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListProfilesResponseValidationError

type ListProfilesResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListProfilesResponseValidationError is the validation error returned by ListProfilesResponse.Validate if the designated constraints aren't met.

func (ListProfilesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListProfilesResponseValidationError) GetCause

GetCause function returns Cause value.

func (ListProfilesResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (ListProfilesResponseValidationError) GetField

GetField function returns Field value.

func (ListProfilesResponseValidationError) GetKey

GetKey function returns Key value.

func (ListProfilesResponseValidationError) GetReason

GetReason function returns Reason value.

type Profile

type Profile struct {
	Id       *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Name     string                `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Notes    string                `protobuf:"bytes,3,opt,name=notes" json:"notes,omitempty"`
	Contacts []*Contact            `protobuf:"bytes,4,rep,name=contacts" json:"contacts,omitempty"`
	Groups   []*Group              `protobuf:"bytes,5,rep,name=groups" json:"groups,omitempty"`
}

func DefaultApplyFieldMaskProfile

func DefaultApplyFieldMaskProfile(ctx context.Context, patchee *Profile, ormObj *ProfileORM, patcher *Profile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Profile, error)

DefaultApplyFieldMaskProfile patches an pbObject with patcher according to a field mask.

func DefaultCreateProfile

func DefaultCreateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultCreateProfile executes a basic gorm create call

func DefaultListProfile

func DefaultListProfile(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Profile, error)

DefaultListProfile executes a gorm list call

func DefaultPatchProfile

func DefaultPatchProfile(ctx context.Context, in *Profile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Profile, error)

DefaultPatchProfile executes a basic gorm update call with patch behavior

func DefaultReadProfile

func DefaultReadProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultReadProfile executes a basic gorm read call

func DefaultStrictUpdateProfile

func DefaultStrictUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultStrictUpdateProfile clears first level 1:many children and then executes a gorm update call

func DefaultUpdateProfile

func DefaultUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)

DefaultUpdateProfile executes a basic gorm update call

func (*Profile) Descriptor

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

func (*Profile) GetContacts

func (m *Profile) GetContacts() []*Contact

func (*Profile) GetGroups

func (m *Profile) GetGroups() []*Group

func (*Profile) GetId

func (m *Profile) GetId() *atlas_rpc.Identifier

func (*Profile) GetName

func (m *Profile) GetName() string

func (*Profile) GetNotes

func (m *Profile) GetNotes() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) String

func (m *Profile) String() string

func (*Profile) ToORM

func (m *Profile) ToORM(ctx context.Context) (ProfileORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Profile) Validate

func (m *Profile) Validate() error

Validate checks the field values on Profile with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ProfileORM

type ProfileORM struct {
	AccountID string
	Contacts  []*ContactORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id"`
	Groups    []*GroupORM   `gorm:"foreignkey:ProfileId;association_foreignkey:Id"`
	Id        int64         `gorm:"type:serial;primary_key"`
	Name      string
	Notes     string
}

func (ProfileORM) TableName

func (ProfileORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ProfileORM) ToPB

func (m *ProfileORM) ToPB(ctx context.Context) (Profile, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type ProfileValidationError

type ProfileValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ProfileValidationError is the validation error returned by Profile.Validate if the designated constraints aren't met.

func (ProfileValidationError) Error

func (e ProfileValidationError) Error() string

Error satisfies the builtin error interface

func (ProfileValidationError) GetCause

func (e ProfileValidationError) GetCause() error

GetCause function returns Cause value.

func (ProfileValidationError) GetErrorName

func (e ProfileValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ProfileValidationError) GetField

func (e ProfileValidationError) GetField() string

GetField function returns Field value.

func (ProfileValidationError) GetKey

func (e ProfileValidationError) GetKey() bool

GetKey function returns Key value.

func (ProfileValidationError) GetReason

func (e ProfileValidationError) GetReason() string

GetReason function returns Reason value.

type ProfileWithAfterToORM

type ProfileWithAfterToORM interface {
	AfterToORM(context.Context, *ProfileORM) error
}

ProfileAfterToORM called after default ToORM code

type ProfileWithAfterToPB

type ProfileWithAfterToPB interface {
	AfterToPB(context.Context, *Profile) error
}

ProfileAfterToPB called after default ToPB code

type ProfileWithBeforePatchSave

type ProfileWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Profile, *field_mask1.FieldMask, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

type ProfileWithBeforeToORM

type ProfileWithBeforeToORM interface {
	BeforeToORM(context.Context, *ProfileORM) error
}

ProfileBeforeToORM called before default ToORM code

type ProfileWithBeforeToPB

type ProfileWithBeforeToPB interface {
	BeforeToPB(context.Context, *Profile) error
}

ProfileBeforeToPB called before default ToPB code

type ProfilesDefaultServer

type ProfilesDefaultServer struct {
	DB *gorm1.DB
}

func (*ProfilesDefaultServer) Create

Create ...

func (*ProfilesDefaultServer) Delete

Delete ...

func (*ProfilesDefaultServer) List

List ...

func (*ProfilesDefaultServer) Read

Read ...

func (*ProfilesDefaultServer) Update

Update ...

type ProfilesProfileWithBeforeCreate

type ProfilesProfileWithBeforeCreate interface {
	BeforeCreate(context.Context, *CreateProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ProfilesProfileWithBeforeCreate called before DefaultCreateProfile in the default Create handler

type ProfilesProfileWithBeforeDelete

type ProfilesProfileWithBeforeDelete interface {
	BeforeDelete(context.Context, *DeleteProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ProfilesProfileWithBeforeDelete called before DefaultDeleteProfile in the default Delete handler

type ProfilesProfileWithBeforeList

type ProfilesProfileWithBeforeList interface {
	BeforeList(context.Context, *ListProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ProfilesProfileWithBeforeList called before DefaultListProfile in the default List handler

type ProfilesProfileWithBeforeRead

type ProfilesProfileWithBeforeRead interface {
	BeforeRead(context.Context, *ReadProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ProfilesProfileWithBeforeRead called before DefaultReadProfile in the default Read handler

type ProfilesProfileWithBeforeUpdate

type ProfilesProfileWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *UpdateProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}

ProfilesProfileWithBeforeUpdate called before DefaultUpdateProfile in the default Update handler

type ReadContactRequest

type ReadContactRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*ReadContactRequest) Descriptor

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

func (*ReadContactRequest) GetId

func (*ReadContactRequest) ProtoMessage

func (*ReadContactRequest) ProtoMessage()

func (*ReadContactRequest) Reset

func (m *ReadContactRequest) Reset()

func (*ReadContactRequest) String

func (m *ReadContactRequest) String() string

func (*ReadContactRequest) Validate

func (m *ReadContactRequest) Validate() error

Validate checks the field values on ReadContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadContactRequestValidationError

type ReadContactRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadContactRequestValidationError is the validation error returned by ReadContactRequest.Validate if the designated constraints aren't met.

func (ReadContactRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadContactRequestValidationError) GetCause

GetCause function returns Cause value.

func (ReadContactRequestValidationError) GetErrorName

func (e ReadContactRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadContactRequestValidationError) GetField

GetField function returns Field value.

func (ReadContactRequestValidationError) GetKey

GetKey function returns Key value.

func (ReadContactRequestValidationError) GetReason

GetReason function returns Reason value.

type ReadContactResponse

type ReadContactResponse struct {
	Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ReadContactResponse) Descriptor

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

func (*ReadContactResponse) GetResult

func (m *ReadContactResponse) GetResult() *Contact

func (*ReadContactResponse) ProtoMessage

func (*ReadContactResponse) ProtoMessage()

func (*ReadContactResponse) Reset

func (m *ReadContactResponse) Reset()

func (*ReadContactResponse) String

func (m *ReadContactResponse) String() string

func (*ReadContactResponse) Validate

func (m *ReadContactResponse) Validate() error

Validate checks the field values on ReadContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadContactResponseValidationError

type ReadContactResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadContactResponseValidationError is the validation error returned by ReadContactResponse.Validate if the designated constraints aren't met.

func (ReadContactResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadContactResponseValidationError) GetCause

GetCause function returns Cause value.

func (ReadContactResponseValidationError) GetErrorName

func (e ReadContactResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadContactResponseValidationError) GetField

GetField function returns Field value.

func (ReadContactResponseValidationError) GetKey

GetKey function returns Key value.

func (ReadContactResponseValidationError) GetReason

GetReason function returns Reason value.

type ReadGroupRequest

type ReadGroupRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*ReadGroupRequest) Descriptor

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

func (*ReadGroupRequest) GetId

func (*ReadGroupRequest) ProtoMessage

func (*ReadGroupRequest) ProtoMessage()

func (*ReadGroupRequest) Reset

func (m *ReadGroupRequest) Reset()

func (*ReadGroupRequest) String

func (m *ReadGroupRequest) String() string

func (*ReadGroupRequest) Validate

func (m *ReadGroupRequest) Validate() error

Validate checks the field values on ReadGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadGroupRequestValidationError

type ReadGroupRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadGroupRequestValidationError is the validation error returned by ReadGroupRequest.Validate if the designated constraints aren't met.

func (ReadGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadGroupRequestValidationError) GetCause

GetCause function returns Cause value.

func (ReadGroupRequestValidationError) GetErrorName

func (e ReadGroupRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadGroupRequestValidationError) GetField

GetField function returns Field value.

func (ReadGroupRequestValidationError) GetKey

GetKey function returns Key value.

func (ReadGroupRequestValidationError) GetReason

GetReason function returns Reason value.

type ReadGroupResponse

type ReadGroupResponse struct {
	Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ReadGroupResponse) Descriptor

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

func (*ReadGroupResponse) GetResult

func (m *ReadGroupResponse) GetResult() *Group

func (*ReadGroupResponse) ProtoMessage

func (*ReadGroupResponse) ProtoMessage()

func (*ReadGroupResponse) Reset

func (m *ReadGroupResponse) Reset()

func (*ReadGroupResponse) String

func (m *ReadGroupResponse) String() string

func (*ReadGroupResponse) Validate

func (m *ReadGroupResponse) Validate() error

Validate checks the field values on ReadGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadGroupResponseValidationError

type ReadGroupResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadGroupResponseValidationError is the validation error returned by ReadGroupResponse.Validate if the designated constraints aren't met.

func (ReadGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadGroupResponseValidationError) GetCause

GetCause function returns Cause value.

func (ReadGroupResponseValidationError) GetErrorName

func (e ReadGroupResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadGroupResponseValidationError) GetField

GetField function returns Field value.

func (ReadGroupResponseValidationError) GetKey

GetKey function returns Key value.

func (ReadGroupResponseValidationError) GetReason

GetReason function returns Reason value.

type ReadProfileRequest

type ReadProfileRequest struct {
	Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*ReadProfileRequest) Descriptor

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

func (*ReadProfileRequest) GetId

func (*ReadProfileRequest) ProtoMessage

func (*ReadProfileRequest) ProtoMessage()

func (*ReadProfileRequest) Reset

func (m *ReadProfileRequest) Reset()

func (*ReadProfileRequest) String

func (m *ReadProfileRequest) String() string

func (*ReadProfileRequest) Validate

func (m *ReadProfileRequest) Validate() error

Validate checks the field values on ReadProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadProfileRequestValidationError

type ReadProfileRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadProfileRequestValidationError is the validation error returned by ReadProfileRequest.Validate if the designated constraints aren't met.

func (ReadProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadProfileRequestValidationError) GetCause

GetCause function returns Cause value.

func (ReadProfileRequestValidationError) GetErrorName

func (e ReadProfileRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadProfileRequestValidationError) GetField

GetField function returns Field value.

func (ReadProfileRequestValidationError) GetKey

GetKey function returns Key value.

func (ReadProfileRequestValidationError) GetReason

GetReason function returns Reason value.

type ReadProfileResponse

type ReadProfileResponse struct {
	Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ReadProfileResponse) Descriptor

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

func (*ReadProfileResponse) GetResult

func (m *ReadProfileResponse) GetResult() *Profile

func (*ReadProfileResponse) ProtoMessage

func (*ReadProfileResponse) ProtoMessage()

func (*ReadProfileResponse) Reset

func (m *ReadProfileResponse) Reset()

func (*ReadProfileResponse) String

func (m *ReadProfileResponse) String() string

func (*ReadProfileResponse) Validate

func (m *ReadProfileResponse) Validate() error

Validate checks the field values on ReadProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ReadProfileResponseValidationError

type ReadProfileResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ReadProfileResponseValidationError is the validation error returned by ReadProfileResponse.Validate if the designated constraints aren't met.

func (ReadProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadProfileResponseValidationError) GetCause

GetCause function returns Cause value.

func (ReadProfileResponseValidationError) GetErrorName

func (e ReadProfileResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (ReadProfileResponseValidationError) GetField

GetField function returns Field value.

func (ReadProfileResponseValidationError) GetKey

GetKey function returns Key value.

func (ReadProfileResponseValidationError) GetReason

GetReason function returns Reason value.

type SMSRequest

type SMSRequest struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

func (*SMSRequest) Descriptor

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

func (*SMSRequest) GetId

func (m *SMSRequest) GetId() uint64

func (*SMSRequest) GetMessage

func (m *SMSRequest) GetMessage() string

func (*SMSRequest) ProtoMessage

func (*SMSRequest) ProtoMessage()

func (*SMSRequest) Reset

func (m *SMSRequest) Reset()

func (*SMSRequest) String

func (m *SMSRequest) String() string

func (*SMSRequest) Validate

func (m *SMSRequest) Validate() error

Validate checks the field values on SMSRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SMSRequestValidationError

type SMSRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SMSRequestValidationError is the validation error returned by SMSRequest.Validate if the designated constraints aren't met.

func (SMSRequestValidationError) Error

Error satisfies the builtin error interface

func (SMSRequestValidationError) GetCause

func (e SMSRequestValidationError) GetCause() error

GetCause function returns Cause value.

func (SMSRequestValidationError) GetErrorName

func (e SMSRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (SMSRequestValidationError) GetField

func (e SMSRequestValidationError) GetField() string

GetField function returns Field value.

func (SMSRequestValidationError) GetKey

func (e SMSRequestValidationError) GetKey() bool

GetKey function returns Key value.

func (SMSRequestValidationError) GetReason

func (e SMSRequestValidationError) GetReason() string

GetReason function returns Reason value.

type SMSResponse

type SMSResponse struct {
}

func (*SMSResponse) Descriptor

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

func (*SMSResponse) ProtoMessage

func (*SMSResponse) ProtoMessage()

func (*SMSResponse) Reset

func (m *SMSResponse) Reset()

func (*SMSResponse) String

func (m *SMSResponse) String() string

func (*SMSResponse) Validate

func (m *SMSResponse) Validate() error

Validate checks the field values on SMSResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SMSResponseValidationError

type SMSResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SMSResponseValidationError is the validation error returned by SMSResponse.Validate if the designated constraints aren't met.

func (SMSResponseValidationError) Error

Error satisfies the builtin error interface

func (SMSResponseValidationError) GetCause

func (e SMSResponseValidationError) GetCause() error

GetCause function returns Cause value.

func (SMSResponseValidationError) GetErrorName

func (e SMSResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (SMSResponseValidationError) GetField

func (e SMSResponseValidationError) GetField() string

GetField function returns Field value.

func (SMSResponseValidationError) GetKey

func (e SMSResponseValidationError) GetKey() bool

GetKey function returns Key value.

func (SMSResponseValidationError) GetReason

func (e SMSResponseValidationError) GetReason() string

GetReason function returns Reason value.

type UpdateContactRequest

type UpdateContactRequest struct {
	Payload *Contact                   `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	Fields  *google_protobuf.FieldMask `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"`
}

func (*UpdateContactRequest) Descriptor

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

func (*UpdateContactRequest) GetFields

func (*UpdateContactRequest) GetPayload

func (m *UpdateContactRequest) GetPayload() *Contact

func (*UpdateContactRequest) ProtoMessage

func (*UpdateContactRequest) ProtoMessage()

func (*UpdateContactRequest) Reset

func (m *UpdateContactRequest) Reset()

func (*UpdateContactRequest) String

func (m *UpdateContactRequest) String() string

func (*UpdateContactRequest) Validate

func (m *UpdateContactRequest) Validate() error

Validate checks the field values on UpdateContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateContactRequestValidationError

type UpdateContactRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateContactRequestValidationError is the validation error returned by UpdateContactRequest.Validate if the designated constraints aren't met.

func (UpdateContactRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateContactRequestValidationError) GetCause

GetCause function returns Cause value.

func (UpdateContactRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (UpdateContactRequestValidationError) GetField

GetField function returns Field value.

func (UpdateContactRequestValidationError) GetKey

GetKey function returns Key value.

func (UpdateContactRequestValidationError) GetReason

GetReason function returns Reason value.

type UpdateContactResponse

type UpdateContactResponse struct {
	Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*UpdateContactResponse) Descriptor

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

func (*UpdateContactResponse) GetResult

func (m *UpdateContactResponse) GetResult() *Contact

func (*UpdateContactResponse) ProtoMessage

func (*UpdateContactResponse) ProtoMessage()

func (*UpdateContactResponse) Reset

func (m *UpdateContactResponse) Reset()

func (*UpdateContactResponse) String

func (m *UpdateContactResponse) String() string

func (*UpdateContactResponse) Validate

func (m *UpdateContactResponse) Validate() error

Validate checks the field values on UpdateContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateContactResponseValidationError

type UpdateContactResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateContactResponseValidationError is the validation error returned by UpdateContactResponse.Validate if the designated constraints aren't met.

func (UpdateContactResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateContactResponseValidationError) GetCause

GetCause function returns Cause value.

func (UpdateContactResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (UpdateContactResponseValidationError) GetField

GetField function returns Field value.

func (UpdateContactResponseValidationError) GetKey

GetKey function returns Key value.

func (UpdateContactResponseValidationError) GetReason

GetReason function returns Reason value.

type UpdateGroupRequest

type UpdateGroupRequest struct {
	Payload *Group `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*UpdateGroupRequest) Descriptor

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

func (*UpdateGroupRequest) GetPayload

func (m *UpdateGroupRequest) GetPayload() *Group

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) Reset

func (m *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (m *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) Validate

func (m *UpdateGroupRequest) Validate() error

Validate checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateGroupRequestValidationError

type UpdateGroupRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.

func (UpdateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupRequestValidationError) GetCause

GetCause function returns Cause value.

func (UpdateGroupRequestValidationError) GetErrorName

func (e UpdateGroupRequestValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (UpdateGroupRequestValidationError) GetField

GetField function returns Field value.

func (UpdateGroupRequestValidationError) GetKey

GetKey function returns Key value.

func (UpdateGroupRequestValidationError) GetReason

GetReason function returns Reason value.

type UpdateGroupResponse

type UpdateGroupResponse struct {
	Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*UpdateGroupResponse) Descriptor

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

func (*UpdateGroupResponse) GetResult

func (m *UpdateGroupResponse) GetResult() *Group

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) Reset

func (m *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (m *UpdateGroupResponse) String() string

func (*UpdateGroupResponse) Validate

func (m *UpdateGroupResponse) Validate() error

Validate checks the field values on UpdateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateGroupResponseValidationError

type UpdateGroupResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateGroupResponseValidationError is the validation error returned by UpdateGroupResponse.Validate if the designated constraints aren't met.

func (UpdateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupResponseValidationError) GetCause

GetCause function returns Cause value.

func (UpdateGroupResponseValidationError) GetErrorName

func (e UpdateGroupResponseValidationError) GetErrorName() string

GetErrorName returns Error Name value.

func (UpdateGroupResponseValidationError) GetField

GetField function returns Field value.

func (UpdateGroupResponseValidationError) GetKey

GetKey function returns Key value.

func (UpdateGroupResponseValidationError) GetReason

GetReason function returns Reason value.

type UpdateProfileRequest

type UpdateProfileRequest struct {
	Payload *Profile `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*UpdateProfileRequest) Descriptor

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

func (*UpdateProfileRequest) GetPayload

func (m *UpdateProfileRequest) GetPayload() *Profile

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) Reset

func (m *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (m *UpdateProfileRequest) String() string

func (*UpdateProfileRequest) Validate

func (m *UpdateProfileRequest) Validate() error

Validate checks the field values on UpdateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateProfileRequestValidationError

type UpdateProfileRequestValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateProfileRequestValidationError is the validation error returned by UpdateProfileRequest.Validate if the designated constraints aren't met.

func (UpdateProfileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileRequestValidationError) GetCause

GetCause function returns Cause value.

func (UpdateProfileRequestValidationError) GetErrorName

GetErrorName returns Error Name value.

func (UpdateProfileRequestValidationError) GetField

GetField function returns Field value.

func (UpdateProfileRequestValidationError) GetKey

GetKey function returns Key value.

func (UpdateProfileRequestValidationError) GetReason

GetReason function returns Reason value.

type UpdateProfileResponse

type UpdateProfileResponse struct {
	Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*UpdateProfileResponse) Descriptor

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

func (*UpdateProfileResponse) GetResult

func (m *UpdateProfileResponse) GetResult() *Profile

func (*UpdateProfileResponse) ProtoMessage

func (*UpdateProfileResponse) ProtoMessage()

func (*UpdateProfileResponse) Reset

func (m *UpdateProfileResponse) Reset()

func (*UpdateProfileResponse) String

func (m *UpdateProfileResponse) String() string

func (*UpdateProfileResponse) Validate

func (m *UpdateProfileResponse) Validate() error

Validate checks the field values on UpdateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpdateProfileResponseValidationError

type UpdateProfileResponseValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

UpdateProfileResponseValidationError is the validation error returned by UpdateProfileResponse.Validate if the designated constraints aren't met.

func (UpdateProfileResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateProfileResponseValidationError) GetCause

GetCause function returns Cause value.

func (UpdateProfileResponseValidationError) GetErrorName

GetErrorName returns Error Name value.

func (UpdateProfileResponseValidationError) GetField

GetField function returns Field value.

func (UpdateProfileResponseValidationError) GetKey

GetKey function returns Key value.

func (UpdateProfileResponseValidationError) GetReason

GetReason function returns Reason value.

Jump to

Keyboard shortcuts

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