Documentation
¶
Index ¶
- Variables
- func RegisterLocationGrpcServiceServer(s grpc.ServiceRegistrar, srv LocationGrpcServiceServer)
- type LocationGrpcServiceClient
- type LocationGrpcServiceServer
- type LocationIdGrpcResponse
- func (*LocationIdGrpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LocationIdGrpcResponse) GetId() string
- func (*LocationIdGrpcResponse) ProtoMessage()
- func (x *LocationIdGrpcResponse) ProtoReflect() protoreflect.Message
- func (x *LocationIdGrpcResponse) Reset()
- func (x *LocationIdGrpcResponse) String() string
- type UnimplementedLocationGrpcServiceServer
- type UnsafeLocationGrpcServiceServer
- type UpsertLocationGrpcRequest
- func (*UpsertLocationGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertLocationGrpcRequest) GetAddressLine1() string
- func (x *UpsertLocationGrpcRequest) GetAddressLine2() string
- func (x *UpsertLocationGrpcRequest) GetAddressType() string
- func (x *UpsertLocationGrpcRequest) GetAppSource() stringdeprecated
- func (x *UpsertLocationGrpcRequest) GetCommercial() bool
- func (x *UpsertLocationGrpcRequest) GetCountry() string
- func (x *UpsertLocationGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpsertLocationGrpcRequest) GetDistrict() string
- func (x *UpsertLocationGrpcRequest) GetHouseNumber() string
- func (x *UpsertLocationGrpcRequest) GetId() string
- func (x *UpsertLocationGrpcRequest) GetLatitude() string
- func (x *UpsertLocationGrpcRequest) GetLocality() string
- func (x *UpsertLocationGrpcRequest) GetLoggedInUserId() string
- func (x *UpsertLocationGrpcRequest) GetLongitude() string
- func (x *UpsertLocationGrpcRequest) GetName() string
- func (x *UpsertLocationGrpcRequest) GetPlusFour() string
- func (x *UpsertLocationGrpcRequest) GetPostalCode() string
- func (x *UpsertLocationGrpcRequest) GetPredirection() string
- func (x *UpsertLocationGrpcRequest) GetRawAddress() string
- func (x *UpsertLocationGrpcRequest) GetRegion() string
- func (x *UpsertLocationGrpcRequest) GetSource() stringdeprecated
- func (x *UpsertLocationGrpcRequest) GetSourceFields() *common.SourceFields
- func (x *UpsertLocationGrpcRequest) GetSourceOfTruth() stringdeprecated
- func (x *UpsertLocationGrpcRequest) GetStreet() string
- func (x *UpsertLocationGrpcRequest) GetTenant() string
- func (x *UpsertLocationGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UpsertLocationGrpcRequest) GetZipCode() string
- func (*UpsertLocationGrpcRequest) ProtoMessage()
- func (x *UpsertLocationGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertLocationGrpcRequest) Reset()
- func (x *UpsertLocationGrpcRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_location_proto protoreflect.FileDescriptor
var LocationGrpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "LocationGrpcService", HandlerType: (*LocationGrpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpsertLocation", Handler: _LocationGrpcService_UpsertLocation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "location.proto", }
LocationGrpcService_ServiceDesc is the grpc.ServiceDesc for LocationGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLocationGrpcServiceServer ¶
func RegisterLocationGrpcServiceServer(s grpc.ServiceRegistrar, srv LocationGrpcServiceServer)
Types ¶
type LocationGrpcServiceClient ¶
type LocationGrpcServiceClient interface {
UpsertLocation(ctx context.Context, in *UpsertLocationGrpcRequest, opts ...grpc.CallOption) (*LocationIdGrpcResponse, error)
}
LocationGrpcServiceClient is the client API for LocationGrpcService 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.
func NewLocationGrpcServiceClient ¶
func NewLocationGrpcServiceClient(cc grpc.ClientConnInterface) LocationGrpcServiceClient
type LocationGrpcServiceServer ¶
type LocationGrpcServiceServer interface {
UpsertLocation(context.Context, *UpsertLocationGrpcRequest) (*LocationIdGrpcResponse, error)
}
LocationGrpcServiceServer is the server API for LocationGrpcService service. All implementations should embed UnimplementedLocationGrpcServiceServer for forward compatibility
type LocationIdGrpcResponse ¶
type LocationIdGrpcResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LocationIdGrpcResponse) Descriptor
deprecated
func (*LocationIdGrpcResponse) Descriptor() ([]byte, []int)
Deprecated: Use LocationIdGrpcResponse.ProtoReflect.Descriptor instead.
func (*LocationIdGrpcResponse) GetId ¶
func (x *LocationIdGrpcResponse) GetId() string
func (*LocationIdGrpcResponse) ProtoMessage ¶
func (*LocationIdGrpcResponse) ProtoMessage()
func (*LocationIdGrpcResponse) ProtoReflect ¶
func (x *LocationIdGrpcResponse) ProtoReflect() protoreflect.Message
func (*LocationIdGrpcResponse) Reset ¶
func (x *LocationIdGrpcResponse) Reset()
func (*LocationIdGrpcResponse) String ¶
func (x *LocationIdGrpcResponse) String() string
type UnimplementedLocationGrpcServiceServer ¶
type UnimplementedLocationGrpcServiceServer struct { }
UnimplementedLocationGrpcServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLocationGrpcServiceServer) UpsertLocation ¶
func (UnimplementedLocationGrpcServiceServer) UpsertLocation(context.Context, *UpsertLocationGrpcRequest) (*LocationIdGrpcResponse, error)
type UnsafeLocationGrpcServiceServer ¶
type UnsafeLocationGrpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLocationGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LocationGrpcServiceServer will result in compilation errors.
type UpsertLocationGrpcRequest ¶
type UpsertLocationGrpcRequest struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Deprecated: Marked as deprecated in location.proto. AppSource string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"` // Deprecated: Marked as deprecated in location.proto. Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` // Deprecated: Marked as deprecated in location.proto. SourceOfTruth string `protobuf:"bytes,6,opt,name=sourceOfTruth,proto3" json:"sourceOfTruth,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` RawAddress string `protobuf:"bytes,9,opt,name=rawAddress,proto3" json:"rawAddress,omitempty"` Country string `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"` Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"` Locality string `protobuf:"bytes,12,opt,name=locality,proto3" json:"locality,omitempty"` AddressLine1 string `protobuf:"bytes,13,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"` AddressLine2 string `protobuf:"bytes,14,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"` ZipCode string `protobuf:"bytes,15,opt,name=zipCode,proto3" json:"zipCode,omitempty"` AddressType string `protobuf:"bytes,16,opt,name=addressType,proto3" json:"addressType,omitempty"` HouseNumber string `protobuf:"bytes,17,opt,name=houseNumber,proto3" json:"houseNumber,omitempty"` PostalCode string `protobuf:"bytes,18,opt,name=postalCode,proto3" json:"postalCode,omitempty"` Commercial bool `protobuf:"varint,19,opt,name=commercial,proto3" json:"commercial,omitempty"` Predirection string `protobuf:"bytes,20,opt,name=predirection,proto3" json:"predirection,omitempty"` District string `protobuf:"bytes,21,opt,name=district,proto3" json:"district,omitempty"` Street string `protobuf:"bytes,22,opt,name=street,proto3" json:"street,omitempty"` Latitude string `protobuf:"bytes,23,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude string `protobuf:"bytes,24,opt,name=longitude,proto3" json:"longitude,omitempty"` PlusFour string `protobuf:"bytes,25,opt,name=plusFour,proto3" json:"plusFour,omitempty"` LoggedInUserId string `protobuf:"bytes,26,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"` SourceFields *common.SourceFields `protobuf:"bytes,27,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"` // contains filtered or unexported fields }
func (*UpsertLocationGrpcRequest) Descriptor
deprecated
func (*UpsertLocationGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertLocationGrpcRequest.ProtoReflect.Descriptor instead.
func (*UpsertLocationGrpcRequest) GetAddressLine1 ¶
func (x *UpsertLocationGrpcRequest) GetAddressLine1() string
func (*UpsertLocationGrpcRequest) GetAddressLine2 ¶
func (x *UpsertLocationGrpcRequest) GetAddressLine2() string
func (*UpsertLocationGrpcRequest) GetAddressType ¶
func (x *UpsertLocationGrpcRequest) GetAddressType() string
func (*UpsertLocationGrpcRequest) GetAppSource
deprecated
func (x *UpsertLocationGrpcRequest) GetAppSource() string
Deprecated: Marked as deprecated in location.proto.
func (*UpsertLocationGrpcRequest) GetCommercial ¶
func (x *UpsertLocationGrpcRequest) GetCommercial() bool
func (*UpsertLocationGrpcRequest) GetCountry ¶
func (x *UpsertLocationGrpcRequest) GetCountry() string
func (*UpsertLocationGrpcRequest) GetCreatedAt ¶
func (x *UpsertLocationGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
func (*UpsertLocationGrpcRequest) GetDistrict ¶
func (x *UpsertLocationGrpcRequest) GetDistrict() string
func (*UpsertLocationGrpcRequest) GetHouseNumber ¶
func (x *UpsertLocationGrpcRequest) GetHouseNumber() string
func (*UpsertLocationGrpcRequest) GetId ¶
func (x *UpsertLocationGrpcRequest) GetId() string
func (*UpsertLocationGrpcRequest) GetLatitude ¶
func (x *UpsertLocationGrpcRequest) GetLatitude() string
func (*UpsertLocationGrpcRequest) GetLocality ¶
func (x *UpsertLocationGrpcRequest) GetLocality() string
func (*UpsertLocationGrpcRequest) GetLoggedInUserId ¶
func (x *UpsertLocationGrpcRequest) GetLoggedInUserId() string
func (*UpsertLocationGrpcRequest) GetLongitude ¶
func (x *UpsertLocationGrpcRequest) GetLongitude() string
func (*UpsertLocationGrpcRequest) GetName ¶
func (x *UpsertLocationGrpcRequest) GetName() string
func (*UpsertLocationGrpcRequest) GetPlusFour ¶
func (x *UpsertLocationGrpcRequest) GetPlusFour() string
func (*UpsertLocationGrpcRequest) GetPostalCode ¶
func (x *UpsertLocationGrpcRequest) GetPostalCode() string
func (*UpsertLocationGrpcRequest) GetPredirection ¶
func (x *UpsertLocationGrpcRequest) GetPredirection() string
func (*UpsertLocationGrpcRequest) GetRawAddress ¶
func (x *UpsertLocationGrpcRequest) GetRawAddress() string
func (*UpsertLocationGrpcRequest) GetRegion ¶
func (x *UpsertLocationGrpcRequest) GetRegion() string
func (*UpsertLocationGrpcRequest) GetSource
deprecated
func (x *UpsertLocationGrpcRequest) GetSource() string
Deprecated: Marked as deprecated in location.proto.
func (*UpsertLocationGrpcRequest) GetSourceFields ¶
func (x *UpsertLocationGrpcRequest) GetSourceFields() *common.SourceFields
func (*UpsertLocationGrpcRequest) GetSourceOfTruth
deprecated
func (x *UpsertLocationGrpcRequest) GetSourceOfTruth() string
Deprecated: Marked as deprecated in location.proto.
func (*UpsertLocationGrpcRequest) GetStreet ¶
func (x *UpsertLocationGrpcRequest) GetStreet() string
func (*UpsertLocationGrpcRequest) GetTenant ¶
func (x *UpsertLocationGrpcRequest) GetTenant() string
func (*UpsertLocationGrpcRequest) GetUpdatedAt ¶
func (x *UpsertLocationGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
func (*UpsertLocationGrpcRequest) GetZipCode ¶
func (x *UpsertLocationGrpcRequest) GetZipCode() string
func (*UpsertLocationGrpcRequest) ProtoMessage ¶
func (*UpsertLocationGrpcRequest) ProtoMessage()
func (*UpsertLocationGrpcRequest) ProtoReflect ¶
func (x *UpsertLocationGrpcRequest) ProtoReflect() protoreflect.Message
func (*UpsertLocationGrpcRequest) Reset ¶
func (x *UpsertLocationGrpcRequest) Reset()
func (*UpsertLocationGrpcRequest) String ¶
func (x *UpsertLocationGrpcRequest) String() string