Regenerate the connector SDK from the host contract, which adds links_accounts and the LinkURL RPC. A connector that implements Linker declares it.
2131 lines
66 KiB
Go
2131 lines
66 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: connector/v1/connector.proto
|
|
|
|
package connectorv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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 SettingType int32
|
|
|
|
const (
|
|
SettingType_SETTING_TYPE_UNSPECIFIED SettingType = 0
|
|
SettingType_SETTING_TYPE_STRING SettingType = 1
|
|
SettingType_SETTING_TYPE_NUMBER SettingType = 2
|
|
SettingType_SETTING_TYPE_BOOLEAN SettingType = 3
|
|
SettingType_SETTING_TYPE_DURATION SettingType = 4
|
|
SettingType_SETTING_TYPE_LIST SettingType = 5
|
|
SettingType_SETTING_TYPE_SELECT SettingType = 6
|
|
SettingType_SETTING_TYPE_TEXT SettingType = 7
|
|
)
|
|
|
|
// Enum value maps for SettingType.
|
|
var (
|
|
SettingType_name = map[int32]string{
|
|
0: "SETTING_TYPE_UNSPECIFIED",
|
|
1: "SETTING_TYPE_STRING",
|
|
2: "SETTING_TYPE_NUMBER",
|
|
3: "SETTING_TYPE_BOOLEAN",
|
|
4: "SETTING_TYPE_DURATION",
|
|
5: "SETTING_TYPE_LIST",
|
|
6: "SETTING_TYPE_SELECT",
|
|
7: "SETTING_TYPE_TEXT",
|
|
}
|
|
SettingType_value = map[string]int32{
|
|
"SETTING_TYPE_UNSPECIFIED": 0,
|
|
"SETTING_TYPE_STRING": 1,
|
|
"SETTING_TYPE_NUMBER": 2,
|
|
"SETTING_TYPE_BOOLEAN": 3,
|
|
"SETTING_TYPE_DURATION": 4,
|
|
"SETTING_TYPE_LIST": 5,
|
|
"SETTING_TYPE_SELECT": 6,
|
|
"SETTING_TYPE_TEXT": 7,
|
|
}
|
|
)
|
|
|
|
func (x SettingType) Enum() *SettingType {
|
|
p := new(SettingType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SettingType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SettingType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_connector_v1_connector_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SettingType) Type() protoreflect.EnumType {
|
|
return &file_connector_v1_connector_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SettingType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SettingType.Descriptor instead.
|
|
func (SettingType) EnumDescriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Reversibility int32
|
|
|
|
const (
|
|
Reversibility_REVERSIBILITY_UNSPECIFIED Reversibility = 0
|
|
// REVERSIBILITY_UNDONE_AUTOMATICALLY can be reversed without help.
|
|
Reversibility_REVERSIBILITY_UNDONE_AUTOMATICALLY Reversibility = 1
|
|
// REVERSIBILITY_RECOVERABLE can be recovered from a snapshot, or touches
|
|
// only a disposable target.
|
|
Reversibility_REVERSIBILITY_RECOVERABLE Reversibility = 2
|
|
Reversibility_REVERSIBILITY_IRREVERSIBLE Reversibility = 3
|
|
)
|
|
|
|
// Enum value maps for Reversibility.
|
|
var (
|
|
Reversibility_name = map[int32]string{
|
|
0: "REVERSIBILITY_UNSPECIFIED",
|
|
1: "REVERSIBILITY_UNDONE_AUTOMATICALLY",
|
|
2: "REVERSIBILITY_RECOVERABLE",
|
|
3: "REVERSIBILITY_IRREVERSIBLE",
|
|
}
|
|
Reversibility_value = map[string]int32{
|
|
"REVERSIBILITY_UNSPECIFIED": 0,
|
|
"REVERSIBILITY_UNDONE_AUTOMATICALLY": 1,
|
|
"REVERSIBILITY_RECOVERABLE": 2,
|
|
"REVERSIBILITY_IRREVERSIBLE": 3,
|
|
}
|
|
)
|
|
|
|
func (x Reversibility) Enum() *Reversibility {
|
|
p := new(Reversibility)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Reversibility) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Reversibility) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_connector_v1_connector_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Reversibility) Type() protoreflect.EnumType {
|
|
return &file_connector_v1_connector_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Reversibility) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Reversibility.Descriptor instead.
|
|
func (Reversibility) EnumDescriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ConfigureRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Settings map[string]string `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Secrets map[string]string `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureRequest) Reset() {
|
|
*x = ConfigureRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfigureRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_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 ConfigureRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ConfigureRequest) GetSettings() map[string]string {
|
|
if x != nil {
|
|
return x.Settings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureRequest) GetSecrets() map[string]string {
|
|
if x != nil {
|
|
return x.Secrets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConfigureResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureResponse) Reset() {
|
|
*x = ConfigureResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_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 ConfigureResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type DescribeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DescribeRequest) Reset() {
|
|
*x = DescribeRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DescribeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DescribeRequest) ProtoMessage() {}
|
|
|
|
func (x *DescribeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_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 DescribeRequest.ProtoReflect.Descriptor instead.
|
|
func (*DescribeRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type DescribeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// contract is the contract version the connector speaks, "v1".
|
|
Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
|
|
Events []*EventType `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
|
|
Actions []*ActionType `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
|
|
Lookups []*LookupType `protobuf:"bytes,4,rep,name=lookups,proto3" json:"lookups,omitempty"`
|
|
Deliveries []*DeliveryType `protobuf:"bytes,5,rep,name=deliveries,proto3" json:"deliveries,omitempty"`
|
|
// listens says the connector serves Listen.
|
|
Listens bool `protobuf:"varint,6,opt,name=listens,proto3" json:"listens,omitempty"`
|
|
// target_facts says the connector serves TargetFacts.
|
|
TargetFacts bool `protobuf:"varint,7,opt,name=target_facts,json=targetFacts,proto3" json:"target_facts,omitempty"`
|
|
// settings are the values an operator enters for the connector to run,
|
|
// which the dashboard renders as a form.
|
|
Settings []*Setting `protobuf:"bytes,8,rep,name=settings,proto3" json:"settings,omitempty"`
|
|
// version is the connector's own release.
|
|
Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
|
|
// links_accounts says the connector serves LinkURL and emits account.link
|
|
// events, so a person can link their channel identity to an account.
|
|
LinksAccounts bool `protobuf:"varint,10,opt,name=links_accounts,json=linksAccounts,proto3" json:"links_accounts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DescribeResponse) Reset() {
|
|
*x = DescribeResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DescribeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DescribeResponse) ProtoMessage() {}
|
|
|
|
func (x *DescribeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_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 DescribeResponse.ProtoReflect.Descriptor instead.
|
|
func (*DescribeResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DescribeResponse) GetContract() string {
|
|
if x != nil {
|
|
return x.Contract
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DescribeResponse) GetEvents() []*EventType {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DescribeResponse) GetActions() []*ActionType {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DescribeResponse) GetLookups() []*LookupType {
|
|
if x != nil {
|
|
return x.Lookups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DescribeResponse) GetDeliveries() []*DeliveryType {
|
|
if x != nil {
|
|
return x.Deliveries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DescribeResponse) GetListens() bool {
|
|
if x != nil {
|
|
return x.Listens
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DescribeResponse) GetTargetFacts() bool {
|
|
if x != nil {
|
|
return x.TargetFacts
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DescribeResponse) GetSettings() []*Setting {
|
|
if x != nil {
|
|
return x.Settings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DescribeResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DescribeResponse) GetLinksAccounts() bool {
|
|
if x != nil {
|
|
return x.LinksAccounts
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Setting is one value an operator enters for an extension to run.
|
|
type Setting struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// secret says the value is a secret reference, never the secret.
|
|
Secret bool `protobuf:"varint,4,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
|
|
// type decides how the value is entered and checked; unspecified is a
|
|
// string.
|
|
Type SettingType `protobuf:"varint,6,opt,name=type,proto3,enum=connector.v1.SettingType" json:"type,omitempty"`
|
|
// options are the allowed values of a select setting.
|
|
Options []string `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Setting) Reset() {
|
|
*x = Setting{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Setting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Setting) ProtoMessage() {}
|
|
|
|
func (x *Setting) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_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 Setting.ProtoReflect.Descriptor instead.
|
|
func (*Setting) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Setting) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Setting) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Setting) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Setting) GetSecret() bool {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Setting) GetRequired() bool {
|
|
if x != nil {
|
|
return x.Required
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Setting) GetType() SettingType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return SettingType_SETTING_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Setting) GetOptions() []string {
|
|
if x != nil {
|
|
return x.Options
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EventType struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
// schema is the JSON Schema of the event's fields.
|
|
Schema []byte `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EventType) Reset() {
|
|
*x = EventType{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EventType) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EventType) ProtoMessage() {}
|
|
|
|
func (x *EventType) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[5]
|
|
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 EventType.ProtoReflect.Descriptor instead.
|
|
func (*EventType) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *EventType) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventType) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventType) GetSchema() []byte {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ActionType struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
// input_schema is the JSON Schema of the action's input.
|
|
InputSchema []byte `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
|
|
// effect is the static declaration; Resolve refines it per action.
|
|
Effect *Effect `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
|
|
// idempotent declares that the connector honours idempotency keys. A
|
|
// connector that declares external effects without it has its actions
|
|
// refused.
|
|
Idempotent bool `protobuf:"varint,5,opt,name=idempotent,proto3" json:"idempotent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ActionType) Reset() {
|
|
*x = ActionType{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ActionType) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActionType) ProtoMessage() {}
|
|
|
|
func (x *ActionType) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[6]
|
|
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 ActionType.ProtoReflect.Descriptor instead.
|
|
func (*ActionType) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ActionType) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActionType) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActionType) GetInputSchema() []byte {
|
|
if x != nil {
|
|
return x.InputSchema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionType) GetEffect() *Effect {
|
|
if x != nil {
|
|
return x.Effect
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionType) GetIdempotent() bool {
|
|
if x != nil {
|
|
return x.Idempotent
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeliveryType struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
InputSchema []byte `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeliveryType) Reset() {
|
|
*x = DeliveryType{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeliveryType) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeliveryType) ProtoMessage() {}
|
|
|
|
func (x *DeliveryType) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[7]
|
|
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 DeliveryType.ProtoReflect.Descriptor instead.
|
|
func (*DeliveryType) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DeliveryType) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeliveryType) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeliveryType) GetInputSchema() []byte {
|
|
if x != nil {
|
|
return x.InputSchema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupType struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
InputSchema []byte `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
|
|
// effect declares the lookup's effects. Only the effects_declared,
|
|
// privilege_change and secret_access fields apply to a lookup.
|
|
Effect *Effect `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupType) Reset() {
|
|
*x = LookupType{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupType) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupType) ProtoMessage() {}
|
|
|
|
func (x *LookupType) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[8]
|
|
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 LookupType.ProtoReflect.Descriptor instead.
|
|
func (*LookupType) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *LookupType) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LookupType) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LookupType) GetInputSchema() []byte {
|
|
if x != nil {
|
|
return x.InputSchema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupType) GetEffect() *Effect {
|
|
if x != nil {
|
|
return x.Effect
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Effect struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReadOnly bool `protobuf:"varint,1,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
|
Reversibility Reversibility `protobuf:"varint,2,opt,name=reversibility,proto3,enum=connector.v1.Reversibility" json:"reversibility,omitempty"`
|
|
// summary says in plain words what the action does, for example "delete
|
|
// files older than 24h under /tmp/runner".
|
|
Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
|
|
// effects_declared says the connector stated this action's privilege_change
|
|
// and secret_access explicitly. With it false the two flags mean nothing: an
|
|
// action that never stated its effects is prohibited in chat, which is not
|
|
// the same as an action that stated it has none.
|
|
EffectsDeclared bool `protobuf:"varint,4,opt,name=effects_declared,json=effectsDeclared,proto3" json:"effects_declared,omitempty"`
|
|
// privilege_change says the action changes who may do what: it grants
|
|
// roles, changes identities or policies, or changes control-plane settings.
|
|
PrivilegeChange bool `protobuf:"varint,5,opt,name=privilege_change,json=privilegeChange,proto3" json:"privilege_change,omitempty"`
|
|
// secret_access says the action reads, exports or reveals a secret.
|
|
SecretAccess bool `protobuf:"varint,6,opt,name=secret_access,json=secretAccess,proto3" json:"secret_access,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Effect) Reset() {
|
|
*x = Effect{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Effect) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Effect) ProtoMessage() {}
|
|
|
|
func (x *Effect) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[9]
|
|
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 Effect.ProtoReflect.Descriptor instead.
|
|
func (*Effect) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *Effect) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Effect) GetReversibility() Reversibility {
|
|
if x != nil {
|
|
return x.Reversibility
|
|
}
|
|
return Reversibility_REVERSIBILITY_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Effect) GetSummary() string {
|
|
if x != nil {
|
|
return x.Summary
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Effect) GetEffectsDeclared() bool {
|
|
if x != nil {
|
|
return x.EffectsDeclared
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Effect) GetPrivilegeChange() bool {
|
|
if x != nil {
|
|
return x.PrivilegeChange
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Effect) GetSecretAccess() bool {
|
|
if x != nil {
|
|
return x.SecretAccess
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Target is what an action acts on. Connector, action, kind and environment
|
|
// together are the action class.
|
|
type Target struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Environment string `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
|
|
Disposable bool `protobuf:"varint,4,opt,name=disposable,proto3" json:"disposable,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Target) Reset() {
|
|
*x = Target{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Target) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Target) ProtoMessage() {}
|
|
|
|
func (x *Target) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[10]
|
|
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 Target.ProtoReflect.Descriptor instead.
|
|
func (*Target) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Target) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Target) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Target) GetEnvironment() string {
|
|
if x != nil {
|
|
return x.Environment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Target) GetDisposable() bool {
|
|
if x != nil {
|
|
return x.Disposable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ParseRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
Headers map[string]string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParseRequest) Reset() {
|
|
*x = ParseRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParseRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParseRequest) ProtoMessage() {}
|
|
|
|
func (x *ParseRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[11]
|
|
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 ParseRequest.ProtoReflect.Descriptor instead.
|
|
func (*ParseRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ParseRequest) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ParseRequest) GetHeaders() map[string]string {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ParseResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ParseResponse) Reset() {
|
|
*x = ParseResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ParseResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ParseResponse) ProtoMessage() {}
|
|
|
|
func (x *ParseResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[12]
|
|
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 ParseResponse.ProtoReflect.Descriptor instead.
|
|
func (*ParseResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ParseResponse) GetEvents() []*Event {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Event struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
// source_event_id is unique per source; a re-delivery repeats it.
|
|
SourceEventId string `protobuf:"bytes,2,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
|
|
// fields is the event's JSON, matching its type's schema.
|
|
Fields []byte `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"`
|
|
// link_key links this event to an earlier one it resolves or follows, such
|
|
// as Alertmanager's fingerprint.
|
|
LinkKey string `protobuf:"bytes,4,opt,name=link_key,json=linkKey,proto3" json:"link_key,omitempty"`
|
|
OccurredAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Event) Reset() {
|
|
*x = Event{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Event) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Event) ProtoMessage() {}
|
|
|
|
func (x *Event) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[13]
|
|
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 Event.ProtoReflect.Descriptor instead.
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *Event) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Event) GetSourceEventId() string {
|
|
if x != nil {
|
|
return x.SourceEventId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Event) GetFields() []byte {
|
|
if x != nil {
|
|
return x.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetLinkKey() string {
|
|
if x != nil {
|
|
return x.LinkKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Event) GetOccurredAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.OccurredAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResolveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
|
|
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveRequest) Reset() {
|
|
*x = ResolveRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveRequest) ProtoMessage() {}
|
|
|
|
func (x *ResolveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[14]
|
|
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 ResolveRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResolveRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ResolveRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ResolveRequest) GetInput() []byte {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResolveResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
|
Effect *Effect `protobuf:"bytes,2,opt,name=effect,proto3" json:"effect,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveResponse) Reset() {
|
|
*x = ResolveResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveResponse) ProtoMessage() {}
|
|
|
|
func (x *ResolveResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[15]
|
|
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 ResolveResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResolveResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ResolveResponse) GetTarget() *Target {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ResolveResponse) GetEffect() *Effect {
|
|
if x != nil {
|
|
return x.Effect
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InvokeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
|
|
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
|
|
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
|
|
// digest is the host's digest of the judged action.
|
|
Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InvokeRequest) Reset() {
|
|
*x = InvokeRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InvokeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InvokeRequest) ProtoMessage() {}
|
|
|
|
func (x *InvokeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[16]
|
|
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 InvokeRequest.ProtoReflect.Descriptor instead.
|
|
func (*InvokeRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *InvokeRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InvokeRequest) GetInput() []byte {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InvokeRequest) GetIdempotencyKey() string {
|
|
if x != nil {
|
|
return x.IdempotencyKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InvokeRequest) GetDigest() string {
|
|
if x != nil {
|
|
return x.Digest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InvokeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
|
|
// executed_digest is the connector's digest of what it ran. A mismatch is a
|
|
// finding and tightens the action class.
|
|
ExecutedDigest string `protobuf:"bytes,2,opt,name=executed_digest,json=executedDigest,proto3" json:"executed_digest,omitempty"`
|
|
// outcome_unknown says the connector can't confirm what its effect did.
|
|
OutcomeUnknown bool `protobuf:"varint,3,opt,name=outcome_unknown,json=outcomeUnknown,proto3" json:"outcome_unknown,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InvokeResponse) Reset() {
|
|
*x = InvokeResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InvokeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InvokeResponse) ProtoMessage() {}
|
|
|
|
func (x *InvokeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[17]
|
|
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 InvokeResponse.ProtoReflect.Descriptor instead.
|
|
func (*InvokeResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *InvokeResponse) GetOutput() []byte {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InvokeResponse) GetExecutedDigest() string {
|
|
if x != nil {
|
|
return x.ExecutedDigest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InvokeResponse) GetOutcomeUnknown() bool {
|
|
if x != nil {
|
|
return x.OutcomeUnknown
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LookupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lookup string `protobuf:"bytes,1,opt,name=lookup,proto3" json:"lookup,omitempty"`
|
|
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupRequest) Reset() {
|
|
*x = LookupRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[18]
|
|
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 LookupRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *LookupRequest) GetLookup() string {
|
|
if x != nil {
|
|
return x.Lookup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LookupRequest) GetInput() []byte {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupResponse) Reset() {
|
|
*x = LookupResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupResponse) ProtoMessage() {}
|
|
|
|
func (x *LookupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[19]
|
|
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 LookupResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *LookupResponse) GetOutput() []byte {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeliverRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Delivery string `protobuf:"bytes,1,opt,name=delivery,proto3" json:"delivery,omitempty"`
|
|
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
|
|
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeliverRequest) Reset() {
|
|
*x = DeliverRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeliverRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeliverRequest) ProtoMessage() {}
|
|
|
|
func (x *DeliverRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[20]
|
|
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 DeliverRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeliverRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *DeliverRequest) GetDelivery() string {
|
|
if x != nil {
|
|
return x.Delivery
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeliverRequest) GetInput() []byte {
|
|
if x != nil {
|
|
return x.Input
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeliverRequest) GetIdempotencyKey() string {
|
|
if x != nil {
|
|
return x.IdempotencyKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeliverResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// external_id is what the service called what was delivered, for linking.
|
|
ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeliverResponse) Reset() {
|
|
*x = DeliverResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeliverResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeliverResponse) ProtoMessage() {}
|
|
|
|
func (x *DeliverResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[21]
|
|
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 DeliverResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeliverResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *DeliverResponse) GetExternalId() string {
|
|
if x != nil {
|
|
return x.ExternalId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TargetFactsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TargetFactsRequest) Reset() {
|
|
*x = TargetFactsRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TargetFactsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TargetFactsRequest) ProtoMessage() {}
|
|
|
|
func (x *TargetFactsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[22]
|
|
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 TargetFactsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TargetFactsRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *TargetFactsRequest) GetTarget() *Target {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TargetFactsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// found is false when the connector has no record of the target.
|
|
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
|
|
// owner_identity is who answers for the target, as an identity on a channel
|
|
// or system, such as "servicenow:jdoe" or "email:jo@example.com".
|
|
OwnerIdentity string `protobuf:"bytes,2,opt,name=owner_identity,json=ownerIdentity,proto3" json:"owner_identity,omitempty"`
|
|
// data_class names what the target holds, such as "customer" or "temp".
|
|
DataClass string `protobuf:"bytes,3,opt,name=data_class,json=dataClass,proto3" json:"data_class,omitempty"`
|
|
// count is how many things the target stands for, zero when unknown.
|
|
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TargetFactsResponse) Reset() {
|
|
*x = TargetFactsResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TargetFactsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TargetFactsResponse) ProtoMessage() {}
|
|
|
|
func (x *TargetFactsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[23]
|
|
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 TargetFactsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TargetFactsResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *TargetFactsResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *TargetFactsResponse) GetOwnerIdentity() string {
|
|
if x != nil {
|
|
return x.OwnerIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TargetFactsResponse) GetDataClass() string {
|
|
if x != nil {
|
|
return x.DataClass
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TargetFactsResponse) GetCount() int32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// cursor is the last cursor the host stored, empty from the start.
|
|
Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListenRequest) Reset() {
|
|
*x = ListenRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenRequest) ProtoMessage() {}
|
|
|
|
func (x *ListenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[24]
|
|
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 ListenRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListenRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *ListenRequest) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
|
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListenResponse) Reset() {
|
|
*x = ListenResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenResponse) ProtoMessage() {}
|
|
|
|
func (x *ListenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[25]
|
|
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 ListenResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListenResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ListenResponse) GetEvents() []*Event {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListenResponse) GetCursor() string {
|
|
if x != nil {
|
|
return x.Cursor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LinkURLRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// code is the single-use link code the person sends to the connector.
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkURLRequest) Reset() {
|
|
*x = LinkURLRequest{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkURLRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkURLRequest) ProtoMessage() {}
|
|
|
|
func (x *LinkURLRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[26]
|
|
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 LinkURLRequest.ProtoReflect.Descriptor instead.
|
|
func (*LinkURLRequest) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *LinkURLRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LinkURLResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// url opens the connector's channel with the code attached.
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkURLResponse) Reset() {
|
|
*x = LinkURLResponse{}
|
|
mi := &file_connector_v1_connector_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkURLResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkURLResponse) ProtoMessage() {}
|
|
|
|
func (x *LinkURLResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_connector_v1_connector_proto_msgTypes[27]
|
|
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 LinkURLResponse.ProtoReflect.Descriptor instead.
|
|
func (*LinkURLResponse) Descriptor() ([]byte, []int) {
|
|
return file_connector_v1_connector_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *LinkURLResponse) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_connector_v1_connector_proto protoreflect.FileDescriptor
|
|
|
|
const file_connector_v1_connector_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1cconnector/v1/connector.proto\x12\fconnector.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x02\n" +
|
|
"\x10ConfigureRequest\x12H\n" +
|
|
"\bsettings\x18\x01 \x03(\v2,.connector.v1.ConfigureRequest.SettingsEntryR\bsettings\x12E\n" +
|
|
"\asecrets\x18\x02 \x03(\v2+.connector.v1.ConfigureRequest.SecretsEntryR\asecrets\x1a;\n" +
|
|
"\rSettingsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a:\n" +
|
|
"\fSecretsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x13\n" +
|
|
"\x11ConfigureResponse\"\x11\n" +
|
|
"\x0fDescribeRequest\"\xb4\x03\n" +
|
|
"\x10DescribeResponse\x12\x1a\n" +
|
|
"\bcontract\x18\x01 \x01(\tR\bcontract\x12/\n" +
|
|
"\x06events\x18\x02 \x03(\v2\x17.connector.v1.EventTypeR\x06events\x122\n" +
|
|
"\aactions\x18\x03 \x03(\v2\x18.connector.v1.ActionTypeR\aactions\x122\n" +
|
|
"\alookups\x18\x04 \x03(\v2\x18.connector.v1.LookupTypeR\alookups\x12:\n" +
|
|
"\n" +
|
|
"deliveries\x18\x05 \x03(\v2\x1a.connector.v1.DeliveryTypeR\n" +
|
|
"deliveries\x12\x18\n" +
|
|
"\alistens\x18\x06 \x01(\bR\alistens\x12!\n" +
|
|
"\ftarget_facts\x18\a \x01(\bR\vtargetFacts\x121\n" +
|
|
"\bsettings\x18\b \x03(\v2\x15.connector.v1.SettingR\bsettings\x12\x18\n" +
|
|
"\aversion\x18\t \x01(\tR\aversion\x12%\n" +
|
|
"\x0elinks_accounts\x18\n" +
|
|
" \x01(\bR\rlinksAccounts\"\xd0\x01\n" +
|
|
"\aSetting\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05label\x18\x02 \x01(\tR\x05label\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06secret\x18\x04 \x01(\bR\x06secret\x12\x1a\n" +
|
|
"\brequired\x18\x05 \x01(\bR\brequired\x12-\n" +
|
|
"\x04type\x18\x06 \x01(\x0e2\x19.connector.v1.SettingTypeR\x04type\x12\x18\n" +
|
|
"\aoptions\x18\a \x03(\tR\aoptions\"Y\n" +
|
|
"\tEventType\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x16\n" +
|
|
"\x06schema\x18\x03 \x01(\fR\x06schema\"\xb3\x01\n" +
|
|
"\n" +
|
|
"ActionType\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12!\n" +
|
|
"\finput_schema\x18\x03 \x01(\fR\vinputSchema\x12,\n" +
|
|
"\x06effect\x18\x04 \x01(\v2\x14.connector.v1.EffectR\x06effect\x12\x1e\n" +
|
|
"\n" +
|
|
"idempotent\x18\x05 \x01(\bR\n" +
|
|
"idempotent\"g\n" +
|
|
"\fDeliveryType\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12!\n" +
|
|
"\finput_schema\x18\x03 \x01(\fR\vinputSchema\"\x93\x01\n" +
|
|
"\n" +
|
|
"LookupType\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12!\n" +
|
|
"\finput_schema\x18\x03 \x01(\fR\vinputSchema\x12,\n" +
|
|
"\x06effect\x18\x04 \x01(\v2\x14.connector.v1.EffectR\x06effect\"\xfd\x01\n" +
|
|
"\x06Effect\x12\x1b\n" +
|
|
"\tread_only\x18\x01 \x01(\bR\breadOnly\x12A\n" +
|
|
"\rreversibility\x18\x02 \x01(\x0e2\x1b.connector.v1.ReversibilityR\rreversibility\x12\x18\n" +
|
|
"\asummary\x18\x03 \x01(\tR\asummary\x12)\n" +
|
|
"\x10effects_declared\x18\x04 \x01(\bR\x0feffectsDeclared\x12)\n" +
|
|
"\x10privilege_change\x18\x05 \x01(\bR\x0fprivilegeChange\x12#\n" +
|
|
"\rsecret_access\x18\x06 \x01(\bR\fsecretAccess\"n\n" +
|
|
"\x06Target\x12\x12\n" +
|
|
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\tR\x02id\x12 \n" +
|
|
"\venvironment\x18\x03 \x01(\tR\venvironment\x12\x1e\n" +
|
|
"\n" +
|
|
"disposable\x18\x04 \x01(\bR\n" +
|
|
"disposable\"\xa1\x01\n" +
|
|
"\fParseRequest\x12\x12\n" +
|
|
"\x04body\x18\x01 \x01(\fR\x04body\x12A\n" +
|
|
"\aheaders\x18\x02 \x03(\v2'.connector.v1.ParseRequest.HeadersEntryR\aheaders\x1a:\n" +
|
|
"\fHeadersEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"<\n" +
|
|
"\rParseResponse\x12+\n" +
|
|
"\x06events\x18\x01 \x03(\v2\x13.connector.v1.EventR\x06events\"\xb3\x01\n" +
|
|
"\x05Event\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x12&\n" +
|
|
"\x0fsource_event_id\x18\x02 \x01(\tR\rsourceEventId\x12\x16\n" +
|
|
"\x06fields\x18\x03 \x01(\fR\x06fields\x12\x19\n" +
|
|
"\blink_key\x18\x04 \x01(\tR\alinkKey\x12;\n" +
|
|
"\voccurred_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"occurredAt\">\n" +
|
|
"\x0eResolveRequest\x12\x16\n" +
|
|
"\x06action\x18\x01 \x01(\tR\x06action\x12\x14\n" +
|
|
"\x05input\x18\x02 \x01(\fR\x05input\"m\n" +
|
|
"\x0fResolveResponse\x12,\n" +
|
|
"\x06target\x18\x01 \x01(\v2\x14.connector.v1.TargetR\x06target\x12,\n" +
|
|
"\x06effect\x18\x02 \x01(\v2\x14.connector.v1.EffectR\x06effect\"~\n" +
|
|
"\rInvokeRequest\x12\x16\n" +
|
|
"\x06action\x18\x01 \x01(\tR\x06action\x12\x14\n" +
|
|
"\x05input\x18\x02 \x01(\fR\x05input\x12'\n" +
|
|
"\x0fidempotency_key\x18\x03 \x01(\tR\x0eidempotencyKey\x12\x16\n" +
|
|
"\x06digest\x18\x04 \x01(\tR\x06digest\"z\n" +
|
|
"\x0eInvokeResponse\x12\x16\n" +
|
|
"\x06output\x18\x01 \x01(\fR\x06output\x12'\n" +
|
|
"\x0fexecuted_digest\x18\x02 \x01(\tR\x0eexecutedDigest\x12'\n" +
|
|
"\x0foutcome_unknown\x18\x03 \x01(\bR\x0eoutcomeUnknown\"=\n" +
|
|
"\rLookupRequest\x12\x16\n" +
|
|
"\x06lookup\x18\x01 \x01(\tR\x06lookup\x12\x14\n" +
|
|
"\x05input\x18\x02 \x01(\fR\x05input\">\n" +
|
|
"\x0eLookupResponse\x12\x16\n" +
|
|
"\x06output\x18\x01 \x01(\fR\x06output\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"k\n" +
|
|
"\x0eDeliverRequest\x12\x1a\n" +
|
|
"\bdelivery\x18\x01 \x01(\tR\bdelivery\x12\x14\n" +
|
|
"\x05input\x18\x02 \x01(\fR\x05input\x12'\n" +
|
|
"\x0fidempotency_key\x18\x03 \x01(\tR\x0eidempotencyKey\"2\n" +
|
|
"\x0fDeliverResponse\x12\x1f\n" +
|
|
"\vexternal_id\x18\x01 \x01(\tR\n" +
|
|
"externalId\"B\n" +
|
|
"\x12TargetFactsRequest\x12,\n" +
|
|
"\x06target\x18\x01 \x01(\v2\x14.connector.v1.TargetR\x06target\"\x87\x01\n" +
|
|
"\x13TargetFactsResponse\x12\x14\n" +
|
|
"\x05found\x18\x01 \x01(\bR\x05found\x12%\n" +
|
|
"\x0eowner_identity\x18\x02 \x01(\tR\rownerIdentity\x12\x1d\n" +
|
|
"\n" +
|
|
"data_class\x18\x03 \x01(\tR\tdataClass\x12\x14\n" +
|
|
"\x05count\x18\x04 \x01(\x05R\x05count\"'\n" +
|
|
"\rListenRequest\x12\x16\n" +
|
|
"\x06cursor\x18\x01 \x01(\tR\x06cursor\"U\n" +
|
|
"\x0eListenResponse\x12+\n" +
|
|
"\x06events\x18\x01 \x03(\v2\x13.connector.v1.EventR\x06events\x12\x16\n" +
|
|
"\x06cursor\x18\x02 \x01(\tR\x06cursor\"$\n" +
|
|
"\x0eLinkURLRequest\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\"#\n" +
|
|
"\x0fLinkURLResponse\x12\x10\n" +
|
|
"\x03url\x18\x01 \x01(\tR\x03url*\xd9\x01\n" +
|
|
"\vSettingType\x12\x1c\n" +
|
|
"\x18SETTING_TYPE_UNSPECIFIED\x10\x00\x12\x17\n" +
|
|
"\x13SETTING_TYPE_STRING\x10\x01\x12\x17\n" +
|
|
"\x13SETTING_TYPE_NUMBER\x10\x02\x12\x18\n" +
|
|
"\x14SETTING_TYPE_BOOLEAN\x10\x03\x12\x19\n" +
|
|
"\x15SETTING_TYPE_DURATION\x10\x04\x12\x15\n" +
|
|
"\x11SETTING_TYPE_LIST\x10\x05\x12\x17\n" +
|
|
"\x13SETTING_TYPE_SELECT\x10\x06\x12\x15\n" +
|
|
"\x11SETTING_TYPE_TEXT\x10\a*\x95\x01\n" +
|
|
"\rReversibility\x12\x1d\n" +
|
|
"\x19REVERSIBILITY_UNSPECIFIED\x10\x00\x12&\n" +
|
|
"\"REVERSIBILITY_UNDONE_AUTOMATICALLY\x10\x01\x12\x1d\n" +
|
|
"\x19REVERSIBILITY_RECOVERABLE\x10\x02\x12\x1e\n" +
|
|
"\x1aREVERSIBILITY_IRREVERSIBLE\x10\x032\xea\x05\n" +
|
|
"\x10ConnectorService\x12L\n" +
|
|
"\tConfigure\x12\x1e.connector.v1.ConfigureRequest\x1a\x1f.connector.v1.ConfigureResponse\x12I\n" +
|
|
"\bDescribe\x12\x1d.connector.v1.DescribeRequest\x1a\x1e.connector.v1.DescribeResponse\x12@\n" +
|
|
"\x05Parse\x12\x1a.connector.v1.ParseRequest\x1a\x1b.connector.v1.ParseResponse\x12F\n" +
|
|
"\aResolve\x12\x1c.connector.v1.ResolveRequest\x1a\x1d.connector.v1.ResolveResponse\x12C\n" +
|
|
"\x06Invoke\x12\x1b.connector.v1.InvokeRequest\x1a\x1c.connector.v1.InvokeResponse\x12C\n" +
|
|
"\x06Lookup\x12\x1b.connector.v1.LookupRequest\x1a\x1c.connector.v1.LookupResponse\x12F\n" +
|
|
"\aDeliver\x12\x1c.connector.v1.DeliverRequest\x1a\x1d.connector.v1.DeliverResponse\x12E\n" +
|
|
"\x06Listen\x12\x1b.connector.v1.ListenRequest\x1a\x1c.connector.v1.ListenResponse0\x01\x12R\n" +
|
|
"\vTargetFacts\x12 .connector.v1.TargetFactsRequest\x1a!.connector.v1.TargetFactsResponse\x12F\n" +
|
|
"\aLinkURL\x12\x1c.connector.v1.LinkURLRequest\x1a\x1d.connector.v1.LinkURLResponseB\xb5\x01\n" +
|
|
"\x10com.connector.v1B\x0eConnectorProtoP\x01Z@github.com/samcharles93/archipelago/sdk/connector/v1;connectorv1\xa2\x02\x03CXX\xaa\x02\fConnector.V1\xca\x02\fConnector\\V1\xe2\x02\x18Connector\\V1\\GPBMetadata\xea\x02\rConnector::V1b\x06proto3"
|
|
|
|
var (
|
|
file_connector_v1_connector_proto_rawDescOnce sync.Once
|
|
file_connector_v1_connector_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_connector_v1_connector_proto_rawDescGZIP() []byte {
|
|
file_connector_v1_connector_proto_rawDescOnce.Do(func() {
|
|
file_connector_v1_connector_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_connector_v1_connector_proto_rawDesc), len(file_connector_v1_connector_proto_rawDesc)))
|
|
})
|
|
return file_connector_v1_connector_proto_rawDescData
|
|
}
|
|
|
|
var file_connector_v1_connector_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_connector_v1_connector_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
|
|
var file_connector_v1_connector_proto_goTypes = []any{
|
|
(SettingType)(0), // 0: connector.v1.SettingType
|
|
(Reversibility)(0), // 1: connector.v1.Reversibility
|
|
(*ConfigureRequest)(nil), // 2: connector.v1.ConfigureRequest
|
|
(*ConfigureResponse)(nil), // 3: connector.v1.ConfigureResponse
|
|
(*DescribeRequest)(nil), // 4: connector.v1.DescribeRequest
|
|
(*DescribeResponse)(nil), // 5: connector.v1.DescribeResponse
|
|
(*Setting)(nil), // 6: connector.v1.Setting
|
|
(*EventType)(nil), // 7: connector.v1.EventType
|
|
(*ActionType)(nil), // 8: connector.v1.ActionType
|
|
(*DeliveryType)(nil), // 9: connector.v1.DeliveryType
|
|
(*LookupType)(nil), // 10: connector.v1.LookupType
|
|
(*Effect)(nil), // 11: connector.v1.Effect
|
|
(*Target)(nil), // 12: connector.v1.Target
|
|
(*ParseRequest)(nil), // 13: connector.v1.ParseRequest
|
|
(*ParseResponse)(nil), // 14: connector.v1.ParseResponse
|
|
(*Event)(nil), // 15: connector.v1.Event
|
|
(*ResolveRequest)(nil), // 16: connector.v1.ResolveRequest
|
|
(*ResolveResponse)(nil), // 17: connector.v1.ResolveResponse
|
|
(*InvokeRequest)(nil), // 18: connector.v1.InvokeRequest
|
|
(*InvokeResponse)(nil), // 19: connector.v1.InvokeResponse
|
|
(*LookupRequest)(nil), // 20: connector.v1.LookupRequest
|
|
(*LookupResponse)(nil), // 21: connector.v1.LookupResponse
|
|
(*DeliverRequest)(nil), // 22: connector.v1.DeliverRequest
|
|
(*DeliverResponse)(nil), // 23: connector.v1.DeliverResponse
|
|
(*TargetFactsRequest)(nil), // 24: connector.v1.TargetFactsRequest
|
|
(*TargetFactsResponse)(nil), // 25: connector.v1.TargetFactsResponse
|
|
(*ListenRequest)(nil), // 26: connector.v1.ListenRequest
|
|
(*ListenResponse)(nil), // 27: connector.v1.ListenResponse
|
|
(*LinkURLRequest)(nil), // 28: connector.v1.LinkURLRequest
|
|
(*LinkURLResponse)(nil), // 29: connector.v1.LinkURLResponse
|
|
nil, // 30: connector.v1.ConfigureRequest.SettingsEntry
|
|
nil, // 31: connector.v1.ConfigureRequest.SecretsEntry
|
|
nil, // 32: connector.v1.ParseRequest.HeadersEntry
|
|
(*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp
|
|
}
|
|
var file_connector_v1_connector_proto_depIdxs = []int32{
|
|
30, // 0: connector.v1.ConfigureRequest.settings:type_name -> connector.v1.ConfigureRequest.SettingsEntry
|
|
31, // 1: connector.v1.ConfigureRequest.secrets:type_name -> connector.v1.ConfigureRequest.SecretsEntry
|
|
7, // 2: connector.v1.DescribeResponse.events:type_name -> connector.v1.EventType
|
|
8, // 3: connector.v1.DescribeResponse.actions:type_name -> connector.v1.ActionType
|
|
10, // 4: connector.v1.DescribeResponse.lookups:type_name -> connector.v1.LookupType
|
|
9, // 5: connector.v1.DescribeResponse.deliveries:type_name -> connector.v1.DeliveryType
|
|
6, // 6: connector.v1.DescribeResponse.settings:type_name -> connector.v1.Setting
|
|
0, // 7: connector.v1.Setting.type:type_name -> connector.v1.SettingType
|
|
11, // 8: connector.v1.ActionType.effect:type_name -> connector.v1.Effect
|
|
11, // 9: connector.v1.LookupType.effect:type_name -> connector.v1.Effect
|
|
1, // 10: connector.v1.Effect.reversibility:type_name -> connector.v1.Reversibility
|
|
32, // 11: connector.v1.ParseRequest.headers:type_name -> connector.v1.ParseRequest.HeadersEntry
|
|
15, // 12: connector.v1.ParseResponse.events:type_name -> connector.v1.Event
|
|
33, // 13: connector.v1.Event.occurred_at:type_name -> google.protobuf.Timestamp
|
|
12, // 14: connector.v1.ResolveResponse.target:type_name -> connector.v1.Target
|
|
11, // 15: connector.v1.ResolveResponse.effect:type_name -> connector.v1.Effect
|
|
12, // 16: connector.v1.TargetFactsRequest.target:type_name -> connector.v1.Target
|
|
15, // 17: connector.v1.ListenResponse.events:type_name -> connector.v1.Event
|
|
2, // 18: connector.v1.ConnectorService.Configure:input_type -> connector.v1.ConfigureRequest
|
|
4, // 19: connector.v1.ConnectorService.Describe:input_type -> connector.v1.DescribeRequest
|
|
13, // 20: connector.v1.ConnectorService.Parse:input_type -> connector.v1.ParseRequest
|
|
16, // 21: connector.v1.ConnectorService.Resolve:input_type -> connector.v1.ResolveRequest
|
|
18, // 22: connector.v1.ConnectorService.Invoke:input_type -> connector.v1.InvokeRequest
|
|
20, // 23: connector.v1.ConnectorService.Lookup:input_type -> connector.v1.LookupRequest
|
|
22, // 24: connector.v1.ConnectorService.Deliver:input_type -> connector.v1.DeliverRequest
|
|
26, // 25: connector.v1.ConnectorService.Listen:input_type -> connector.v1.ListenRequest
|
|
24, // 26: connector.v1.ConnectorService.TargetFacts:input_type -> connector.v1.TargetFactsRequest
|
|
28, // 27: connector.v1.ConnectorService.LinkURL:input_type -> connector.v1.LinkURLRequest
|
|
3, // 28: connector.v1.ConnectorService.Configure:output_type -> connector.v1.ConfigureResponse
|
|
5, // 29: connector.v1.ConnectorService.Describe:output_type -> connector.v1.DescribeResponse
|
|
14, // 30: connector.v1.ConnectorService.Parse:output_type -> connector.v1.ParseResponse
|
|
17, // 31: connector.v1.ConnectorService.Resolve:output_type -> connector.v1.ResolveResponse
|
|
19, // 32: connector.v1.ConnectorService.Invoke:output_type -> connector.v1.InvokeResponse
|
|
21, // 33: connector.v1.ConnectorService.Lookup:output_type -> connector.v1.LookupResponse
|
|
23, // 34: connector.v1.ConnectorService.Deliver:output_type -> connector.v1.DeliverResponse
|
|
27, // 35: connector.v1.ConnectorService.Listen:output_type -> connector.v1.ListenResponse
|
|
25, // 36: connector.v1.ConnectorService.TargetFacts:output_type -> connector.v1.TargetFactsResponse
|
|
29, // 37: connector.v1.ConnectorService.LinkURL:output_type -> connector.v1.LinkURLResponse
|
|
28, // [28:38] is the sub-list for method output_type
|
|
18, // [18:28] is the sub-list for method input_type
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
0, // [0:18] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_connector_v1_connector_proto_init() }
|
|
func file_connector_v1_connector_proto_init() {
|
|
if File_connector_v1_connector_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_connector_v1_connector_proto_rawDesc), len(file_connector_v1_connector_proto_rawDesc)),
|
|
NumEnums: 2,
|
|
NumMessages: 31,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_connector_v1_connector_proto_goTypes,
|
|
DependencyIndexes: file_connector_v1_connector_proto_depIdxs,
|
|
EnumInfos: file_connector_v1_connector_proto_enumTypes,
|
|
MessageInfos: file_connector_v1_connector_proto_msgTypes,
|
|
}.Build()
|
|
File_connector_v1_connector_proto = out.File
|
|
file_connector_v1_connector_proto_goTypes = nil
|
|
file_connector_v1_connector_proto_depIdxs = nil
|
|
}
|