Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCustomerServer(s grpc.ServiceRegistrar, srv CustomerServer)
- type CreateCustomerReq
- func (*CreateCustomerReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCustomerReq) GetCustomer() *XCustomer
- func (x *CreateCustomerReq) GetDownstream() string
- func (x *CreateCustomerReq) GetRequestId() string
- func (*CreateCustomerReq) ProtoMessage()
- func (x *CreateCustomerReq) ProtoReflect() protoreflect.Message
- func (x *CreateCustomerReq) Reset()
- func (x *CreateCustomerReq) String() string
- type CreateCustomerRes
- func (*CreateCustomerRes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCustomerRes) GetCustomer() *XCustomer
- func (x *CreateCustomerRes) GetMessage() string
- func (x *CreateCustomerRes) GetRequestId() string
- func (x *CreateCustomerRes) GetSuccess() bool
- func (x *CreateCustomerRes) GetUpstream() string
- func (*CreateCustomerRes) ProtoMessage()
- func (x *CreateCustomerRes) ProtoReflect() protoreflect.Message
- func (x *CreateCustomerRes) Reset()
- func (x *CreateCustomerRes) String() string
- type CustomerClient
- type CustomerServer
- type DeleteCustomerReq
- func (*DeleteCustomerReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCustomerReq) GetCustomerId() string
- func (x *DeleteCustomerReq) GetDownstream() string
- func (x *DeleteCustomerReq) GetHardDelete() bool
- func (x *DeleteCustomerReq) GetRequestId() string
- func (*DeleteCustomerReq) ProtoMessage()
- func (x *DeleteCustomerReq) ProtoReflect() protoreflect.Message
- func (x *DeleteCustomerReq) Reset()
- func (x *DeleteCustomerReq) String() string
- type GetCustomerReq
- func (*GetCustomerReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomerReq) GetDownstream() string
- func (x *GetCustomerReq) GetPublicId() string
- func (x *GetCustomerReq) GetRequestId() string
- func (*GetCustomerReq) ProtoMessage()
- func (x *GetCustomerReq) ProtoReflect() protoreflect.Message
- func (x *GetCustomerReq) Reset()
- func (x *GetCustomerReq) String() string
- type GetCustomerRes
- func (*GetCustomerRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomerRes) GetCustomer() *XCustomer
- func (x *GetCustomerRes) GetMessage() string
- func (x *GetCustomerRes) GetRequestId() string
- func (x *GetCustomerRes) GetSuccess() bool
- func (x *GetCustomerRes) GetUpstream() string
- func (*GetCustomerRes) ProtoMessage()
- func (x *GetCustomerRes) ProtoReflect() protoreflect.Message
- func (x *GetCustomerRes) Reset()
- func (x *GetCustomerRes) String() string
- type NilRes
- type UnimplementedCustomerServer
- func (UnimplementedCustomerServer) CreateCustomer(context.Context, *CreateCustomerReq) (*CreateCustomerRes, error)
- func (UnimplementedCustomerServer) DeleteCustomer(context.Context, *DeleteCustomerReq) (*NilRes, error)
- func (UnimplementedCustomerServer) GetCustomer(context.Context, *GetCustomerReq) (*GetCustomerRes, error)
- func (UnimplementedCustomerServer) UpdateCustomer(context.Context, *UpdateCustomerReq) (*UpdateCustomerRes, error)
- type UnsafeCustomerServer
- type UpdateCustomerReq
- func (*UpdateCustomerReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCustomerReq) GetCustomerId() string
- func (x *UpdateCustomerReq) GetDownstream() string
- func (x *UpdateCustomerReq) GetRequestId() string
- func (x *UpdateCustomerReq) GetUpdates() []*XDiff
- func (*UpdateCustomerReq) ProtoMessage()
- func (x *UpdateCustomerReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCustomerReq) Reset()
- func (x *UpdateCustomerReq) String() string
- type UpdateCustomerRes
- func (*UpdateCustomerRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCustomerRes) GetCustomer() *XCustomer
- func (x *UpdateCustomerRes) GetMessage() string
- func (x *UpdateCustomerRes) GetRequestId() string
- func (x *UpdateCustomerRes) GetSuccess() bool
- func (x *UpdateCustomerRes) GetUpstream() string
- func (*UpdateCustomerRes) ProtoMessage()
- func (x *UpdateCustomerRes) ProtoReflect() protoreflect.Message
- func (x *UpdateCustomerRes) Reset()
- func (x *UpdateCustomerRes) String() string
- type XCustomer
- func (*XCustomer) Descriptor() ([]byte, []int)deprecated
- func (x *XCustomer) GetEmail() string
- func (x *XCustomer) GetName() *XName
- func (x *XCustomer) GetPhone() string
- func (x *XCustomer) GetPrivateId() string
- func (x *XCustomer) GetPublicId() string
- func (*XCustomer) ProtoMessage()
- func (x *XCustomer) ProtoReflect() protoreflect.Message
- func (x *XCustomer) Reset()
- func (x *XCustomer) String() string
- type XDiff
- type XName
- func (*XName) Descriptor() ([]byte, []int)deprecated
- func (x *XName) GetFirst() string
- func (x *XName) GetFriendly() string
- func (x *XName) GetFull() string
- func (x *XName) GetLast() string
- func (x *XName) GetMiddle() string
- func (x *XName) GetNickname() string
- func (x *XName) GetSuffix() string
- func (x *XName) GetTitle() string
- func (*XName) ProtoMessage()
- func (x *XName) ProtoReflect() protoreflect.Message
- func (x *XName) Reset()
- func (x *XName) String() string
Constants ¶
const ( Customer_GetCustomer_FullMethodName = "/fitSphere.customer.Customer/GetCustomer" Customer_CreateCustomer_FullMethodName = "/fitSphere.customer.Customer/CreateCustomer" Customer_UpdateCustomer_FullMethodName = "/fitSphere.customer.Customer/UpdateCustomer" Customer_DeleteCustomer_FullMethodName = "/fitSphere.customer.Customer/DeleteCustomer" )
Variables ¶
var Customer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fitSphere.customer.Customer", HandlerType: (*CustomerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCustomer", Handler: _Customer_GetCustomer_Handler, }, { MethodName: "CreateCustomer", Handler: _Customer_CreateCustomer_Handler, }, { MethodName: "UpdateCustomer", Handler: _Customer_UpdateCustomer_Handler, }, { MethodName: "DeleteCustomer", Handler: _Customer_DeleteCustomer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "customer.proto", }
Customer_ServiceDesc is the grpc.ServiceDesc for Customer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_customer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCustomerServer ¶
func RegisterCustomerServer(s grpc.ServiceRegistrar, srv CustomerServer)
Types ¶
type CreateCustomerReq ¶
type CreateCustomerReq struct { // The customer object Customer *XCustomer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` Downstream string `protobuf:"bytes,998,opt,name=downstream,proto3" json:"downstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCustomerReq) Descriptor
deprecated
func (*CreateCustomerReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomerReq.ProtoReflect.Descriptor instead.
func (*CreateCustomerReq) GetCustomer ¶
func (x *CreateCustomerReq) GetCustomer() *XCustomer
func (*CreateCustomerReq) GetDownstream ¶
func (x *CreateCustomerReq) GetDownstream() string
func (*CreateCustomerReq) GetRequestId ¶
func (x *CreateCustomerReq) GetRequestId() string
func (*CreateCustomerReq) ProtoMessage ¶
func (*CreateCustomerReq) ProtoMessage()
func (*CreateCustomerReq) ProtoReflect ¶
func (x *CreateCustomerReq) ProtoReflect() protoreflect.Message
func (*CreateCustomerReq) Reset ¶
func (x *CreateCustomerReq) Reset()
func (*CreateCustomerReq) String ¶
func (x *CreateCustomerReq) String() string
type CreateCustomerRes ¶
type CreateCustomerRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The customer object Customer *XCustomer `protobuf:"bytes,3,opt,name=customer,proto3" json:"customer,omitempty"` Upstream string `protobuf:"bytes,998,opt,name=upstream,proto3" json:"upstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCustomerRes) Descriptor
deprecated
func (*CreateCustomerRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomerRes.ProtoReflect.Descriptor instead.
func (*CreateCustomerRes) GetCustomer ¶
func (x *CreateCustomerRes) GetCustomer() *XCustomer
func (*CreateCustomerRes) GetMessage ¶
func (x *CreateCustomerRes) GetMessage() string
func (*CreateCustomerRes) GetRequestId ¶
func (x *CreateCustomerRes) GetRequestId() string
func (*CreateCustomerRes) GetSuccess ¶
func (x *CreateCustomerRes) GetSuccess() bool
func (*CreateCustomerRes) GetUpstream ¶
func (x *CreateCustomerRes) GetUpstream() string
func (*CreateCustomerRes) ProtoMessage ¶
func (*CreateCustomerRes) ProtoMessage()
func (*CreateCustomerRes) ProtoReflect ¶
func (x *CreateCustomerRes) ProtoReflect() protoreflect.Message
func (*CreateCustomerRes) Reset ¶
func (x *CreateCustomerRes) Reset()
func (*CreateCustomerRes) String ¶
func (x *CreateCustomerRes) String() string
type CustomerClient ¶
type CustomerClient interface { GetCustomer(ctx context.Context, in *GetCustomerReq, opts ...grpc.CallOption) (*GetCustomerRes, error) CreateCustomer(ctx context.Context, in *CreateCustomerReq, opts ...grpc.CallOption) (*CreateCustomerRes, error) UpdateCustomer(ctx context.Context, in *UpdateCustomerReq, opts ...grpc.CallOption) (*UpdateCustomerRes, error) DeleteCustomer(ctx context.Context, in *DeleteCustomerReq, opts ...grpc.CallOption) (*NilRes, error) }
CustomerClient is the client API for Customer 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.
While Get and Create implement the same response, it's good practice to always return a unique response type for each method to save yourself headaches in the future.
func NewCustomerClient ¶
func NewCustomerClient(cc grpc.ClientConnInterface) CustomerClient
type CustomerServer ¶
type CustomerServer interface { GetCustomer(context.Context, *GetCustomerReq) (*GetCustomerRes, error) CreateCustomer(context.Context, *CreateCustomerReq) (*CreateCustomerRes, error) UpdateCustomer(context.Context, *UpdateCustomerReq) (*UpdateCustomerRes, error) DeleteCustomer(context.Context, *DeleteCustomerReq) (*NilRes, error) // contains filtered or unexported methods }
CustomerServer is the server API for Customer service. All implementations must embed UnimplementedCustomerServer for forward compatibility.
While Get and Create implement the same response, it's good practice to always return a unique response type for each method to save yourself headaches in the future.
type DeleteCustomerReq ¶
type DeleteCustomerReq struct { CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` HardDelete bool `protobuf:"varint,2,opt,name=hard_delete,json=hardDelete,proto3" json:"hard_delete,omitempty"` // soft delete by default Downstream string `protobuf:"bytes,998,opt,name=downstream,proto3" json:"downstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCustomerReq) Descriptor
deprecated
func (*DeleteCustomerReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCustomerReq.ProtoReflect.Descriptor instead.
func (*DeleteCustomerReq) GetCustomerId ¶
func (x *DeleteCustomerReq) GetCustomerId() string
func (*DeleteCustomerReq) GetDownstream ¶
func (x *DeleteCustomerReq) GetDownstream() string
func (*DeleteCustomerReq) GetHardDelete ¶
func (x *DeleteCustomerReq) GetHardDelete() bool
func (*DeleteCustomerReq) GetRequestId ¶
func (x *DeleteCustomerReq) GetRequestId() string
func (*DeleteCustomerReq) ProtoMessage ¶
func (*DeleteCustomerReq) ProtoMessage()
func (*DeleteCustomerReq) ProtoReflect ¶
func (x *DeleteCustomerReq) ProtoReflect() protoreflect.Message
func (*DeleteCustomerReq) Reset ¶
func (x *DeleteCustomerReq) Reset()
func (*DeleteCustomerReq) String ¶
func (x *DeleteCustomerReq) String() string
type GetCustomerReq ¶
type GetCustomerReq struct { // Be explicit with what you want to get, don't just"ID" PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty"` // Include the caller of the request to aid with quickly filtering through // structured logs. Downstream string `protobuf:"bytes,998,opt,name=downstream,proto3" json:"downstream,omitempty"` // It's good practice to include a request ID all requests to help with // tracing and debugging. RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetCustomerReq) Descriptor
deprecated
func (*GetCustomerReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomerReq.ProtoReflect.Descriptor instead.
func (*GetCustomerReq) GetDownstream ¶
func (x *GetCustomerReq) GetDownstream() string
func (*GetCustomerReq) GetPublicId ¶
func (x *GetCustomerReq) GetPublicId() string
func (*GetCustomerReq) GetRequestId ¶
func (x *GetCustomerReq) GetRequestId() string
func (*GetCustomerReq) ProtoMessage ¶
func (*GetCustomerReq) ProtoMessage()
func (*GetCustomerReq) ProtoReflect ¶
func (x *GetCustomerReq) ProtoReflect() protoreflect.Message
func (*GetCustomerReq) Reset ¶
func (x *GetCustomerReq) Reset()
func (*GetCustomerReq) String ¶
func (x *GetCustomerReq) String() string
type GetCustomerRes ¶
type GetCustomerRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Optional: populate if success is false // The customer object Customer *XCustomer `protobuf:"bytes,3,opt,name=customer,proto3" json:"customer,omitempty"` // Return the service that handled the request. This is useful when handling // switchovers from legacy services and you're still throttling Upstream string `protobuf:"bytes,998,opt,name=upstream,proto3" json:"upstream,omitempty"` // Return the request ID so we know the response is idempotent RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetCustomerRes) Descriptor
deprecated
func (*GetCustomerRes) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomerRes.ProtoReflect.Descriptor instead.
func (*GetCustomerRes) GetCustomer ¶
func (x *GetCustomerRes) GetCustomer() *XCustomer
func (*GetCustomerRes) GetMessage ¶
func (x *GetCustomerRes) GetMessage() string
func (*GetCustomerRes) GetRequestId ¶
func (x *GetCustomerRes) GetRequestId() string
func (*GetCustomerRes) GetSuccess ¶
func (x *GetCustomerRes) GetSuccess() bool
func (*GetCustomerRes) GetUpstream ¶
func (x *GetCustomerRes) GetUpstream() string
func (*GetCustomerRes) ProtoMessage ¶
func (*GetCustomerRes) ProtoMessage()
func (*GetCustomerRes) ProtoReflect ¶
func (x *GetCustomerRes) ProtoReflect() protoreflect.Message
func (*GetCustomerRes) Reset ¶
func (x *GetCustomerRes) Reset()
func (*GetCustomerRes) String ¶
func (x *GetCustomerRes) String() string
type NilRes ¶
type NilRes struct {
// contains filtered or unexported fields
}
NilRes effectively mirrors google.protobuf.Empty, we use our own type though as the google.protobuf.Empty type is not available in all languages that we support.
func (*NilRes) Descriptor
deprecated
func (*NilRes) ProtoMessage ¶
func (*NilRes) ProtoMessage()
func (*NilRes) ProtoReflect ¶
func (x *NilRes) ProtoReflect() protoreflect.Message
type UnimplementedCustomerServer ¶
type UnimplementedCustomerServer struct{}
UnimplementedCustomerServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCustomerServer) CreateCustomer ¶
func (UnimplementedCustomerServer) CreateCustomer(context.Context, *CreateCustomerReq) (*CreateCustomerRes, error)
func (UnimplementedCustomerServer) DeleteCustomer ¶
func (UnimplementedCustomerServer) DeleteCustomer(context.Context, *DeleteCustomerReq) (*NilRes, error)
func (UnimplementedCustomerServer) GetCustomer ¶
func (UnimplementedCustomerServer) GetCustomer(context.Context, *GetCustomerReq) (*GetCustomerRes, error)
func (UnimplementedCustomerServer) UpdateCustomer ¶
func (UnimplementedCustomerServer) UpdateCustomer(context.Context, *UpdateCustomerReq) (*UpdateCustomerRes, error)
type UnsafeCustomerServer ¶
type UnsafeCustomerServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerServer will result in compilation errors.
type UpdateCustomerReq ¶
type UpdateCustomerReq struct { CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // This saves us from having to return the entire customer object and saves // on implementation complexity due to not all customer fields being // returned (so we can't just dump the entire object into the DB). Updates []*XDiff `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` Downstream string `protobuf:"bytes,998,opt,name=downstream,proto3" json:"downstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateCustomerReq) Descriptor
deprecated
func (*UpdateCustomerReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomerReq.ProtoReflect.Descriptor instead.
func (*UpdateCustomerReq) GetCustomerId ¶
func (x *UpdateCustomerReq) GetCustomerId() string
func (*UpdateCustomerReq) GetDownstream ¶
func (x *UpdateCustomerReq) GetDownstream() string
func (*UpdateCustomerReq) GetRequestId ¶
func (x *UpdateCustomerReq) GetRequestId() string
func (*UpdateCustomerReq) GetUpdates ¶
func (x *UpdateCustomerReq) GetUpdates() []*XDiff
func (*UpdateCustomerReq) ProtoMessage ¶
func (*UpdateCustomerReq) ProtoMessage()
func (*UpdateCustomerReq) ProtoReflect ¶
func (x *UpdateCustomerReq) ProtoReflect() protoreflect.Message
func (*UpdateCustomerReq) Reset ¶
func (x *UpdateCustomerReq) Reset()
func (*UpdateCustomerReq) String ¶
func (x *UpdateCustomerReq) String() string
type UpdateCustomerRes ¶
type UpdateCustomerRes struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The customer object Customer *XCustomer `protobuf:"bytes,3,opt,name=customer,proto3" json:"customer,omitempty"` Upstream string `protobuf:"bytes,998,opt,name=upstream,proto3" json:"upstream,omitempty"` RequestId string `protobuf:"bytes,999,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateCustomerRes) Descriptor
deprecated
func (*UpdateCustomerRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomerRes.ProtoReflect.Descriptor instead.
func (*UpdateCustomerRes) GetCustomer ¶
func (x *UpdateCustomerRes) GetCustomer() *XCustomer
func (*UpdateCustomerRes) GetMessage ¶
func (x *UpdateCustomerRes) GetMessage() string
func (*UpdateCustomerRes) GetRequestId ¶
func (x *UpdateCustomerRes) GetRequestId() string
func (*UpdateCustomerRes) GetSuccess ¶
func (x *UpdateCustomerRes) GetSuccess() bool
func (*UpdateCustomerRes) GetUpstream ¶
func (x *UpdateCustomerRes) GetUpstream() string
func (*UpdateCustomerRes) ProtoMessage ¶
func (*UpdateCustomerRes) ProtoMessage()
func (*UpdateCustomerRes) ProtoReflect ¶
func (x *UpdateCustomerRes) ProtoReflect() protoreflect.Message
func (*UpdateCustomerRes) Reset ¶
func (x *UpdateCustomerRes) Reset()
func (*UpdateCustomerRes) String ¶
func (x *UpdateCustomerRes) String() string
type XCustomer ¶
type XCustomer struct { PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty"` PrivateId string `protobuf:"bytes,2,opt,name=private_id,json=privateId,proto3" json:"private_id,omitempty"` Name *XName `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // Optional - string due to intl dial code // contains filtered or unexported fields }
-- Subtype messages
func (*XCustomer) Descriptor
deprecated
func (*XCustomer) GetPrivateId ¶
func (*XCustomer) GetPublicId ¶
func (*XCustomer) ProtoMessage ¶
func (*XCustomer) ProtoMessage()
func (*XCustomer) ProtoReflect ¶
func (x *XCustomer) ProtoReflect() protoreflect.Message
type XDiff ¶
type XDiff struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // contains filtered or unexported fields }
While the value may not be a string, for diff patching, we wrap everything in a string.
func (*XDiff) Descriptor
deprecated
func (*XDiff) GetNewValue ¶
func (*XDiff) GetOldValue ¶
func (*XDiff) ProtoMessage ¶
func (*XDiff) ProtoMessage()
func (*XDiff) ProtoReflect ¶
func (x *XDiff) ProtoReflect() protoreflect.Message
type XName ¶
type XName struct { // Title should be an enum but we'll keep it simple for now Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` First string `protobuf:"bytes,2,opt,name=first,proto3" json:"first,omitempty"` Middle string `protobuf:"bytes,3,opt,name=middle,proto3" json:"middle,omitempty"` Last string `protobuf:"bytes,4,opt,name=last,proto3" json:"last,omitempty"` Suffix string `protobuf:"bytes,5,opt,name=suffix,proto3" json:"suffix,omitempty"` Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` // title + first + middle + last + suffix Full string `protobuf:"bytes,7,opt,name=full,proto3" json:"full,omitempty"` // first + last Friendly string `protobuf:"bytes,8,opt,name=friendly,proto3" json:"friendly,omitempty"` // contains filtered or unexported fields }
func (*XName) Descriptor
deprecated
func (*XName) GetFriendly ¶
func (*XName) GetNickname ¶
func (*XName) ProtoMessage ¶
func (*XName) ProtoMessage()
func (*XName) ProtoReflect ¶
func (x *XName) ProtoReflect() protoreflect.Message