location_grpc_service

package
v0.0.0-...-e265171 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_location_proto protoreflect.FileDescriptor
View Source
var LocationGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "LocationGrpcService",
	HandlerType: (*LocationGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertLocation",
			Handler:    _LocationGrpcService_UpsertLocation_Handler,
		},
		{
			MethodName: "FailLocationValidation",
			Handler:    _LocationGrpcService_FailLocationValidation_Handler,
		},
		{
			MethodName: "SkipLocationValidation",
			Handler:    _LocationGrpcService_SkipLocationValidation_Handler,
		},
		{
			MethodName: "PassLocationValidation",
			Handler:    _LocationGrpcService_PassLocationValidation_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 FailLocationValidationGrpcRequest

type FailLocationValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LocationId     string `protobuf:"bytes,2,opt,name=locationId,proto3" json:"locationId,omitempty"`
	ErrorMessage   string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,5,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	RawAddress     string `protobuf:"bytes,6,opt,name=rawAddress,proto3" json:"rawAddress,omitempty"`
	Country        string `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*FailLocationValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use FailLocationValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*FailLocationValidationGrpcRequest) GetAppSource

func (x *FailLocationValidationGrpcRequest) GetAppSource() string

func (*FailLocationValidationGrpcRequest) GetCountry

func (x *FailLocationValidationGrpcRequest) GetCountry() string

func (*FailLocationValidationGrpcRequest) GetErrorMessage

func (x *FailLocationValidationGrpcRequest) GetErrorMessage() string

func (*FailLocationValidationGrpcRequest) GetLocationId

func (x *FailLocationValidationGrpcRequest) GetLocationId() string

func (*FailLocationValidationGrpcRequest) GetLoggedInUserId

func (x *FailLocationValidationGrpcRequest) GetLoggedInUserId() string

func (*FailLocationValidationGrpcRequest) GetRawAddress

func (x *FailLocationValidationGrpcRequest) GetRawAddress() string

func (*FailLocationValidationGrpcRequest) GetTenant

func (*FailLocationValidationGrpcRequest) ProtoMessage

func (*FailLocationValidationGrpcRequest) ProtoMessage()

func (*FailLocationValidationGrpcRequest) ProtoReflect

func (*FailLocationValidationGrpcRequest) Reset

func (*FailLocationValidationGrpcRequest) String

type LocationGrpcServiceClient

type LocationGrpcServiceClient interface {
	UpsertLocation(ctx context.Context, in *UpsertLocationGrpcRequest, opts ...grpc.CallOption) (*LocationIdGrpcResponse, error)
	FailLocationValidation(ctx context.Context, in *FailLocationValidationGrpcRequest, opts ...grpc.CallOption) (*LocationIdGrpcResponse, error)
	SkipLocationValidation(ctx context.Context, in *SkipLocationValidationGrpcRequest, opts ...grpc.CallOption) (*LocationIdGrpcResponse, error)
	PassLocationValidation(ctx context.Context, in *PassLocationValidationGrpcRequest, 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.

type LocationGrpcServiceServer

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 PassLocationValidationGrpcRequest

type PassLocationValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LocationId     string `protobuf:"bytes,2,opt,name=locationId,proto3" json:"locationId,omitempty"`
	AppSource      string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	RawAddress     string `protobuf:"bytes,5,opt,name=rawAddress,proto3" json:"rawAddress,omitempty"`
	Country        string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	Region         string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
	Locality       string `protobuf:"bytes,8,opt,name=locality,proto3" json:"locality,omitempty"`
	AddressLine1   string `protobuf:"bytes,9,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
	AddressLine2   string `protobuf:"bytes,10,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"`
	ZipCode        string `protobuf:"bytes,11,opt,name=zipCode,proto3" json:"zipCode,omitempty"`
	AddressType    string `protobuf:"bytes,12,opt,name=addressType,proto3" json:"addressType,omitempty"`
	HouseNumber    string `protobuf:"bytes,13,opt,name=houseNumber,proto3" json:"houseNumber,omitempty"`
	PostalCode     string `protobuf:"bytes,14,opt,name=postalCode,proto3" json:"postalCode,omitempty"`
	Commercial     bool   `protobuf:"varint,15,opt,name=commercial,proto3" json:"commercial,omitempty"`
	Predirection   string `protobuf:"bytes,16,opt,name=predirection,proto3" json:"predirection,omitempty"`
	District       string `protobuf:"bytes,17,opt,name=district,proto3" json:"district,omitempty"`
	Street         string `protobuf:"bytes,18,opt,name=street,proto3" json:"street,omitempty"`
	Latitude       string `protobuf:"bytes,19,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude      string `protobuf:"bytes,20,opt,name=longitude,proto3" json:"longitude,omitempty"`
	PlusFour       string `protobuf:"bytes,21,opt,name=plusFour,proto3" json:"plusFour,omitempty"`
	TimeZone       string `protobuf:"bytes,22,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
	UtcOffset      int32  `protobuf:"varint,23,opt,name=utcOffset,proto3" json:"utcOffset,omitempty"`
	// contains filtered or unexported fields
}

func (*PassLocationValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use PassLocationValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*PassLocationValidationGrpcRequest) GetAddressLine1

func (x *PassLocationValidationGrpcRequest) GetAddressLine1() string

