mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
697 lines
22 KiB
Go
697 lines
22 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.21.12
|
|
// source: firewall.proto
|
|
|
|
package litrpc
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ActionState int32
|
|
|
|
const (
|
|
// No state was assigned to the action. This should never be the case.
|
|
ActionState_STATE_UNKNOWN ActionState = 0
|
|
// Pending means that the request resulting in the action being created
|
|
// came through but that no response came back from the appropriate backend.
|
|
// This means that the Action is either still being processed or that it
|
|
// did not successfully complete.
|
|
ActionState_STATE_PENDING ActionState = 1
|
|
// Done means that the action successfully completed.
|
|
ActionState_STATE_DONE ActionState = 2
|
|
// Error means that the Action did not successfully complete.
|
|
ActionState_STATE_ERROR ActionState = 3
|
|
)
|
|
|
|
// Enum value maps for ActionState.
|
|
var (
|
|
ActionState_name = map[int32]string{
|
|
0: "STATE_UNKNOWN",
|
|
1: "STATE_PENDING",
|
|
2: "STATE_DONE",
|
|
3: "STATE_ERROR",
|
|
}
|
|
ActionState_value = map[string]int32{
|
|
"STATE_UNKNOWN": 0,
|
|
"STATE_PENDING": 1,
|
|
"STATE_DONE": 2,
|
|
"STATE_ERROR": 3,
|
|
}
|
|
)
|
|
|
|
func (x ActionState) Enum() *ActionState {
|
|
p := new(ActionState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ActionState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ActionState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_firewall_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ActionState) Type() protoreflect.EnumType {
|
|
return &file_firewall_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ActionState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ActionState.Descriptor instead.
|
|
func (ActionState) EnumDescriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PrivacyMapConversionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// If set to true, then the input string will be taken as the real value and
|
|
// the response will the the pseudo value it if exists. Otherwise, the input
|
|
// string will be assumed to be the pseudo value.
|
|
RealToPseudo bool `protobuf:"varint,1,opt,name=real_to_pseudo,json=realToPseudo,proto3" json:"real_to_pseudo,omitempty"`
|
|
// Deprecated, use group_id.
|
|
// The session ID under which to search for the real-pseudo pair.
|
|
//
|
|
// Deprecated: Marked as deprecated in firewall.proto.
|
|
SessionId []byte `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
// The input to be converted into the real or pseudo value.
|
|
Input string `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
|
|
// The group ID under which to search for the real-pseudo pair.
|
|
GroupId []byte `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PrivacyMapConversionRequest) Reset() {
|
|
*x = PrivacyMapConversionRequest{}
|
|
mi := &file_firewall_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PrivacyMapConversionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivacyMapConversionRequest) ProtoMessage() {}
|
|
|
|
func (x *PrivacyMapConversionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_firewall_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrivacyMapConversionRequest.ProtoReflect.Descriptor instead.
|
|
func (*PrivacyMapConversionRequest) Descriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PrivacyMapConversionRequest) GetRealToPseudo() bool {
|
|
if x != nil {
|
|
return x.RealToPseudo
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in firewall.proto.
|
|
func (x *PrivacyMapConversionRequest) GetSessionId() []byte {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PrivacyMapConversionRequest) GetInput() string {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PrivacyMapConversionRequest) GetGroupId() []byte {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivacyMapConversionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The resulting real or pseudo output.
|
|
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PrivacyMapConversionResponse) Reset() {
|
|
*x = PrivacyMapConversionResponse{}
|
|
mi := &file_firewall_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PrivacyMapConversionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivacyMapConversionResponse) ProtoMessage() {}
|
|
|
|
func (x *PrivacyMapConversionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_firewall_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrivacyMapConversionResponse.ProtoReflect.Descriptor instead.
|
|
func (*PrivacyMapConversionResponse) Descriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PrivacyMapConversionResponse) GetOutput() string {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListActionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The feature name which the filter the actions by. If left empty, all feature
|
|
// actions will be returned.
|
|
FeatureName string `protobuf:"bytes,1,opt,name=feature_name,json=featureName,proto3" json:"feature_name,omitempty"`
|
|
// The actor name to filter on. If left empty, all actor actions will be
|
|
// returned.
|
|
ActorName string `protobuf:"bytes,2,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
|
|
// The method name to filter on. If left empty, actions for any method will be
|
|
// returned.
|
|
MethodName string `protobuf:"bytes,3,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
|
|
// The action state to filter on. If set to zero, actions for any state will
|
|
// be returned.
|
|
State ActionState `protobuf:"varint,4,opt,name=state,proto3,enum=litrpc.ActionState" json:"state,omitempty"`
|
|
// The index of an action that will be used as the start of a query to
|
|
// determine which actions should be returned in the response.
|
|
IndexOffset uint64 `protobuf:"varint,5,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
|
|
// The max number of actions to return in the response to this query.
|
|
MaxNumActions uint64 `protobuf:"varint,6,opt,name=max_num_actions,json=maxNumActions,proto3" json:"max_num_actions,omitempty"`
|
|
// If set, the actions returned will result from seeking backwards from the
|
|
// specified index offset. This can be used to paginate backwards.
|
|
Reversed bool `protobuf:"varint,7,opt,name=reversed,proto3" json:"reversed,omitempty"`
|
|
// Set to true if the total number of all actions that match the given filters
|
|
// should be counted and returned in the request. Note that setting this will
|
|
// significantly decrease the performance of the query if there are many
|
|
// actions in the db.
|
|
CountTotal bool `protobuf:"varint,8,opt,name=count_total,json=countTotal,proto3" json:"count_total,omitempty"`
|
|
// The session ID to filter on. If left empty, actions for any session will
|
|
// be returned.
|
|
SessionId []byte `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
// If specified, then only actions created after the given timestamp will be
|
|
// considered.
|
|
StartTimestamp uint64 `protobuf:"varint,10,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
|
|
// If specified, then only actions created before the given timestamp will be
|
|
// considered.
|
|
EndTimestamp uint64 `protobuf:"varint,11,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
|
|
// If specified, then only actions under the given group will be queried.
|
|
GroupId []byte `protobuf:"bytes,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListActionsRequest) Reset() {
|
|
*x = ListActionsRequest{}
|
|
mi := &file_firewall_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListActionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListActionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListActionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_firewall_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListActionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListActionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetFeatureName() string {
|
|
if x != nil {
|
|
return x.FeatureName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetActorName() string {
|
|
if x != nil {
|
|
return x.ActorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetMethodName() string {
|
|
if x != nil {
|
|
return x.MethodName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetState() ActionState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ActionState_STATE_UNKNOWN
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.IndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetMaxNumActions() uint64 {
|
|
if x != nil {
|
|
return x.MaxNumActions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetReversed() bool {
|
|
if x != nil {
|
|
return x.Reversed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetCountTotal() bool {
|
|
if x != nil {
|
|
return x.CountTotal
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetSessionId() []byte {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetStartTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.StartTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetEndTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.EndTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionsRequest) GetGroupId() []byte {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListActionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A list of actions performed by the autopilot server.
|
|
Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
|
|
// The index of the last item in the set of returned actions. This can be used
|
|
// to seek further, pagination style.
|
|
LastIndexOffset uint64 `protobuf:"varint,2,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
|
|
// The total number of actions that matched the filter in the request. It is
|
|
// only set if count_total was set in the request.
|
|
TotalCount uint64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListActionsResponse) Reset() {
|
|
*x = ListActionsResponse{}
|
|
mi := &file_firewall_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListActionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListActionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListActionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_firewall_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListActionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListActionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListActionsResponse) GetActions() []*Action {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListActionsResponse) GetLastIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.LastIndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionsResponse) GetTotalCount() uint64 {
|
|
if x != nil {
|
|
return x.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Action struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The name of the actor that initiated the action.
|
|
ActorName string `protobuf:"bytes,1,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
|
|
// The name of the feature that triggered the action.
|
|
FeatureName string `protobuf:"bytes,2,opt,name=feature_name,json=featureName,proto3" json:"feature_name,omitempty"`
|
|
// A human readable reason that the action was performed.
|
|
Trigger string `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
|
|
// A human readable string describing the intended outcome successfully
|
|
// performing the action.
|
|
Intent string `protobuf:"bytes,4,opt,name=intent,proto3" json:"intent,omitempty"`
|
|
// Structured info added by the action performer.
|
|
StructuredJsonData string `protobuf:"bytes,5,opt,name=structured_json_data,json=structuredJsonData,proto3" json:"structured_json_data,omitempty"`
|
|
// The URI of the method called.
|
|
RpcMethod string `protobuf:"bytes,6,opt,name=rpc_method,json=rpcMethod,proto3" json:"rpc_method,omitempty"`
|
|
// The parameters of the method call in compact json form.
|
|
RpcParamsJson string `protobuf:"bytes,7,opt,name=rpc_params_json,json=rpcParamsJson,proto3" json:"rpc_params_json,omitempty"`
|
|
// The unix timestamp in seconds at which the action was attempted.
|
|
Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
// The action state. See ActionState for the meaning of each state.
|
|
State ActionState `protobuf:"varint,9,opt,name=state,proto3,enum=litrpc.ActionState" json:"state,omitempty"`
|
|
// If the state is Error, then this string will show the human readable reason
|
|
// for why the action errored out.
|
|
ErrorReason string `protobuf:"bytes,10,opt,name=error_reason,json=errorReason,proto3" json:"error_reason,omitempty"`
|
|
// The ID of the session under which the action was performed.
|
|
SessionId []byte `protobuf:"bytes,11,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
// The 4 byte identifier of the macaroon that was used to perform the action.
|
|
// This is derived from the last 4 bytes of the macaroon's root key ID.
|
|
MacaroonIdentifier []byte `protobuf:"bytes,12,opt,name=macaroon_identifier,json=macaroonIdentifier,proto3" json:"macaroon_identifier,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Action) Reset() {
|
|
*x = Action{}
|
|
mi := &file_firewall_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Action) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Action) ProtoMessage() {}
|
|
|
|
func (x *Action) ProtoReflect() protoreflect.Message {
|
|
mi := &file_firewall_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Action.ProtoReflect.Descriptor instead.
|
|
func (*Action) Descriptor() ([]byte, []int) {
|
|
return file_firewall_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Action) GetActorName() string {
|
|
if x != nil {
|
|
return x.ActorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetFeatureName() string {
|
|
if x != nil {
|
|
return x.FeatureName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetTrigger() string {
|
|
if x != nil {
|
|
return x.Trigger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetIntent() string {
|
|
if x != nil {
|
|
return x.Intent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetStructuredJsonData() string {
|
|
if x != nil {
|
|
return x.StructuredJsonData
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetRpcMethod() string {
|
|
if x != nil {
|
|
return x.RpcMethod
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetRpcParamsJson() string {
|
|
if x != nil {
|
|
return x.RpcParamsJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Action) GetState() ActionState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ActionState_STATE_UNKNOWN
|
|
}
|
|
|
|
func (x *Action) GetErrorReason() string {
|
|
if x != nil {
|
|
return x.ErrorReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Action) GetSessionId() []byte {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Action) GetMacaroonIdentifier() []byte {
|
|
if x != nil {
|
|
return x.MacaroonIdentifier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_firewall_proto protoreflect.FileDescriptor
|
|
|
|
const file_firewall_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0efirewall.proto\x12\x06litrpc\"\x97\x01\n" +
|
|
"\x1bPrivacyMapConversionRequest\x12$\n" +
|
|
"\x0ereal_to_pseudo\x18\x01 \x01(\bR\frealToPseudo\x12!\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\fB\x02\x18\x01R\tsessionId\x12\x14\n" +
|
|
"\x05input\x18\x03 \x01(\tR\x05input\x12\x19\n" +
|
|
"\bgroup_id\x18\x04 \x01(\fR\agroupId\"6\n" +
|
|
"\x1cPrivacyMapConversionResponse\x12\x16\n" +
|
|
"\x06output\x18\x01 \x01(\tR\x06output\"\xba\x03\n" +
|
|
"\x12ListActionsRequest\x12!\n" +
|
|
"\ffeature_name\x18\x01 \x01(\tR\vfeatureName\x12\x1d\n" +
|
|
"\n" +
|
|
"actor_name\x18\x02 \x01(\tR\tactorName\x12\x1f\n" +
|
|
"\vmethod_name\x18\x03 \x01(\tR\n" +
|
|
"methodName\x12)\n" +
|
|
"\x05state\x18\x04 \x01(\x0e2\x13.litrpc.ActionStateR\x05state\x12!\n" +
|
|
"\findex_offset\x18\x05 \x01(\x04R\vindexOffset\x12&\n" +
|
|
"\x0fmax_num_actions\x18\x06 \x01(\x04R\rmaxNumActions\x12\x1a\n" +
|
|
"\breversed\x18\a \x01(\bR\breversed\x12\x1f\n" +
|
|
"\vcount_total\x18\b \x01(\bR\n" +
|
|
"countTotal\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\t \x01(\fR\tsessionId\x12+\n" +
|
|
"\x0fstart_timestamp\x18\n" +
|
|
" \x01(\x04B\x020\x01R\x0estartTimestamp\x12'\n" +
|
|
"\rend_timestamp\x18\v \x01(\x04B\x020\x01R\fendTimestamp\x12\x19\n" +
|
|
"\bgroup_id\x18\f \x01(\fR\agroupId\"\x8c\x01\n" +
|
|
"\x13ListActionsResponse\x12(\n" +
|
|
"\aactions\x18\x01 \x03(\v2\x0e.litrpc.ActionR\aactions\x12*\n" +
|
|
"\x11last_index_offset\x18\x02 \x01(\x04R\x0flastIndexOffset\x12\x1f\n" +
|
|
"\vtotal_count\x18\x03 \x01(\x04R\n" +
|
|
"totalCount\"\xb5\x03\n" +
|
|
"\x06Action\x12\x1d\n" +
|
|
"\n" +
|
|
"actor_name\x18\x01 \x01(\tR\tactorName\x12!\n" +
|
|
"\ffeature_name\x18\x02 \x01(\tR\vfeatureName\x12\x18\n" +
|
|
"\atrigger\x18\x03 \x01(\tR\atrigger\x12\x16\n" +
|
|
"\x06intent\x18\x04 \x01(\tR\x06intent\x120\n" +
|
|
"\x14structured_json_data\x18\x05 \x01(\tR\x12structuredJsonData\x12\x1d\n" +
|
|
"\n" +
|
|
"rpc_method\x18\x06 \x01(\tR\trpcMethod\x12&\n" +
|
|
"\x0frpc_params_json\x18\a \x01(\tR\rrpcParamsJson\x12 \n" +
|
|
"\ttimestamp\x18\b \x01(\x04B\x020\x01R\ttimestamp\x12)\n" +
|
|
"\x05state\x18\t \x01(\x0e2\x13.litrpc.ActionStateR\x05state\x12!\n" +
|
|
"\ferror_reason\x18\n" +
|
|
" \x01(\tR\verrorReason\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\v \x01(\fR\tsessionId\x12/\n" +
|
|
"\x13macaroon_identifier\x18\f \x01(\fR\x12macaroonIdentifier*T\n" +
|
|
"\vActionState\x12\x11\n" +
|
|
"\rSTATE_UNKNOWN\x10\x00\x12\x11\n" +
|
|
"\rSTATE_PENDING\x10\x01\x12\x0e\n" +
|
|
"\n" +
|
|
"STATE_DONE\x10\x02\x12\x0f\n" +
|
|
"\vSTATE_ERROR\x10\x032\xb5\x01\n" +
|
|
"\bFirewall\x12F\n" +
|
|
"\vListActions\x12\x1a.litrpc.ListActionsRequest\x1a\x1b.litrpc.ListActionsResponse\x12a\n" +
|
|
"\x14PrivacyMapConversion\x12#.litrpc.PrivacyMapConversionRequest\x1a$.litrpc.PrivacyMapConversionResponseB4Z2github.com/lightninglabs/lightning-terminal/litrpcb\x06proto3"
|
|
|
|
var (
|
|
file_firewall_proto_rawDescOnce sync.Once
|
|
file_firewall_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_firewall_proto_rawDescGZIP() []byte {
|
|
file_firewall_proto_rawDescOnce.Do(func() {
|
|
file_firewall_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_firewall_proto_rawDesc), len(file_firewall_proto_rawDesc)))
|
|
})
|
|
return file_firewall_proto_rawDescData
|
|
}
|
|
|
|
var file_firewall_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_firewall_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_firewall_proto_goTypes = []any{
|
|
(ActionState)(0), // 0: litrpc.ActionState
|
|
(*PrivacyMapConversionRequest)(nil), // 1: litrpc.PrivacyMapConversionRequest
|
|
(*PrivacyMapConversionResponse)(nil), // 2: litrpc.PrivacyMapConversionResponse
|
|
(*ListActionsRequest)(nil), // 3: litrpc.ListActionsRequest
|
|
(*ListActionsResponse)(nil), // 4: litrpc.ListActionsResponse
|
|
(*Action)(nil), // 5: litrpc.Action
|
|
}
|
|
var file_firewall_proto_depIdxs = []int32{
|
|
0, // 0: litrpc.ListActionsRequest.state:type_name -> litrpc.ActionState
|
|
5, // 1: litrpc.ListActionsResponse.actions:type_name -> litrpc.Action
|
|
0, // 2: litrpc.Action.state:type_name -> litrpc.ActionState
|
|
3, // 3: litrpc.Firewall.ListActions:input_type -> litrpc.ListActionsRequest
|
|
1, // 4: litrpc.Firewall.PrivacyMapConversion:input_type -> litrpc.PrivacyMapConversionRequest
|
|
4, // 5: litrpc.Firewall.ListActions:output_type -> litrpc.ListActionsResponse
|
|
2, // 6: litrpc.Firewall.PrivacyMapConversion:output_type -> litrpc.PrivacyMapConversionResponse
|
|
5, // [5:7] is the sub-list for method output_type
|
|
3, // [3:5] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_firewall_proto_init() }
|
|
func file_firewall_proto_init() {
|
|
if File_firewall_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_firewall_proto_rawDesc), len(file_firewall_proto_rawDesc)),
|
|
NumEnums: 1,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_firewall_proto_goTypes,
|
|
DependencyIndexes: file_firewall_proto_depIdxs,
|
|
EnumInfos: file_firewall_proto_enumTypes,
|
|
MessageInfos: file_firewall_proto_msgTypes,
|
|
}.Build()
|
|
File_firewall_proto = out.File
|
|
file_firewall_proto_goTypes = nil
|
|
file_firewall_proto_depIdxs = nil
|
|
}
|