From a389b21b0d4a9c46f1dcbecb23be64100d80b18c Mon Sep 17 00:00:00 2001 From: Marcus Goldschmidt Date: Thu, 15 Jan 2026 16:30:31 -0400 Subject: [PATCH 1/2] add id alias --- pb/c1/connector/v2/annotation_id_alias.pb.go | 186 ++++++++++++ .../v2/annotation_id_alias.pb.validate.go | 268 ++++++++++++++++++ .../v2/annotation_id_alias_protoopaque.pb.go | 188 ++++++++++++ .../c1/connector/v2/annotation_id_alias.proto | 13 + 4 files changed, 655 insertions(+) create mode 100644 pb/c1/connector/v2/annotation_id_alias.pb.go create mode 100644 pb/c1/connector/v2/annotation_id_alias.pb.validate.go create mode 100644 pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go create mode 100644 proto/c1/connector/v2/annotation_id_alias.proto diff --git a/pb/c1/connector/v2/annotation_id_alias.pb.go b/pb/c1/connector/v2/annotation_id_alias.pb.go new file mode 100644 index 000000000..84d124854 --- /dev/null +++ b/pb/c1/connector/v2/annotation_id_alias.pb.go @@ -0,0 +1,186 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.10 +// protoc (unknown) +// source: c1/connector/v2/annotation_id_alias.proto + +//go:build !protoopaque + +package v2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + 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 IdAlias struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IdAlias) Reset() { + *x = IdAlias{} + mi := &file_c1_connector_v2_annotation_id_alias_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IdAlias) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdAlias) ProtoMessage() {} + +func (x *IdAlias) ProtoReflect() protoreflect.Message { + mi := &file_c1_connector_v2_annotation_id_alias_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) +} + +func (x *IdAlias) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *IdAlias) SetId(v string) { + x.Id = v +} + +type IdAlias_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Id string +} + +func (b0 IdAlias_builder) Build() *IdAlias { + m0 := &IdAlias{} + b, x := &b0, m0 + _, _ = b, x + x.Id = b.Id + return m0 +} + +type Aliases struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Id []*IdAlias `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Aliases) Reset() { + *x = Aliases{} + mi := &file_c1_connector_v2_annotation_id_alias_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Aliases) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Aliases) ProtoMessage() {} + +func (x *Aliases) ProtoReflect() protoreflect.Message { + mi := &file_c1_connector_v2_annotation_id_alias_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) +} + +func (x *Aliases) GetId() []*IdAlias { + if x != nil { + return x.Id + } + return nil +} + +func (x *Aliases) SetId(v []*IdAlias) { + x.Id = v +} + +type Aliases_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Id []*IdAlias +} + +func (b0 Aliases_builder) Build() *Aliases { + m0 := &Aliases{} + b, x := &b0, m0 + _, _ = b, x + x.Id = b.Id + return m0 +} + +var File_c1_connector_v2_annotation_id_alias_proto protoreflect.FileDescriptor + +const file_c1_connector_v2_annotation_id_alias_proto_rawDesc = "" + + "\n" + + ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\x1a\x1ec1/connector/v2/resource.proto\"\x19\n" + + "\aIdAlias\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\"3\n" + + "\aAliases\x12(\n" + + "\x02id\x18\x01 \x03(\v2\x18.c1.connector.v2.IdAliasR\x02idB6Z4github.com/conductorone/baton-sdk/pb/c1/connector/v2b\x06proto3" + +var file_c1_connector_v2_annotation_id_alias_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_c1_connector_v2_annotation_id_alias_proto_goTypes = []any{ + (*IdAlias)(nil), // 0: c1.connector.v2.IdAlias + (*Aliases)(nil), // 1: c1.connector.v2.Aliases +} +var file_c1_connector_v2_annotation_id_alias_proto_depIdxs = []int32{ + 0, // 0: c1.connector.v2.Aliases.id:type_name -> c1.connector.v2.IdAlias + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_c1_connector_v2_annotation_id_alias_proto_init() } +func file_c1_connector_v2_annotation_id_alias_proto_init() { + if File_c1_connector_v2_annotation_id_alias_proto != nil { + return + } + file_c1_connector_v2_resource_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_c1_connector_v2_annotation_id_alias_proto_rawDesc), len(file_c1_connector_v2_annotation_id_alias_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_c1_connector_v2_annotation_id_alias_proto_goTypes, + DependencyIndexes: file_c1_connector_v2_annotation_id_alias_proto_depIdxs, + MessageInfos: file_c1_connector_v2_annotation_id_alias_proto_msgTypes, + }.Build() + File_c1_connector_v2_annotation_id_alias_proto = out.File + file_c1_connector_v2_annotation_id_alias_proto_goTypes = nil + file_c1_connector_v2_annotation_id_alias_proto_depIdxs = nil +} diff --git a/pb/c1/connector/v2/annotation_id_alias.pb.validate.go b/pb/c1/connector/v2/annotation_id_alias.pb.validate.go new file mode 100644 index 000000000..617ea8de6 --- /dev/null +++ b/pb/c1/connector/v2/annotation_id_alias.pb.validate.go @@ -0,0 +1,268 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: c1/connector/v2/annotation_id_alias.proto + +package v2 + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "sort" + "strings" + "time" + "unicode/utf8" + + "google.golang.org/protobuf/types/known/anypb" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = anypb.Any{} + _ = sort.Sort +) + +// Validate checks the field values on IdAlias with the rules defined in the +// proto definition for this message. If any rules are violated, the first +// error encountered is returned, or nil if there are no violations. +func (m *IdAlias) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on IdAlias with the rules defined in the +// proto definition for this message. If any rules are violated, the result is +// a list of violation errors wrapped in IdAliasMultiError, or nil if none found. +func (m *IdAlias) ValidateAll() error { + return m.validate(true) +} + +func (m *IdAlias) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Id + + if len(errors) > 0 { + return IdAliasMultiError(errors) + } + + return nil +} + +// IdAliasMultiError is an error wrapping multiple validation errors returned +// by IdAlias.ValidateAll() if the designated constraints aren't met. +type IdAliasMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m IdAliasMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m IdAliasMultiError) AllErrors() []error { return m } + +// IdAliasValidationError is the validation error returned by IdAlias.Validate +// if the designated constraints aren't met. +type IdAliasValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e IdAliasValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e IdAliasValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e IdAliasValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e IdAliasValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e IdAliasValidationError) ErrorName() string { return "IdAliasValidationError" } + +// Error satisfies the builtin error interface +func (e IdAliasValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sIdAlias.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = IdAliasValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = IdAliasValidationError{} + +// Validate checks the field values on Aliases with the rules defined in the +// proto definition for this message. If any rules are violated, the first +// error encountered is returned, or nil if there are no violations. +func (m *Aliases) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on Aliases with the rules defined in the +// proto definition for this message. If any rules are violated, the result is +// a list of violation errors wrapped in AliasesMultiError, or nil if none found. +func (m *Aliases) ValidateAll() error { + return m.validate(true) +} + +func (m *Aliases) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetId() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, AliasesValidationError{ + field: fmt.Sprintf("Id[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, AliasesValidationError{ + field: fmt.Sprintf("Id[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + } + } else if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return AliasesValidationError{ + field: fmt.Sprintf("Id[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if len(errors) > 0 { + return AliasesMultiError(errors) + } + + return nil +} + +// AliasesMultiError is an error wrapping multiple validation errors returned +// by Aliases.ValidateAll() if the designated constraints aren't met. +type AliasesMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m AliasesMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m AliasesMultiError) AllErrors() []error { return m } + +// AliasesValidationError is the validation error returned by Aliases.Validate +// if the designated constraints aren't met. +type AliasesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e AliasesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e AliasesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e AliasesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e AliasesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e AliasesValidationError) ErrorName() string { return "AliasesValidationError" } + +// Error satisfies the builtin error interface +func (e AliasesValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sAliases.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = AliasesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = AliasesValidationError{} diff --git a/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go b/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go new file mode 100644 index 000000000..436a14235 --- /dev/null +++ b/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go @@ -0,0 +1,188 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.10 +// protoc (unknown) +// source: c1/connector/v2/annotation_id_alias.proto + +//go:build protoopaque + +package v2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + 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 IdAlias struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *IdAlias) Reset() { + *x = IdAlias{} + mi := &file_c1_connector_v2_annotation_id_alias_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IdAlias) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdAlias) ProtoMessage() {} + +func (x *IdAlias) ProtoReflect() protoreflect.Message { + mi := &file_c1_connector_v2_annotation_id_alias_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) +} + +func (x *IdAlias) GetId() string { + if x != nil { + return x.xxx_hidden_Id + } + return "" +} + +func (x *IdAlias) SetId(v string) { + x.xxx_hidden_Id = v +} + +type IdAlias_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Id string +} + +func (b0 IdAlias_builder) Build() *IdAlias { + m0 := &IdAlias{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Id = b.Id + return m0 +} + +type Aliases struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id *[]*IdAlias `protobuf:"bytes,1,rep,name=id,proto3"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Aliases) Reset() { + *x = Aliases{} + mi := &file_c1_connector_v2_annotation_id_alias_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Aliases) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Aliases) ProtoMessage() {} + +func (x *Aliases) ProtoReflect() protoreflect.Message { + mi := &file_c1_connector_v2_annotation_id_alias_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) +} + +func (x *Aliases) GetId() []*IdAlias { + if x != nil { + if x.xxx_hidden_Id != nil { + return *x.xxx_hidden_Id + } + } + return nil +} + +func (x *Aliases) SetId(v []*IdAlias) { + x.xxx_hidden_Id = &v +} + +type Aliases_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Id []*IdAlias +} + +func (b0 Aliases_builder) Build() *Aliases { + m0 := &Aliases{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Id = &b.Id + return m0 +} + +var File_c1_connector_v2_annotation_id_alias_proto protoreflect.FileDescriptor + +const file_c1_connector_v2_annotation_id_alias_proto_rawDesc = "" + + "\n" + + ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\x1a\x1ec1/connector/v2/resource.proto\"\x19\n" + + "\aIdAlias\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\"3\n" + + "\aAliases\x12(\n" + + "\x02id\x18\x01 \x03(\v2\x18.c1.connector.v2.IdAliasR\x02idB6Z4github.com/conductorone/baton-sdk/pb/c1/connector/v2b\x06proto3" + +var file_c1_connector_v2_annotation_id_alias_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_c1_connector_v2_annotation_id_alias_proto_goTypes = []any{ + (*IdAlias)(nil), // 0: c1.connector.v2.IdAlias + (*Aliases)(nil), // 1: c1.connector.v2.Aliases +} +var file_c1_connector_v2_annotation_id_alias_proto_depIdxs = []int32{ + 0, // 0: c1.connector.v2.Aliases.id:type_name -> c1.connector.v2.IdAlias + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_c1_connector_v2_annotation_id_alias_proto_init() } +func file_c1_connector_v2_annotation_id_alias_proto_init() { + if File_c1_connector_v2_annotation_id_alias_proto != nil { + return + } + file_c1_connector_v2_resource_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_c1_connector_v2_annotation_id_alias_proto_rawDesc), len(file_c1_connector_v2_annotation_id_alias_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_c1_connector_v2_annotation_id_alias_proto_goTypes, + DependencyIndexes: file_c1_connector_v2_annotation_id_alias_proto_depIdxs, + MessageInfos: file_c1_connector_v2_annotation_id_alias_proto_msgTypes, + }.Build() + File_c1_connector_v2_annotation_id_alias_proto = out.File + file_c1_connector_v2_annotation_id_alias_proto_goTypes = nil + file_c1_connector_v2_annotation_id_alias_proto_depIdxs = nil +} diff --git a/proto/c1/connector/v2/annotation_id_alias.proto b/proto/c1/connector/v2/annotation_id_alias.proto new file mode 100644 index 000000000..ddddb3823 --- /dev/null +++ b/proto/c1/connector/v2/annotation_id_alias.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package c1.connector.v2; + +option go_package = "github.com/conductorone/baton-sdk/pb/c1/connector/v2"; + +message IdAlias { + string id = 1; +} + +message Aliases { + repeated IdAlias id = 1; +} From 71c4c7eccd8985c7193473d0a8235cb62fddcbed Mon Sep 17 00:00:00 2001 From: Marcus Goldschmidt Date: Mon, 26 Jan 2026 11:48:09 -0400 Subject: [PATCH 2/2] run protogen --- pb/c1/connector/v2/annotation_id_alias.pb.go | 3 +-- pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pb/c1/connector/v2/annotation_id_alias.pb.go b/pb/c1/connector/v2/annotation_id_alias.pb.go index 84d124854..d04d24736 100644 --- a/pb/c1/connector/v2/annotation_id_alias.pb.go +++ b/pb/c1/connector/v2/annotation_id_alias.pb.go @@ -140,7 +140,7 @@ var File_c1_connector_v2_annotation_id_alias_proto protoreflect.FileDescriptor const file_c1_connector_v2_annotation_id_alias_proto_rawDesc = "" + "\n" + - ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\x1a\x1ec1/connector/v2/resource.proto\"\x19\n" + + ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\"\x19\n" + "\aIdAlias\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"3\n" + "\aAliases\x12(\n" + @@ -165,7 +165,6 @@ func file_c1_connector_v2_annotation_id_alias_proto_init() { if File_c1_connector_v2_annotation_id_alias_proto != nil { return } - file_c1_connector_v2_resource_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go b/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go index 436a14235..7c2f85c89 100644 --- a/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go +++ b/pb/c1/connector/v2/annotation_id_alias_protoopaque.pb.go @@ -142,7 +142,7 @@ var File_c1_connector_v2_annotation_id_alias_proto protoreflect.FileDescriptor const file_c1_connector_v2_annotation_id_alias_proto_rawDesc = "" + "\n" + - ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\x1a\x1ec1/connector/v2/resource.proto\"\x19\n" + + ")c1/connector/v2/annotation_id_alias.proto\x12\x0fc1.connector.v2\"\x19\n" + "\aIdAlias\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"3\n" + "\aAliases\x12(\n" + @@ -167,7 +167,6 @@ func file_c1_connector_v2_annotation_id_alias_proto_init() { if File_c1_connector_v2_annotation_id_alias_proto != nil { return } - file_c1_connector_v2_resource_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{