contact

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddContactsResponse_Result_name = map[int32]string{
		0: "OK",
	}
	AddContactsResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for AddContactsResponse_Result.

View Source
var (
	RemoveContactsResponse_Result_name = map[int32]string{
		0: "OK",
	}
	RemoveContactsResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for RemoveContactsResponse_Result.

View Source
var (
	GetContactsResponse_Result_name = map[int32]string{
		0: "OK",
	}
	GetContactsResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for GetContactsResponse_Result.

View Source
var ContactList_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "code.contact.v1.ContactList",
	HandlerType: (*ContactListServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddContacts",
			Handler:    _ContactList_AddContacts_Handler,
		},
		{
			MethodName: "RemoveContacts",
			Handler:    _ContactList_RemoveContacts_Handler,
		},
		{
			MethodName: "GetContacts",
			Handler:    _ContactList_GetContacts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contact/v1/contact_list_service.proto",
}

ContactList_ServiceDesc is the grpc.ServiceDesc for ContactList service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_contact_v1_contact_list_service_proto protoreflect.FileDescriptor

Functions

func RegisterContactListServer

func RegisterContactListServer(s grpc.ServiceRegistrar, srv ContactListServer)

Types

type AddContactsRequest

type AddContactsRequest struct {

	// The public key of the owner account that signed this request message.
	OwnerAccountId *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner_account_id,json=ownerAccountId,proto3" json:"owner_account_id,omitempty"`
	// The signature is of serialize(AddContactsRequest) without this field set
	// using the private key of owner_account_id. This provides an authentication
	// mechanism to the RPC.
	Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The data container for the copy of the contact list being added to.
	ContainerId *v1.DataContainerId `protobuf:"bytes,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// The set of contacts to add to the contact list
	Contacts []*v1.PhoneNumber `protobuf:"bytes,4,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// contains filtered or unexported fields
}

func (*AddContactsRequest) Descriptor deprecated

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

Deprecated: Use AddContactsRequest.ProtoReflect.Descriptor instead.

func (*AddContactsRequest) GetContacts

func (x *AddContactsRequest) GetContacts() []*v1.PhoneNumber

func (*AddContactsRequest) GetContainerId

func (x *AddContactsRequest) GetContainerId() *v1.DataContainerId

func (*AddContactsRequest) GetOwnerAccountId

func (x *AddContactsRequest) GetOwnerAccountId() *v1.SolanaAccountId

func (*AddContactsRequest) GetSignature

func (x *AddContactsRequest) GetSignature() *v1.Signature

func (*AddContactsRequest) ProtoMessage

func (*AddContactsRequest) ProtoMessage()

func (*AddContactsRequest) ProtoReflect

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

func (*AddContactsRequest) Reset

func (x *AddContactsRequest) Reset()

func (*AddContactsRequest) String

func (x *AddContactsRequest) String() string

func (*AddContactsRequest) Validate

func (m *AddContactsRequest) Validate() error

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

type AddContactsRequestValidationError

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

AddContactsRequestValidationError is the validation error returned by AddContactsRequest.Validate if the designated constraints aren't met.

func (AddContactsRequestValidationError) Cause

Cause function returns cause value.

func (AddContactsRequestValidationError) Error

Error satisfies the builtin error interface

func (AddContactsRequestValidationError) ErrorName

ErrorName returns error name.

func (AddContactsRequestValidationError) Field

Field function returns field value.

func (AddContactsRequestValidationError) Key

Key function returns key value.

func (AddContactsRequestValidationError) Reason

Reason function returns reason value.

type AddContactsResponse

type AddContactsResponse struct {
	Result AddContactsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.contact.v1.AddContactsResponse_Result" json:"result,omitempty"`
	// The contacts' current status keyed by phone number. This is an optimization
	// so that clients can populate initial state without needing an extra network
	// call.
	ContactStatus map[string]*ContactStatus `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddContactsResponse) Descriptor deprecated

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

Deprecated: Use AddContactsResponse.ProtoReflect.Descriptor instead.

func (*AddContactsResponse) GetContactStatus

func (x *AddContactsResponse) GetContactStatus() map[string]*ContactStatus

func (*AddContactsResponse) GetResult

func (*AddContactsResponse) ProtoMessage

func (*AddContactsResponse) ProtoMessage()

func (*AddContactsResponse) ProtoReflect

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

func (*AddContactsResponse) Reset

func (x *AddContactsResponse) Reset()

func (*AddContactsResponse) String

func (x *AddContactsResponse) String() string

func (*AddContactsResponse) Validate

func (m *AddContactsResponse) Validate() error

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

type AddContactsResponseValidationError

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

AddContactsResponseValidationError is the validation error returned by AddContactsResponse.Validate if the designated constraints aren't met.

func (AddContactsResponseValidationError) Cause

Cause function returns cause value.

func (AddContactsResponseValidationError) Error

Error satisfies the builtin error interface

func (AddContactsResponseValidationError) ErrorName

ErrorName returns error name.

func (AddContactsResponseValidationError) Field

Field function returns field value.

func (AddContactsResponseValidationError) Key

Key function returns key value.

func (AddContactsResponseValidationError) Reason

Reason function returns reason value.

type AddContactsResponse_Result

type AddContactsResponse_Result int32
const (
	AddContactsResponse_OK AddContactsResponse_Result = 0
)

func (AddContactsResponse_Result) Descriptor

func (AddContactsResponse_Result) Enum

func (AddContactsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use AddContactsResponse_Result.Descriptor instead.

func (AddContactsResponse_Result) Number

func (AddContactsResponse_Result) String

func (AddContactsResponse_Result) Type

type Contact

type Contact struct {

	// The contact's phone number
	PhoneNumber *v1.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// The contact's current status
	Status *ContactStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetPhoneNumber

func (x *Contact) GetPhoneNumber() *v1.PhoneNumber

func (*Contact) GetStatus

func (x *Contact) GetStatus() *ContactStatus

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

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 ContactListClient

type ContactListClient interface {
	// AddContacts adds a batch of contacts to a user's contact list
	AddContacts(ctx context.Context, in *AddContactsRequest, opts ...grpc.CallOption) (*AddContactsResponse, error)
	// RemoveContacts removes a batch of contacts from a user's contact list
	RemoveContacts(ctx context.Context, in *RemoveContactsRequest, opts ...grpc.CallOption) (*RemoveContactsResponse, error)
	// GetContacts gets a subset of contacts from a user's contact list
	GetContacts(ctx context.Context, in *GetContactsRequest, opts ...grpc.CallOption) (*GetContactsResponse, error)
}

ContactListClient is the client API for ContactList service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ContactListServer

type ContactListServer interface {
	// AddContacts adds a batch of contacts to a user's contact list
	AddContacts(context.Context, *AddContactsRequest) (*AddContactsResponse, error)
	// RemoveContacts removes a batch of contacts from a user's contact list
	RemoveContacts(context.Context, *RemoveContactsRequest) (*RemoveContactsResponse, error)
	// GetContacts gets a subset of contacts from a user's contact list
	GetContacts(context.Context, *GetContactsRequest) (*GetContactsResponse, error)
	// contains filtered or unexported methods
}

ContactListServer is the server API for ContactList service. All implementations must embed UnimplementedContactListServer for forward compatibility

type ContactStatus

type ContactStatus struct {

	// Flag to indicate whether a user has registered with Code and used the app
	// at least once.
	IsRegistered bool `protobuf:"varint,1,opt,name=is_registered,json=isRegistered,proto3" json:"is_registered,omitempty"`
	// Flag to indicate whether a user has been invited to Code.
	//
	// todo: This field will be deprecated after the invite phase is complete.
	IsInvited bool `protobuf:"varint,2,opt,name=is_invited,json=isInvited,proto3" json:"is_invited,omitempty"`
	// Flag to indicate whether a user's invitation to Code has been revoked.
	//
	// todo: This field will be deprecated after the invite phase is complete.
	IsInviteRevoked bool `protobuf:"varint,3,opt,name=is_invite_revoked,json=isInviteRevoked,proto3" json:"is_invite_revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*ContactStatus) Descriptor deprecated

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

Deprecated: Use ContactStatus.ProtoReflect.Descriptor instead.

func (*ContactStatus) GetIsInviteRevoked

func (x *ContactStatus) GetIsInviteRevoked() bool

func (*ContactStatus) GetIsInvited

func (x *ContactStatus) GetIsInvited() bool

func (*ContactStatus) GetIsRegistered

func (x *ContactStatus) GetIsRegistered() bool

func (*ContactStatus) ProtoMessage

func (*ContactStatus) ProtoMessage()

func (*ContactStatus) ProtoReflect

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

func (*ContactStatus) Reset

func (x *ContactStatus) Reset()

func (*ContactStatus) String

func (x *ContactStatus) String() string

func (*ContactStatus) Validate

func (m *ContactStatus) Validate() error

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

type ContactStatusValidationError

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

ContactStatusValidationError is the validation error returned by ContactStatus.Validate if the designated constraints aren't met.

func (ContactStatusValidationError) Cause

Cause function returns cause value.

func (ContactStatusValidationError) Error

Error satisfies the builtin error interface

func (ContactStatusValidationError) ErrorName

func (e ContactStatusValidationError) ErrorName() string

ErrorName returns error name.

func (ContactStatusValidationError) Field

Field function returns field value.

func (ContactStatusValidationError) Key

Key function returns key value.

func (ContactStatusValidationError) Reason

Reason function returns reason value.

type ContactValidationError

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

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

func (ContactValidationError) Cause

func (e ContactValidationError) Cause() error

Cause function returns cause value.

func (ContactValidationError) Error

func (e ContactValidationError) Error() string

Error satisfies the builtin error interface

func (ContactValidationError) ErrorName

func (e ContactValidationError) ErrorName() string

ErrorName returns error name.

func (ContactValidationError) Field

func (e ContactValidationError) Field() string

Field function returns field value.

func (ContactValidationError) Key

func (e ContactValidationError) Key() bool

Key function returns key value.

func (ContactValidationError) Reason

func (e ContactValidationError) Reason() string

Reason function returns reason value.

type GetContactsRequest

type GetContactsRequest struct {

	// The public key of the owner account that signed this request message.
	OwnerAccountId *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner_account_id,json=ownerAccountId,proto3" json:"owner_account_id,omitempty"`
	// The signature is of serialize(GetContactsRequest) without this field set
	// using the private key of owner_account_id. This provides an authentication
	// mechanism to the RPC.
	Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The data container for the copy of the contact list being fetched.
	ContainerId *v1.DataContainerId `protobuf:"bytes,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// The page token, which is retreived from a previous response, to get the next
	// set of contacts. The first page is returned when not set.
	PageToken *PageToken `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter out contacts that have an association with Code. This includes users
	// that have both been invited and registered with the app.
	IncludeOnlyInAppContacts bool `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetContactsRequest) Descriptor deprecated

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

Deprecated: Use GetContactsRequest.ProtoReflect.Descriptor instead.

func (*GetContactsRequest) GetContainerId

func (x *GetContactsRequest) GetContainerId() *v1.DataContainerId

func (*GetContactsRequest) GetIncludeOnlyInAppContacts

func (x *GetContactsRequest) GetIncludeOnlyInAppContacts() bool

func (*GetContactsRequest) GetOwnerAccountId

func (x *GetContactsRequest) GetOwnerAccountId() *v1.SolanaAccountId

func (*GetContactsRequest) GetPageToken

func (x *GetContactsRequest) GetPageToken() *PageToken

func (*GetContactsRequest) GetSignature

func (x *GetContactsRequest) GetSignature() *v1.Signature

func (*GetContactsRequest) ProtoMessage

func (*GetContactsRequest) ProtoMessage()

func (*GetContactsRequest) ProtoReflect

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

func (*GetContactsRequest) Reset

func (x *GetContactsRequest) Reset()

func (*GetContactsRequest) String

func (x *GetContactsRequest) String() string

func (*GetContactsRequest) Validate

func (m *GetContactsRequest) Validate() error

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

type GetContactsRequestValidationError

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

GetContactsRequestValidationError is the validation error returned by GetContactsRequest.Validate if the designated constraints aren't met.

func (GetContactsRequestValidationError) Cause

Cause function returns cause value.

func (GetContactsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetContactsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetContactsRequestValidationError) Field

Field function returns field value.

func (GetContactsRequestValidationError) Key

Key function returns key value.

func (GetContactsRequestValidationError) Reason

Reason function returns reason value.

type GetContactsResponse

type GetContactsResponse struct {
	Result GetContactsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.contact.v1.GetContactsResponse_Result" json:"result,omitempty"`
	// A page of contacts
	Contacts []*Contact `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// The page token to include in a subsequent request to get the next set of
	// contacts. This will not be set for the last response in the list of
	// pages.
	NextPageToken *PageToken `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetContactsResponse) Descriptor deprecated

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

Deprecated: Use GetContactsResponse.ProtoReflect.Descriptor instead.

func (*GetContactsResponse) GetContacts

func (x *GetContactsResponse) GetContacts() []*Contact

func (*GetContactsResponse) GetNextPageToken

func (x *GetContactsResponse) GetNextPageToken() *PageToken

func (*GetContactsResponse) GetResult

func (*GetContactsResponse) ProtoMessage

func (*GetContactsResponse) ProtoMessage()

func (*GetContactsResponse) ProtoReflect

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

func (*GetContactsResponse) Reset

func (x *GetContactsResponse) Reset()

func (*GetContactsResponse) String

func (x *GetContactsResponse) String() string

func (*GetContactsResponse) Validate

func (m *GetContactsResponse) Validate() error

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

type GetContactsResponseValidationError

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

GetContactsResponseValidationError is the validation error returned by GetContactsResponse.Validate if the designated constraints aren't met.

func (GetContactsResponseValidationError) Cause

Cause function returns cause value.

func (GetContactsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetContactsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetContactsResponseValidationError) Field

Field function returns field value.

func (GetContactsResponseValidationError) Key

Key function returns key value.

func (GetContactsResponseValidationError) Reason

Reason function returns reason value.

type GetContactsResponse_Result

type GetContactsResponse_Result int32
const (
	GetContactsResponse_OK GetContactsResponse_Result = 0
)

func (GetContactsResponse_Result) Descriptor

func (GetContactsResponse_Result) Enum

func (GetContactsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetContactsResponse_Result.Descriptor instead.

func (GetContactsResponse_Result) Number

func (GetContactsResponse_Result) String

func (GetContactsResponse_Result) Type

type PageToken

type PageToken struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PageToken) Descriptor deprecated

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

Deprecated: Use PageToken.ProtoReflect.Descriptor instead.

func (*PageToken) GetValue

func (x *PageToken) GetValue() []byte

func (*PageToken) ProtoMessage

func (*PageToken) ProtoMessage()

func (*PageToken) ProtoReflect

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

func (*PageToken) Reset

func (x *PageToken) Reset()

func (*PageToken) String

func (x *PageToken) String() string

func (*PageToken) Validate

func (m *PageToken) Validate() error

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

type PageTokenValidationError

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

PageTokenValidationError is the validation error returned by PageToken.Validate if the designated constraints aren't met.

func (PageTokenValidationError) Cause

func (e PageTokenValidationError) Cause() error

Cause function returns cause value.

func (PageTokenValidationError) Error

func (e PageTokenValidationError) Error() string

Error satisfies the builtin error interface

func (PageTokenValidationError) ErrorName

func (e PageTokenValidationError) ErrorName() string

ErrorName returns error name.

func (PageTokenValidationError) Field

func (e PageTokenValidationError) Field() string

Field function returns field value.

func (PageTokenValidationError) Key

Key function returns key value.

func (PageTokenValidationError) Reason

func (e PageTokenValidationError) Reason() string

Reason function returns reason value.

type RemoveContactsRequest

type RemoveContactsRequest struct {

	// The public key of the owner account that signed this request message.
	OwnerAccountId *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner_account_id,json=ownerAccountId,proto3" json:"owner_account_id,omitempty"`
	// The signature is of serialize(RemoveContactsRequest) without this field
	// set using the private key of owner_account_id. This provides an
	// authentication mechanism to the RPC.
	Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// The data container for the copy of the contact list being removed from.
	ContainerId *v1.DataContainerId `protobuf:"bytes,3,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// The set of contacts to remove from the contact list
	Contacts []*v1.PhoneNumber `protobuf:"bytes,4,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContactsRequest) Descriptor deprecated

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

Deprecated: Use RemoveContactsRequest.ProtoReflect.Descriptor instead.

func (*RemoveContactsRequest) GetContacts

func (x *RemoveContactsRequest) GetContacts() []*v1.PhoneNumber

func (*RemoveContactsRequest) GetContainerId

func (x *RemoveContactsRequest) GetContainerId() *v1.DataContainerId

func (*RemoveContactsRequest) GetOwnerAccountId

func (x *RemoveContactsRequest) GetOwnerAccountId() *v1.SolanaAccountId

func (*RemoveContactsRequest) GetSignature

func (x *RemoveContactsRequest) GetSignature() *v1.Signature

func (*RemoveContactsRequest) ProtoMessage

func (*RemoveContactsRequest) ProtoMessage()

func (*RemoveContactsRequest) ProtoReflect

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

func (*RemoveContactsRequest) Reset

func (x *RemoveContactsRequest) Reset()

func (*RemoveContactsRequest) String

func (x *RemoveContactsRequest) String() string

func (*RemoveContactsRequest) Validate

func (m *RemoveContactsRequest) Validate() error

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

type RemoveContactsRequestValidationError

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

RemoveContactsRequestValidationError is the validation error returned by RemoveContactsRequest.Validate if the designated constraints aren't met.

func (RemoveContactsRequestValidationError) Cause

Cause function returns cause value.

func (RemoveContactsRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveContactsRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveContactsRequestValidationError) Field

Field function returns field value.

func (RemoveContactsRequestValidationError) Key

Key function returns key value.

func (RemoveContactsRequestValidationError) Reason

Reason function returns reason value.

type RemoveContactsResponse

type RemoveContactsResponse struct {
	Result RemoveContactsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.contact.v1.RemoveContactsResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveContactsResponse) Descriptor deprecated

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

Deprecated: Use RemoveContactsResponse.ProtoReflect.Descriptor instead.

func (*RemoveContactsResponse) GetResult

func (*RemoveContactsResponse) ProtoMessage

func (*RemoveContactsResponse) ProtoMessage()

func (*RemoveContactsResponse) ProtoReflect

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

func (*RemoveContactsResponse) Reset

func (x *RemoveContactsResponse) Reset()

func (*RemoveContactsResponse) String

func (x *RemoveContactsResponse) String() string

func (*RemoveContactsResponse) Validate

func (m *RemoveContactsResponse) Validate() error

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

type RemoveContactsResponseValidationError

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

RemoveContactsResponseValidationError is the validation error returned by RemoveContactsResponse.Validate if the designated constraints aren't met.

func (RemoveContactsResponseValidationError) Cause

Cause function returns cause value.

func (RemoveContactsResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveContactsResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveContactsResponseValidationError) Field

Field function returns field value.

func (RemoveContactsResponseValidationError) Key

Key function returns key value.

func (RemoveContactsResponseValidationError) Reason

Reason function returns reason value.

type RemoveContactsResponse_Result

type RemoveContactsResponse_Result int32
const (
	RemoveContactsResponse_OK RemoveContactsResponse_Result = 0
)

func (RemoveContactsResponse_Result) Descriptor

func (RemoveContactsResponse_Result) Enum

func (RemoveContactsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use RemoveContactsResponse_Result.Descriptor instead.

func (RemoveContactsResponse_Result) Number

func (RemoveContactsResponse_Result) String

func (RemoveContactsResponse_Result) Type

type UnimplementedContactListServer

type UnimplementedContactListServer struct {
}

UnimplementedContactListServer must be embedded to have forward compatible implementations.

func (UnimplementedContactListServer) AddContacts

func (UnimplementedContactListServer) GetContacts

func (UnimplementedContactListServer) RemoveContacts

type UnsafeContactListServer

type UnsafeContactListServer interface {
	// contains filtered or unexported methods
}

UnsafeContactListServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContactListServer will result in compilation errors.

Jump to

Keyboard shortcuts

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