func (*PassLocationValidationGrpcRequest) GetAddressLine2

func (x *PassLocationValidationGrpcRequest) GetAddressLine2() string

func (*PassLocationValidationGrpcRequest) GetAddressType

func (x *PassLocationValidationGrpcRequest) GetAddressType() string

func (*PassLocationValidationGrpcRequest) GetAppSource

func (x *PassLocationValidationGrpcRequest) GetAppSource() string

func (*PassLocationValidationGrpcRequest) GetCommercial

func (x *PassLocationValidationGrpcRequest) GetCommercial() bool

func (*PassLocationValidationGrpcRequest) GetCountry

func (x *PassLocationValidationGrpcRequest) GetCountry() string

func (*PassLocationValidationGrpcRequest) GetDistrict

func (x *PassLocationValidationGrpcRequest) GetDistrict() string

func (*PassLocationValidationGrpcRequest) GetHouseNumber

func (x *PassLocationValidationGrpcRequest) GetHouseNumber() string

func (*PassLocationValidationGrpcRequest) GetLatitude

func (x *PassLocationValidationGrpcRequest) GetLatitude() string

func (*PassLocationValidationGrpcRequest) GetLocality

func (x *PassLocationValidationGrpcRequest) GetLocality() string

func (*PassLocationValidationGrpcRequest) GetLocationId

func (x *PassLocationValidationGrpcRequest) GetLocationId() string

func (*PassLocationValidationGrpcRequest) GetLoggedInUserId

func (x *PassLocationValidationGrpcRequest) GetLoggedInUserId() string

func (*PassLocationValidationGrpcRequest) GetLongitude

func (x *PassLocationValidationGrpcRequest) GetLongitude() string

func (*PassLocationValidationGrpcRequest) GetPlusFour

func (x *PassLocationValidationGrpcRequest) GetPlusFour() string

func (*PassLocationValidationGrpcRequest) GetPostalCode

func (x *PassLocationValidationGrpcRequest) GetPostalCode() string

func (*PassLocationValidationGrpcRequest) GetPredirection

func (x *PassLocationValidationGrpcRequest) GetPredirection() string

func (*PassLocationValidationGrpcRequest) GetRawAddress

func (x *PassLocationValidationGrpcRequest) GetRawAddress() string

func (*PassLocationValidationGrpcRequest) GetRegion

func (*PassLocationValidationGrpcRequest) GetStreet

func (*PassLocationValidationGrpcRequest) GetTenant

func (*PassLocationValidationGrpcRequest) GetTimeZone

func (x *PassLocationValidationGrpcRequest) GetTimeZone() string

func (*PassLocationValidationGrpcRequest) GetUtcOffset

func (x *PassLocationValidationGrpcRequest) GetUtcOffset() int32

func (*PassLocationValidationGrpcRequest) GetZipCode

func (x *PassLocationValidationGrpcRequest) GetZipCode() string

func (*PassLocationValidationGrpcRequest) ProtoMessage

func (*PassLocationValidationGrpcRequest) ProtoMessage()

func (*PassLocationValidationGrpcRequest) ProtoReflect

func (*PassLocationValidationGrpcRequest) Reset

func (*PassLocationValidationGrpcRequest) String

type SkipLocationValidationGrpcRequest

type SkipLocationValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LocationId     string `protobuf:"bytes,2,opt,name=locationId,proto3" json:"locationId,omitempty"`
	AppSource      string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	RawAddress     string `protobuf:"bytes,5,opt,name=rawAddress,proto3" json:"rawAddress,omitempty"`
	Reason         string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*SkipLocationValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use SkipLocationValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*SkipLocationValidationGrpcRequest) GetAppSource

func (x *SkipLocationValidationGrpcRequest) GetAppSource() string

func (*SkipLocationValidationGrpcRequest) GetLocationId

func (x *SkipLocationValidationGrpcRequest) GetLocationId() string

func (*SkipLocationValidationGrpcRequest) GetLoggedInUserId

func (x *SkipLocationValidationGrpcRequest) GetLoggedInUserId() string

func (*SkipLocationValidationGrpcRequest) GetRawAddress

func (x *SkipLocationValidationGrpcRequest) GetRawAddress() string

func (*SkipLocationValidationGrpcRequest) GetReason

func (*SkipLocationValidationGrpcRequest) GetTenant

func (*SkipLocationValidationGrpcRequest) ProtoMessage

func (*SkipLocationValidationGrpcRequest) ProtoMessage()

func (*SkipLocationValidationGrpcRequest) ProtoReflect

func (*SkipLocationValidationGrpcRequest) Reset

func (*SkipLocationValidationGrpcRequest) String

type UnimplementedLocationGrpcServiceServer

type UnimplementedLocationGrpcServiceServer struct {
}

UnimplementedLocationGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedLocationGrpcServiceServer) FailLocationValidation

func (UnimplementedLocationGrpcServiceServer) PassLocationValidation

func (UnimplementedLocationGrpcServiceServer) SkipLocationValidation

func (UnimplementedLocationGrpcServiceServer) UpsertLocation

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 (*UpsertLocationGrpcRequest) Reset

func (x *UpsertLocationGrpcRequest) Reset()

func (*UpsertLocationGrpcRequest) String

func (x *UpsertLocationGrpcRequest) String() string

Jump to

Keyboard shortcuts

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