contract_grpc_service

package
v0.0.0-...-a969eaa Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ContractGrpcService",
	HandlerType: (*ContractGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RolloutRenewalOpportunityOnExpiration",
			Handler:    _ContractGrpcService_RolloutRenewalOpportunityOnExpiration_Handler,
		},
		{
			MethodName: "RefreshContractStatus",
			Handler:    _ContractGrpcService_RefreshContractStatus_Handler,
		},
		{
			MethodName: "RefreshContractLtv",
			Handler:    _ContractGrpcService_RefreshContractLtv_Handler,
		},
		{
			MethodName: "SoftDeleteContract",
			Handler:    _ContractGrpcService_SoftDeleteContract_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "contract.proto",
}

ContractGrpcService_ServiceDesc is the grpc.ServiceDesc for ContractGrpcService 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_contract_proto protoreflect.FileDescriptor

Functions

func RegisterContractGrpcServiceServer

func RegisterContractGrpcServiceServer(s grpc.ServiceRegistrar, srv ContractGrpcServiceServer)

Types

type ContractGrpcServiceClient

type ContractGrpcServiceClient interface {
	RolloutRenewalOpportunityOnExpiration(ctx context.Context, in *RolloutRenewalOpportunityOnExpirationGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	RefreshContractStatus(ctx context.Context, in *RefreshContractStatusGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	RefreshContractLtv(ctx context.Context, in *RefreshContractLtvGrpcRequest, opts ...grpc.CallOption) (*ContractIdGrpcResponse, error)
	SoftDeleteContract(ctx context.Context, in *SoftDeleteContractGrpcRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ContractGrpcServiceClient is the client API for ContractGrpcService 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 ContractGrpcServiceServer

ContractGrpcServiceServer is the server API for ContractGrpcService service. All implementations should embed UnimplementedContractGrpcServiceServer for forward compatibility

type ContractIdGrpcResponse

type ContractIdGrpcResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Contract response message

func (*ContractIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use ContractIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*ContractIdGrpcResponse) GetId

func (x *ContractIdGrpcResponse) GetId() string

func (*ContractIdGrpcResponse) ProtoMessage

func (*ContractIdGrpcResponse) ProtoMessage()

func (*ContractIdGrpcResponse) ProtoReflect

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

func (*ContractIdGrpcResponse) Reset

func (x *ContractIdGrpcResponse) Reset()

func (*ContractIdGrpcResponse) String

func (x *ContractIdGrpcResponse) String() string

type RefreshContractLtvGrpcRequest

type RefreshContractLtvGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshContractLtvGrpcRequest) Descriptor deprecated

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

Deprecated: Use RefreshContractLtvGrpcRequest.ProtoReflect.Descriptor instead.

func (*RefreshContractLtvGrpcRequest) GetAppSource

func (x *RefreshContractLtvGrpcRequest) GetAppSource() string

func (*RefreshContractLtvGrpcRequest) GetId

func (*RefreshContractLtvGrpcRequest) GetLoggedInUserId

func (x *RefreshContractLtvGrpcRequest) GetLoggedInUserId() string

func (*RefreshContractLtvGrpcRequest) GetTenant

func (x *RefreshContractLtvGrpcRequest) GetTenant() string

func (*RefreshContractLtvGrpcRequest) ProtoMessage

func (*RefreshContractLtvGrpcRequest) ProtoMessage()

func (*RefreshContractLtvGrpcRequest) ProtoReflect

func (*RefreshContractLtvGrpcRequest) Reset

func (x *RefreshContractLtvGrpcRequest) Reset()

func (*RefreshContractLtvGrpcRequest) String

type RefreshContractStatusGrpcRequest

type RefreshContractStatusGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshContractStatusGrpcRequest) Descriptor deprecated

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

Deprecated: Use RefreshContractStatusGrpcRequest.ProtoReflect.Descriptor instead.

func (*RefreshContractStatusGrpcRequest) GetAppSource

func (x *RefreshContractStatusGrpcRequest) GetAppSource() string

func (*RefreshContractStatusGrpcRequest) GetId

func (*RefreshContractStatusGrpcRequest) GetLoggedInUserId

func (x *RefreshContractStatusGrpcRequest) GetLoggedInUserId() string

func (*RefreshContractStatusGrpcRequest) GetTenant

func (*RefreshContractStatusGrpcRequest) ProtoMessage

func (*RefreshContractStatusGrpcRequest) ProtoMessage()

func (*RefreshContractStatusGrpcRequest) ProtoReflect

func (*RefreshContractStatusGrpcRequest) Reset

func (*RefreshContractStatusGrpcRequest) String

type RolloutRenewalOpportunityOnExpirationGrpcRequest

type RolloutRenewalOpportunityOnExpirationGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) Descriptor deprecated

Deprecated: Use RolloutRenewalOpportunityOnExpirationGrpcRequest.ProtoReflect.Descriptor instead.

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetAppSource

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetId

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetLoggedInUserId

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) GetTenant

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) ProtoMessage

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) ProtoReflect

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) Reset

func (*RolloutRenewalOpportunityOnExpirationGrpcRequest) String

type SoftDeleteContractGrpcRequest

type SoftDeleteContractGrpcRequest struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant         string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

Permanently delete contract request

func (*SoftDeleteContractGrpcRequest) Descriptor deprecated

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

Deprecated: Use SoftDeleteContractGrpcRequest.ProtoReflect.Descriptor instead.

func (*SoftDeleteContractGrpcRequest) GetAppSource

func (x *SoftDeleteContractGrpcRequest) GetAppSource() string

func (*SoftDeleteContractGrpcRequest) GetId

func (*SoftDeleteContractGrpcRequest) GetLoggedInUserId

func (x *SoftDeleteContractGrpcRequest) GetLoggedInUserId() string

func (*SoftDeleteContractGrpcRequest) GetTenant

func (x *SoftDeleteContractGrpcRequest) GetTenant() string

func (*SoftDeleteContractGrpcRequest) ProtoMessage

func (*SoftDeleteContractGrpcRequest) ProtoMessage()

func (*SoftDeleteContractGrpcRequest) ProtoReflect

func (*SoftDeleteContractGrpcRequest) Reset

func (x *SoftDeleteContractGrpcRequest) Reset()

func (*SoftDeleteContractGrpcRequest) String

type UnimplementedContractGrpcServiceServer

type UnimplementedContractGrpcServiceServer struct {
}

UnimplementedContractGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedContractGrpcServiceServer) RefreshContractLtv

func (UnimplementedContractGrpcServiceServer) RefreshContractStatus

func (UnimplementedContractGrpcServiceServer) SoftDeleteContract

type UnsafeContractGrpcServiceServer

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

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

Jump to

Keyboard shortcuts

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