diff --git a/.changeset/forty-cats-turn.md b/.changeset/forty-cats-turn.md new file mode 100644 index 00000000..0b631d73 --- /dev/null +++ b/.changeset/forty-cats-turn.md @@ -0,0 +1,5 @@ +--- +"@common-fate/sdk": minor +--- + +Add attachment service which provides contextual information which can be added to access requests diff --git a/gen/commonfate/access/provisioner/v1alpha1/provisioner.pb.go b/gen/commonfate/access/provisioner/v1alpha1/provisioner.pb.go index ee6f0d0c..85718983 100644 --- a/gen/commonfate/access/provisioner/v1alpha1/provisioner.pb.go +++ b/gen/commonfate/access/provisioner/v1alpha1/provisioner.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/provisioner/v1alpha1/provisioner.proto @@ -56,11 +56,9 @@ type ProvisionRequest struct { func (x *ProvisionRequest) Reset() { *x = ProvisionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProvisionRequest) String() string { @@ -71,7 +69,7 @@ func (*ProvisionRequest) ProtoMessage() {} func (x *ProvisionRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -159,11 +157,9 @@ type ProvisionResponse struct { func (x *ProvisionResponse) Reset() { *x = ProvisionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProvisionResponse) String() string { @@ -174,7 +170,7 @@ func (*ProvisionResponse) ProtoMessage() {} func (x *ProvisionResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,32 +329,6 @@ func file_commonfate_access_provisioner_v1alpha1_provisioner_proto_init() { if File_commonfate_access_provisioner_v1alpha1_provisioner_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ProvisionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ProvisionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_provisioner_v1alpha1_provisioner_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/commonfate/access/v1alpha1/access.pb.go b/gen/commonfate/access/v1alpha1/access.pb.go index d6a0ad0e..2065b4ad 100644 --- a/gen/commonfate/access/v1alpha1/access.pb.go +++ b/gen/commonfate/access/v1alpha1/access.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/access.proto @@ -95,11 +95,9 @@ type GrantApprovalStep struct { func (x *GrantApprovalStep) Reset() { *x = GrantApprovalStep{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GrantApprovalStep) String() string { @@ -110,7 +108,7 @@ func (*GrantApprovalStep) ProtoMessage() {} func (x *GrantApprovalStep) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,11 +152,9 @@ type QueryApproversRequest struct { func (x *QueryApproversRequest) Reset() { *x = QueryApproversRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryApproversRequest) String() string { @@ -169,7 +165,7 @@ func (*QueryApproversRequest) ProtoMessage() {} func (x *QueryApproversRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,11 +241,9 @@ type TargetRole struct { func (x *TargetRole) Reset() { *x = TargetRole{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TargetRole) String() string { @@ -260,7 +254,7 @@ func (*TargetRole) ProtoMessage() {} func (x *TargetRole) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -299,11 +293,9 @@ type QueryApproversResponse struct { func (x *QueryApproversResponse) Reset() { *x = QueryApproversResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryApproversResponse) String() string { @@ -314,7 +306,7 @@ func (*QueryApproversResponse) ProtoMessage() {} func (x *QueryApproversResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,11 +339,9 @@ type QueryAvailabilitiesRequest struct { func (x *QueryAvailabilitiesRequest) Reset() { *x = QueryAvailabilitiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAvailabilitiesRequest) String() string { @@ -362,7 +352,7 @@ func (*QueryAvailabilitiesRequest) ProtoMessage() {} func (x *QueryAvailabilitiesRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -395,11 +385,9 @@ type QueryAvailabilitiesResponse struct { func (x *QueryAvailabilitiesResponse) Reset() { *x = QueryAvailabilitiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAvailabilitiesResponse) String() string { @@ -410,7 +398,7 @@ func (*QueryAvailabilitiesResponse) ProtoMessage() {} func (x *QueryAvailabilitiesResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,11 +439,9 @@ type QueryEntitlementsRequest struct { func (x *QueryEntitlementsRequest) Reset() { *x = QueryEntitlementsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEntitlementsRequest) String() string { @@ -466,7 +452,7 @@ func (*QueryEntitlementsRequest) ProtoMessage() {} func (x *QueryEntitlementsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -506,11 +492,9 @@ type QueryEntitlementsResponse struct { func (x *QueryEntitlementsResponse) Reset() { *x = QueryEntitlementsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEntitlementsResponse) String() string { @@ -521,7 +505,7 @@ func (*QueryEntitlementsResponse) ProtoMessage() {} func (x *QueryEntitlementsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,11 +544,9 @@ type QueryEntitlementsTreeRequest struct { func (x *QueryEntitlementsTreeRequest) Reset() { *x = QueryEntitlementsTreeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEntitlementsTreeRequest) String() string { @@ -575,7 +557,7 @@ func (*QueryEntitlementsTreeRequest) ProtoMessage() {} func (x *QueryEntitlementsTreeRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -608,11 +590,9 @@ type QueryEntitlementsTreeResponse struct { func (x *QueryEntitlementsTreeResponse) Reset() { *x = QueryEntitlementsTreeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEntitlementsTreeResponse) String() string { @@ -623,7 +603,7 @@ func (*QueryEntitlementsTreeResponse) ProtoMessage() {} func (x *QueryEntitlementsTreeResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -663,11 +643,9 @@ type PreviewUserAccessRequest struct { func (x *PreviewUserAccessRequest) Reset() { *x = PreviewUserAccessRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PreviewUserAccessRequest) String() string { @@ -678,7 +656,7 @@ func (*PreviewUserAccessRequest) ProtoMessage() {} func (x *PreviewUserAccessRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -717,11 +695,9 @@ type PreviewUserAccessResponse struct { func (x *PreviewUserAccessResponse) Reset() { *x = PreviewUserAccessResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PreviewUserAccessResponse) String() string { @@ -732,7 +708,7 @@ func (*PreviewUserAccessResponse) ProtoMessage() {} func (x *PreviewUserAccessResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -765,11 +741,9 @@ type PreviewEntitlementAccessRequest struct { func (x *PreviewEntitlementAccessRequest) Reset() { *x = PreviewEntitlementAccessRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PreviewEntitlementAccessRequest) String() string { @@ -780,7 +754,7 @@ func (*PreviewEntitlementAccessRequest) ProtoMessage() {} func (x *PreviewEntitlementAccessRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -820,11 +794,9 @@ type PreviewEntitlementAccessResponse struct { func (x *PreviewEntitlementAccessResponse) Reset() { *x = PreviewEntitlementAccessResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PreviewEntitlementAccessResponse) String() string { @@ -835,7 +807,7 @@ func (*PreviewEntitlementAccessResponse) ProtoMessage() {} func (x *PreviewEntitlementAccessResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -869,11 +841,9 @@ type DebugEntitlementAccessRequest struct { func (x *DebugEntitlementAccessRequest) Reset() { *x = DebugEntitlementAccessRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugEntitlementAccessRequest) String() string { @@ -884,7 +854,7 @@ func (*DebugEntitlementAccessRequest) ProtoMessage() {} func (x *DebugEntitlementAccessRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -939,11 +909,9 @@ type DebugEntitlementAccessResponse struct { func (x *DebugEntitlementAccessResponse) Reset() { *x = DebugEntitlementAccessResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugEntitlementAccessResponse) String() string { @@ -954,7 +922,7 @@ func (*DebugEntitlementAccessResponse) ProtoMessage() {} func (x *DebugEntitlementAccessResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1017,11 +985,9 @@ type EntitlementAccessReason struct { func (x *EntitlementAccessReason) Reset() { *x = EntitlementAccessReason{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementAccessReason) String() string { @@ -1032,7 +998,7 @@ func (*EntitlementAccessReason) ProtoMessage() {} func (x *EntitlementAccessReason) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1075,11 +1041,9 @@ type PrincipalAccess struct { func (x *PrincipalAccess) Reset() { *x = PrincipalAccess{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PrincipalAccess) String() string { @@ -1090,7 +1054,7 @@ func (*PrincipalAccess) ProtoMessage() {} func (x *PrincipalAccess) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1153,11 +1117,9 @@ type Entitlement struct { func (x *Entitlement) Reset() { *x = Entitlement{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Entitlement) String() string { @@ -1168,7 +1130,7 @@ func (*Entitlement) ProtoMessage() {} func (x *Entitlement) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1254,11 +1216,9 @@ type Availability struct { func (x *Availability) Reset() { *x = Availability{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Availability) String() string { @@ -1269,7 +1229,7 @@ func (*Availability) ProtoMessage() {} func (x *Availability) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1368,11 +1328,9 @@ type Specifier struct { func (x *Specifier) Reset() { *x = Specifier{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Specifier) String() string { @@ -1383,7 +1341,7 @@ func (*Specifier) ProtoMessage() {} func (x *Specifier) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1465,11 +1423,9 @@ type EntitlementInput struct { func (x *EntitlementInput) Reset() { *x = EntitlementInput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementInput) String() string { @@ -1480,7 +1436,7 @@ func (*EntitlementInput) ProtoMessage() {} func (x *EntitlementInput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1542,11 +1498,9 @@ type BatchEnsureRequest struct { func (x *BatchEnsureRequest) Reset() { *x = BatchEnsureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchEnsureRequest) String() string { @@ -1557,7 +1511,7 @@ func (*BatchEnsureRequest) ProtoMessage() {} func (x *BatchEnsureRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1631,11 +1585,9 @@ type BatchEnsureResponse struct { func (x *BatchEnsureResponse) Reset() { *x = BatchEnsureResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchEnsureResponse) String() string { @@ -1646,7 +1598,7 @@ func (*BatchEnsureResponse) ProtoMessage() {} func (x *BatchEnsureResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1707,11 +1659,9 @@ type DurationConfiguration struct { func (x *DurationConfiguration) Reset() { *x = DurationConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DurationConfiguration) String() string { @@ -1722,7 +1672,7 @@ func (*DurationConfiguration) ProtoMessage() {} func (x *DurationConfiguration) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1764,11 +1714,9 @@ type GrantState struct { func (x *GrantState) Reset() { *x = GrantState{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GrantState) String() string { @@ -1779,7 +1727,7 @@ func (*GrantState) ProtoMessage() {} func (x *GrantState) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1821,11 +1769,9 @@ type Validation struct { func (x *Validation) Reset() { *x = Validation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Validation) String() string { @@ -1836,7 +1782,7 @@ func (*Validation) ProtoMessage() {} func (x *Validation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1881,11 +1827,9 @@ type EntitlementNode struct { func (x *EntitlementNode) Reset() { *x = EntitlementNode{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementNode) String() string { @@ -1896,7 +1840,7 @@ func (*EntitlementNode) ProtoMessage() {} func (x *EntitlementNode) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2603,344 +2547,6 @@ func file_commonfate_access_v1alpha1_access_proto_init() { file_commonfate_access_v1alpha1_named_eid_proto_init() file_commonfate_access_v1alpha1_regex_validation_proto_init() file_commonfate_access_v1alpha1_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_access_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GrantApprovalStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryApproversRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*TargetRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*QueryApproversResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*QueryAvailabilitiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*QueryAvailabilitiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*QueryEntitlementsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*QueryEntitlementsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*QueryEntitlementsTreeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*QueryEntitlementsTreeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*PreviewUserAccessRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*PreviewUserAccessResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*PreviewEntitlementAccessRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*PreviewEntitlementAccessResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*DebugEntitlementAccessRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*DebugEntitlementAccessResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementAccessReason); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*PrincipalAccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*Entitlement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*Availability); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*Specifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementInput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*BatchEnsureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*BatchEnsureResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*DurationConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*GrantState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*Validation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_access_proto_msgTypes[1].OneofWrappers = []any{ (*QueryApproversRequest_TargetRole)(nil), (*QueryApproversRequest_Grant)(nil), diff --git a/gen/commonfate/access/v1alpha1/access_request.pb.go b/gen/commonfate/access/v1alpha1/access_request.pb.go index 124cbab7..b2bf5ee7 100644 --- a/gen/commonfate/access/v1alpha1/access_request.pb.go +++ b/gen/commonfate/access/v1alpha1/access_request.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/access_request.proto @@ -154,11 +154,9 @@ type Filter struct { func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -169,7 +167,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -343,11 +341,9 @@ type QueryAccessRequestsRequest struct { func (x *QueryAccessRequestsRequest) Reset() { *x = QueryAccessRequestsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAccessRequestsRequest) String() string { @@ -358,7 +354,7 @@ func (*QueryAccessRequestsRequest) ProtoMessage() {} func (x *QueryAccessRequestsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -426,11 +422,9 @@ type QueryMyAccessRequestsResponse struct { func (x *QueryMyAccessRequestsResponse) Reset() { *x = QueryMyAccessRequestsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryMyAccessRequestsResponse) String() string { @@ -441,7 +435,7 @@ func (*QueryMyAccessRequestsResponse) ProtoMessage() {} func (x *QueryMyAccessRequestsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,11 +479,9 @@ type QueryMyAccessRequestsRequest struct { func (x *QueryMyAccessRequestsRequest) Reset() { *x = QueryMyAccessRequestsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryMyAccessRequestsRequest) String() string { @@ -500,7 +492,7 @@ func (*QueryMyAccessRequestsRequest) ProtoMessage() {} func (x *QueryMyAccessRequestsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -561,11 +553,9 @@ type QueryAccessRequestsResponse struct { func (x *QueryAccessRequestsResponse) Reset() { *x = QueryAccessRequestsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAccessRequestsResponse) String() string { @@ -576,7 +566,7 @@ func (*QueryAccessRequestsResponse) ProtoMessage() {} func (x *QueryAccessRequestsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -616,11 +606,9 @@ type GetAccessRequestRequest struct { func (x *GetAccessRequestRequest) Reset() { *x = GetAccessRequestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessRequestRequest) String() string { @@ -631,7 +619,7 @@ func (*GetAccessRequestRequest) ProtoMessage() {} func (x *GetAccessRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -663,11 +651,9 @@ type GetAccessRequestResponse struct { func (x *GetAccessRequestResponse) Reset() { *x = GetAccessRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessRequestResponse) String() string { @@ -678,7 +664,7 @@ func (*GetAccessRequestResponse) ProtoMessage() {} func (x *GetAccessRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -710,11 +696,9 @@ type GetAccessRequestActionsRequest struct { func (x *GetAccessRequestActionsRequest) Reset() { *x = GetAccessRequestActionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessRequestActionsRequest) String() string { @@ -725,7 +709,7 @@ func (*GetAccessRequestActionsRequest) ProtoMessage() {} func (x *GetAccessRequestActionsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -757,11 +741,9 @@ type GetAccessRequestActionsResponse struct { func (x *GetAccessRequestActionsResponse) Reset() { *x = GetAccessRequestActionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessRequestActionsResponse) String() string { @@ -772,7 +754,7 @@ func (*GetAccessRequestActionsResponse) ProtoMessage() {} func (x *GetAccessRequestActionsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -829,11 +811,9 @@ type AccessRequest struct { func (x *AccessRequest) Reset() { *x = AccessRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessRequest) String() string { @@ -844,7 +824,7 @@ func (*AccessRequest) ProtoMessage() {} func (x *AccessRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -951,11 +931,9 @@ type AccessRequestActions struct { func (x *AccessRequestActions) Reset() { *x = AccessRequestActions{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessRequestActions) String() string { @@ -966,7 +944,7 @@ func (*AccessRequestActions) ProtoMessage() {} func (x *AccessRequestActions) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1029,11 +1007,9 @@ type ApproveAccessRequestRequest struct { func (x *ApproveAccessRequestRequest) Reset() { *x = ApproveAccessRequestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApproveAccessRequestRequest) String() string { @@ -1044,7 +1020,7 @@ func (*ApproveAccessRequestRequest) ProtoMessage() {} func (x *ApproveAccessRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1083,11 +1059,9 @@ type ApproveAccessRequestResponse struct { func (x *ApproveAccessRequestResponse) Reset() { *x = ApproveAccessRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApproveAccessRequestResponse) String() string { @@ -1098,7 +1072,7 @@ func (*ApproveAccessRequestResponse) ProtoMessage() {} func (x *ApproveAccessRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1137,11 +1111,9 @@ type CloseAccessRequestRequest struct { func (x *CloseAccessRequestRequest) Reset() { *x = CloseAccessRequestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloseAccessRequestRequest) String() string { @@ -1152,7 +1124,7 @@ func (*CloseAccessRequestRequest) ProtoMessage() {} func (x *CloseAccessRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1205,11 +1177,9 @@ type CloseAccessRequestResponse struct { func (x *CloseAccessRequestResponse) Reset() { *x = CloseAccessRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloseAccessRequestResponse) String() string { @@ -1220,7 +1190,7 @@ func (*CloseAccessRequestResponse) ProtoMessage() {} func (x *CloseAccessRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1259,11 +1229,9 @@ type ActivateAccessRequestRequest struct { func (x *ActivateAccessRequestRequest) Reset() { *x = ActivateAccessRequestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActivateAccessRequestRequest) String() string { @@ -1274,7 +1242,7 @@ func (*ActivateAccessRequestRequest) ProtoMessage() {} func (x *ActivateAccessRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1327,11 +1295,9 @@ type ActivateAccessRequestResponse struct { func (x *ActivateAccessRequestResponse) Reset() { *x = ActivateAccessRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActivateAccessRequestResponse) String() string { @@ -1342,7 +1308,7 @@ func (*ActivateAccessRequestResponse) ProtoMessage() {} func (x *ActivateAccessRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1374,11 +1340,9 @@ type Justification struct { func (x *Justification) Reset() { *x = Justification{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Justification) String() string { @@ -1389,7 +1353,7 @@ func (*Justification) ProtoMessage() {} func (x *Justification) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_access_request_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1894,224 +1858,6 @@ func file_commonfate_access_v1alpha1_access_request_proto_init() { file_commonfate_access_v1alpha1_diagnostic_proto_init() file_commonfate_access_v1alpha1_grant_proto_init() file_commonfate_access_v1alpha1_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryAccessRequestsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*QueryMyAccessRequestsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*QueryMyAccessRequestsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*QueryAccessRequestsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessRequestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessRequestActionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessRequestActionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*AccessRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*AccessRequestActions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*ApproveAccessRequestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*ApproveAccessRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*CloseAccessRequestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*CloseAccessRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*ActivateAccessRequestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*ActivateAccessRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_access_request_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*Justification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_access_request_proto_msgTypes[0].OneofWrappers = []any{ (*Filter_RequestedBy)(nil), (*Filter_ClosedBy)(nil), diff --git a/gen/commonfate/access/v1alpha1/accessv1alpha1connect/attachments.connect.go b/gen/commonfate/access/v1alpha1/accessv1alpha1connect/attachments.connect.go new file mode 100644 index 00000000..f9b9d1b7 --- /dev/null +++ b/gen/commonfate/access/v1alpha1/accessv1alpha1connect/attachments.connect.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: commonfate/access/v1alpha1/attachments.proto + +package accessv1alpha1connect + +import ( + connect "connectrpc.com/connect" + context "context" + errors "errors" + v1alpha1 "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect.IsAtLeastVersion1_13_0 + +const ( + // AttachmentsServiceName is the fully-qualified name of the AttachmentsService service. + AttachmentsServiceName = "commonfate.access.v1alpha1.AttachmentsService" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // AttachmentsServiceQueryJiraIssuesProcedure is the fully-qualified name of the + // AttachmentsService's QueryJiraIssues RPC. + AttachmentsServiceQueryJiraIssuesProcedure = "/commonfate.access.v1alpha1.AttachmentsService/QueryJiraIssues" +) + +// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. +var ( + attachmentsServiceServiceDescriptor = v1alpha1.File_commonfate_access_v1alpha1_attachments_proto.Services().ByName("AttachmentsService") + attachmentsServiceQueryJiraIssuesMethodDescriptor = attachmentsServiceServiceDescriptor.Methods().ByName("QueryJiraIssues") +) + +// AttachmentsServiceClient is a client for the commonfate.access.v1alpha1.AttachmentsService +// service. +type AttachmentsServiceClient interface { + QueryJiraIssues(context.Context, *connect.Request[v1alpha1.QueryJiraIssuesRequest]) (*connect.Response[v1alpha1.QueryJiraIssuesResponse], error) +} + +// NewAttachmentsServiceClient constructs a client for the +// commonfate.access.v1alpha1.AttachmentsService service. By default, it uses the Connect protocol +// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To +// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() +// options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewAttachmentsServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AttachmentsServiceClient { + baseURL = strings.TrimRight(baseURL, "/") + return &attachmentsServiceClient{ + queryJiraIssues: connect.NewClient[v1alpha1.QueryJiraIssuesRequest, v1alpha1.QueryJiraIssuesResponse]( + httpClient, + baseURL+AttachmentsServiceQueryJiraIssuesProcedure, + connect.WithSchema(attachmentsServiceQueryJiraIssuesMethodDescriptor), + connect.WithClientOptions(opts...), + ), + } +} + +// attachmentsServiceClient implements AttachmentsServiceClient. +type attachmentsServiceClient struct { + queryJiraIssues *connect.Client[v1alpha1.QueryJiraIssuesRequest, v1alpha1.QueryJiraIssuesResponse] +} + +// QueryJiraIssues calls commonfate.access.v1alpha1.AttachmentsService.QueryJiraIssues. +func (c *attachmentsServiceClient) QueryJiraIssues(ctx context.Context, req *connect.Request[v1alpha1.QueryJiraIssuesRequest]) (*connect.Response[v1alpha1.QueryJiraIssuesResponse], error) { + return c.queryJiraIssues.CallUnary(ctx, req) +} + +// AttachmentsServiceHandler is an implementation of the +// commonfate.access.v1alpha1.AttachmentsService service. +type AttachmentsServiceHandler interface { + QueryJiraIssues(context.Context, *connect.Request[v1alpha1.QueryJiraIssuesRequest]) (*connect.Response[v1alpha1.QueryJiraIssuesResponse], error) +} + +// NewAttachmentsServiceHandler builds an HTTP handler from the service implementation. It returns +// the path on which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewAttachmentsServiceHandler(svc AttachmentsServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + attachmentsServiceQueryJiraIssuesHandler := connect.NewUnaryHandler( + AttachmentsServiceQueryJiraIssuesProcedure, + svc.QueryJiraIssues, + connect.WithSchema(attachmentsServiceQueryJiraIssuesMethodDescriptor), + connect.WithHandlerOptions(opts...), + ) + return "/commonfate.access.v1alpha1.AttachmentsService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + switch r.URL.Path { + case AttachmentsServiceQueryJiraIssuesProcedure: + attachmentsServiceQueryJiraIssuesHandler.ServeHTTP(w, r) + default: + http.NotFound(w, r) + } + }) +} + +// UnimplementedAttachmentsServiceHandler returns CodeUnimplemented from all methods. +type UnimplementedAttachmentsServiceHandler struct{} + +func (UnimplementedAttachmentsServiceHandler) QueryJiraIssues(context.Context, *connect.Request[v1alpha1.QueryJiraIssuesRequest]) (*connect.Response[v1alpha1.QueryJiraIssuesResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("commonfate.access.v1alpha1.AttachmentsService.QueryJiraIssues is not implemented")) +} diff --git a/gen/commonfate/access/v1alpha1/attachments.pb.go b/gen/commonfate/access/v1alpha1/attachments.pb.go new file mode 100644 index 00000000..6f73a02a --- /dev/null +++ b/gen/commonfate/access/v1alpha1/attachments.pb.go @@ -0,0 +1,283 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.1 +// protoc (unknown) +// source: commonfate/access/v1alpha1/attachments.proto + +package accessv1alpha1 + +import ( + _ "github.com/common-fate/sdk/gen/commonfate/authz/v1alpha1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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 JiraIssue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` +} + +func (x *JiraIssue) Reset() { + *x = JiraIssue{} + mi := &file_commonfate_access_v1alpha1_attachments_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *JiraIssue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JiraIssue) ProtoMessage() {} + +func (x *JiraIssue) ProtoReflect() protoreflect.Message { + mi := &file_commonfate_access_v1alpha1_attachments_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 JiraIssue.ProtoReflect.Descriptor instead. +func (*JiraIssue) Descriptor() ([]byte, []int) { + return file_commonfate_access_v1alpha1_attachments_proto_rawDescGZIP(), []int{0} +} + +func (x *JiraIssue) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *JiraIssue) GetSummary() string { + if x != nil { + return x.Summary + } + return "" +} + +func (x *JiraIssue) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +type QueryJiraIssuesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SummaryFilter *string `protobuf:"bytes,1,opt,name=summary_filter,json=summaryFilter,proto3,oneof" json:"summary_filter,omitempty"` +} + +func (x *QueryJiraIssuesRequest) Reset() { + *x = QueryJiraIssuesRequest{} + mi := &file_commonfate_access_v1alpha1_attachments_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryJiraIssuesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryJiraIssuesRequest) ProtoMessage() {} + +func (x *QueryJiraIssuesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commonfate_access_v1alpha1_attachments_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 QueryJiraIssuesRequest.ProtoReflect.Descriptor instead. +func (*QueryJiraIssuesRequest) Descriptor() ([]byte, []int) { + return file_commonfate_access_v1alpha1_attachments_proto_rawDescGZIP(), []int{1} +} + +func (x *QueryJiraIssuesRequest) GetSummaryFilter() string { + if x != nil && x.SummaryFilter != nil { + return *x.SummaryFilter + } + return "" +} + +type QueryJiraIssuesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Issues []*JiraIssue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` +} + +func (x *QueryJiraIssuesResponse) Reset() { + *x = QueryJiraIssuesResponse{} + mi := &file_commonfate_access_v1alpha1_attachments_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryJiraIssuesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryJiraIssuesResponse) ProtoMessage() {} + +func (x *QueryJiraIssuesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commonfate_access_v1alpha1_attachments_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 QueryJiraIssuesResponse.ProtoReflect.Descriptor instead. +func (*QueryJiraIssuesResponse) Descriptor() ([]byte, []int) { + return file_commonfate_access_v1alpha1_attachments_proto_rawDescGZIP(), []int{2} +} + +func (x *QueryJiraIssuesResponse) GetIssues() []*JiraIssue { + if x != nil { + return x.Issues + } + return nil +} + +var File_commonfate_access_v1alpha1_attachments_proto protoreflect.FileDescriptor + +var file_commonfate_access_v1alpha1_attachments_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x09, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x22, 0x57, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, + 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x58, 0x0a, 0x17, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, + 0x65, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x06, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x73, 0x32, 0x97, 0x01, 0x0a, 0x12, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x12, 0x32, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x4a, 0x69, 0x72, 0x61, 0x49, 0x73, 0x73, 0x75, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x42, 0x86, 0x02, + 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x42, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2d, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x73, 0x64, 0x6b, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, + 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x1a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, + 0x65, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x1a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, + 0x26, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x66, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x3a, 0x3a, 0x56, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commonfate_access_v1alpha1_attachments_proto_rawDescOnce sync.Once + file_commonfate_access_v1alpha1_attachments_proto_rawDescData = file_commonfate_access_v1alpha1_attachments_proto_rawDesc +) + +func file_commonfate_access_v1alpha1_attachments_proto_rawDescGZIP() []byte { + file_commonfate_access_v1alpha1_attachments_proto_rawDescOnce.Do(func() { + file_commonfate_access_v1alpha1_attachments_proto_rawDescData = protoimpl.X.CompressGZIP(file_commonfate_access_v1alpha1_attachments_proto_rawDescData) + }) + return file_commonfate_access_v1alpha1_attachments_proto_rawDescData +} + +var file_commonfate_access_v1alpha1_attachments_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_commonfate_access_v1alpha1_attachments_proto_goTypes = []any{ + (*JiraIssue)(nil), // 0: commonfate.access.v1alpha1.JiraIssue + (*QueryJiraIssuesRequest)(nil), // 1: commonfate.access.v1alpha1.QueryJiraIssuesRequest + (*QueryJiraIssuesResponse)(nil), // 2: commonfate.access.v1alpha1.QueryJiraIssuesResponse +} +var file_commonfate_access_v1alpha1_attachments_proto_depIdxs = []int32{ + 0, // 0: commonfate.access.v1alpha1.QueryJiraIssuesResponse.issues:type_name -> commonfate.access.v1alpha1.JiraIssue + 1, // 1: commonfate.access.v1alpha1.AttachmentsService.QueryJiraIssues:input_type -> commonfate.access.v1alpha1.QueryJiraIssuesRequest + 2, // 2: commonfate.access.v1alpha1.AttachmentsService.QueryJiraIssues:output_type -> commonfate.access.v1alpha1.QueryJiraIssuesResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] 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_commonfate_access_v1alpha1_attachments_proto_init() } +func file_commonfate_access_v1alpha1_attachments_proto_init() { + if File_commonfate_access_v1alpha1_attachments_proto != nil { + return + } + file_commonfate_access_v1alpha1_attachments_proto_msgTypes[1].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commonfate_access_v1alpha1_attachments_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_commonfate_access_v1alpha1_attachments_proto_goTypes, + DependencyIndexes: file_commonfate_access_v1alpha1_attachments_proto_depIdxs, + MessageInfos: file_commonfate_access_v1alpha1_attachments_proto_msgTypes, + }.Build() + File_commonfate_access_v1alpha1_attachments_proto = out.File + file_commonfate_access_v1alpha1_attachments_proto_rawDesc = nil + file_commonfate_access_v1alpha1_attachments_proto_goTypes = nil + file_commonfate_access_v1alpha1_attachments_proto_depIdxs = nil +} diff --git a/gen/commonfate/access/v1alpha1/attachments.pb.validate.go b/gen/commonfate/access/v1alpha1/attachments.pb.validate.go new file mode 100644 index 00000000..c284c0ad --- /dev/null +++ b/gen/commonfate/access/v1alpha1/attachments.pb.validate.go @@ -0,0 +1,383 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: commonfate/access/v1alpha1/attachments.proto + +package accessv1alpha1 + +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 JiraIssue 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 *JiraIssue) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on JiraIssue 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 JiraIssueMultiError, or nil +// if none found. +func (m *JiraIssue) ValidateAll() error { + return m.validate(true) +} + +func (m *JiraIssue) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Key + + // no validation rules for Summary + + // no validation rules for Url + + if len(errors) > 0 { + return JiraIssueMultiError(errors) + } + + return nil +} + +// JiraIssueMultiError is an error wrapping multiple validation errors returned +// by JiraIssue.ValidateAll() if the designated constraints aren't met. +type JiraIssueMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m JiraIssueMultiError) Error() string { + var msgs []string + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m JiraIssueMultiError) AllErrors() []error { return m } + +// JiraIssueValidationError is the validation error returned by +// JiraIssue.Validate if the designated constraints aren't met. +type JiraIssueValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e JiraIssueValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e JiraIssueValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e JiraIssueValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e JiraIssueValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e JiraIssueValidationError) ErrorName() string { return "JiraIssueValidationError" } + +// Error satisfies the builtin error interface +func (e JiraIssueValidationError) 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 %sJiraIssue.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = JiraIssueValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = JiraIssueValidationError{} + +// Validate checks the field values on QueryJiraIssuesRequest 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 *QueryJiraIssuesRequest) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on QueryJiraIssuesRequest 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 +// QueryJiraIssuesRequestMultiError, or nil if none found. +func (m *QueryJiraIssuesRequest) ValidateAll() error { + return m.validate(true) +} + +func (m *QueryJiraIssuesRequest) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + if m.SummaryFilter != nil { + // no validation rules for SummaryFilter + } + + if len(errors) > 0 { + return QueryJiraIssuesRequestMultiError(errors) + } + + return nil +} + +// QueryJiraIssuesRequestMultiError is an error wrapping multiple validation +// errors returned by QueryJiraIssuesRequest.ValidateAll() if the designated +// constraints aren't met. +type QueryJiraIssuesRequestMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m QueryJiraIssuesRequestMultiError) Error() string { + var msgs []string + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m QueryJiraIssuesRequestMultiError) AllErrors() []error { return m } + +// QueryJiraIssuesRequestValidationError is the validation error returned by +// QueryJiraIssuesRequest.Validate if the designated constraints aren't met. +type QueryJiraIssuesRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e QueryJiraIssuesRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e QueryJiraIssuesRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e QueryJiraIssuesRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e QueryJiraIssuesRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e QueryJiraIssuesRequestValidationError) ErrorName() string { + return "QueryJiraIssuesRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e QueryJiraIssuesRequestValidationError) 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 %sQueryJiraIssuesRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = QueryJiraIssuesRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = QueryJiraIssuesRequestValidationError{} + +// Validate checks the field values on QueryJiraIssuesResponse 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 *QueryJiraIssuesResponse) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on QueryJiraIssuesResponse 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 +// QueryJiraIssuesResponseMultiError, or nil if none found. +func (m *QueryJiraIssuesResponse) ValidateAll() error { + return m.validate(true) +} + +func (m *QueryJiraIssuesResponse) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetIssues() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, QueryJiraIssuesResponseValidationError{ + field: fmt.Sprintf("Issues[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, QueryJiraIssuesResponseValidationError{ + field: fmt.Sprintf("Issues[%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 QueryJiraIssuesResponseValidationError{ + field: fmt.Sprintf("Issues[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if len(errors) > 0 { + return QueryJiraIssuesResponseMultiError(errors) + } + + return nil +} + +// QueryJiraIssuesResponseMultiError is an error wrapping multiple validation +// errors returned by QueryJiraIssuesResponse.ValidateAll() if the designated +// constraints aren't met. +type QueryJiraIssuesResponseMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m QueryJiraIssuesResponseMultiError) Error() string { + var msgs []string + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m QueryJiraIssuesResponseMultiError) AllErrors() []error { return m } + +// QueryJiraIssuesResponseValidationError is the validation error returned by +// QueryJiraIssuesResponse.Validate if the designated constraints aren't met. +type QueryJiraIssuesResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e QueryJiraIssuesResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e QueryJiraIssuesResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e QueryJiraIssuesResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e QueryJiraIssuesResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e QueryJiraIssuesResponseValidationError) ErrorName() string { + return "QueryJiraIssuesResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e QueryJiraIssuesResponseValidationError) 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 %sQueryJiraIssuesResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = QueryJiraIssuesResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = QueryJiraIssuesResponseValidationError{} diff --git a/gen/commonfate/access/v1alpha1/audit_logs.pb.go b/gen/commonfate/access/v1alpha1/audit_logs.pb.go index 81e70825..fa4b5a06 100644 --- a/gen/commonfate/access/v1alpha1/audit_logs.pb.go +++ b/gen/commonfate/access/v1alpha1/audit_logs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/audit_logs.proto @@ -37,11 +37,9 @@ type QueryAuditLogsRequest struct { func (x *QueryAuditLogsRequest) Reset() { *x = QueryAuditLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAuditLogsRequest) String() string { @@ -52,7 +50,7 @@ func (*QueryAuditLogsRequest) ProtoMessage() {} func (x *QueryAuditLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -92,11 +90,9 @@ type QueryAuditLogsResponse struct { func (x *QueryAuditLogsResponse) Reset() { *x = QueryAuditLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryAuditLogsResponse) String() string { @@ -107,7 +103,7 @@ func (*QueryAuditLogsResponse) ProtoMessage() {} func (x *QueryAuditLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,11 +144,9 @@ type AuditLogPreview struct { func (x *AuditLogPreview) Reset() { *x = AuditLogPreview{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuditLogPreview) String() string { @@ -163,7 +157,7 @@ func (*AuditLogPreview) ProtoMessage() {} func (x *AuditLogPreview) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,11 +214,9 @@ type AuditLog struct { func (x *AuditLog) Reset() { *x = AuditLog{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuditLog) String() string { @@ -235,7 +227,7 @@ func (*AuditLog) ProtoMessage() {} func (x *AuditLog) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -452,56 +444,6 @@ func file_commonfate_access_v1alpha1_audit_logs_proto_init() { } file_commonfate_access_v1alpha1_identity_proto_init() file_commonfate_access_v1alpha1_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*QueryAuditLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryAuditLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*AuditLogPreview); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_audit_logs_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*AuditLog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/diagnostic.pb.go b/gen/commonfate/access/v1alpha1/diagnostic.pb.go index 95655b19..edf1d5f7 100644 --- a/gen/commonfate/access/v1alpha1/diagnostic.pb.go +++ b/gen/commonfate/access/v1alpha1/diagnostic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/diagnostic.proto @@ -88,11 +88,9 @@ type Diagnostic struct { func (x *Diagnostic) Reset() { *x = Diagnostic{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_diagnostic_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_diagnostic_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Diagnostic) String() string { @@ -103,7 +101,7 @@ func (*Diagnostic) ProtoMessage() {} func (x *Diagnostic) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_diagnostic_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -222,20 +220,6 @@ func file_commonfate_access_v1alpha1_diagnostic_proto_init() { if File_commonfate_access_v1alpha1_diagnostic_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_diagnostic_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Diagnostic); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/entities.pb.go b/gen/commonfate/access/v1alpha1/entities.pb.go index 41a9400a..10b56ea6 100644 --- a/gen/commonfate/access/v1alpha1/entities.pb.go +++ b/gen/commonfate/access/v1alpha1/entities.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/entities.proto @@ -35,11 +35,9 @@ type QueryDescendentsRequest struct { func (x *QueryDescendentsRequest) Reset() { *x = QueryDescendentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryDescendentsRequest) String() string { @@ -50,7 +48,7 @@ func (*QueryDescendentsRequest) ProtoMessage() {} func (x *QueryDescendentsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,11 +96,9 @@ type QueryDescendentsResponse struct { func (x *QueryDescendentsResponse) Reset() { *x = QueryDescendentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryDescendentsResponse) String() string { @@ -113,7 +109,7 @@ func (*QueryDescendentsResponse) ProtoMessage() {} func (x *QueryDescendentsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_entities_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,32 +237,6 @@ func file_commonfate_access_v1alpha1_entities_proto_init() { return } file_commonfate_access_v1alpha1_named_eid_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_entities_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*QueryDescendentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_entities_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryDescendentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/extension_conditions.pb.go b/gen/commonfate/access/v1alpha1/extension_conditions.pb.go index eb7b1084..1f5af02d 100644 --- a/gen/commonfate/access/v1alpha1/extension_conditions.pb.go +++ b/gen/commonfate/access/v1alpha1/extension_conditions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/extension_conditions.proto @@ -32,11 +32,9 @@ type ExtensionConditions struct { func (x *ExtensionConditions) Reset() { *x = ExtensionConditions{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_extension_conditions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_extension_conditions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExtensionConditions) String() string { @@ -47,7 +45,7 @@ func (*ExtensionConditions) ProtoMessage() {} func (x *ExtensionConditions) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_extension_conditions_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,20 +146,6 @@ func file_commonfate_access_v1alpha1_extension_conditions_proto_init() { if File_commonfate_access_v1alpha1_extension_conditions_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_extension_conditions_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionConditions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/grant.pb.go b/gen/commonfate/access/v1alpha1/grant.pb.go index fc565b86..8107f60b 100644 --- a/gen/commonfate/access/v1alpha1/grant.pb.go +++ b/gen/commonfate/access/v1alpha1/grant.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/grant.proto @@ -146,11 +146,9 @@ type ApprovalStep struct { func (x *ApprovalStep) Reset() { *x = ApprovalStep{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApprovalStep) String() string { @@ -161,7 +159,7 @@ func (*ApprovalStep) ProtoMessage() {} func (x *ApprovalStep) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +241,9 @@ type Grant struct { func (x *Grant) Reset() { *x = Grant{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Grant) String() string { @@ -258,7 +254,7 @@ func (*Grant) ProtoMessage() {} func (x *Grant) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -437,11 +433,9 @@ type Extension struct { func (x *Extension) Reset() { *x = Extension{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Extension) String() string { @@ -452,7 +446,7 @@ func (*Extension) ProtoMessage() {} func (x *Extension) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grant_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -706,44 +700,6 @@ func file_commonfate_access_v1alpha1_grant_proto_init() { } file_commonfate_access_v1alpha1_named_eid_proto_init() file_commonfate_access_v1alpha1_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_grant_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ApprovalStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grant_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Grant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grant_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Extension); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_grant_proto_msgTypes[0].OneofWrappers = []any{} file_commonfate_access_v1alpha1_grant_proto_msgTypes[1].OneofWrappers = []any{} file_commonfate_access_v1alpha1_grant_proto_msgTypes[2].OneofWrappers = []any{} diff --git a/gen/commonfate/access/v1alpha1/grants.pb.go b/gen/commonfate/access/v1alpha1/grants.pb.go index 709f49fd..24796456 100644 --- a/gen/commonfate/access/v1alpha1/grants.pb.go +++ b/gen/commonfate/access/v1alpha1/grants.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/grants.proto @@ -38,11 +38,9 @@ type QueryGrantsRequest struct { func (x *QueryGrantsRequest) Reset() { *x = QueryGrantsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGrantsRequest) String() string { @@ -53,7 +51,7 @@ func (*QueryGrantsRequest) ProtoMessage() {} func (x *QueryGrantsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -113,11 +111,9 @@ type GetGrantRequest struct { func (x *GetGrantRequest) Reset() { *x = GetGrantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGrantRequest) String() string { @@ -128,7 +124,7 @@ func (*GetGrantRequest) ProtoMessage() {} func (x *GetGrantRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -161,11 +157,9 @@ type GetGrantResponse struct { func (x *GetGrantResponse) Reset() { *x = GetGrantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGrantResponse) String() string { @@ -176,7 +170,7 @@ func (*GetGrantResponse) ProtoMessage() {} func (x *GetGrantResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -215,11 +209,9 @@ type GetGrantOutputRequest struct { func (x *GetGrantOutputRequest) Reset() { *x = GetGrantOutputRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGrantOutputRequest) String() string { @@ -230,7 +222,7 @@ func (*GetGrantOutputRequest) ProtoMessage() {} func (x *GetGrantOutputRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -267,11 +259,9 @@ type GetGrantOutputResponse struct { func (x *GetGrantOutputResponse) Reset() { *x = GetGrantOutputResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGrantOutputResponse) String() string { @@ -282,7 +272,7 @@ func (*GetGrantOutputResponse) ProtoMessage() {} func (x *GetGrantOutputResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,11 +355,9 @@ type AWSRDSOutput struct { func (x *AWSRDSOutput) Reset() { *x = AWSRDSOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSRDSOutput) String() string { @@ -380,7 +368,7 @@ func (*AWSRDSOutput) ProtoMessage() {} func (x *AWSRDSOutput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -467,11 +455,9 @@ type AWSRDSDatabase struct { func (x *AWSRDSDatabase) Reset() { *x = AWSRDSDatabase{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSRDSDatabase) String() string { @@ -482,7 +468,7 @@ func (*AWSRDSDatabase) ProtoMessage() {} func (x *AWSRDSDatabase) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -558,11 +544,9 @@ type AWSRDSUser struct { func (x *AWSRDSUser) Reset() { *x = AWSRDSUser{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSRDSUser) String() string { @@ -573,7 +557,7 @@ func (*AWSRDSUser) ProtoMessage() {} func (x *AWSRDSUser) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -624,11 +608,9 @@ type AWSDynamicRoleOutput struct { func (x *AWSDynamicRoleOutput) Reset() { *x = AWSDynamicRoleOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSDynamicRoleOutput) String() string { @@ -639,7 +621,7 @@ func (*AWSDynamicRoleOutput) ProtoMessage() {} func (x *AWSDynamicRoleOutput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -707,11 +689,9 @@ type QueryGrantsResponse struct { func (x *QueryGrantsResponse) Reset() { *x = QueryGrantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGrantsResponse) String() string { @@ -722,7 +702,7 @@ func (*QueryGrantsResponse) ProtoMessage() {} func (x *QueryGrantsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -763,11 +743,9 @@ type QueryGrantChildrenRequest struct { func (x *QueryGrantChildrenRequest) Reset() { *x = QueryGrantChildrenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGrantChildrenRequest) String() string { @@ -778,7 +756,7 @@ func (*QueryGrantChildrenRequest) ProtoMessage() {} func (x *QueryGrantChildrenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -818,11 +796,9 @@ type QueryGrantChildrenResponse struct { func (x *QueryGrantChildrenResponse) Reset() { *x = QueryGrantChildrenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGrantChildrenResponse) String() string { @@ -833,7 +809,7 @@ func (*QueryGrantChildrenResponse) ProtoMessage() {} func (x *QueryGrantChildrenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_grants_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1127,152 +1103,6 @@ func file_commonfate_access_v1alpha1_grants_proto_init() { return } file_commonfate_access_v1alpha1_grant_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_grants_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*QueryGrantsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetGrantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetGrantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetGrantOutputRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetGrantOutputResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*AWSRDSOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*AWSRDSDatabase); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*AWSRDSUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*AWSDynamicRoleOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*QueryGrantsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*QueryGrantChildrenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_grants_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*QueryGrantChildrenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_grants_proto_msgTypes[0].OneofWrappers = []any{} file_commonfate_access_v1alpha1_grants_proto_msgTypes[2].OneofWrappers = []any{} file_commonfate_access_v1alpha1_grants_proto_msgTypes[4].OneofWrappers = []any{ diff --git a/gen/commonfate/access/v1alpha1/identity.pb.go b/gen/commonfate/access/v1alpha1/identity.pb.go index b1749217..06c5abba 100644 --- a/gen/commonfate/access/v1alpha1/identity.pb.go +++ b/gen/commonfate/access/v1alpha1/identity.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/identity.proto @@ -30,11 +30,9 @@ type GetCallerIdentityRequest struct { func (x *GetCallerIdentityRequest) Reset() { *x = GetCallerIdentityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCallerIdentityRequest) String() string { @@ -45,7 +43,7 @@ func (*GetCallerIdentityRequest) ProtoMessage() {} func (x *GetCallerIdentityRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,11 +77,9 @@ type GetCallerIdentityResponse struct { func (x *GetCallerIdentityResponse) Reset() { *x = GetCallerIdentityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCallerIdentityResponse) String() string { @@ -94,7 +90,7 @@ func (*GetCallerIdentityResponse) ProtoMessage() {} func (x *GetCallerIdentityResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -134,11 +130,9 @@ type IdentityLink struct { func (x *IdentityLink) Reset() { *x = IdentityLink{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IdentityLink) String() string { @@ -149,7 +143,7 @@ func (*IdentityLink) ProtoMessage() {} func (x *IdentityLink) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_identity_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -278,44 +272,6 @@ func file_commonfate_access_v1alpha1_identity_proto_init() { return } file_commonfate_access_v1alpha1_user_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_identity_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetCallerIdentityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_identity_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetCallerIdentityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_identity_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*IdentityLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/integration_audit_logs.pb.go b/gen/commonfate/access/v1alpha1/integration_audit_logs.pb.go index fb2b8bf4..220ff466 100644 --- a/gen/commonfate/access/v1alpha1/integration_audit_logs.pb.go +++ b/gen/commonfate/access/v1alpha1/integration_audit_logs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/integration_audit_logs.proto @@ -33,11 +33,9 @@ type BatchPutAuditLogRequest struct { func (x *BatchPutAuditLogRequest) Reset() { *x = BatchPutAuditLogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchPutAuditLogRequest) String() string { @@ -48,7 +46,7 @@ func (*BatchPutAuditLogRequest) ProtoMessage() {} func (x *BatchPutAuditLogRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,11 +83,9 @@ type BatchPutAuditLogResponse struct { func (x *BatchPutAuditLogResponse) Reset() { *x = BatchPutAuditLogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchPutAuditLogResponse) String() string { @@ -100,7 +96,7 @@ func (*BatchPutAuditLogResponse) ProtoMessage() {} func (x *BatchPutAuditLogResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -132,11 +128,9 @@ type IntegrationAuditLog struct { func (x *IntegrationAuditLog) Reset() { *x = IntegrationAuditLog{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntegrationAuditLog) String() string { @@ -147,7 +141,7 @@ func (*IntegrationAuditLog) ProtoMessage() {} func (x *IntegrationAuditLog) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,44 +286,6 @@ func file_commonfate_access_v1alpha1_integration_audit_logs_proto_init() { if File_commonfate_access_v1alpha1_integration_audit_logs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*BatchPutAuditLogRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*BatchPutAuditLogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_integration_audit_logs_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationAuditLog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/named_eid.pb.go b/gen/commonfate/access/v1alpha1/named_eid.pb.go index 98b03eca..cdde2a00 100644 --- a/gen/commonfate/access/v1alpha1/named_eid.pb.go +++ b/gen/commonfate/access/v1alpha1/named_eid.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/named_eid.proto @@ -32,11 +32,9 @@ type NamedEID struct { func (x *NamedEID) Reset() { *x = NamedEID{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_named_eid_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_named_eid_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedEID) String() string { @@ -47,7 +45,7 @@ func (*NamedEID) ProtoMessage() {} func (x *NamedEID) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_named_eid_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -141,20 +139,6 @@ func file_commonfate_access_v1alpha1_named_eid_proto_init() { if File_commonfate_access_v1alpha1_named_eid_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_named_eid_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*NamedEID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/proxy_session.pb.go b/gen/commonfate/access/v1alpha1/proxy_session.pb.go index 78eae07a..f7d30c7e 100644 --- a/gen/commonfate/access/v1alpha1/proxy_session.pb.go +++ b/gen/commonfate/access/v1alpha1/proxy_session.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/proxy_session.proto @@ -32,11 +32,9 @@ type StartSessionRequest struct { func (x *StartSessionRequest) Reset() { *x = StartSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSessionRequest) String() string { @@ -47,7 +45,7 @@ func (*StartSessionRequest) ProtoMessage() {} func (x *StartSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,11 +77,9 @@ type StartSessionResponse struct { func (x *StartSessionResponse) Reset() { *x = StartSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSessionResponse) String() string { @@ -94,7 +90,7 @@ func (*StartSessionResponse) ProtoMessage() {} func (x *StartSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,11 +122,9 @@ type EndSessionRequest struct { func (x *EndSessionRequest) Reset() { *x = EndSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EndSessionRequest) String() string { @@ -141,7 +135,7 @@ func (*EndSessionRequest) ProtoMessage() {} func (x *EndSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -171,11 +165,9 @@ type EndSessionResponse struct { func (x *EndSessionResponse) Reset() { *x = EndSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EndSessionResponse) String() string { @@ -186,7 +178,7 @@ func (*EndSessionResponse) ProtoMessage() {} func (x *EndSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -215,11 +207,9 @@ type PutSessionLogRequest struct { func (x *PutSessionLogRequest) Reset() { *x = PutSessionLogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutSessionLogRequest) String() string { @@ -230,7 +220,7 @@ func (*PutSessionLogRequest) ProtoMessage() {} func (x *PutSessionLogRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,11 +271,9 @@ type PutSessionLogResponse struct { func (x *PutSessionLogResponse) Reset() { *x = PutSessionLogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutSessionLogResponse) String() string { @@ -296,7 +284,7 @@ func (*PutSessionLogResponse) ProtoMessage() {} func (x *PutSessionLogResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -322,11 +310,9 @@ type QuerySessionLogsRequest struct { func (x *QuerySessionLogsRequest) Reset() { *x = QuerySessionLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QuerySessionLogsRequest) String() string { @@ -337,7 +323,7 @@ func (*QuerySessionLogsRequest) ProtoMessage() {} func (x *QuerySessionLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -377,11 +363,9 @@ type QuerySessionLogsResponse struct { func (x *QuerySessionLogsResponse) Reset() { *x = QuerySessionLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QuerySessionLogsResponse) String() string { @@ -392,7 +376,7 @@ func (*QuerySessionLogsResponse) ProtoMessage() {} func (x *QuerySessionLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -433,11 +417,9 @@ type SessionLog struct { func (x *SessionLog) Reset() { *x = SessionLog{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SessionLog) String() string { @@ -448,7 +430,7 @@ func (*SessionLog) ProtoMessage() {} func (x *SessionLog) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -487,11 +469,9 @@ type GetSessionRequest struct { func (x *GetSessionRequest) Reset() { *x = GetSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSessionRequest) String() string { @@ -502,7 +482,7 @@ func (*GetSessionRequest) ProtoMessage() {} func (x *GetSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -534,11 +514,9 @@ type GetSessionResponse struct { func (x *GetSessionResponse) Reset() { *x = GetSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSessionResponse) String() string { @@ -549,7 +527,7 @@ func (*GetSessionResponse) ProtoMessage() {} func (x *GetSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -585,11 +563,9 @@ type Session struct { func (x *Session) Reset() { *x = Session{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Session) String() string { @@ -600,7 +576,7 @@ func (*Session) ProtoMessage() {} func (x *Session) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -844,152 +820,6 @@ func file_commonfate_access_v1alpha1_proxy_session_proto_init() { if File_commonfate_access_v1alpha1_proxy_session_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*StartSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*StartSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*EndSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*EndSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*PutSessionLogRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*PutSessionLogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*QuerySessionLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*QuerySessionLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*SessionLog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*GetSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*Session); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_proxy_session_proto_msgTypes[11].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/commonfate/access/v1alpha1/regex_validation.pb.go b/gen/commonfate/access/v1alpha1/regex_validation.pb.go index 0b0f6335..c8cca445 100644 --- a/gen/commonfate/access/v1alpha1/regex_validation.pb.go +++ b/gen/commonfate/access/v1alpha1/regex_validation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/regex_validation.proto @@ -33,11 +33,9 @@ type RegexValidation struct { func (x *RegexValidation) Reset() { *x = RegexValidation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_regex_validation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_regex_validation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegexValidation) String() string { @@ -48,7 +46,7 @@ func (*RegexValidation) ProtoMessage() {} func (x *RegexValidation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_regex_validation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,20 +138,6 @@ func file_commonfate_access_v1alpha1_regex_validation_proto_init() { if File_commonfate_access_v1alpha1_regex_validation_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_regex_validation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*RegexValidation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/access/v1alpha1/resource.pb.go b/gen/commonfate/access/v1alpha1/resource.pb.go index 6d909bd9..19c4c0b8 100644 --- a/gen/commonfate/access/v1alpha1/resource.pb.go +++ b/gen/commonfate/access/v1alpha1/resource.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/resource.proto @@ -34,11 +34,9 @@ type Resource struct { func (x *Resource) Reset() { *x = Resource{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Resource) String() string { @@ -49,7 +47,7 @@ func (*Resource) ProtoMessage() {} func (x *Resource) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,11 +110,9 @@ type GCPProject struct { func (x *GCPProject) Reset() { *x = GCPProject{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCPProject) String() string { @@ -127,7 +123,7 @@ func (*GCPProject) ProtoMessage() {} func (x *GCPProject) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,11 +163,9 @@ type AWSAccount struct { func (x *AWSAccount) Reset() { *x = AWSAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSAccount) String() string { @@ -182,7 +176,7 @@ func (*AWSAccount) ProtoMessage() {} func (x *AWSAccount) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_resource_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,44 +287,6 @@ func file_commonfate_access_v1alpha1_resource_proto_init() { if File_commonfate_access_v1alpha1_resource_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_resource_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Resource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_resource_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GCPProject); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_access_v1alpha1_resource_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*AWSAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_access_v1alpha1_resource_proto_msgTypes[0].OneofWrappers = []any{ (*Resource_AwsAccount)(nil), (*Resource_GcpProject)(nil), diff --git a/gen/commonfate/access/v1alpha1/user.pb.go b/gen/commonfate/access/v1alpha1/user.pb.go index bcee571e..87828feb 100644 --- a/gen/commonfate/access/v1alpha1/user.pb.go +++ b/gen/commonfate/access/v1alpha1/user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/access/v1alpha1/user.proto @@ -34,11 +34,9 @@ type User struct { func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_access_v1alpha1_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_access_v1alpha1_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -49,7 +47,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_commonfate_access_v1alpha1_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,20 +151,6 @@ func file_commonfate_access_v1alpha1_user_proto_init() { if File_commonfate_access_v1alpha1_user_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_access_v1alpha1_user_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/authz.pb.go b/gen/commonfate/authz/v1alpha1/authz.pb.go index c8f30cfb..25ac9784 100644 --- a/gen/commonfate/authz/v1alpha1/authz.pb.go +++ b/gen/commonfate/authz/v1alpha1/authz.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/authz.proto @@ -33,11 +33,9 @@ type BatchAuthorizeRequest struct { func (x *BatchAuthorizeRequest) Reset() { *x = BatchAuthorizeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchAuthorizeRequest) String() string { @@ -48,7 +46,7 @@ func (*BatchAuthorizeRequest) ProtoMessage() {} func (x *BatchAuthorizeRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -80,11 +78,9 @@ type BatchAuthorizeResponse struct { func (x *BatchAuthorizeResponse) Reset() { *x = BatchAuthorizeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchAuthorizeResponse) String() string { @@ -95,7 +91,7 @@ func (*BatchAuthorizeResponse) ProtoMessage() {} func (x *BatchAuthorizeResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_authz_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,32 +215,6 @@ func file_commonfate_authz_v1alpha1_authz_proto_init() { file_commonfate_authz_v1alpha1_request_proto_init() file_commonfate_authz_v1alpha1_policy_proto_init() file_commonfate_authz_v1alpha1_evaluation_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_authz_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*BatchAuthorizeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_authz_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*BatchAuthorizeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/evaluation.pb.go b/gen/commonfate/authz/v1alpha1/evaluation.pb.go index f4bb9b80..f13a6ad9 100644 --- a/gen/commonfate/authz/v1alpha1/evaluation.pb.go +++ b/gen/commonfate/authz/v1alpha1/evaluation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/evaluation.proto @@ -91,11 +91,9 @@ type DebugEvaluation struct { func (x *DebugEvaluation) Reset() { *x = DebugEvaluation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugEvaluation) String() string { @@ -106,7 +104,7 @@ func (*DebugEvaluation) ProtoMessage() {} func (x *DebugEvaluation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,11 +162,9 @@ type Evaluation struct { func (x *Evaluation) Reset() { *x = Evaluation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Evaluation) String() string { @@ -179,7 +175,7 @@ func (*Evaluation) ProtoMessage() {} func (x *Evaluation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -262,11 +258,9 @@ type Diagnostics struct { func (x *Diagnostics) Reset() { *x = Diagnostics{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Diagnostics) String() string { @@ -277,7 +271,7 @@ func (*Diagnostics) ProtoMessage() {} func (x *Diagnostics) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -330,11 +324,9 @@ type Annotation struct { func (x *Annotation) Reset() { *x = Annotation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Annotation) String() string { @@ -345,7 +337,7 @@ func (*Annotation) ProtoMessage() {} func (x *Annotation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,11 +386,9 @@ type DebugInformation struct { func (x *DebugInformation) Reset() { *x = DebugInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugInformation) String() string { @@ -409,7 +399,7 @@ func (*DebugInformation) ProtoMessage() {} func (x *DebugInformation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -596,68 +586,6 @@ func file_commonfate_authz_v1alpha1_evaluation_proto_init() { } file_commonfate_authz_v1alpha1_request_proto_init() file_commonfate_authz_v1alpha1_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DebugEvaluation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Evaluation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Diagnostics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Annotation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_evaluation_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*DebugInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/health.pb.go b/gen/commonfate/authz/v1alpha1/health.pb.go index f0133025..f123c3d1 100644 --- a/gen/commonfate/authz/v1alpha1/health.pb.go +++ b/gen/commonfate/authz/v1alpha1/health.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/health.proto @@ -28,11 +28,9 @@ type HealthCheckRequest struct { func (x *HealthCheckRequest) Reset() { *x = HealthCheckRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthCheckRequest) String() string { @@ -43,7 +41,7 @@ func (*HealthCheckRequest) ProtoMessage() {} func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -66,11 +64,9 @@ type HealthCheckResponse struct { func (x *HealthCheckResponse) Reset() { *x = HealthCheckResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HealthCheckResponse) String() string { @@ -81,7 +77,7 @@ func (*HealthCheckResponse) ProtoMessage() {} func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_health_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -169,32 +165,6 @@ func file_commonfate_authz_v1alpha1_health_proto_init() { return } file_commonfate_authz_v1alpha1_read_only_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_health_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*HealthCheckRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_health_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*HealthCheckResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/policy.pb.go b/gen/commonfate/authz/v1alpha1/policy.pb.go index 46f236a4..9879495b 100644 --- a/gen/commonfate/authz/v1alpha1/policy.pb.go +++ b/gen/commonfate/authz/v1alpha1/policy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/policy.proto @@ -34,11 +34,9 @@ type Policy struct { func (x *Policy) Reset() { *x = Policy{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Policy) String() string { @@ -49,7 +47,7 @@ func (*Policy) ProtoMessage() {} func (x *Policy) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -93,11 +91,9 @@ type PolicySet struct { func (x *PolicySet) Reset() { *x = PolicySet{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicySet) String() string { @@ -108,7 +104,7 @@ func (*PolicySet) ProtoMessage() {} func (x *PolicySet) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -157,11 +153,9 @@ type PolicySetInput struct { func (x *PolicySetInput) Reset() { *x = PolicySetInput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PolicySetInput) String() string { @@ -172,7 +166,7 @@ func (*PolicySetInput) ProtoMessage() {} func (x *PolicySetInput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,11 +206,9 @@ type ListPolicySetsRequest struct { func (x *ListPolicySetsRequest) Reset() { *x = ListPolicySetsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicySetsRequest) String() string { @@ -227,7 +219,7 @@ func (*ListPolicySetsRequest) ProtoMessage() {} func (x *ListPolicySetsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -260,11 +252,9 @@ type ListPolicySetsResponse struct { func (x *ListPolicySetsResponse) Reset() { *x = ListPolicySetsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPolicySetsResponse) String() string { @@ -275,7 +265,7 @@ func (*ListPolicySetsResponse) ProtoMessage() {} func (x *ListPolicySetsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,11 +304,9 @@ type CreatePolicySetRequest struct { func (x *CreatePolicySetRequest) Reset() { *x = CreatePolicySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePolicySetRequest) String() string { @@ -329,7 +317,7 @@ func (*CreatePolicySetRequest) ProtoMessage() {} func (x *CreatePolicySetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,11 +349,9 @@ type CreatePolicySetResponse struct { func (x *CreatePolicySetResponse) Reset() { *x = CreatePolicySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePolicySetResponse) String() string { @@ -376,7 +362,7 @@ func (*CreatePolicySetResponse) ProtoMessage() {} func (x *CreatePolicySetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +394,9 @@ type UpdatePolicySetRequest struct { func (x *UpdatePolicySetRequest) Reset() { *x = UpdatePolicySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePolicySetRequest) String() string { @@ -423,7 +407,7 @@ func (*UpdatePolicySetRequest) ProtoMessage() {} func (x *UpdatePolicySetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,11 +439,9 @@ type UpdatePolicySetResponse struct { func (x *UpdatePolicySetResponse) Reset() { *x = UpdatePolicySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdatePolicySetResponse) String() string { @@ -470,7 +452,7 @@ func (*UpdatePolicySetResponse) ProtoMessage() {} func (x *UpdatePolicySetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -502,11 +484,9 @@ type DeletePolicySetRequest struct { func (x *DeletePolicySetRequest) Reset() { *x = DeletePolicySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicySetRequest) String() string { @@ -517,7 +497,7 @@ func (*DeletePolicySetRequest) ProtoMessage() {} func (x *DeletePolicySetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -549,11 +529,9 @@ type DeletePolicySetResponse struct { func (x *DeletePolicySetResponse) Reset() { *x = DeletePolicySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePolicySetResponse) String() string { @@ -564,7 +542,7 @@ func (*DeletePolicySetResponse) ProtoMessage() {} func (x *DeletePolicySetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -597,11 +575,9 @@ type GetPolicySetRequest struct { func (x *GetPolicySetRequest) Reset() { *x = GetPolicySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicySetRequest) String() string { @@ -612,7 +588,7 @@ func (*GetPolicySetRequest) ProtoMessage() {} func (x *GetPolicySetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -644,11 +620,9 @@ type GetPolicySetResponse struct { func (x *GetPolicySetResponse) Reset() { *x = GetPolicySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPolicySetResponse) String() string { @@ -659,7 +633,7 @@ func (*GetPolicySetResponse) ProtoMessage() {} func (x *GetPolicySetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_policy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -874,164 +848,6 @@ func file_commonfate_authz_v1alpha1_policy_proto_init() { return } file_commonfate_authz_v1alpha1_read_only_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Policy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*PolicySet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*PolicySetInput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ListPolicySetsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ListPolicySetsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*CreatePolicySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CreatePolicySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*UpdatePolicySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*UpdatePolicySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*DeletePolicySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*DeletePolicySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*GetPolicySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_policy_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*GetPolicySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/read_only.pb.go b/gen/commonfate/authz/v1alpha1/read_only.pb.go index 2a18b106..27482313 100644 --- a/gen/commonfate/authz/v1alpha1/read_only.pb.go +++ b/gen/commonfate/authz/v1alpha1/read_only.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/read_only.proto diff --git a/gen/commonfate/authz/v1alpha1/request.pb.go b/gen/commonfate/authz/v1alpha1/request.pb.go index d4c8e92e..711e6213 100644 --- a/gen/commonfate/authz/v1alpha1/request.pb.go +++ b/gen/commonfate/authz/v1alpha1/request.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/request.proto @@ -50,11 +50,9 @@ type Request struct { func (x *Request) Reset() { *x = Request{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Request) String() string { @@ -65,7 +63,7 @@ func (*Request) ProtoMessage() {} func (x *Request) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,11 +138,9 @@ type Tag struct { func (x *Tag) Reset() { *x = Tag{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Tag) String() string { @@ -155,7 +151,7 @@ func (*Tag) ProtoMessage() {} func (x *Tag) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_request_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,32 +284,6 @@ func file_commonfate_authz_v1alpha1_request_proto_init() { if File_commonfate_authz_v1alpha1_request_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_request_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Request); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_request_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Tag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/schema.pb.go b/gen/commonfate/authz/v1alpha1/schema.pb.go index b517de4c..115f144f 100644 --- a/gen/commonfate/authz/v1alpha1/schema.pb.go +++ b/gen/commonfate/authz/v1alpha1/schema.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/schema.proto @@ -28,11 +28,9 @@ type GetSchemaJSONStringRequest struct { func (x *GetSchemaJSONStringRequest) Reset() { *x = GetSchemaJSONStringRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSchemaJSONStringRequest) String() string { @@ -43,7 +41,7 @@ func (*GetSchemaJSONStringRequest) ProtoMessage() {} func (x *GetSchemaJSONStringRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,11 +66,9 @@ type GetSchemaJSONStringResponse struct { func (x *GetSchemaJSONStringResponse) Reset() { *x = GetSchemaJSONStringResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSchemaJSONStringResponse) String() string { @@ -83,7 +79,7 @@ func (*GetSchemaJSONStringResponse) ProtoMessage() {} func (x *GetSchemaJSONStringResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_schema_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,32 +178,6 @@ func file_commonfate_authz_v1alpha1_schema_proto_init() { return } file_commonfate_authz_v1alpha1_read_only_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_schema_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetSchemaJSONStringRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_schema_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetSchemaJSONStringResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/authz/v1alpha1/validation.pb.go b/gen/commonfate/authz/v1alpha1/validation.pb.go index f53e240d..ab5eb39e 100644 --- a/gen/commonfate/authz/v1alpha1/validation.pb.go +++ b/gen/commonfate/authz/v1alpha1/validation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/authz/v1alpha1/validation.proto @@ -162,11 +162,9 @@ type ValidatePolicySetTextRequest struct { func (x *ValidatePolicySetTextRequest) Reset() { *x = ValidatePolicySetTextRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidatePolicySetTextRequest) String() string { @@ -177,7 +175,7 @@ func (*ValidatePolicySetTextRequest) ProtoMessage() {} func (x *ValidatePolicySetTextRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -209,11 +207,9 @@ type ValidatePolicySetTextResponse struct { func (x *ValidatePolicySetTextResponse) Reset() { *x = ValidatePolicySetTextResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidatePolicySetTextResponse) String() string { @@ -224,7 +220,7 @@ func (*ValidatePolicySetTextResponse) ProtoMessage() {} func (x *ValidatePolicySetTextResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,11 +253,9 @@ type ValidationResult struct { func (x *ValidationResult) Reset() { *x = ValidationResult{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidationResult) String() string { @@ -272,7 +266,7 @@ func (*ValidationResult) ProtoMessage() {} func (x *ValidationResult) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -312,11 +306,9 @@ type ValidationError struct { func (x *ValidationError) Reset() { *x = ValidationError{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidationError) String() string { @@ -327,7 +319,7 @@ func (*ValidationError) ProtoMessage() {} func (x *ValidationError) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -367,11 +359,9 @@ type ValidationWarning struct { func (x *ValidationWarning) Reset() { *x = ValidationWarning{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidationWarning) String() string { @@ -382,7 +372,7 @@ func (*ValidationWarning) ProtoMessage() {} func (x *ValidationWarning) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,11 +413,9 @@ type SourceRange struct { func (x *SourceRange) Reset() { *x = SourceRange{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SourceRange) String() string { @@ -438,7 +426,7 @@ func (*SourceRange) ProtoMessage() {} func (x *SourceRange) ProtoReflect() protoreflect.Message { mi := &file_commonfate_authz_v1alpha1_validation_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -623,80 +611,6 @@ func file_commonfate_authz_v1alpha1_validation_proto_init() { return } file_commonfate_authz_v1alpha1_read_only_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ValidatePolicySetTextRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ValidatePolicySetTextResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ValidationResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ValidationError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ValidationWarning); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_authz_v1alpha1_validation_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*SourceRange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/attest/v1alpha1/attest.pb.go b/gen/commonfate/control/attest/v1alpha1/attest.pb.go index e0198323..7c2e9646 100644 --- a/gen/commonfate/control/attest/v1alpha1/attest.pb.go +++ b/gen/commonfate/control/attest/v1alpha1/attest.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/attest/v1alpha1/attest.proto @@ -31,11 +31,9 @@ type RegisterDeviceRequest struct { func (x *RegisterDeviceRequest) Reset() { *x = RegisterDeviceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterDeviceRequest) String() string { @@ -46,7 +44,7 @@ func (*RegisterDeviceRequest) ProtoMessage() {} func (x *RegisterDeviceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,11 +85,9 @@ type RegisterDeviceResponse struct { func (x *RegisterDeviceResponse) Reset() { *x = RegisterDeviceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterDeviceResponse) String() string { @@ -102,7 +98,7 @@ func (*RegisterDeviceResponse) ProtoMessage() {} func (x *RegisterDeviceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -229,32 +225,6 @@ func file_commonfate_control_attest_v1alpha1_attest_proto_init() { return } file_commonfate_control_attest_v1alpha1_attestation_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*RegisterDeviceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_attest_v1alpha1_attest_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*RegisterDeviceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/attest/v1alpha1/attestation.pb.go b/gen/commonfate/control/attest/v1alpha1/attestation.pb.go index 369167c7..d2e4ac67 100644 --- a/gen/commonfate/control/attest/v1alpha1/attestation.pb.go +++ b/gen/commonfate/control/attest/v1alpha1/attestation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/attest/v1alpha1/attestation.proto @@ -88,11 +88,9 @@ type Header struct { func (x *Header) Reset() { *x = Header{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Header) String() string { @@ -103,7 +101,7 @@ func (*Header) ProtoMessage() {} func (x *Header) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -169,11 +167,9 @@ type Device struct { func (x *Device) Reset() { *x = Device{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Device) String() string { @@ -184,7 +180,7 @@ func (*Device) ProtoMessage() {} func (x *Device) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,11 +255,9 @@ type Attestation struct { func (x *Attestation) Reset() { *x = Attestation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attestation) String() string { @@ -274,7 +268,7 @@ func (*Attestation) ProtoMessage() {} func (x *Attestation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -412,44 +406,6 @@ func file_commonfate_control_attest_v1alpha1_attestation_proto_init() { if File_commonfate_control_attest_v1alpha1_attestation_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Device); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_attest_v1alpha1_attestation_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Attestation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/access_workflow.pb.go b/gen/commonfate/control/config/v1alpha1/access_workflow.pb.go index b8815aa3..456437a6 100644 --- a/gen/commonfate/control/config/v1alpha1/access_workflow.pb.go +++ b/gen/commonfate/control/config/v1alpha1/access_workflow.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/access_workflow.proto @@ -34,11 +34,9 @@ type ApprovalStep struct { func (x *ApprovalStep) Reset() { *x = ApprovalStep{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ApprovalStep) String() string { @@ -49,7 +47,7 @@ func (*ApprovalStep) ProtoMessage() {} func (x *ApprovalStep) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -99,11 +97,9 @@ type AccessWorkflow struct { func (x *AccessWorkflow) Reset() { *x = AccessWorkflow{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessWorkflow) String() string { @@ -114,7 +110,7 @@ func (*AccessWorkflow) ProtoMessage() {} func (x *AccessWorkflow) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -226,11 +222,9 @@ type ValidationConfig struct { func (x *ValidationConfig) Reset() { *x = ValidationConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidationConfig) String() string { @@ -241,7 +235,7 @@ func (*ValidationConfig) ProtoMessage() {} func (x *ValidationConfig) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,11 +284,9 @@ type CreateAccessWorkflowRequest struct { func (x *CreateAccessWorkflowRequest) Reset() { *x = CreateAccessWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAccessWorkflowRequest) String() string { @@ -305,7 +297,7 @@ func (*CreateAccessWorkflowRequest) ProtoMessage() {} func (x *CreateAccessWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -407,11 +399,9 @@ type CreateAccessWorkflowResponse struct { func (x *CreateAccessWorkflowResponse) Reset() { *x = CreateAccessWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAccessWorkflowResponse) String() string { @@ -422,7 +412,7 @@ func (*CreateAccessWorkflowResponse) ProtoMessage() {} func (x *CreateAccessWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +444,9 @@ type GetAccessWorkflowRequest struct { func (x *GetAccessWorkflowRequest) Reset() { *x = GetAccessWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessWorkflowRequest) String() string { @@ -469,7 +457,7 @@ func (*GetAccessWorkflowRequest) ProtoMessage() {} func (x *GetAccessWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -501,11 +489,9 @@ type GetAccessWorkflowResponse struct { func (x *GetAccessWorkflowResponse) Reset() { *x = GetAccessWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccessWorkflowResponse) String() string { @@ -516,7 +502,7 @@ func (*GetAccessWorkflowResponse) ProtoMessage() {} func (x *GetAccessWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,11 +534,9 @@ type UpdateAccessWorkflowRequest struct { func (x *UpdateAccessWorkflowRequest) Reset() { *x = UpdateAccessWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAccessWorkflowRequest) String() string { @@ -563,7 +547,7 @@ func (*UpdateAccessWorkflowRequest) ProtoMessage() {} func (x *UpdateAccessWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -595,11 +579,9 @@ type UpdateAccessWorkflowResponse struct { func (x *UpdateAccessWorkflowResponse) Reset() { *x = UpdateAccessWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAccessWorkflowResponse) String() string { @@ -610,7 +592,7 @@ func (*UpdateAccessWorkflowResponse) ProtoMessage() {} func (x *UpdateAccessWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -642,11 +624,9 @@ type DeleteAccessWorkflowRequest struct { func (x *DeleteAccessWorkflowRequest) Reset() { *x = DeleteAccessWorkflowRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAccessWorkflowRequest) String() string { @@ -657,7 +637,7 @@ func (*DeleteAccessWorkflowRequest) ProtoMessage() {} func (x *DeleteAccessWorkflowRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -689,11 +669,9 @@ type DeleteAccessWorkflowResponse struct { func (x *DeleteAccessWorkflowResponse) Reset() { *x = DeleteAccessWorkflowResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAccessWorkflowResponse) String() string { @@ -704,7 +682,7 @@ func (*DeleteAccessWorkflowResponse) ProtoMessage() {} func (x *DeleteAccessWorkflowResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1032,140 +1010,6 @@ func file_commonfate_control_config_v1alpha1_access_workflow_proto_init() { if File_commonfate_control_config_v1alpha1_access_workflow_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ApprovalStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*AccessWorkflow); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ValidationConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*CreateAccessWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*CreateAccessWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetAccessWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAccessWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAccessWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAccessWorkflowRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_access_workflow_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAccessWorkflowResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/availability_spec.pb.go b/gen/commonfate/control/config/v1alpha1/availability_spec.pb.go index e1b9c29a..50f94175 100644 --- a/gen/commonfate/control/config/v1alpha1/availability_spec.pb.go +++ b/gen/commonfate/control/config/v1alpha1/availability_spec.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/availability_spec.proto @@ -38,11 +38,9 @@ type AvailabilitySpec struct { func (x *AvailabilitySpec) Reset() { *x = AvailabilitySpec{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilitySpec) String() string { @@ -53,7 +51,7 @@ func (*AvailabilitySpec) ProtoMessage() {} func (x *AvailabilitySpec) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -124,11 +122,9 @@ type CreateAvailabilitySpecRequest struct { func (x *CreateAvailabilitySpecRequest) Reset() { *x = CreateAvailabilitySpecRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAvailabilitySpecRequest) String() string { @@ -139,7 +135,7 @@ func (*CreateAvailabilitySpecRequest) ProtoMessage() {} func (x *CreateAvailabilitySpecRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,11 +195,9 @@ type CreateAvailabilitySpecResponse struct { func (x *CreateAvailabilitySpecResponse) Reset() { *x = CreateAvailabilitySpecResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAvailabilitySpecResponse) String() string { @@ -214,7 +208,7 @@ func (*CreateAvailabilitySpecResponse) ProtoMessage() {} func (x *CreateAvailabilitySpecResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,11 +240,9 @@ type GetAvailabilitySpecRequest struct { func (x *GetAvailabilitySpecRequest) Reset() { *x = GetAvailabilitySpecRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAvailabilitySpecRequest) String() string { @@ -261,7 +253,7 @@ func (*GetAvailabilitySpecRequest) ProtoMessage() {} func (x *GetAvailabilitySpecRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,11 +285,9 @@ type GetAvailabilitySpecResponse struct { func (x *GetAvailabilitySpecResponse) Reset() { *x = GetAvailabilitySpecResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAvailabilitySpecResponse) String() string { @@ -308,7 +298,7 @@ func (*GetAvailabilitySpecResponse) ProtoMessage() {} func (x *GetAvailabilitySpecResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -340,11 +330,9 @@ type UpdateAvailabilitySpecRequest struct { func (x *UpdateAvailabilitySpecRequest) Reset() { *x = UpdateAvailabilitySpecRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAvailabilitySpecRequest) String() string { @@ -355,7 +343,7 @@ func (*UpdateAvailabilitySpecRequest) ProtoMessage() {} func (x *UpdateAvailabilitySpecRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -387,11 +375,9 @@ type UpdateAvailabilitySpecResponse struct { func (x *UpdateAvailabilitySpecResponse) Reset() { *x = UpdateAvailabilitySpecResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAvailabilitySpecResponse) String() string { @@ -402,7 +388,7 @@ func (*UpdateAvailabilitySpecResponse) ProtoMessage() {} func (x *UpdateAvailabilitySpecResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -434,11 +420,9 @@ type DeleteAvailabilitySpecRequest struct { func (x *DeleteAvailabilitySpecRequest) Reset() { *x = DeleteAvailabilitySpecRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAvailabilitySpecRequest) String() string { @@ -449,7 +433,7 @@ func (*DeleteAvailabilitySpecRequest) ProtoMessage() {} func (x *DeleteAvailabilitySpecRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -481,11 +465,9 @@ type DeleteAvailabilitySpecResponse struct { func (x *DeleteAvailabilitySpecResponse) Reset() { *x = DeleteAvailabilitySpecResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAvailabilitySpecResponse) String() string { @@ -496,7 +478,7 @@ func (*DeleteAvailabilitySpecResponse) ProtoMessage() {} func (x *DeleteAvailabilitySpecResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -737,116 +719,6 @@ func file_commonfate_control_config_v1alpha1_availability_spec_proto_init() { if File_commonfate_control_config_v1alpha1_availability_spec_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AvailabilitySpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateAvailabilitySpecRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateAvailabilitySpecResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetAvailabilitySpecRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetAvailabilitySpecResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAvailabilitySpecRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAvailabilitySpecResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAvailabilitySpecRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAvailabilitySpecResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[0].OneofWrappers = []any{} file_commonfate_control_config_v1alpha1_availability_spec_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} diff --git a/gen/commonfate/control/config/v1alpha1/aws_resource_scanner.pb.go b/gen/commonfate/control/config/v1alpha1/aws_resource_scanner.pb.go index d81734d5..309bf25e 100644 --- a/gen/commonfate/control/config/v1alpha1/aws_resource_scanner.pb.go +++ b/gen/commonfate/control/config/v1alpha1/aws_resource_scanner.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/aws_resource_scanner.proto @@ -44,11 +44,9 @@ type CreateAWSResourceScannerRequest struct { func (x *CreateAWSResourceScannerRequest) Reset() { *x = CreateAWSResourceScannerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAWSResourceScannerRequest) String() string { @@ -59,7 +57,7 @@ func (*CreateAWSResourceScannerRequest) ProtoMessage() {} func (x *CreateAWSResourceScannerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -132,11 +130,9 @@ type AWSResourceScanner struct { func (x *AWSResourceScanner) Reset() { *x = AWSResourceScanner{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSResourceScanner) String() string { @@ -147,7 +143,7 @@ func (*AWSResourceScanner) ProtoMessage() {} func (x *AWSResourceScanner) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +210,9 @@ type CreateAWSResourceScannerResponse struct { func (x *CreateAWSResourceScannerResponse) Reset() { *x = CreateAWSResourceScannerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAWSResourceScannerResponse) String() string { @@ -229,7 +223,7 @@ func (*CreateAWSResourceScannerResponse) ProtoMessage() {} func (x *CreateAWSResourceScannerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,11 +255,9 @@ type GetAWSResourceScannerRequest struct { func (x *GetAWSResourceScannerRequest) Reset() { *x = GetAWSResourceScannerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAWSResourceScannerRequest) String() string { @@ -276,7 +268,7 @@ func (*GetAWSResourceScannerRequest) ProtoMessage() {} func (x *GetAWSResourceScannerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -308,11 +300,9 @@ type GetAWSResourceScannerResponse struct { func (x *GetAWSResourceScannerResponse) Reset() { *x = GetAWSResourceScannerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAWSResourceScannerResponse) String() string { @@ -323,7 +313,7 @@ func (*GetAWSResourceScannerResponse) ProtoMessage() {} func (x *GetAWSResourceScannerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,11 +345,9 @@ type UpdateAWSResourceScannerRequest struct { func (x *UpdateAWSResourceScannerRequest) Reset() { *x = UpdateAWSResourceScannerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAWSResourceScannerRequest) String() string { @@ -370,7 +358,7 @@ func (*UpdateAWSResourceScannerRequest) ProtoMessage() {} func (x *UpdateAWSResourceScannerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -402,11 +390,9 @@ type UpdateAWSResourceScannerResponse struct { func (x *UpdateAWSResourceScannerResponse) Reset() { *x = UpdateAWSResourceScannerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAWSResourceScannerResponse) String() string { @@ -417,7 +403,7 @@ func (*UpdateAWSResourceScannerResponse) ProtoMessage() {} func (x *UpdateAWSResourceScannerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,11 +435,9 @@ type DeleteAWSResourceScannerRequest struct { func (x *DeleteAWSResourceScannerRequest) Reset() { *x = DeleteAWSResourceScannerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAWSResourceScannerRequest) String() string { @@ -464,7 +448,7 @@ func (*DeleteAWSResourceScannerRequest) ProtoMessage() {} func (x *DeleteAWSResourceScannerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,11 +480,9 @@ type DeleteAWSResourceScannerResponse struct { func (x *DeleteAWSResourceScannerResponse) Reset() { *x = DeleteAWSResourceScannerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAWSResourceScannerResponse) String() string { @@ -511,7 +493,7 @@ func (*DeleteAWSResourceScannerResponse) ProtoMessage() {} func (x *DeleteAWSResourceScannerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -735,116 +717,6 @@ func file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_init() { if File_commonfate_control_config_v1alpha1_aws_resource_scanner_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateAWSResourceScannerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*AWSResourceScanner); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateAWSResourceScannerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetAWSResourceScannerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetAWSResourceScannerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAWSResourceScannerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAWSResourceScannerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAWSResourceScannerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_aws_resource_scanner_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteAWSResourceScannerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/deployment.pb.go b/gen/commonfate/control/config/v1alpha1/deployment.pb.go index aea8a8fe..823aa1e4 100644 --- a/gen/commonfate/control/config/v1alpha1/deployment.pb.go +++ b/gen/commonfate/control/config/v1alpha1/deployment.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/deployment.proto @@ -81,11 +81,9 @@ type GetDeploymentConfigRequest struct { func (x *GetDeploymentConfigRequest) Reset() { *x = GetDeploymentConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentConfigRequest) String() string { @@ -96,7 +94,7 @@ func (*GetDeploymentConfigRequest) ProtoMessage() {} func (x *GetDeploymentConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -121,11 +119,9 @@ type GetDeploymentConfigResponse struct { func (x *GetDeploymentConfigResponse) Reset() { *x = GetDeploymentConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentConfigResponse) String() string { @@ -136,7 +132,7 @@ func (*GetDeploymentConfigResponse) ProtoMessage() {} func (x *GetDeploymentConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -173,11 +169,9 @@ type DeploymentConfig struct { func (x *DeploymentConfig) Reset() { *x = DeploymentConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeploymentConfig) String() string { @@ -188,7 +182,7 @@ func (*DeploymentConfig) ProtoMessage() {} func (x *DeploymentConfig) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,11 +249,9 @@ type GetDeploymentSecretRequest struct { func (x *GetDeploymentSecretRequest) Reset() { *x = GetDeploymentSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentSecretRequest) String() string { @@ -270,7 +262,7 @@ func (*GetDeploymentSecretRequest) ProtoMessage() {} func (x *GetDeploymentSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -302,11 +294,9 @@ type GetDeploymentSecretResponse struct { func (x *GetDeploymentSecretResponse) Reset() { *x = GetDeploymentSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentSecretResponse) String() string { @@ -317,7 +307,7 @@ func (*GetDeploymentSecretResponse) ProtoMessage() {} func (x *GetDeploymentSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,68 +478,6 @@ func file_commonfate_control_config_v1alpha1_deployment_proto_init() { if File_commonfate_control_config_v1alpha1_deployment_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*DeploymentConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_deployment_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/eks_access_entry_template.pb.go b/gen/commonfate/control/config/v1alpha1/eks_access_entry_template.pb.go index 882251d3..b965638e 100644 --- a/gen/commonfate/control/config/v1alpha1/eks_access_entry_template.pb.go +++ b/gen/commonfate/control/config/v1alpha1/eks_access_entry_template.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/eks_access_entry_template.proto @@ -36,11 +36,9 @@ type CreateEKSAccessEntryTemplateRequest struct { func (x *CreateEKSAccessEntryTemplateRequest) Reset() { *x = CreateEKSAccessEntryTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEKSAccessEntryTemplateRequest) String() string { @@ -51,7 +49,7 @@ func (*CreateEKSAccessEntryTemplateRequest) ProtoMessage() {} func (x *CreateEKSAccessEntryTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -111,11 +109,9 @@ type EKSClusterAccessPolicy struct { func (x *EKSClusterAccessPolicy) Reset() { *x = EKSClusterAccessPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EKSClusterAccessPolicy) String() string { @@ -126,7 +122,7 @@ func (*EKSClusterAccessPolicy) ProtoMessage() {} func (x *EKSClusterAccessPolicy) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -159,11 +155,9 @@ type EKSNamespaceAccessPolicy struct { func (x *EKSNamespaceAccessPolicy) Reset() { *x = EKSNamespaceAccessPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EKSNamespaceAccessPolicy) String() string { @@ -174,7 +168,7 @@ func (*EKSNamespaceAccessPolicy) ProtoMessage() {} func (x *EKSNamespaceAccessPolicy) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +208,9 @@ type EKSAccessEntryTag struct { func (x *EKSAccessEntryTag) Reset() { *x = EKSAccessEntryTag{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EKSAccessEntryTag) String() string { @@ -229,7 +221,7 @@ func (*EKSAccessEntryTag) ProtoMessage() {} func (x *EKSAccessEntryTag) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -273,11 +265,9 @@ type EKSAccessEntryTemplate struct { func (x *EKSAccessEntryTemplate) Reset() { *x = EKSAccessEntryTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EKSAccessEntryTemplate) String() string { @@ -288,7 +278,7 @@ func (*EKSAccessEntryTemplate) ProtoMessage() {} func (x *EKSAccessEntryTemplate) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,11 +345,9 @@ type CreateEKSAccessEntryTemplateResponse struct { func (x *CreateEKSAccessEntryTemplateResponse) Reset() { *x = CreateEKSAccessEntryTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEKSAccessEntryTemplateResponse) String() string { @@ -370,7 +358,7 @@ func (*CreateEKSAccessEntryTemplateResponse) ProtoMessage() {} func (x *CreateEKSAccessEntryTemplateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -402,11 +390,9 @@ type GetEKSAccessEntryTemplateRequest struct { func (x *GetEKSAccessEntryTemplateRequest) Reset() { *x = GetEKSAccessEntryTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEKSAccessEntryTemplateRequest) String() string { @@ -417,7 +403,7 @@ func (*GetEKSAccessEntryTemplateRequest) ProtoMessage() {} func (x *GetEKSAccessEntryTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,11 +435,9 @@ type GetEKSAccessEntryTemplateResponse struct { func (x *GetEKSAccessEntryTemplateResponse) Reset() { *x = GetEKSAccessEntryTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEKSAccessEntryTemplateResponse) String() string { @@ -464,7 +448,7 @@ func (*GetEKSAccessEntryTemplateResponse) ProtoMessage() {} func (x *GetEKSAccessEntryTemplateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,11 +480,9 @@ type UpdateEKSAccessEntryTemplateRequest struct { func (x *UpdateEKSAccessEntryTemplateRequest) Reset() { *x = UpdateEKSAccessEntryTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEKSAccessEntryTemplateRequest) String() string { @@ -511,7 +493,7 @@ func (*UpdateEKSAccessEntryTemplateRequest) ProtoMessage() {} func (x *UpdateEKSAccessEntryTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -543,11 +525,9 @@ type UpdateEKSAccessEntryTemplateResponse struct { func (x *UpdateEKSAccessEntryTemplateResponse) Reset() { *x = UpdateEKSAccessEntryTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEKSAccessEntryTemplateResponse) String() string { @@ -558,7 +538,7 @@ func (*UpdateEKSAccessEntryTemplateResponse) ProtoMessage() {} func (x *UpdateEKSAccessEntryTemplateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -590,11 +570,9 @@ type DeleteEKSAccessEntryTemplateRequest struct { func (x *DeleteEKSAccessEntryTemplateRequest) Reset() { *x = DeleteEKSAccessEntryTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEKSAccessEntryTemplateRequest) String() string { @@ -605,7 +583,7 @@ func (*DeleteEKSAccessEntryTemplateRequest) ProtoMessage() {} func (x *DeleteEKSAccessEntryTemplateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -637,11 +615,9 @@ type DeleteEKSAccessEntryTemplateResponse struct { func (x *DeleteEKSAccessEntryTemplateResponse) Reset() { *x = DeleteEKSAccessEntryTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEKSAccessEntryTemplateResponse) String() string { @@ -652,7 +628,7 @@ func (*DeleteEKSAccessEntryTemplateResponse) ProtoMessage() {} func (x *DeleteEKSAccessEntryTemplateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -971,152 +947,6 @@ func file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_ini if File_commonfate_control_config_v1alpha1_eks_access_entry_template_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateEKSAccessEntryTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*EKSClusterAccessPolicy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*EKSNamespaceAccessPolicy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*EKSAccessEntryTag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*EKSAccessEntryTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*CreateEKSAccessEntryTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetEKSAccessEntryTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*GetEKSAccessEntryTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*UpdateEKSAccessEntryTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*UpdateEKSAccessEntryTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*DeleteEKSAccessEntryTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_access_entry_template_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*DeleteEKSAccessEntryTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/eks_cluster.pb.go b/gen/commonfate/control/config/v1alpha1/eks_cluster.pb.go index 49c7cee7..87b2577c 100644 --- a/gen/commonfate/control/config/v1alpha1/eks_cluster.pb.go +++ b/gen/commonfate/control/config/v1alpha1/eks_cluster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/eks_cluster.proto @@ -35,11 +35,9 @@ type CreateEKSClusterRequest struct { func (x *CreateEKSClusterRequest) Reset() { *x = CreateEKSClusterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEKSClusterRequest) String() string { @@ -50,7 +48,7 @@ func (*CreateEKSClusterRequest) ProtoMessage() {} func (x *CreateEKSClusterRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,11 +106,9 @@ type EKSCluster struct { func (x *EKSCluster) Reset() { *x = EKSCluster{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EKSCluster) String() string { @@ -123,7 +119,7 @@ func (*EKSCluster) ProtoMessage() {} func (x *EKSCluster) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -183,11 +179,9 @@ type CreateEKSClusterResponse struct { func (x *CreateEKSClusterResponse) Reset() { *x = CreateEKSClusterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEKSClusterResponse) String() string { @@ -198,7 +192,7 @@ func (*CreateEKSClusterResponse) ProtoMessage() {} func (x *CreateEKSClusterResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,11 +224,9 @@ type GetEKSClusterRequest struct { func (x *GetEKSClusterRequest) Reset() { *x = GetEKSClusterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEKSClusterRequest) String() string { @@ -245,7 +237,7 @@ func (*GetEKSClusterRequest) ProtoMessage() {} func (x *GetEKSClusterRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -277,11 +269,9 @@ type GetEKSClusterResponse struct { func (x *GetEKSClusterResponse) Reset() { *x = GetEKSClusterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEKSClusterResponse) String() string { @@ -292,7 +282,7 @@ func (*GetEKSClusterResponse) ProtoMessage() {} func (x *GetEKSClusterResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,11 +316,9 @@ type UpdateEKSClusterRequest struct { func (x *UpdateEKSClusterRequest) Reset() { *x = UpdateEKSClusterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEKSClusterRequest) String() string { @@ -341,7 +329,7 @@ func (*UpdateEKSClusterRequest) ProtoMessage() {} func (x *UpdateEKSClusterRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -380,11 +368,9 @@ type UpdateEKSClusterResponse struct { func (x *UpdateEKSClusterResponse) Reset() { *x = UpdateEKSClusterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEKSClusterResponse) String() string { @@ -395,7 +381,7 @@ func (*UpdateEKSClusterResponse) ProtoMessage() {} func (x *UpdateEKSClusterResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,11 +413,9 @@ type DeleteEKSClusterRequest struct { func (x *DeleteEKSClusterRequest) Reset() { *x = DeleteEKSClusterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEKSClusterRequest) String() string { @@ -442,7 +426,7 @@ func (*DeleteEKSClusterRequest) ProtoMessage() {} func (x *DeleteEKSClusterRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -474,11 +458,9 @@ type DeleteEKSClusterResponse struct { func (x *DeleteEKSClusterResponse) Reset() { *x = DeleteEKSClusterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEKSClusterResponse) String() string { @@ -489,7 +471,7 @@ func (*DeleteEKSClusterResponse) ProtoMessage() {} func (x *DeleteEKSClusterResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -682,116 +664,6 @@ func file_commonfate_control_config_v1alpha1_eks_cluster_proto_init() { if File_commonfate_control_config_v1alpha1_eks_cluster_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateEKSClusterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*EKSCluster); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateEKSClusterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetEKSClusterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetEKSClusterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateEKSClusterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateEKSClusterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteEKSClusterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_eks_cluster_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteEKSClusterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/gcp_role_group.pb.go b/gen/commonfate/control/config/v1alpha1/gcp_role_group.pb.go index 094785a3..2d151cc5 100644 --- a/gen/commonfate/control/config/v1alpha1/gcp_role_group.pb.go +++ b/gen/commonfate/control/config/v1alpha1/gcp_role_group.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/gcp_role_group.proto @@ -33,11 +33,9 @@ type CreateGCPRoleGroupRequest struct { func (x *CreateGCPRoleGroupRequest) Reset() { *x = CreateGCPRoleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateGCPRoleGroupRequest) String() string { @@ -48,7 +46,7 @@ func (*CreateGCPRoleGroupRequest) ProtoMessage() {} func (x *CreateGCPRoleGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,11 +95,9 @@ type GCPRoleGroup struct { func (x *GCPRoleGroup) Reset() { *x = GCPRoleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCPRoleGroup) String() string { @@ -112,7 +108,7 @@ func (*GCPRoleGroup) ProtoMessage() {} func (x *GCPRoleGroup) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,11 +161,9 @@ type CreateGCPRoleGroupResponse struct { func (x *CreateGCPRoleGroupResponse) Reset() { *x = CreateGCPRoleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateGCPRoleGroupResponse) String() string { @@ -180,7 +174,7 @@ func (*CreateGCPRoleGroupResponse) ProtoMessage() {} func (x *CreateGCPRoleGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,11 +206,9 @@ type GetGCPRoleGroupRequest struct { func (x *GetGCPRoleGroupRequest) Reset() { *x = GetGCPRoleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGCPRoleGroupRequest) String() string { @@ -227,7 +219,7 @@ func (*GetGCPRoleGroupRequest) ProtoMessage() {} func (x *GetGCPRoleGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,11 +251,9 @@ type GetGCPRoleGroupResponse struct { func (x *GetGCPRoleGroupResponse) Reset() { *x = GetGCPRoleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGCPRoleGroupResponse) String() string { @@ -274,7 +264,7 @@ func (*GetGCPRoleGroupResponse) ProtoMessage() {} func (x *GetGCPRoleGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,11 +296,9 @@ type UpdateGCPRoleGroupRequest struct { func (x *UpdateGCPRoleGroupRequest) Reset() { *x = UpdateGCPRoleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateGCPRoleGroupRequest) String() string { @@ -321,7 +309,7 @@ func (*UpdateGCPRoleGroupRequest) ProtoMessage() {} func (x *UpdateGCPRoleGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +341,9 @@ type UpdateGCPRoleGroupResponse struct { func (x *UpdateGCPRoleGroupResponse) Reset() { *x = UpdateGCPRoleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateGCPRoleGroupResponse) String() string { @@ -368,7 +354,7 @@ func (*UpdateGCPRoleGroupResponse) ProtoMessage() {} func (x *UpdateGCPRoleGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,11 +386,9 @@ type DeleteGCPRoleGroupRequest struct { func (x *DeleteGCPRoleGroupRequest) Reset() { *x = DeleteGCPRoleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteGCPRoleGroupRequest) String() string { @@ -415,7 +399,7 @@ func (*DeleteGCPRoleGroupRequest) ProtoMessage() {} func (x *DeleteGCPRoleGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -447,11 +431,9 @@ type DeleteGCPRoleGroupResponse struct { func (x *DeleteGCPRoleGroupResponse) Reset() { *x = DeleteGCPRoleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteGCPRoleGroupResponse) String() string { @@ -462,7 +444,7 @@ func (*DeleteGCPRoleGroupResponse) ProtoMessage() {} func (x *DeleteGCPRoleGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,116 +639,6 @@ func file_commonfate_control_config_v1alpha1_gcp_role_group_proto_init() { if File_commonfate_control_config_v1alpha1_gcp_role_group_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateGCPRoleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GCPRoleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateGCPRoleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetGCPRoleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetGCPRoleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateGCPRoleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateGCPRoleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteGCPRoleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_gcp_role_group_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteGCPRoleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/idp.pb.go b/gen/commonfate/control/config/v1alpha1/idp.pb.go index 688129d2..bd8695ee 100644 --- a/gen/commonfate/control/config/v1alpha1/idp.pb.go +++ b/gen/commonfate/control/config/v1alpha1/idp.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/idp.proto @@ -31,11 +31,9 @@ type CreateIDPRequest struct { func (x *CreateIDPRequest) Reset() { *x = CreateIDPRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIDPRequest) String() string { @@ -46,7 +44,7 @@ func (*CreateIDPRequest) ProtoMessage() {} func (x *CreateIDPRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,11 +77,9 @@ type CreateIDPResponse struct { func (x *CreateIDPResponse) Reset() { *x = CreateIDPResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIDPResponse) String() string { @@ -94,7 +90,7 @@ func (*CreateIDPResponse) ProtoMessage() {} func (x *CreateIDPResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -134,11 +130,9 @@ type ReadIDPRequest struct { func (x *ReadIDPRequest) Reset() { *x = ReadIDPRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadIDPRequest) String() string { @@ -149,7 +143,7 @@ func (*ReadIDPRequest) ProtoMessage() {} func (x *ReadIDPRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,11 +183,9 @@ type ReadIDPResponse struct { func (x *ReadIDPResponse) Reset() { *x = ReadIDPResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadIDPResponse) String() string { @@ -204,7 +196,7 @@ func (*ReadIDPResponse) ProtoMessage() {} func (x *ReadIDPResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -244,11 +236,9 @@ type UpdateIDPRequest struct { func (x *UpdateIDPRequest) Reset() { *x = UpdateIDPRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIDPRequest) String() string { @@ -259,7 +249,7 @@ func (*UpdateIDPRequest) ProtoMessage() {} func (x *UpdateIDPRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -299,11 +289,9 @@ type UpdateIDPResponse struct { func (x *UpdateIDPResponse) Reset() { *x = UpdateIDPResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIDPResponse) String() string { @@ -314,7 +302,7 @@ func (*UpdateIDPResponse) ProtoMessage() {} func (x *UpdateIDPResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +341,9 @@ type DeleteIDPRequest struct { func (x *DeleteIDPRequest) Reset() { *x = DeleteIDPRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIDPRequest) String() string { @@ -368,7 +354,7 @@ func (*DeleteIDPRequest) ProtoMessage() {} func (x *DeleteIDPRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,11 +386,9 @@ type DeleteIDPResponse struct { func (x *DeleteIDPResponse) Reset() { *x = DeleteIDPResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIDPResponse) String() string { @@ -415,7 +399,7 @@ func (*DeleteIDPResponse) ProtoMessage() {} func (x *DeleteIDPResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -574,104 +558,6 @@ func file_commonfate_control_config_v1alpha1_idp_proto_init() { if File_commonfate_control_config_v1alpha1_idp_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateIDPRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateIDPResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ReadIDPRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ReadIDPResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIDPRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIDPResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIDPRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_idp_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIDPResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/config/v1alpha1/selector.pb.go b/gen/commonfate/control/config/v1alpha1/selector.pb.go index ecaeccc2..2dfc465b 100644 --- a/gen/commonfate/control/config/v1alpha1/selector.pb.go +++ b/gen/commonfate/control/config/v1alpha1/selector.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/selector.proto @@ -33,11 +33,9 @@ type CreateSelectorRequest struct { func (x *CreateSelectorRequest) Reset() { *x = CreateSelectorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSelectorRequest) String() string { @@ -48,7 +46,7 @@ func (*CreateSelectorRequest) ProtoMessage() {} func (x *CreateSelectorRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,11 +82,9 @@ type Selector struct { func (x *Selector) Reset() { *x = Selector{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Selector) String() string { @@ -99,7 +95,7 @@ func (*Selector) ProtoMessage() {} func (x *Selector) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,11 +156,9 @@ type CreateSelectorResponse struct { func (x *CreateSelectorResponse) Reset() { *x = CreateSelectorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSelectorResponse) String() string { @@ -175,7 +169,7 @@ func (*CreateSelectorResponse) ProtoMessage() {} func (x *CreateSelectorResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +208,9 @@ type GetSelectorRequest struct { func (x *GetSelectorRequest) Reset() { *x = GetSelectorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSelectorRequest) String() string { @@ -229,7 +221,7 @@ func (*GetSelectorRequest) ProtoMessage() {} func (x *GetSelectorRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,11 +255,9 @@ type GetSelectorResponse struct { func (x *GetSelectorResponse) Reset() { *x = GetSelectorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSelectorResponse) String() string { @@ -278,7 +268,7 @@ func (*GetSelectorResponse) ProtoMessage() {} func (x *GetSelectorResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -324,11 +314,9 @@ type ListSelectorsRequest struct { func (x *ListSelectorsRequest) Reset() { *x = ListSelectorsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSelectorsRequest) String() string { @@ -339,7 +327,7 @@ func (*ListSelectorsRequest) ProtoMessage() {} func (x *ListSelectorsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,11 +360,9 @@ type ListSelectorsResponse struct { func (x *ListSelectorsResponse) Reset() { *x = ListSelectorsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSelectorsResponse) String() string { @@ -387,7 +373,7 @@ func (*ListSelectorsResponse) ProtoMessage() {} func (x *ListSelectorsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -428,11 +414,9 @@ type TestSelectorRequest struct { func (x *TestSelectorRequest) Reset() { *x = TestSelectorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestSelectorRequest) String() string { @@ -443,7 +427,7 @@ func (*TestSelectorRequest) ProtoMessage() {} func (x *TestSelectorRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -489,11 +473,9 @@ type SelectorMatches struct { func (x *SelectorMatches) Reset() { *x = SelectorMatches{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SelectorMatches) String() string { @@ -504,7 +486,7 @@ func (*SelectorMatches) ProtoMessage() {} func (x *SelectorMatches) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -538,11 +520,9 @@ type SelectorValidationErrors struct { func (x *SelectorValidationErrors) Reset() { *x = SelectorValidationErrors{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SelectorValidationErrors) String() string { @@ -553,7 +533,7 @@ func (*SelectorValidationErrors) ProtoMessage() {} func (x *SelectorValidationErrors) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -603,11 +583,9 @@ type TestSelectorResponse struct { func (x *TestSelectorResponse) Reset() { *x = TestSelectorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TestSelectorResponse) String() string { @@ -618,7 +596,7 @@ func (*TestSelectorResponse) ProtoMessage() {} func (x *TestSelectorResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -680,11 +658,9 @@ type UpdateSelectorRequest struct { func (x *UpdateSelectorRequest) Reset() { *x = UpdateSelectorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSelectorRequest) String() string { @@ -695,7 +671,7 @@ func (*UpdateSelectorRequest) ProtoMessage() {} func (x *UpdateSelectorRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -728,11 +704,9 @@ type UpdateSelectorResponse struct { func (x *UpdateSelectorResponse) Reset() { *x = UpdateSelectorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSelectorResponse) String() string { @@ -743,7 +717,7 @@ func (*UpdateSelectorResponse) ProtoMessage() {} func (x *UpdateSelectorResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -782,11 +756,9 @@ type DeleteSelectorRequest struct { func (x *DeleteSelectorRequest) Reset() { *x = DeleteSelectorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSelectorRequest) String() string { @@ -797,7 +769,7 @@ func (*DeleteSelectorRequest) ProtoMessage() {} func (x *DeleteSelectorRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -829,11 +801,9 @@ type DeleteSelectorResponse struct { func (x *DeleteSelectorResponse) Reset() { *x = DeleteSelectorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSelectorResponse) String() string { @@ -844,7 +814,7 @@ func (*DeleteSelectorResponse) ProtoMessage() {} func (x *DeleteSelectorResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1162,188 +1132,6 @@ func file_commonfate_control_config_v1alpha1_selector_proto_init() { if File_commonfate_control_config_v1alpha1_selector_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateSelectorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Selector); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateSelectorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetSelectorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetSelectorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ListSelectorsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ListSelectorsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*TestSelectorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*SelectorMatches); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*SelectorValidationErrors); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*TestSelectorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSelectorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSelectorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSelectorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSelectorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[4].OneofWrappers = []any{} file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[9].OneofWrappers = []any{} file_commonfate_control_config_v1alpha1_selector_proto_msgTypes[10].OneofWrappers = []any{ diff --git a/gen/commonfate/control/config/v1alpha1/slack_alert.pb.go b/gen/commonfate/control/config/v1alpha1/slack_alert.pb.go index c288b9dc..af848bf6 100644 --- a/gen/commonfate/control/config/v1alpha1/slack_alert.pb.go +++ b/gen/commonfate/control/config/v1alpha1/slack_alert.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/slack_alert.proto @@ -40,11 +40,9 @@ type CreateSlackAlertRequest struct { func (x *CreateSlackAlertRequest) Reset() { *x = CreateSlackAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSlackAlertRequest) String() string { @@ -55,7 +53,7 @@ func (*CreateSlackAlertRequest) ProtoMessage() {} func (x *CreateSlackAlertRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,11 +158,9 @@ type SlackAlert struct { func (x *SlackAlert) Reset() { *x = SlackAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SlackAlert) String() string { @@ -175,7 +171,7 @@ func (*SlackAlert) ProtoMessage() {} func (x *SlackAlert) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -270,11 +266,9 @@ type CreateSlackAlertResponse struct { func (x *CreateSlackAlertResponse) Reset() { *x = CreateSlackAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSlackAlertResponse) String() string { @@ -285,7 +279,7 @@ func (*CreateSlackAlertResponse) ProtoMessage() {} func (x *CreateSlackAlertResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -317,11 +311,9 @@ type GetSlackAlertRequest struct { func (x *GetSlackAlertRequest) Reset() { *x = GetSlackAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSlackAlertRequest) String() string { @@ -332,7 +324,7 @@ func (*GetSlackAlertRequest) ProtoMessage() {} func (x *GetSlackAlertRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -364,11 +356,9 @@ type GetSlackAlertResponse struct { func (x *GetSlackAlertResponse) Reset() { *x = GetSlackAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSlackAlertResponse) String() string { @@ -379,7 +369,7 @@ func (*GetSlackAlertResponse) ProtoMessage() {} func (x *GetSlackAlertResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -411,11 +401,9 @@ type UpdateSlackAlertRequest struct { func (x *UpdateSlackAlertRequest) Reset() { *x = UpdateSlackAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSlackAlertRequest) String() string { @@ -426,7 +414,7 @@ func (*UpdateSlackAlertRequest) ProtoMessage() {} func (x *UpdateSlackAlertRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,11 +446,9 @@ type UpdateSlackAlertResponse struct { func (x *UpdateSlackAlertResponse) Reset() { *x = UpdateSlackAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSlackAlertResponse) String() string { @@ -473,7 +459,7 @@ func (*UpdateSlackAlertResponse) ProtoMessage() {} func (x *UpdateSlackAlertResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -505,11 +491,9 @@ type DeleteSlackAlertRequest struct { func (x *DeleteSlackAlertRequest) Reset() { *x = DeleteSlackAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSlackAlertRequest) String() string { @@ -520,7 +504,7 @@ func (*DeleteSlackAlertRequest) ProtoMessage() {} func (x *DeleteSlackAlertRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,11 +536,9 @@ type DeleteSlackAlertResponse struct { func (x *DeleteSlackAlertResponse) Reset() { *x = DeleteSlackAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSlackAlertResponse) String() string { @@ -567,7 +549,7 @@ func (*DeleteSlackAlertResponse) ProtoMessage() {} func (x *DeleteSlackAlertResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -824,116 +806,6 @@ func file_commonfate_control_config_v1alpha1_slack_alert_proto_init() { if File_commonfate_control_config_v1alpha1_slack_alert_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateSlackAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SlackAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateSlackAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetSlackAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetSlackAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSlackAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSlackAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSlackAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSlackAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[0].OneofWrappers = []any{} file_commonfate_control_config_v1alpha1_slack_alert_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} diff --git a/gen/commonfate/control/config/v1alpha1/webhook_provisioner.pb.go b/gen/commonfate/control/config/v1alpha1/webhook_provisioner.pb.go index 9e819583..2dedbe44 100644 --- a/gen/commonfate/control/config/v1alpha1/webhook_provisioner.pb.go +++ b/gen/commonfate/control/config/v1alpha1/webhook_provisioner.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/config/v1alpha1/webhook_provisioner.proto @@ -34,11 +34,9 @@ type Capability struct { func (x *Capability) Reset() { *x = Capability{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Capability) String() string { @@ -49,7 +47,7 @@ func (*Capability) ProtoMessage() {} func (x *Capability) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,11 +94,9 @@ type CreateWebhookProvisionerRequest struct { func (x *CreateWebhookProvisionerRequest) Reset() { *x = CreateWebhookProvisionerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWebhookProvisionerRequest) String() string { @@ -111,7 +107,7 @@ func (*CreateWebhookProvisionerRequest) ProtoMessage() {} func (x *CreateWebhookProvisionerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -152,11 +148,9 @@ type WebhookProvisioner struct { func (x *WebhookProvisioner) Reset() { *x = WebhookProvisioner{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookProvisioner) String() string { @@ -167,7 +161,7 @@ func (*WebhookProvisioner) ProtoMessage() {} func (x *WebhookProvisioner) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +208,9 @@ type CreateWebhookProvisionerResponse struct { func (x *CreateWebhookProvisionerResponse) Reset() { *x = CreateWebhookProvisionerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWebhookProvisionerResponse) String() string { @@ -229,7 +221,7 @@ func (*CreateWebhookProvisionerResponse) ProtoMessage() {} func (x *CreateWebhookProvisionerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -268,11 +260,9 @@ type GetWebhookProvisionerRequest struct { func (x *GetWebhookProvisionerRequest) Reset() { *x = GetWebhookProvisionerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWebhookProvisionerRequest) String() string { @@ -283,7 +273,7 @@ func (*GetWebhookProvisionerRequest) ProtoMessage() {} func (x *GetWebhookProvisionerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -315,11 +305,9 @@ type GetWebhookProvisionerResponse struct { func (x *GetWebhookProvisionerResponse) Reset() { *x = GetWebhookProvisionerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWebhookProvisionerResponse) String() string { @@ -330,7 +318,7 @@ func (*GetWebhookProvisionerResponse) ProtoMessage() {} func (x *GetWebhookProvisionerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -362,11 +350,9 @@ type UpdateWebhookProvisionerRequest struct { func (x *UpdateWebhookProvisionerRequest) Reset() { *x = UpdateWebhookProvisionerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWebhookProvisionerRequest) String() string { @@ -377,7 +363,7 @@ func (*UpdateWebhookProvisionerRequest) ProtoMessage() {} func (x *UpdateWebhookProvisionerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -410,11 +396,9 @@ type UpdateWebhookProvisionerResponse struct { func (x *UpdateWebhookProvisionerResponse) Reset() { *x = UpdateWebhookProvisionerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWebhookProvisionerResponse) String() string { @@ -425,7 +409,7 @@ func (*UpdateWebhookProvisionerResponse) ProtoMessage() {} func (x *UpdateWebhookProvisionerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -464,11 +448,9 @@ type DeleteWebhookProvisionerRequest struct { func (x *DeleteWebhookProvisionerRequest) Reset() { *x = DeleteWebhookProvisionerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteWebhookProvisionerRequest) String() string { @@ -479,7 +461,7 @@ func (*DeleteWebhookProvisionerRequest) ProtoMessage() {} func (x *DeleteWebhookProvisionerRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -511,11 +493,9 @@ type DeleteWebhookProvisionerResponse struct { func (x *DeleteWebhookProvisionerResponse) Reset() { *x = DeleteWebhookProvisionerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteWebhookProvisionerResponse) String() string { @@ -526,7 +506,7 @@ func (*DeleteWebhookProvisionerResponse) ProtoMessage() {} func (x *DeleteWebhookProvisionerResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -766,128 +746,6 @@ func file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_init() { if File_commonfate_control_config_v1alpha1_webhook_provisioner_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Capability); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateWebhookProvisionerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*WebhookProvisioner); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*CreateWebhookProvisionerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetWebhookProvisionerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*GetWebhookProvisionerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*UpdateWebhookProvisionerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*UpdateWebhookProvisionerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DeleteWebhookProvisionerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_config_v1alpha1_webhook_provisioner_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*DeleteWebhookProvisionerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/diagnostic/v1alpha1/diagnostic.pb.go b/gen/commonfate/control/diagnostic/v1alpha1/diagnostic.pb.go index ce913519..ac2b74f5 100644 --- a/gen/commonfate/control/diagnostic/v1alpha1/diagnostic.pb.go +++ b/gen/commonfate/control/diagnostic/v1alpha1/diagnostic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/diagnostic/v1alpha1/diagnostic.proto @@ -95,11 +95,9 @@ type GetOAuthTokenMetadataRequest struct { func (x *GetOAuthTokenMetadataRequest) Reset() { *x = GetOAuthTokenMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOAuthTokenMetadataRequest) String() string { @@ -110,7 +108,7 @@ func (*GetOAuthTokenMetadataRequest) ProtoMessage() {} func (x *GetOAuthTokenMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,11 +133,9 @@ type GetOAuthTokenMetadataResponse struct { func (x *GetOAuthTokenMetadataResponse) Reset() { *x = GetOAuthTokenMetadataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOAuthTokenMetadataResponse) String() string { @@ -150,7 +146,7 @@ func (*GetOAuthTokenMetadataResponse) ProtoMessage() {} func (x *GetOAuthTokenMetadataResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -184,11 +180,9 @@ type OAuthTokenMetadata struct { func (x *OAuthTokenMetadata) Reset() { *x = OAuthTokenMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OAuthTokenMetadata) String() string { @@ -199,7 +193,7 @@ func (*OAuthTokenMetadata) ProtoMessage() {} func (x *OAuthTokenMetadata) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -250,11 +244,9 @@ type ListBackgroundJobsRequest struct { func (x *ListBackgroundJobsRequest) Reset() { *x = ListBackgroundJobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackgroundJobsRequest) String() string { @@ -265,7 +257,7 @@ func (*ListBackgroundJobsRequest) ProtoMessage() {} func (x *ListBackgroundJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -311,11 +303,9 @@ type ListBackgroundJobsResponse struct { func (x *ListBackgroundJobsResponse) Reset() { *x = ListBackgroundJobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackgroundJobsResponse) String() string { @@ -326,7 +316,7 @@ func (*ListBackgroundJobsResponse) ProtoMessage() {} func (x *ListBackgroundJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -356,11 +346,9 @@ type ListBackgroundJobKindSummaryRequest struct { func (x *ListBackgroundJobKindSummaryRequest) Reset() { *x = ListBackgroundJobKindSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackgroundJobKindSummaryRequest) String() string { @@ -371,7 +359,7 @@ func (*ListBackgroundJobKindSummaryRequest) ProtoMessage() {} func (x *ListBackgroundJobKindSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -401,11 +389,9 @@ type JobSummary struct { func (x *JobSummary) Reset() { *x = JobSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobSummary) String() string { @@ -416,7 +402,7 @@ func (*JobSummary) ProtoMessage() {} func (x *JobSummary) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,11 +472,9 @@ type RiverError struct { func (x *RiverError) Reset() { *x = RiverError{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RiverError) String() string { @@ -501,7 +485,7 @@ func (*RiverError) ProtoMessage() {} func (x *RiverError) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -554,11 +538,9 @@ type ListBackgroundJobKindSummaryResponse struct { func (x *ListBackgroundJobKindSummaryResponse) Reset() { *x = ListBackgroundJobKindSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListBackgroundJobKindSummaryResponse) String() string { @@ -569,7 +551,7 @@ func (*ListBackgroundJobKindSummaryResponse) ProtoMessage() {} func (x *ListBackgroundJobKindSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -661,11 +643,9 @@ type Job struct { func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -676,7 +656,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -825,11 +805,9 @@ type AttemptError struct { func (x *AttemptError) Reset() { *x = AttemptError{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AttemptError) String() string { @@ -840,7 +818,7 @@ func (*AttemptError) ProtoMessage() {} func (x *AttemptError) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -894,11 +872,9 @@ type AllDiagnostics struct { func (x *AllDiagnostics) Reset() { *x = AllDiagnostics{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AllDiagnostics) String() string { @@ -909,7 +885,7 @@ func (*AllDiagnostics) ProtoMessage() {} func (x *AllDiagnostics) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1210,152 +1186,6 @@ func file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_init() { if File_commonfate_control_diagnostic_v1alpha1_diagnostic_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetOAuthTokenMetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetOAuthTokenMetadataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*OAuthTokenMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ListBackgroundJobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ListBackgroundJobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ListBackgroundJobKindSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*JobSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*RiverError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListBackgroundJobKindSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*AttemptError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*AllDiagnostics); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_diagnostic_v1alpha1_diagnostic_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/commonfate/control/directory/v1alpha1/directory.pb.go b/gen/commonfate/control/directory/v1alpha1/directory.pb.go index 262e961c..14a2d9c0 100644 --- a/gen/commonfate/control/directory/v1alpha1/directory.pb.go +++ b/gen/commonfate/control/directory/v1alpha1/directory.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/directory/v1alpha1/directory.proto @@ -34,11 +34,9 @@ type QueryUsersRequest struct { func (x *QueryUsersRequest) Reset() { *x = QueryUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryUsersRequest) String() string { @@ -49,7 +47,7 @@ func (*QueryUsersRequest) ProtoMessage() {} func (x *QueryUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -86,11 +84,9 @@ type QueryUsersResponse struct { func (x *QueryUsersResponse) Reset() { *x = QueryUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryUsersResponse) String() string { @@ -101,7 +97,7 @@ func (*QueryUsersResponse) ProtoMessage() {} func (x *QueryUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -147,11 +143,9 @@ type DeleteUserRequest struct { func (x *DeleteUserRequest) Reset() { *x = DeleteUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserRequest) String() string { @@ -162,7 +156,7 @@ func (*DeleteUserRequest) ProtoMessage() {} func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -192,11 +186,9 @@ type DeleteUserResponse struct { func (x *DeleteUserResponse) Reset() { *x = DeleteUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteUserResponse) String() string { @@ -207,7 +199,7 @@ func (*DeleteUserResponse) ProtoMessage() {} func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -232,11 +224,9 @@ type GetUserRequest struct { func (x *GetUserRequest) Reset() { *x = GetUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserRequest) String() string { @@ -247,7 +237,7 @@ func (*GetUserRequest) ProtoMessage() {} func (x *GetUserRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -279,11 +269,9 @@ type GetUserResponse struct { func (x *GetUserResponse) Reset() { *x = GetUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserResponse) String() string { @@ -294,7 +282,7 @@ func (*GetUserResponse) ProtoMessage() {} func (x *GetUserResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,11 +315,9 @@ type QueryGroupsRequest struct { func (x *QueryGroupsRequest) Reset() { *x = QueryGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupsRequest) String() string { @@ -342,7 +328,7 @@ func (*QueryGroupsRequest) ProtoMessage() {} func (x *QueryGroupsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -379,11 +365,9 @@ type QueryGroupsResponse struct { func (x *QueryGroupsResponse) Reset() { *x = QueryGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupsResponse) String() string { @@ -394,7 +378,7 @@ func (*QueryGroupsResponse) ProtoMessage() {} func (x *QueryGroupsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,11 +429,9 @@ type GetGroupRequest struct { func (x *GetGroupRequest) Reset() { *x = GetGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGroupRequest) String() string { @@ -460,7 +442,7 @@ func (*GetGroupRequest) ProtoMessage() {} func (x *GetGroupRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -499,11 +481,9 @@ type GetGroupResponse struct { func (x *GetGroupResponse) Reset() { *x = GetGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGroupResponse) String() string { @@ -514,7 +494,7 @@ func (*GetGroupResponse) ProtoMessage() {} func (x *GetGroupResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,11 +533,9 @@ type QueryGroupMembersRequest struct { func (x *QueryGroupMembersRequest) Reset() { *x = QueryGroupMembersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupMembersRequest) String() string { @@ -568,7 +546,7 @@ func (*QueryGroupMembersRequest) ProtoMessage() {} func (x *QueryGroupMembersRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,11 +595,9 @@ type QueryGroupMembersResponse struct { func (x *QueryGroupMembersResponse) Reset() { *x = QueryGroupMembersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupMembersResponse) String() string { @@ -632,7 +608,7 @@ func (*QueryGroupMembersResponse) ProtoMessage() {} func (x *QueryGroupMembersResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -671,11 +647,9 @@ type GroupMembership struct { func (x *GroupMembership) Reset() { *x = GroupMembership{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GroupMembership) String() string { @@ -686,7 +660,7 @@ func (*GroupMembership) ProtoMessage() {} func (x *GroupMembership) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -725,11 +699,9 @@ type QueryChildGroupsRequest struct { func (x *QueryChildGroupsRequest) Reset() { *x = QueryChildGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryChildGroupsRequest) String() string { @@ -740,7 +712,7 @@ func (*QueryChildGroupsRequest) ProtoMessage() {} func (x *QueryChildGroupsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -789,11 +761,9 @@ type QueryChildGroupsResponse struct { func (x *QueryChildGroupsResponse) Reset() { *x = QueryChildGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryChildGroupsResponse) String() string { @@ -804,7 +774,7 @@ func (*QueryChildGroupsResponse) ProtoMessage() {} func (x *QueryChildGroupsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -843,11 +813,9 @@ type ChildGroupMembership struct { func (x *ChildGroupMembership) Reset() { *x = ChildGroupMembership{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChildGroupMembership) String() string { @@ -858,7 +826,7 @@ func (*ChildGroupMembership) ProtoMessage() {} func (x *ChildGroupMembership) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -893,11 +861,9 @@ type QueryGroupsForUserRequest struct { func (x *QueryGroupsForUserRequest) Reset() { *x = QueryGroupsForUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupsForUserRequest) String() string { @@ -908,7 +874,7 @@ func (*QueryGroupsForUserRequest) ProtoMessage() {} func (x *QueryGroupsForUserRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -950,11 +916,9 @@ type QueryGroupsForUserResponse struct { func (x *QueryGroupsForUserResponse) Reset() { *x = QueryGroupsForUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryGroupsForUserResponse) String() string { @@ -965,7 +929,7 @@ func (*QueryGroupsForUserResponse) ProtoMessage() {} func (x *QueryGroupsForUserResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1004,11 +968,9 @@ type UserGroupMembership struct { func (x *UserGroupMembership) Reset() { *x = UserGroupMembership{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserGroupMembership) String() string { @@ -1019,7 +981,7 @@ func (*UserGroupMembership) ProtoMessage() {} func (x *UserGroupMembership) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1056,11 +1018,9 @@ type LookupUserAccountRequest struct { func (x *LookupUserAccountRequest) Reset() { *x = LookupUserAccountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LookupUserAccountRequest) String() string { @@ -1071,7 +1031,7 @@ func (*LookupUserAccountRequest) ProtoMessage() {} func (x *LookupUserAccountRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1111,11 +1071,9 @@ type LookupUserAccountResponse struct { func (x *LookupUserAccountResponse) Reset() { *x = LookupUserAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LookupUserAccountResponse) String() string { @@ -1126,7 +1084,7 @@ func (*LookupUserAccountResponse) ProtoMessage() {} func (x *LookupUserAccountResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1492,260 +1450,6 @@ func file_commonfate_control_directory_v1alpha1_directory_proto_init() { } file_commonfate_control_directory_v1alpha1_user_proto_init() file_commonfate_control_directory_v1alpha1_group_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*QueryUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryUsersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*DeleteUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*DeleteUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*GetUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupMembersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupMembersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*GroupMembership); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*QueryChildGroupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*QueryChildGroupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*ChildGroupMembership); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupsForUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*QueryGroupsForUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*UserGroupMembership); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*LookupUserAccountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_directory_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*LookupUserAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/directory/v1alpha1/group.pb.go b/gen/commonfate/control/directory/v1alpha1/group.pb.go index c1216b8a..7e7dcfa0 100644 --- a/gen/commonfate/control/directory/v1alpha1/group.pb.go +++ b/gen/commonfate/control/directory/v1alpha1/group.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/directory/v1alpha1/group.proto @@ -40,11 +40,9 @@ type Group struct { func (x *Group) Reset() { *x = Group{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_group_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Group) String() string { @@ -55,7 +53,7 @@ func (*Group) ProtoMessage() {} func (x *Group) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_group_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,20 +202,6 @@ func file_commonfate_control_directory_v1alpha1_group_proto_init() { return } file_commonfate_control_directory_v1alpha1_integration_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_directory_v1alpha1_group_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Group); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/directory/v1alpha1/integration.pb.go b/gen/commonfate/control/directory/v1alpha1/integration.pb.go index e21ebdf4..2456cee7 100644 --- a/gen/commonfate/control/directory/v1alpha1/integration.pb.go +++ b/gen/commonfate/control/directory/v1alpha1/integration.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/directory/v1alpha1/integration.proto @@ -96,11 +96,9 @@ type Integration struct { func (x *Integration) Reset() { *x = Integration{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_integration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_integration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Integration) String() string { @@ -111,7 +109,7 @@ func (*Integration) ProtoMessage() {} func (x *Integration) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_integration_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,20 +235,6 @@ func file_commonfate_control_directory_v1alpha1_integration_proto_init() { if File_commonfate_control_directory_v1alpha1_integration_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_directory_v1alpha1_integration_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Integration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/directory/v1alpha1/user.pb.go b/gen/commonfate/control/directory/v1alpha1/user.pb.go index 040496c5..4ef2d015 100644 --- a/gen/commonfate/control/directory/v1alpha1/user.pb.go +++ b/gen/commonfate/control/directory/v1alpha1/user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/directory/v1alpha1/user.proto @@ -43,11 +43,9 @@ type User struct { func (x *User) Reset() { *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *User) String() string { @@ -58,7 +56,7 @@ func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,11 +138,9 @@ type UserAccount struct { func (x *UserAccount) Reset() { *x = UserAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserAccount) String() string { @@ -155,7 +151,7 @@ func (*UserAccount) ProtoMessage() {} func (x *UserAccount) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,32 +289,6 @@ func file_commonfate_control_directory_v1alpha1_user_proto_init() { return } file_commonfate_control_directory_v1alpha1_integration_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_directory_v1alpha1_user_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*UserAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/feature/v1alpha1/feature.pb.go b/gen/commonfate/control/feature/v1alpha1/feature.pb.go index 5e2403f0..96a43c45 100644 --- a/gen/commonfate/control/feature/v1alpha1/feature.pb.go +++ b/gen/commonfate/control/feature/v1alpha1/feature.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/feature/v1alpha1/feature.proto @@ -29,11 +29,9 @@ type GetFeaturesRequest struct { func (x *GetFeaturesRequest) Reset() { *x = GetFeaturesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFeaturesRequest) String() string { @@ -44,7 +42,7 @@ func (*GetFeaturesRequest) ProtoMessage() {} func (x *GetFeaturesRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,11 +67,9 @@ type GetFeaturesResponse struct { func (x *GetFeaturesResponse) Reset() { *x = GetFeaturesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFeaturesResponse) String() string { @@ -84,7 +80,7 @@ func (*GetFeaturesResponse) ProtoMessage() {} func (x *GetFeaturesResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -119,11 +115,9 @@ type Feature struct { func (x *Feature) Reset() { *x = Feature{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Feature) String() string { @@ -134,7 +128,7 @@ func (*Feature) ProtoMessage() {} func (x *Feature) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -174,11 +168,9 @@ type UpdateFeatureRequest struct { func (x *UpdateFeatureRequest) Reset() { *x = UpdateFeatureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateFeatureRequest) String() string { @@ -189,7 +181,7 @@ func (*UpdateFeatureRequest) ProtoMessage() {} func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -228,11 +220,9 @@ type UpdateFeatureResponse struct { func (x *UpdateFeatureResponse) Reset() { *x = UpdateFeatureResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateFeatureResponse) String() string { @@ -243,7 +233,7 @@ func (*UpdateFeatureResponse) ProtoMessage() {} func (x *UpdateFeatureResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -378,68 +368,6 @@ func file_commonfate_control_feature_v1alpha1_feature_proto_init() { if File_commonfate_control_feature_v1alpha1_feature_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetFeaturesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetFeaturesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Feature); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*UpdateFeatureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_feature_v1alpha1_feature_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*UpdateFeatureResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/insight/v1alpha1/insight.pb.go b/gen/commonfate/control/insight/v1alpha1/insight.pb.go index bf8ad49a..a9378192 100644 --- a/gen/commonfate/control/insight/v1alpha1/insight.pb.go +++ b/gen/commonfate/control/insight/v1alpha1/insight.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/insight/v1alpha1/insight.proto @@ -30,11 +30,9 @@ type GetInsightsRequest struct { func (x *GetInsightsRequest) Reset() { *x = GetInsightsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInsightsRequest) String() string { @@ -45,7 +43,7 @@ func (*GetInsightsRequest) ProtoMessage() {} func (x *GetInsightsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,11 +68,9 @@ type GetInsightsResponse struct { func (x *GetInsightsResponse) Reset() { *x = GetInsightsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInsightsResponse) String() string { @@ -85,7 +81,7 @@ func (*GetInsightsResponse) ProtoMessage() {} func (x *GetInsightsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,11 +118,9 @@ type Insights struct { func (x *Insights) Reset() { *x = Insights{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Insights) String() string { @@ -137,7 +131,7 @@ func (*Insights) ProtoMessage() {} func (x *Insights) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -198,11 +192,9 @@ type AccessRequestDailyMetric struct { func (x *AccessRequestDailyMetric) Reset() { *x = AccessRequestDailyMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessRequestDailyMetric) String() string { @@ -213,7 +205,7 @@ func (*AccessRequestDailyMetric) ProtoMessage() {} func (x *AccessRequestDailyMetric) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,11 +245,9 @@ type EntitlementsUsageDailyMetric struct { func (x *EntitlementsUsageDailyMetric) Reset() { *x = EntitlementsUsageDailyMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementsUsageDailyMetric) String() string { @@ -268,7 +258,7 @@ func (*EntitlementsUsageDailyMetric) ProtoMessage() {} func (x *EntitlementsUsageDailyMetric) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -309,11 +299,9 @@ type EntitlementUsageMetric struct { func (x *EntitlementUsageMetric) Reset() { *x = EntitlementUsageMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementUsageMetric) String() string { @@ -324,7 +312,7 @@ func (*EntitlementUsageMetric) ProtoMessage() {} func (x *EntitlementUsageMetric) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -509,80 +497,6 @@ func file_commonfate_control_insight_v1alpha1_insight_proto_init() { if File_commonfate_control_insight_v1alpha1_insight_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetInsightsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetInsightsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Insights); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*AccessRequestDailyMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementsUsageDailyMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_insight_v1alpha1_insight_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementUsageMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/reset/v1alpha1/reset.pb.go b/gen/commonfate/control/integration/reset/v1alpha1/reset.pb.go index 48563555..602b3083 100644 --- a/gen/commonfate/control/integration/reset/v1alpha1/reset.pb.go +++ b/gen/commonfate/control/integration/reset/v1alpha1/reset.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/reset/v1alpha1/reset.proto @@ -32,11 +32,9 @@ type ResetEntraUsersRequest struct { func (x *ResetEntraUsersRequest) Reset() { *x = ResetEntraUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetEntraUsersRequest) String() string { @@ -47,7 +45,7 @@ func (*ResetEntraUsersRequest) ProtoMessage() {} func (x *ResetEntraUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -79,11 +77,9 @@ type ResetEntraUsersResponse struct { func (x *ResetEntraUsersResponse) Reset() { *x = ResetEntraUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetEntraUsersResponse) String() string { @@ -94,7 +90,7 @@ func (*ResetEntraUsersResponse) ProtoMessage() {} func (x *ResetEntraUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -124,11 +120,9 @@ type RelinkEntraUsersRequest struct { func (x *RelinkEntraUsersRequest) Reset() { *x = RelinkEntraUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelinkEntraUsersRequest) String() string { @@ -139,7 +133,7 @@ func (*RelinkEntraUsersRequest) ProtoMessage() {} func (x *RelinkEntraUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -162,11 +156,9 @@ type RelinkEntraUsersResponse struct { func (x *RelinkEntraUsersResponse) Reset() { *x = RelinkEntraUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelinkEntraUsersResponse) String() string { @@ -177,7 +169,7 @@ func (*RelinkEntraUsersResponse) ProtoMessage() {} func (x *RelinkEntraUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,11 +195,9 @@ type RemoveOAuthTokenRequest struct { func (x *RemoveOAuthTokenRequest) Reset() { *x = RemoveOAuthTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveOAuthTokenRequest) String() string { @@ -218,7 +208,7 @@ func (*RemoveOAuthTokenRequest) ProtoMessage() {} func (x *RemoveOAuthTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,11 +238,9 @@ type RemoveOAuthTokenResponse struct { func (x *RemoveOAuthTokenResponse) Reset() { *x = RemoveOAuthTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveOAuthTokenResponse) String() string { @@ -263,7 +251,7 @@ func (*RemoveOAuthTokenResponse) ProtoMessage() {} func (x *RemoveOAuthTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -289,11 +277,9 @@ type CancelBackgroundJobRequest struct { func (x *CancelBackgroundJobRequest) Reset() { *x = CancelBackgroundJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBackgroundJobRequest) String() string { @@ -304,7 +290,7 @@ func (*CancelBackgroundJobRequest) ProtoMessage() {} func (x *CancelBackgroundJobRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,11 +320,9 @@ type CancelBackgroundJobResponse struct { func (x *CancelBackgroundJobResponse) Reset() { *x = CancelBackgroundJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelBackgroundJobResponse) String() string { @@ -349,7 +333,7 @@ func (*CancelBackgroundJobResponse) ProtoMessage() {} func (x *CancelBackgroundJobResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,11 +359,9 @@ type RetryBackgroundJobRequest struct { func (x *RetryBackgroundJobRequest) Reset() { *x = RetryBackgroundJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RetryBackgroundJobRequest) String() string { @@ -390,7 +372,7 @@ func (*RetryBackgroundJobRequest) ProtoMessage() {} func (x *RetryBackgroundJobRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,11 +402,9 @@ type RetryBackgroundJobResponse struct { func (x *RetryBackgroundJobResponse) Reset() { *x = RetryBackgroundJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RetryBackgroundJobResponse) String() string { @@ -435,7 +415,7 @@ func (*RetryBackgroundJobResponse) ProtoMessage() {} func (x *RetryBackgroundJobResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -620,128 +600,6 @@ func file_commonfate_control_integration_reset_v1alpha1_reset_proto_init() { if File_commonfate_control_integration_reset_v1alpha1_reset_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ResetEntraUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ResetEntraUsersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*RelinkEntraUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*RelinkEntraUsersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*RemoveOAuthTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*RemoveOAuthTokenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CancelBackgroundJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*CancelBackgroundJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*RetryBackgroundJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_reset_v1alpha1_reset_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*RetryBackgroundJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/auth0.pb.go b/gen/commonfate/control/integration/v1alpha1/auth0.pb.go index 1330440e..fe303727 100644 --- a/gen/commonfate/control/integration/v1alpha1/auth0.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/auth0.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/auth0.proto @@ -32,11 +32,9 @@ type Auth0 struct { func (x *Auth0) Reset() { *x = Auth0{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_auth0_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_auth0_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Auth0) String() string { @@ -47,7 +45,7 @@ func (*Auth0) ProtoMessage() {} func (x *Auth0) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_auth0_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,20 +151,6 @@ func file_commonfate_control_integration_v1alpha1_auth0_proto_init() { if File_commonfate_control_integration_v1alpha1_auth0_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_auth0_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Auth0); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/aws_eks.pb.go b/gen/commonfate/control/integration/v1alpha1/aws_eks.pb.go index 1ce245ca..e11575b7 100644 --- a/gen/commonfate/control/integration/v1alpha1/aws_eks.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/aws_eks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/aws_eks.proto @@ -35,11 +35,9 @@ type AWSEKS struct { func (x *AWSEKS) Reset() { *x = AWSEKS{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_aws_eks_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_aws_eks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSEKS) String() string { @@ -50,7 +48,7 @@ func (*AWSEKS) ProtoMessage() {} func (x *AWSEKS) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_aws_eks_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,20 +147,6 @@ func file_commonfate_control_integration_v1alpha1_aws_eks_proto_init() { if File_commonfate_control_integration_v1alpha1_aws_eks_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_aws_eks_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AWSEKS); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/aws_idc.pb.go b/gen/commonfate/control/integration/v1alpha1/aws_idc.pb.go index 062f0ebf..bf3b3de8 100644 --- a/gen/commonfate/control/integration/v1alpha1/aws_idc.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/aws_idc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/aws_idc.proto @@ -41,11 +41,9 @@ type AWSIDC struct { func (x *AWSIDC) Reset() { *x = AWSIDC{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_aws_idc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_aws_idc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSIDC) String() string { @@ -56,7 +54,7 @@ func (*AWSIDC) ProtoMessage() {} func (x *AWSIDC) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_aws_idc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,20 +209,6 @@ func file_commonfate_control_integration_v1alpha1_aws_idc_proto_init() { if File_commonfate_control_integration_v1alpha1_aws_idc_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_aws_idc_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AWSIDC); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/aws_proxy.pb.go b/gen/commonfate/control/integration/v1alpha1/aws_proxy.pb.go index 2c487719..5093ce35 100644 --- a/gen/commonfate/control/integration/v1alpha1/aws_proxy.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/aws_proxy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/aws_proxy.proto @@ -42,11 +42,9 @@ type AWSProxy struct { func (x *AWSProxy) Reset() { *x = AWSProxy{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSProxy) String() string { @@ -57,7 +55,7 @@ func (*AWSProxy) ProtoMessage() {} func (x *AWSProxy) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,11 +146,9 @@ type AWSECSProxyInstanceConfig struct { func (x *AWSECSProxyInstanceConfig) Reset() { *x = AWSECSProxyInstanceConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSECSProxyInstanceConfig) String() string { @@ -163,7 +159,7 @@ func (*AWSECSProxyInstanceConfig) ProtoMessage() {} func (x *AWSECSProxyInstanceConfig) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -346,32 +342,6 @@ func file_commonfate_control_integration_v1alpha1_aws_proxy_proto_init() { if File_commonfate_control_integration_v1alpha1_aws_proxy_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AWSProxy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*AWSECSProxyInstanceConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_integration_v1alpha1_aws_proxy_proto_msgTypes[0].OneofWrappers = []any{ (*AWSProxy_AwsEcsProxyInstanceConfig)(nil), } diff --git a/gen/commonfate/control/integration/v1alpha1/datastax.pb.go b/gen/commonfate/control/integration/v1alpha1/datastax.pb.go index a9d9ddef..2ccb9352 100644 --- a/gen/commonfate/control/integration/v1alpha1/datastax.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/datastax.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/datastax.proto @@ -30,11 +30,9 @@ type DataStax struct { func (x *DataStax) Reset() { *x = DataStax{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_datastax_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_datastax_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStax) String() string { @@ -45,7 +43,7 @@ func (*DataStax) ProtoMessage() {} func (x *DataStax) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_datastax_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,20 +131,6 @@ func file_commonfate_control_integration_v1alpha1_datastax_proto_init() { if File_commonfate_control_integration_v1alpha1_datastax_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_datastax_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DataStax); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/entra.pb.go b/gen/commonfate/control/integration/v1alpha1/entra.pb.go index 3b01f152..546430de 100644 --- a/gen/commonfate/control/integration/v1alpha1/entra.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/entra.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/entra.proto @@ -32,11 +32,9 @@ type Entra struct { func (x *Entra) Reset() { *x = Entra{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_entra_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_entra_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Entra) String() string { @@ -47,7 +45,7 @@ func (*Entra) ProtoMessage() {} func (x *Entra) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_entra_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,20 +151,6 @@ func file_commonfate_control_integration_v1alpha1_entra_proto_init() { if File_commonfate_control_integration_v1alpha1_entra_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_entra_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Entra); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/gcp.pb.go b/gen/commonfate/control/integration/v1alpha1/gcp.pb.go index 989446ba..24419831 100644 --- a/gen/commonfate/control/integration/v1alpha1/gcp.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/gcp.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/gcp.proto @@ -35,11 +35,9 @@ type GCP struct { func (x *GCP) Reset() { *x = GCP{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_gcp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_gcp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCP) String() string { @@ -50,7 +48,7 @@ func (*GCP) ProtoMessage() {} func (x *GCP) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_gcp_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,20 +197,6 @@ func file_commonfate_control_integration_v1alpha1_gcp_proto_init() { if File_commonfate_control_integration_v1alpha1_gcp_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_gcp_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GCP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/healthcheck.pb.go b/gen/commonfate/control/integration/v1alpha1/healthcheck.pb.go index 52ca0e20..11e21377 100644 --- a/gen/commonfate/control/integration/v1alpha1/healthcheck.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/healthcheck.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/healthcheck.proto @@ -34,11 +34,9 @@ type PingRequest struct { func (x *PingRequest) Reset() { *x = PingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingRequest) String() string { @@ -49,7 +47,7 @@ func (*PingRequest) ProtoMessage() {} func (x *PingRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -100,11 +98,9 @@ type ECSTaskMetadata struct { func (x *ECSTaskMetadata) Reset() { *x = ECSTaskMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ECSTaskMetadata) String() string { @@ -115,7 +111,7 @@ func (*ECSTaskMetadata) ProtoMessage() {} func (x *ECSTaskMetadata) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -184,11 +180,9 @@ type PingResponse struct { func (x *PingResponse) Reset() { *x = PingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingResponse) String() string { @@ -199,7 +193,7 @@ func (*PingResponse) ProtoMessage() {} func (x *PingResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,44 +333,6 @@ func file_commonfate_control_integration_v1alpha1_healthcheck_proto_init() { if File_commonfate_control_integration_v1alpha1_healthcheck_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*PingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ECSTaskMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_healthcheck_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*PingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/integration.pb.go b/gen/commonfate/control/integration/v1alpha1/integration.pb.go index 3613da62..9edfd2fb 100644 --- a/gen/commonfate/control/integration/v1alpha1/integration.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/integration.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/integration.proto @@ -9,7 +9,6 @@ package integrationv1alpha1 import ( v1alpha1 "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" _ "github.com/common-fate/sdk/gen/commonfate/authz/v1alpha1" - _ "github.com/common-fate/sdk/gen/commonfate/control/log/v1alpha1" v1alpha11 "github.com/common-fate/sdk/gen/commonfate/filters/v1alpha1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -88,11 +87,9 @@ type ListIntegrationsRequest struct { func (x *ListIntegrationsRequest) Reset() { *x = ListIntegrationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIntegrationsRequest) String() string { @@ -103,7 +100,7 @@ func (*ListIntegrationsRequest) ProtoMessage() {} func (x *ListIntegrationsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -136,11 +133,9 @@ type ListIntegrationsResponse struct { func (x *ListIntegrationsResponse) Reset() { *x = ListIntegrationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIntegrationsResponse) String() string { @@ -151,7 +146,7 @@ func (*ListIntegrationsResponse) ProtoMessage() {} func (x *ListIntegrationsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,11 +186,9 @@ type CreateIntegrationRequest struct { func (x *CreateIntegrationRequest) Reset() { *x = CreateIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIntegrationRequest) String() string { @@ -206,7 +199,7 @@ func (*CreateIntegrationRequest) ProtoMessage() {} func (x *CreateIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -261,11 +254,9 @@ type Config struct { func (x *Config) Reset() { *x = Config{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Config) String() string { @@ -276,7 +267,7 @@ func (*Config) ProtoMessage() {} func (x *Config) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -502,11 +493,9 @@ type Integration struct { func (x *Integration) Reset() { *x = Integration{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Integration) String() string { @@ -517,7 +506,7 @@ func (*Integration) ProtoMessage() {} func (x *Integration) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -591,11 +580,9 @@ type CreateIntegrationResponse struct { func (x *CreateIntegrationResponse) Reset() { *x = CreateIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIntegrationResponse) String() string { @@ -606,7 +593,7 @@ func (*CreateIntegrationResponse) ProtoMessage() {} func (x *CreateIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -638,11 +625,9 @@ type GetIntegrationRequest struct { func (x *GetIntegrationRequest) Reset() { *x = GetIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIntegrationRequest) String() string { @@ -653,7 +638,7 @@ func (*GetIntegrationRequest) ProtoMessage() {} func (x *GetIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -685,11 +670,9 @@ type GetIntegrationResponse struct { func (x *GetIntegrationResponse) Reset() { *x = GetIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIntegrationResponse) String() string { @@ -700,7 +683,7 @@ func (*GetIntegrationResponse) ProtoMessage() {} func (x *GetIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,11 +715,9 @@ type UpdateIntegrationRequest struct { func (x *UpdateIntegrationRequest) Reset() { *x = UpdateIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIntegrationRequest) String() string { @@ -747,7 +728,7 @@ func (*UpdateIntegrationRequest) ProtoMessage() {} func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -779,11 +760,9 @@ type UpdateIntegrationResponse struct { func (x *UpdateIntegrationResponse) Reset() { *x = UpdateIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIntegrationResponse) String() string { @@ -794,7 +773,7 @@ func (*UpdateIntegrationResponse) ProtoMessage() {} func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -826,11 +805,9 @@ type DeleteIntegrationRequest struct { func (x *DeleteIntegrationRequest) Reset() { *x = DeleteIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIntegrationRequest) String() string { @@ -841,7 +818,7 @@ func (*DeleteIntegrationRequest) ProtoMessage() {} func (x *DeleteIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -873,11 +850,9 @@ type DeleteIntegrationResponse struct { func (x *DeleteIntegrationResponse) Reset() { *x = DeleteIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIntegrationResponse) String() string { @@ -888,7 +863,7 @@ func (*DeleteIntegrationResponse) ProtoMessage() {} func (x *DeleteIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -923,11 +898,9 @@ type Filter struct { func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -938,7 +911,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -990,11 +963,9 @@ type ListSyncsForIntegrationRequest struct { func (x *ListSyncsForIntegrationRequest) Reset() { *x = ListSyncsForIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSyncsForIntegrationRequest) String() string { @@ -1005,7 +976,7 @@ func (*ListSyncsForIntegrationRequest) ProtoMessage() {} func (x *ListSyncsForIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1053,11 +1024,9 @@ type ListSyncsForIntegrationResponse struct { func (x *ListSyncsForIntegrationResponse) Reset() { *x = ListSyncsForIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSyncsForIntegrationResponse) String() string { @@ -1068,7 +1037,7 @@ func (*ListSyncsForIntegrationResponse) ProtoMessage() {} func (x *ListSyncsForIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1121,11 +1090,9 @@ type SyncJob struct { func (x *SyncJob) Reset() { *x = SyncJob{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncJob) String() string { @@ -1136,7 +1103,7 @@ func (*SyncJob) ProtoMessage() {} func (x *SyncJob) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1217,11 +1184,9 @@ type SyncIntegrationRequest struct { func (x *SyncIntegrationRequest) Reset() { *x = SyncIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncIntegrationRequest) String() string { @@ -1232,7 +1197,7 @@ func (*SyncIntegrationRequest) ProtoMessage() {} func (x *SyncIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1264,11 +1229,9 @@ type SyncIntegrationResponse struct { func (x *SyncIntegrationResponse) Reset() { *x = SyncIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncIntegrationResponse) String() string { @@ -1279,7 +1242,7 @@ func (*SyncIntegrationResponse) ProtoMessage() {} func (x *SyncIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1364,322 +1327,319 @@ var file_commonfate_control_integration_v1alpha1_integration_proto_rawDesc = []b 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x30, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, - 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, - 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, - 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0xcf, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x03, 0x67, 0x63, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x43, 0x50, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x4a, 0x0a, 0x07, - 0x61, 0x77, 0x73, 0x5f, 0x69, 0x64, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x49, 0x44, 0x43, 0x48, 0x00, - 0x52, 0x06, 0x61, 0x77, 0x73, 0x49, 0x64, 0x63, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, - 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, - 0x12, 0x52, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x64, 0x75, 0x74, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, - 0x64, 0x75, 0x74, 0x79, 0x12, 0x4f, 0x0a, 0x08, 0x6f, 0x70, 0x73, 0x67, 0x65, 0x6e, 0x69, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, - 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4f, 0x70, 0x73, 0x47, 0x65, 0x6e, 0x69, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x73, - 0x67, 0x65, 0x6e, 0x69, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, + 0x29, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x17, 0x4c, + 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, + 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, - 0x6e, 0x74, 0x72, 0x61, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x12, 0x43, 0x0a, - 0x04, 0x6f, 0x6b, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xcf, 0x08, + 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x47, 0x43, 0x50, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x4a, 0x0a, 0x07, 0x61, 0x77, + 0x73, 0x5f, 0x69, 0x64, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x6b, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6f, 0x6b, - 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x61, 0x78, 0x18, 0x09, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x49, 0x44, 0x43, 0x48, 0x00, 0x52, 0x06, + 0x61, 0x77, 0x73, 0x49, 0x64, 0x63, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x52, + 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x64, 0x75, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, + 0x72, 0x44, 0x75, 0x74, 0x79, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x64, 0x75, + 0x74, 0x79, 0x12, 0x4f, 0x0a, 0x08, 0x6f, 0x70, 0x73, 0x67, 0x65, 0x6e, 0x69, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, - 0x61, 0x74, 0x61, 0x53, 0x74, 0x61, 0x78, 0x48, 0x00, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, - 0x74, 0x61, 0x78, 0x12, 0x4c, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, - 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x12, 0x46, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x30, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x30, - 0x48, 0x00, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x30, 0x12, 0x69, 0x0a, 0x12, 0x73, 0x33, 0x5f, - 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, + 0x70, 0x73, 0x47, 0x65, 0x6e, 0x69, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x73, 0x67, 0x65, + 0x6e, 0x69, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, + 0x72, 0x61, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x12, 0x43, 0x0a, 0x04, 0x6f, + 0x6b, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x6b, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6f, 0x6b, 0x74, 0x61, + 0x12, 0x4f, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x61, 0x78, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, + 0x61, 0x53, 0x74, 0x61, 0x78, 0x48, 0x00, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x61, + 0x78, 0x12, 0x4c, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, + 0x68, 0x6f, 0x6f, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, + 0x46, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x30, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x30, 0x48, 0x00, + 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x30, 0x12, 0x69, 0x0a, 0x12, 0x73, 0x33, 0x5f, 0x6c, 0x6f, + 0x67, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x33, + 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, + 0x52, 0x10, 0x73, 0x33, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x09, 0x61, 0x77, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x33, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x10, 0x73, 0x33, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x09, 0x61, 0x77, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x78, - 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x41, 0x57, 0x53, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x48, 0x00, 0x52, 0x08, 0x61, 0x77, - 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x4a, 0x0a, 0x07, 0x61, 0x77, 0x73, 0x5f, 0x65, 0x6b, - 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x41, 0x57, 0x53, 0x45, 0x4b, 0x53, 0x48, 0x00, 0x52, 0x06, 0x61, 0x77, 0x73, 0x45, - 0x6b, 0x73, 0x12, 0x43, 0x0a, 0x04, 0x6a, 0x69, 0x72, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x69, 0x72, 0x61, 0x48, - 0x00, 0x52, 0x04, 0x6a, 0x69, 0x72, 0x61, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x22, 0xed, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x41, 0x57, 0x53, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x48, 0x00, 0x52, 0x08, 0x61, 0x77, 0x73, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x12, 0x4a, 0x0a, 0x07, 0x61, 0x77, 0x73, 0x5f, 0x65, 0x6b, 0x73, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, - 0x0a, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, - 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, - 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x75, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x74, 0x75, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x35, - 0x0a, 0x17, 0x61, 0x73, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x14, 0x61, 0x73, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x22, 0x73, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, - 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x70, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, + 0x41, 0x57, 0x53, 0x45, 0x4b, 0x53, 0x48, 0x00, 0x52, 0x06, 0x61, 0x77, 0x73, 0x45, 0x6b, 0x73, + 0x12, 0x43, 0x0a, 0x04, 0x6a, 0x69, 0x72, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x72, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, - 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2a, 0x0a, 0x18, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x63, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4f, 0x0a, - 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x42, 0x08, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xb1, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x49, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xbf, 0x01, 0x0a, - 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x5f, - 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x52, 0x08, 0x73, 0x79, - 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, - 0x02, 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, - 0x78, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x39, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, - 0x74, 0x22, 0x3f, 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x63, 0x0a, 0x17, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, - 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, - 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x2a, 0x64, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x45, 0x54, 0x55, - 0x50, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x48, 0x45, - 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x03, 0x32, 0xf9, 0x08, - 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x69, 0x72, 0x61, 0x48, 0x00, 0x52, + 0x04, 0x6a, 0x69, 0x72, 0x61, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, + 0xed, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x0b, + 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, + 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, + 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, + 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x75, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x74, 0x75, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x35, 0x0a, 0x17, + 0x61, 0x73, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, + 0x73, 0x73, 0x75, 0x6d, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, + 0x73, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b, + 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x70, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x72, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x0b, 0x69, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, - 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x12, 0x56, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x12, 0x9c, 0x01, 0x0a, - 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, - 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xb2, 0x01, 0x0a, 0x17, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x63, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0b, 0x6f, + 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x42, 0x08, 0x0a, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xb1, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x49, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xbf, 0x01, 0x0a, 0x1f, 0x4c, + 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6a, 0x6f, + 0x62, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, + 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, + 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, 0x02, 0x0a, + 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, + 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, + 0x6d, 0x61, 0x78, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x22, + 0x3f, 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x63, 0x0a, 0x17, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x64, + 0x69, 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, + 0x61, 0x67, 0x6e, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x67, 0x6e, 0x6f, + 0x73, 0x74, 0x69, 0x63, 0x73, 0x2a, 0x64, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x45, 0x54, 0x55, 0x50, 0x10, + 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x48, 0x45, 0x41, 0x4c, + 0x54, 0x48, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x03, 0x32, 0xf9, 0x08, 0x0a, 0x12, + 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x97, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, - 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, - 0x12, 0x96, 0x01, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, - 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, + 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xb2, 0x01, 0x0a, 0x17, 0x4c, 0x69, + 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9d, 0x01, 0x0a, 0x10, 0x4c, 0x69, - 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, + 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, + 0x63, 0x73, 0x46, 0x6f, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x12, 0x96, + 0x01, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, 0x6e, + 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x79, + 0x6e, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9d, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x42, 0xda, 0x02, 0x0a, 0x2b, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2d, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x49, 0xaa, - 0x02, 0x27, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x27, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xe2, 0x02, 0x33, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, - 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, - 0x3a, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x04, 0x88, 0xb5, 0x18, 0x01, 0x42, 0xda, 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2d, 0x66, + 0x61, 0x74, 0x65, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x69, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x49, 0xaa, 0x02, 0x27, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x27, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x33, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x66, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x3a, 0x49, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1804,224 +1764,6 @@ func file_commonfate_control_integration_v1alpha1_integration_proto_init() { file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_init() file_commonfate_control_integration_v1alpha1_slack_proto_init() file_commonfate_control_integration_v1alpha1_webhook_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListIntegrationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListIntegrationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Config); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Integration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*CreateIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*ListSyncsForIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*ListSyncsForIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*SyncJob); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*SyncIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*SyncIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_integration_v1alpha1_integration_proto_msgTypes[3].OneofWrappers = []any{ (*Config_Gcp)(nil), (*Config_AwsIdc)(nil), diff --git a/gen/commonfate/control/integration/v1alpha1/jira.pb.go b/gen/commonfate/control/integration/v1alpha1/jira.pb.go index c78abd45..60b50919 100644 --- a/gen/commonfate/control/integration/v1alpha1/jira.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/jira.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/jira.proto @@ -27,17 +27,18 @@ type Jira struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecretSecretPath string `protobuf:"bytes,2,opt,name=client_secret_secret_path,json=clientSecretSecretPath,proto3" json:"client_secret_secret_path,omitempty"` - CloudId string `protobuf:"bytes,3,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` - IssueFilterJql string `protobuf:"bytes,4,opt,name=issue_filter_jql,json=issueFilterJql,proto3" json:"issue_filter_jql,omitempty"` + IssueFilterJql string `protobuf:"bytes,3,opt,name=issue_filter_jql,json=issueFilterJql,proto3" json:"issue_filter_jql,omitempty"` + // cloud_id is a calculated field which is fetched automatically on creation of the integration + CloudId string `protobuf:"bytes,4,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` + // jira_url is a calculated field which is fetched automatically on creation of the integration + JiraUrl string `protobuf:"bytes,5,opt,name=jira_url,json=jiraUrl,proto3" json:"jira_url,omitempty"` } func (x *Jira) Reset() { *x = Jira{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_jira_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_jira_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Jira) String() string { @@ -48,7 +49,7 @@ func (*Jira) ProtoMessage() {} func (x *Jira) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_jira_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -77,6 +78,13 @@ func (x *Jira) GetClientSecretSecretPath() string { return "" } +func (x *Jira) GetIssueFilterJql() string { + if x != nil { + return x.IssueFilterJql + } + return "" +} + func (x *Jira) GetCloudId() string { if x != nil { return x.CloudId @@ -84,9 +92,9 @@ func (x *Jira) GetCloudId() string { return "" } -func (x *Jira) GetIssueFilterJql() string { +func (x *Jira) GetJiraUrl() string { if x != nil { - return x.IssueFilterJql + return x.JiraUrl } return "" } @@ -99,40 +107,41 @@ var file_commonfate_control_integration_v1alpha1_jira_proto_rawDesc = []byte{ 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6a, 0x69, 0x72, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0xa3, 0x01, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0xbe, 0x01, 0x0a, 0x04, 0x4a, 0x69, 0x72, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x19, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, - 0x0a, 0x08, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x73, - 0x75, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6a, 0x71, 0x6c, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x4a, 0x71, 0x6c, 0x42, 0xd3, 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x42, 0x09, 0x4a, 0x69, 0x72, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x5a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2d, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, - 0x43, 0x49, 0xaa, 0x02, 0x27, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x27, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x33, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, - 0x61, 0x74, 0x65, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x3a, 0x3a, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, - 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x63, 0x72, 0x65, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x28, + 0x0a, 0x10, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6a, + 0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4a, 0x71, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x69, 0x72, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x69, 0x72, 0x61, 0x55, 0x72, 0x6c, 0x42, 0xd3, + 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, + 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, + 0x4a, 0x69, 0x72, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2d, 0x66, + 0x61, 0x74, 0x65, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x69, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x49, 0xaa, 0x02, 0x27, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x27, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x33, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x66, 0x61, 0x74, 0x65, 0x5c, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5c, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x66, 0x61, 0x74, 0x65, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x3a, 0x49, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -164,20 +173,6 @@ func file_commonfate_control_integration_v1alpha1_jira_proto_init() { if File_commonfate_control_integration_v1alpha1_jira_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_jira_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Jira); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/jira.pb.validate.go b/gen/commonfate/control/integration/v1alpha1/jira.pb.validate.go index 5b2de894..23a57062 100644 --- a/gen/commonfate/control/integration/v1alpha1/jira.pb.validate.go +++ b/gen/commonfate/control/integration/v1alpha1/jira.pb.validate.go @@ -60,9 +60,11 @@ func (m *Jira) validate(all bool) error { // no validation rules for ClientSecretSecretPath + // no validation rules for IssueFilterJql + // no validation rules for CloudId - // no validation rules for IssueFilterJql + // no validation rules for JiraUrl if len(errors) > 0 { return JiraMultiError(errors) diff --git a/gen/commonfate/control/integration/v1alpha1/okta.pb.go b/gen/commonfate/control/integration/v1alpha1/okta.pb.go index cb06bb66..15c71b54 100644 --- a/gen/commonfate/control/integration/v1alpha1/okta.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/okta.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/okta.proto @@ -31,11 +31,9 @@ type Okta struct { func (x *Okta) Reset() { *x = Okta{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_okta_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_okta_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Okta) String() string { @@ -46,7 +44,7 @@ func (*Okta) ProtoMessage() {} func (x *Okta) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_okta_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -143,20 +141,6 @@ func file_commonfate_control_integration_v1alpha1_okta_proto_init() { if File_commonfate_control_integration_v1alpha1_okta_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_okta_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Okta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/opsgenie.pb.go b/gen/commonfate/control/integration/v1alpha1/opsgenie.pb.go index 95d0ef67..282c4dcb 100644 --- a/gen/commonfate/control/integration/v1alpha1/opsgenie.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/opsgenie.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/opsgenie.proto @@ -30,11 +30,9 @@ type OpsGenie struct { func (x *OpsGenie) Reset() { *x = OpsGenie{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_opsgenie_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_opsgenie_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpsGenie) String() string { @@ -45,7 +43,7 @@ func (*OpsGenie) ProtoMessage() {} func (x *OpsGenie) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_opsgenie_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,20 +131,6 @@ func file_commonfate_control_integration_v1alpha1_opsgenie_proto_init() { if File_commonfate_control_integration_v1alpha1_opsgenie_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_opsgenie_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*OpsGenie); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/pagerduty.pb.go b/gen/commonfate/control/integration/v1alpha1/pagerduty.pb.go index 7b66bb87..30088f82 100644 --- a/gen/commonfate/control/integration/v1alpha1/pagerduty.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/pagerduty.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/pagerduty.proto @@ -31,11 +31,9 @@ type PagerDuty struct { func (x *PagerDuty) Reset() { *x = PagerDuty{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_pagerduty_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_pagerduty_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PagerDuty) String() string { @@ -46,7 +44,7 @@ func (*PagerDuty) ProtoMessage() {} func (x *PagerDuty) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_pagerduty_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,20 +142,6 @@ func file_commonfate_control_integration_v1alpha1_pagerduty_proto_init() { if File_commonfate_control_integration_v1alpha1_pagerduty_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_pagerduty_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*PagerDuty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/proxy.pb.go b/gen/commonfate/control/integration/v1alpha1/proxy.pb.go index 18dda852..3cf27623 100644 --- a/gen/commonfate/control/integration/v1alpha1/proxy.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/proxy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/proxy.proto @@ -37,11 +37,9 @@ type CreateProxyRequest struct { func (x *CreateProxyRequest) Reset() { *x = CreateProxyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProxyRequest) String() string { @@ -52,7 +50,7 @@ func (*CreateProxyRequest) ProtoMessage() {} func (x *CreateProxyRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -127,11 +125,9 @@ type CreateProxyResponse struct { func (x *CreateProxyResponse) Reset() { *x = CreateProxyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProxyResponse) String() string { @@ -142,7 +138,7 @@ func (*CreateProxyResponse) ProtoMessage() {} func (x *CreateProxyResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -205,11 +201,9 @@ type GetProxyRequest struct { func (x *GetProxyRequest) Reset() { *x = GetProxyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProxyRequest) String() string { @@ -220,7 +214,7 @@ func (*GetProxyRequest) ProtoMessage() {} func (x *GetProxyRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -256,11 +250,9 @@ type GetProxyResponse struct { func (x *GetProxyResponse) Reset() { *x = GetProxyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProxyResponse) String() string { @@ -271,7 +263,7 @@ func (*GetProxyResponse) ProtoMessage() {} func (x *GetProxyResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,11 +323,9 @@ type UpdateProxyRequest struct { func (x *UpdateProxyRequest) Reset() { *x = UpdateProxyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProxyRequest) String() string { @@ -346,7 +336,7 @@ func (*UpdateProxyRequest) ProtoMessage() {} func (x *UpdateProxyRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,11 +396,9 @@ type UpdateProxyResponse struct { func (x *UpdateProxyResponse) Reset() { *x = UpdateProxyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProxyResponse) String() string { @@ -421,7 +409,7 @@ func (*UpdateProxyResponse) ProtoMessage() {} func (x *UpdateProxyResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,11 +465,9 @@ type DeleteProxyRequest struct { func (x *DeleteProxyRequest) Reset() { *x = DeleteProxyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProxyRequest) String() string { @@ -492,7 +478,7 @@ func (*DeleteProxyRequest) ProtoMessage() {} func (x *DeleteProxyRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,11 +510,9 @@ type DeleteProxyResponse struct { func (x *DeleteProxyResponse) Reset() { *x = DeleteProxyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProxyResponse) String() string { @@ -539,7 +523,7 @@ func (*DeleteProxyResponse) ProtoMessage() {} func (x *DeleteProxyResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -571,11 +555,9 @@ type ListProxyResourcesRequest struct { func (x *ListProxyResourcesRequest) Reset() { *x = ListProxyResourcesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProxyResourcesRequest) String() string { @@ -586,7 +568,7 @@ func (*ListProxyResourcesRequest) ProtoMessage() {} func (x *ListProxyResourcesRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -619,11 +601,9 @@ type ListProxyResourcesResponse struct { func (x *ListProxyResourcesResponse) Reset() { *x = ListProxyResourcesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProxyResourcesResponse) String() string { @@ -634,7 +614,7 @@ func (*ListProxyResourcesResponse) ProtoMessage() {} func (x *ListProxyResourcesResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -674,11 +654,9 @@ type CreateProxyRdsResourceRequest struct { func (x *CreateProxyRdsResourceRequest) Reset() { *x = CreateProxyRdsResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProxyRdsResourceRequest) String() string { @@ -689,7 +667,7 @@ func (*CreateProxyRdsResourceRequest) ProtoMessage() {} func (x *CreateProxyRdsResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -730,11 +708,9 @@ type CreateProxyRdsResourceResponse struct { func (x *CreateProxyRdsResourceResponse) Reset() { *x = CreateProxyRdsResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateProxyRdsResourceResponse) String() string { @@ -745,7 +721,7 @@ func (*CreateProxyRdsResourceResponse) ProtoMessage() {} func (x *CreateProxyRdsResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -791,11 +767,9 @@ type GetProxyRdsResourceRequest struct { func (x *GetProxyRdsResourceRequest) Reset() { *x = GetProxyRdsResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProxyRdsResourceRequest) String() string { @@ -806,7 +780,7 @@ func (*GetProxyRdsResourceRequest) ProtoMessage() {} func (x *GetProxyRdsResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -839,11 +813,9 @@ type GetProxyRdsResourceResponse struct { func (x *GetProxyRdsResourceResponse) Reset() { *x = GetProxyRdsResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProxyRdsResourceResponse) String() string { @@ -854,7 +826,7 @@ func (*GetProxyRdsResourceResponse) ProtoMessage() {} func (x *GetProxyRdsResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -895,11 +867,9 @@ type UpdateProxyRdsResourceRequest struct { func (x *UpdateProxyRdsResourceRequest) Reset() { *x = UpdateProxyRdsResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProxyRdsResourceRequest) String() string { @@ -910,7 +880,7 @@ func (*UpdateProxyRdsResourceRequest) ProtoMessage() {} func (x *UpdateProxyRdsResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -958,11 +928,9 @@ type UpdateProxyRdsResourceResponse struct { func (x *UpdateProxyRdsResourceResponse) Reset() { *x = UpdateProxyRdsResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateProxyRdsResourceResponse) String() string { @@ -973,7 +941,7 @@ func (*UpdateProxyRdsResourceResponse) ProtoMessage() {} func (x *UpdateProxyRdsResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1019,11 +987,9 @@ type DeleteProxyRdsResourceRequest struct { func (x *DeleteProxyRdsResourceRequest) Reset() { *x = DeleteProxyRdsResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProxyRdsResourceRequest) String() string { @@ -1034,7 +1000,7 @@ func (*DeleteProxyRdsResourceRequest) ProtoMessage() {} func (x *DeleteProxyRdsResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1066,11 +1032,9 @@ type DeleteProxyRdsResourceResponse struct { func (x *DeleteProxyRdsResourceResponse) Reset() { *x = DeleteProxyRdsResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteProxyRdsResourceResponse) String() string { @@ -1081,7 +1045,7 @@ func (*DeleteProxyRdsResourceResponse) ProtoMessage() {} func (x *DeleteProxyRdsResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1466,224 +1430,6 @@ func file_commonfate_control_integration_v1alpha1_proxy_proto_init() { } file_commonfate_control_integration_v1alpha1_aws_proxy_proto_init() file_commonfate_control_integration_v1alpha1_proxy_resource_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateProxyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateProxyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetProxyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetProxyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*UpdateProxyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateProxyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*DeleteProxyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteProxyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListProxyResourcesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ListProxyResourcesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*CreateProxyRdsResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*CreateProxyRdsResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*GetProxyRdsResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*GetProxyRdsResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*UpdateProxyRdsResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*UpdateProxyRdsResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*DeleteProxyRdsResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*DeleteProxyRdsResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_integration_v1alpha1_proxy_proto_msgTypes[0].OneofWrappers = []any{ (*CreateProxyRequest_AwsEcsProxyInstanceConfig)(nil), } diff --git a/gen/commonfate/control/integration/v1alpha1/proxy_resource.pb.go b/gen/commonfate/control/integration/v1alpha1/proxy_resource.pb.go index bcd41ce9..d9f7c4d5 100644 --- a/gen/commonfate/control/integration/v1alpha1/proxy_resource.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/proxy_resource.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/proxy_resource.proto @@ -33,11 +33,9 @@ type Resource struct { func (x *Resource) Reset() { *x = Resource{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Resource) String() string { @@ -48,7 +46,7 @@ func (*Resource) ProtoMessage() {} func (x *Resource) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -104,11 +102,9 @@ type AWSRDSDatabase struct { func (x *AWSRDSDatabase) Reset() { *x = AWSRDSDatabase{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSRDSDatabase) String() string { @@ -119,7 +115,7 @@ func (*AWSRDSDatabase) ProtoMessage() {} func (x *AWSRDSDatabase) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,11 +199,9 @@ type AWSRDSDatabaseUser struct { func (x *AWSRDSDatabaseUser) Reset() { *x = AWSRDSDatabaseUser{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSRDSDatabaseUser) String() string { @@ -218,7 +212,7 @@ func (*AWSRDSDatabaseUser) ProtoMessage() {} func (x *AWSRDSDatabaseUser) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -365,44 +359,6 @@ func file_commonfate_control_integration_v1alpha1_proxy_resource_proto_init() { if File_commonfate_control_integration_v1alpha1_proxy_resource_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Resource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*AWSRDSDatabase); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*AWSRDSDatabaseUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_integration_v1alpha1_proxy_resource_proto_msgTypes[0].OneofWrappers = []any{ (*Resource_AwsRdsDatabase)(nil), } diff --git a/gen/commonfate/control/integration/v1alpha1/s3_log_destination.pb.go b/gen/commonfate/control/integration/v1alpha1/s3_log_destination.pb.go index 407946d3..aac45d20 100644 --- a/gen/commonfate/control/integration/v1alpha1/s3_log_destination.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/s3_log_destination.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/s3_log_destination.proto @@ -76,11 +76,9 @@ type S3LogDestination struct { func (x *S3LogDestination) Reset() { *x = S3LogDestination{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *S3LogDestination) String() string { @@ -91,7 +89,7 @@ func (*S3LogDestination) ProtoMessage() {} func (x *S3LogDestination) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,20 +235,6 @@ func file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_init( if File_commonfate_control_integration_v1alpha1_s3_log_destination_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_s3_log_destination_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*S3LogDestination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/secret.pb.go b/gen/commonfate/control/integration/v1alpha1/secret.pb.go index ffdba3f4..9eb9bd14 100644 --- a/gen/commonfate/control/integration/v1alpha1/secret.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/secret.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/secret.proto @@ -32,11 +32,9 @@ type CreateSecretRequest struct { func (x *CreateSecretRequest) Reset() { *x = CreateSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSecretRequest) String() string { @@ -47,7 +45,7 @@ func (*CreateSecretRequest) ProtoMessage() {} func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -86,11 +84,9 @@ type CreateSecretResponse struct { func (x *CreateSecretResponse) Reset() { *x = CreateSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSecretResponse) String() string { @@ -101,7 +97,7 @@ func (*CreateSecretResponse) ProtoMessage() {} func (x *CreateSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -134,11 +130,9 @@ type UpdateSecretRequest struct { func (x *UpdateSecretRequest) Reset() { *x = UpdateSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSecretRequest) String() string { @@ -149,7 +143,7 @@ func (*UpdateSecretRequest) ProtoMessage() {} func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,11 +182,9 @@ type UpdateSecretResponse struct { func (x *UpdateSecretResponse) Reset() { *x = UpdateSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSecretResponse) String() string { @@ -203,7 +195,7 @@ func (*UpdateSecretResponse) ProtoMessage() {} func (x *UpdateSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,11 +227,9 @@ type DeleteSecretRequest struct { func (x *DeleteSecretRequest) Reset() { *x = DeleteSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSecretRequest) String() string { @@ -250,7 +240,7 @@ func (*DeleteSecretRequest) ProtoMessage() {} func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +270,9 @@ type DeleteSecretResponse struct { func (x *DeleteSecretResponse) Reset() { *x = DeleteSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSecretResponse) String() string { @@ -295,7 +283,7 @@ func (*DeleteSecretResponse) ProtoMessage() {} func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -318,11 +306,9 @@ type ListSecretsRequest struct { func (x *ListSecretsRequest) Reset() { *x = ListSecretsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSecretsRequest) String() string { @@ -333,7 +319,7 @@ func (*ListSecretsRequest) ProtoMessage() {} func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,11 +346,9 @@ type Secret struct { func (x *Secret) Reset() { *x = Secret{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Secret) String() string { @@ -375,7 +359,7 @@ func (*Secret) ProtoMessage() {} func (x *Secret) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +405,9 @@ type ListSecretsResponse struct { func (x *ListSecretsResponse) Reset() { *x = ListSecretsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSecretsResponse) String() string { @@ -436,7 +418,7 @@ func (*ListSecretsResponse) ProtoMessage() {} func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -615,116 +597,6 @@ func file_commonfate_control_integration_v1alpha1_secret_proto_init() { if File_commonfate_control_integration_v1alpha1_secret_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*UpdateSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*DeleteSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ListSecretsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*Secret); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_secret_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListSecretsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/slack.pb.go b/gen/commonfate/control/integration/v1alpha1/slack.pb.go index e6f79197..fe192e9a 100644 --- a/gen/commonfate/control/integration/v1alpha1/slack.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/slack.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/slack.proto @@ -32,11 +32,9 @@ type Slack struct { func (x *Slack) Reset() { *x = Slack{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_slack_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_slack_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Slack) String() string { @@ -47,7 +45,7 @@ func (*Slack) ProtoMessage() {} func (x *Slack) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_slack_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,20 +153,6 @@ func file_commonfate_control_integration_v1alpha1_slack_proto_init() { if File_commonfate_control_integration_v1alpha1_slack_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_slack_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Slack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/integration/v1alpha1/webhook.pb.go b/gen/commonfate/control/integration/v1alpha1/webhook.pb.go index c9545b6a..7c6ef8a0 100644 --- a/gen/commonfate/control/integration/v1alpha1/webhook.pb.go +++ b/gen/commonfate/control/integration/v1alpha1/webhook.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/integration/v1alpha1/webhook.proto @@ -36,11 +36,9 @@ type Webhook struct { func (x *Webhook) Reset() { *x = Webhook{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Webhook) String() string { @@ -51,7 +49,7 @@ func (*Webhook) ProtoMessage() {} func (x *Webhook) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -112,11 +110,9 @@ type Header struct { func (x *Header) Reset() { *x = Header{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Header) String() string { @@ -127,7 +123,7 @@ func (*Header) ProtoMessage() {} func (x *Header) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -240,32 +236,6 @@ func file_commonfate_control_integration_v1alpha1_webhook_proto_init() { if File_commonfate_control_integration_v1alpha1_webhook_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Webhook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_integration_v1alpha1_webhook_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/log/v1alpha1/authz_eval.pb.go b/gen/commonfate/control/log/v1alpha1/authz_eval.pb.go index 75fb5829..d702f172 100644 --- a/gen/commonfate/control/log/v1alpha1/authz_eval.pb.go +++ b/gen/commonfate/control/log/v1alpha1/authz_eval.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/log/v1alpha1/authz_eval.proto @@ -43,11 +43,9 @@ type Filter struct { func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -58,7 +56,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +212,9 @@ type QueryEvaluationsRequest struct { func (x *QueryEvaluationsRequest) Reset() { *x = QueryEvaluationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEvaluationsRequest) String() string { @@ -229,7 +225,7 @@ func (*QueryEvaluationsRequest) ProtoMessage() {} func (x *QueryEvaluationsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -269,11 +265,9 @@ type QueryEvaluationsResponse struct { func (x *QueryEvaluationsResponse) Reset() { *x = QueryEvaluationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryEvaluationsResponse) String() string { @@ -284,7 +278,7 @@ func (*QueryEvaluationsResponse) ProtoMessage() {} func (x *QueryEvaluationsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -324,11 +318,9 @@ type GetEvaluationRequest struct { func (x *GetEvaluationRequest) Reset() { *x = GetEvaluationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEvaluationRequest) String() string { @@ -339,7 +331,7 @@ func (*GetEvaluationRequest) ProtoMessage() {} func (x *GetEvaluationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -371,11 +363,9 @@ type GetEvaluationResponse struct { func (x *GetEvaluationResponse) Reset() { *x = GetEvaluationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEvaluationResponse) String() string { @@ -386,7 +376,7 @@ func (*GetEvaluationResponse) ProtoMessage() {} func (x *GetEvaluationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -418,11 +408,9 @@ type DebugEvaluationRequest struct { func (x *DebugEvaluationRequest) Reset() { *x = DebugEvaluationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugEvaluationRequest) String() string { @@ -433,7 +421,7 @@ func (*DebugEvaluationRequest) ProtoMessage() {} func (x *DebugEvaluationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -465,11 +453,9 @@ type DebugEvaluationResponse struct { func (x *DebugEvaluationResponse) Reset() { *x = DebugEvaluationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DebugEvaluationResponse) String() string { @@ -480,7 +466,7 @@ func (*DebugEvaluationResponse) ProtoMessage() {} func (x *DebugEvaluationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -707,92 +693,6 @@ func file_commonfate_control_log_v1alpha1_authz_eval_proto_init() { if File_commonfate_control_log_v1alpha1_authz_eval_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryEvaluationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*QueryEvaluationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetEvaluationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetEvaluationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*DebugEvaluationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*DebugEvaluationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_control_log_v1alpha1_authz_eval_proto_msgTypes[0].OneofWrappers = []any{ (*Filter_Tag)(nil), (*Filter_OccurredAt)(nil), diff --git a/gen/commonfate/control/notification/v1alpha1/notification.pb.go b/gen/commonfate/control/notification/v1alpha1/notification.pb.go index 3c79fb18..82823ae8 100644 --- a/gen/commonfate/control/notification/v1alpha1/notification.pb.go +++ b/gen/commonfate/control/notification/v1alpha1/notification.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/notification/v1alpha1/notification.proto @@ -29,11 +29,9 @@ type GetUserNotificationSettingsRequest struct { func (x *GetUserNotificationSettingsRequest) Reset() { *x = GetUserNotificationSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserNotificationSettingsRequest) String() string { @@ -44,7 +42,7 @@ func (*GetUserNotificationSettingsRequest) ProtoMessage() {} func (x *GetUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,11 +67,9 @@ type GetUserNotificationSettingsResponse struct { func (x *GetUserNotificationSettingsResponse) Reset() { *x = GetUserNotificationSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserNotificationSettingsResponse) String() string { @@ -84,7 +80,7 @@ func (*GetUserNotificationSettingsResponse) ProtoMessage() {} func (x *GetUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -121,11 +117,9 @@ type UserNotificationSettings struct { func (x *UserNotificationSettings) Reset() { *x = UserNotificationSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserNotificationSettings) String() string { @@ -136,7 +130,7 @@ func (*UserNotificationSettings) ProtoMessage() {} func (x *UserNotificationSettings) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,11 +197,9 @@ type UpdateUserNotificationSettingsRequest struct { func (x *UpdateUserNotificationSettingsRequest) Reset() { *x = UpdateUserNotificationSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserNotificationSettingsRequest) String() string { @@ -218,7 +210,7 @@ func (*UpdateUserNotificationSettingsRequest) ProtoMessage() {} func (x *UpdateUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -250,11 +242,9 @@ type UpdateUserNotificationSettingsResponse struct { func (x *UpdateUserNotificationSettingsResponse) Reset() { *x = UpdateUserNotificationSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateUserNotificationSettingsResponse) String() string { @@ -265,7 +255,7 @@ func (*UpdateUserNotificationSettingsResponse) ProtoMessage() {} func (x *UpdateUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -443,68 +433,6 @@ func file_commonfate_control_notification_v1alpha1_notification_proto_init() { if File_commonfate_control_notification_v1alpha1_notification_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetUserNotificationSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetUserNotificationSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*UserNotificationSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*UpdateUserNotificationSettingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_notification_v1alpha1_notification_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*UpdateUserNotificationSettingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/oauth/v1alpha1/oauth.pb.go b/gen/commonfate/control/oauth/v1alpha1/oauth.pb.go index 0131b40d..1d71e1e4 100644 --- a/gen/commonfate/control/oauth/v1alpha1/oauth.pb.go +++ b/gen/commonfate/control/oauth/v1alpha1/oauth.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/oauth/v1alpha1/oauth.proto @@ -29,11 +29,9 @@ type CreatePagerDutyIntegrationRequest struct { func (x *CreatePagerDutyIntegrationRequest) Reset() { *x = CreatePagerDutyIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePagerDutyIntegrationRequest) String() string { @@ -44,7 +42,7 @@ func (*CreatePagerDutyIntegrationRequest) ProtoMessage() {} func (x *CreatePagerDutyIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,11 +67,9 @@ type CreatePagerDutyIntegrationResponse struct { func (x *CreatePagerDutyIntegrationResponse) Reset() { *x = CreatePagerDutyIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePagerDutyIntegrationResponse) String() string { @@ -84,7 +80,7 @@ func (*CreatePagerDutyIntegrationResponse) ProtoMessage() {} func (x *CreatePagerDutyIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,11 +110,9 @@ type GetPagerDutyIntegrationRequest struct { func (x *GetPagerDutyIntegrationRequest) Reset() { *x = GetPagerDutyIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPagerDutyIntegrationRequest) String() string { @@ -129,7 +123,7 @@ func (*GetPagerDutyIntegrationRequest) ProtoMessage() {} func (x *GetPagerDutyIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,11 +148,9 @@ type GetPagerDutyIntegrationResponse struct { func (x *GetPagerDutyIntegrationResponse) Reset() { *x = GetPagerDutyIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPagerDutyIntegrationResponse) String() string { @@ -169,7 +161,7 @@ func (*GetPagerDutyIntegrationResponse) ProtoMessage() {} func (x *GetPagerDutyIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,11 +191,9 @@ type RemovePagerDutyIntegrationRequest struct { func (x *RemovePagerDutyIntegrationRequest) Reset() { *x = RemovePagerDutyIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePagerDutyIntegrationRequest) String() string { @@ -214,7 +204,7 @@ func (*RemovePagerDutyIntegrationRequest) ProtoMessage() {} func (x *RemovePagerDutyIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -239,11 +229,9 @@ type RemovePagerDutyIntegrationResponse struct { func (x *RemovePagerDutyIntegrationResponse) Reset() { *x = RemovePagerDutyIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemovePagerDutyIntegrationResponse) String() string { @@ -254,7 +242,7 @@ func (*RemovePagerDutyIntegrationResponse) ProtoMessage() {} func (x *RemovePagerDutyIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,11 +272,9 @@ type CreateSlackIntegrationRequest struct { func (x *CreateSlackIntegrationRequest) Reset() { *x = CreateSlackIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSlackIntegrationRequest) String() string { @@ -299,7 +285,7 @@ func (*CreateSlackIntegrationRequest) ProtoMessage() {} func (x *CreateSlackIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -324,11 +310,9 @@ type CreateSlackIntegrationResponse struct { func (x *CreateSlackIntegrationResponse) Reset() { *x = CreateSlackIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSlackIntegrationResponse) String() string { @@ -339,7 +323,7 @@ func (*CreateSlackIntegrationResponse) ProtoMessage() {} func (x *CreateSlackIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -369,11 +353,9 @@ type GetSlackIntegrationRequest struct { func (x *GetSlackIntegrationRequest) Reset() { *x = GetSlackIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSlackIntegrationRequest) String() string { @@ -384,7 +366,7 @@ func (*GetSlackIntegrationRequest) ProtoMessage() {} func (x *GetSlackIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -409,11 +391,9 @@ type GetSlackIntegrationResponse struct { func (x *GetSlackIntegrationResponse) Reset() { *x = GetSlackIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSlackIntegrationResponse) String() string { @@ -424,7 +404,7 @@ func (*GetSlackIntegrationResponse) ProtoMessage() {} func (x *GetSlackIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +434,9 @@ type RemoveSlackIntegrationRequest struct { func (x *RemoveSlackIntegrationRequest) Reset() { *x = RemoveSlackIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveSlackIntegrationRequest) String() string { @@ -469,7 +447,7 @@ func (*RemoveSlackIntegrationRequest) ProtoMessage() {} func (x *RemoveSlackIntegrationRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -494,11 +472,9 @@ type RemoveSlackIntegrationResponse struct { func (x *RemoveSlackIntegrationResponse) Reset() { *x = RemoveSlackIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveSlackIntegrationResponse) String() string { @@ -509,7 +485,7 @@ func (*RemoveSlackIntegrationResponse) ProtoMessage() {} func (x *RemoveSlackIntegrationResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -688,152 +664,6 @@ func file_commonfate_control_oauth_v1alpha1_oauth_proto_init() { if File_commonfate_control_oauth_v1alpha1_oauth_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreatePagerDutyIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreatePagerDutyIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetPagerDutyIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetPagerDutyIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*RemovePagerDutyIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*RemovePagerDutyIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CreateSlackIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*CreateSlackIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetSlackIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetSlackIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*RemoveSlackIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_oauth_v1alpha1_oauth_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*RemoveSlackIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/resource/v1alpha1/resource.pb.go b/gen/commonfate/control/resource/v1alpha1/resource.pb.go index 0389fac5..1d3f883a 100644 --- a/gen/commonfate/control/resource/v1alpha1/resource.pb.go +++ b/gen/commonfate/control/resource/v1alpha1/resource.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/resource/v1alpha1/resource.proto @@ -31,11 +31,9 @@ type ListTypesRequest struct { func (x *ListTypesRequest) Reset() { *x = ListTypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTypesRequest) String() string { @@ -46,7 +44,7 @@ func (*ListTypesRequest) ProtoMessage() {} func (x *ListTypesRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -71,11 +69,9 @@ type ListTypesResponse struct { func (x *ListTypesResponse) Reset() { *x = ListTypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTypesResponse) String() string { @@ -86,7 +82,7 @@ func (*ListTypesResponse) ProtoMessage() {} func (x *ListTypesResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -118,11 +114,9 @@ type QueryResourcesRequest struct { func (x *QueryResourcesRequest) Reset() { *x = QueryResourcesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryResourcesRequest) String() string { @@ -133,7 +127,7 @@ func (*QueryResourcesRequest) ProtoMessage() {} func (x *QueryResourcesRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,11 +159,9 @@ type QueryResourcesResponse struct { func (x *QueryResourcesResponse) Reset() { *x = QueryResourcesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryResourcesResponse) String() string { @@ -180,7 +172,7 @@ func (*QueryResourcesResponse) ProtoMessage() {} func (x *QueryResourcesResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,11 +204,9 @@ type GetResourceRequest struct { func (x *GetResourceRequest) Reset() { *x = GetResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetResourceRequest) String() string { @@ -227,7 +217,7 @@ func (*GetResourceRequest) ProtoMessage() {} func (x *GetResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -260,11 +250,9 @@ type GetResourceResponse struct { func (x *GetResourceResponse) Reset() { *x = GetResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetResourceResponse) String() string { @@ -275,7 +263,7 @@ func (*GetResourceResponse) ProtoMessage() {} func (x *GetResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,11 +302,9 @@ type ListChildrenRequest struct { func (x *ListChildrenRequest) Reset() { *x = ListChildrenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListChildrenRequest) String() string { @@ -329,7 +315,7 @@ func (*ListChildrenRequest) ProtoMessage() {} func (x *ListChildrenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,11 +347,9 @@ type ListChildrenResponse struct { func (x *ListChildrenResponse) Reset() { *x = ListChildrenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListChildrenResponse) String() string { @@ -376,7 +360,7 @@ func (*ListChildrenResponse) ProtoMessage() {} func (x *ListChildrenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +392,9 @@ type ListParentsRequest struct { func (x *ListParentsRequest) Reset() { *x = ListParentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParentsRequest) String() string { @@ -423,7 +405,7 @@ func (*ListParentsRequest) ProtoMessage() {} func (x *ListParentsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,11 +437,9 @@ type ListParentsResponse struct { func (x *ListParentsResponse) Reset() { *x = ListParentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParentsResponse) String() string { @@ -470,7 +450,7 @@ func (*ListParentsResponse) ProtoMessage() {} func (x *ListParentsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -682,128 +662,6 @@ func file_commonfate_control_resource_v1alpha1_resource_proto_init() { if File_commonfate_control_resource_v1alpha1_resource_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListTypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListTypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*QueryResourcesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*QueryResourcesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*GetResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*GetResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ListChildrenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*ListChildrenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListParentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_resource_v1alpha1_resource_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ListParentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/support/v1alpha1/support.pb.go b/gen/commonfate/control/support/v1alpha1/support.pb.go index 4dd2abbe..652d2bb2 100644 --- a/gen/commonfate/control/support/v1alpha1/support.pb.go +++ b/gen/commonfate/control/support/v1alpha1/support.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/support/v1alpha1/support.proto @@ -85,11 +85,9 @@ type Ticket struct { func (x *Ticket) Reset() { *x = Ticket{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ticket) String() string { @@ -100,7 +98,7 @@ func (*Ticket) ProtoMessage() {} func (x *Ticket) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,11 +151,9 @@ type ContactRequest struct { func (x *ContactRequest) Reset() { *x = ContactRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContactRequest) String() string { @@ -168,7 +164,7 @@ func (*ContactRequest) ProtoMessage() {} func (x *ContactRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -201,11 +197,9 @@ type ContactResponse struct { func (x *ContactResponse) Reset() { *x = ContactResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContactResponse) String() string { @@ -216,7 +210,7 @@ func (*ContactResponse) ProtoMessage() {} func (x *ContactResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,11 +243,9 @@ type AttachmentInput struct { func (x *AttachmentInput) Reset() { *x = AttachmentInput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AttachmentInput) String() string { @@ -264,7 +256,7 @@ func (*AttachmentInput) ProtoMessage() {} func (x *AttachmentInput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,11 +295,9 @@ type CreateAttachmentRequest struct { func (x *CreateAttachmentRequest) Reset() { *x = CreateAttachmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAttachmentRequest) String() string { @@ -318,7 +308,7 @@ func (*CreateAttachmentRequest) ProtoMessage() {} func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +343,9 @@ type Attachment struct { func (x *Attachment) Reset() { *x = Attachment{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attachment) String() string { @@ -368,7 +356,7 @@ func (*Attachment) ProtoMessage() {} func (x *Attachment) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,11 +409,9 @@ type CreateAttachmentResponse struct { func (x *CreateAttachmentResponse) Reset() { *x = CreateAttachmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAttachmentResponse) String() string { @@ -436,7 +422,7 @@ func (*CreateAttachmentResponse) ProtoMessage() {} func (x *CreateAttachmentResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,11 +455,9 @@ type FormData struct { func (x *FormData) Reset() { *x = FormData{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FormData) String() string { @@ -484,7 +468,7 @@ func (*FormData) ProtoMessage() {} func (x *FormData) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_support_v1alpha1_support_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -666,104 +650,6 @@ func file_commonfate_control_support_v1alpha1_support_proto_init() { if File_commonfate_control_support_v1alpha1_support_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Ticket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ContactRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ContactResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*AttachmentInput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*CreateAttachmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Attachment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CreateAttachmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_support_v1alpha1_support_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*FormData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/control/user/v1alpha1/user.pb.go b/gen/commonfate/control/user/v1alpha1/user.pb.go index 233468cc..983f3883 100644 --- a/gen/commonfate/control/user/v1alpha1/user.pb.go +++ b/gen/commonfate/control/user/v1alpha1/user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/control/user/v1alpha1/user.proto @@ -30,11 +30,9 @@ type QueryUsersRequest struct { func (x *QueryUsersRequest) Reset() { *x = QueryUsersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryUsersRequest) String() string { @@ -45,7 +43,7 @@ func (*QueryUsersRequest) ProtoMessage() {} func (x *QueryUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,11 +68,9 @@ type QueryUsersResponse struct { func (x *QueryUsersResponse) Reset() { *x = QueryUsersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryUsersResponse) String() string { @@ -85,7 +81,7 @@ func (*QueryUsersResponse) ProtoMessage() {} func (x *QueryUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,11 +113,9 @@ type GetUserRequest struct { func (x *GetUserRequest) Reset() { *x = GetUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserRequest) String() string { @@ -132,7 +126,7 @@ func (*GetUserRequest) ProtoMessage() {} func (x *GetUserRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,11 +158,9 @@ type GetUserResponse struct { func (x *GetUserResponse) Reset() { *x = GetUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserResponse) String() string { @@ -179,7 +171,7 @@ func (*GetUserResponse) ProtoMessage() {} func (x *GetUserResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_control_user_v1alpha1_user_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,56 +296,6 @@ func file_commonfate_control_user_v1alpha1_user_proto_init() { if File_commonfate_control_user_v1alpha1_user_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_control_user_v1alpha1_user_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*QueryUsersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_user_v1alpha1_user_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*QueryUsersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_user_v1alpha1_user_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_control_user_v1alpha1_user_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/entity/v1alpha1/child_relation.pb.go b/gen/commonfate/entity/v1alpha1/child_relation.pb.go index 2d9c7ee4..541d45c0 100644 --- a/gen/commonfate/entity/v1alpha1/child_relation.pb.go +++ b/gen/commonfate/entity/v1alpha1/child_relation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/entity/v1alpha1/child_relation.proto @@ -31,11 +31,9 @@ type ChildRelation struct { func (x *ChildRelation) Reset() { *x = ChildRelation{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_child_relation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_child_relation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChildRelation) String() string { @@ -46,7 +44,7 @@ func (*ChildRelation) ProtoMessage() {} func (x *ChildRelation) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_child_relation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -146,20 +144,6 @@ func file_commonfate_entity_v1alpha1_child_relation_proto_init() { return } file_commonfate_entity_v1alpha1_eid_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_entity_v1alpha1_child_relation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ChildRelation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/entity/v1alpha1/eid.pb.go b/gen/commonfate/entity/v1alpha1/eid.pb.go index 45de9a61..8dab4734 100644 --- a/gen/commonfate/entity/v1alpha1/eid.pb.go +++ b/gen/commonfate/entity/v1alpha1/eid.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/entity/v1alpha1/eid.proto @@ -31,11 +31,9 @@ type EID struct { func (x *EID) Reset() { *x = EID{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_eid_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_eid_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EID) String() string { @@ -46,7 +44,7 @@ func (*EID) ProtoMessage() {} func (x *EID) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_eid_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,20 +131,6 @@ func file_commonfate_entity_v1alpha1_eid_proto_init() { if File_commonfate_entity_v1alpha1_eid_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_entity_v1alpha1_eid_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*EID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/entity/v1alpha1/entity.pb.go b/gen/commonfate/entity/v1alpha1/entity.pb.go index 9ff8e164..f6f8620f 100644 --- a/gen/commonfate/entity/v1alpha1/entity.pb.go +++ b/gen/commonfate/entity/v1alpha1/entity.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/entity/v1alpha1/entity.proto @@ -31,11 +31,9 @@ type Attribute struct { func (x *Attribute) Reset() { *x = Attribute{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attribute) String() string { @@ -46,7 +44,7 @@ func (*Attribute) ProtoMessage() {} func (x *Attribute) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -93,11 +91,9 @@ type Value struct { func (x *Value) Reset() { *x = Value{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Value) String() string { @@ -108,7 +104,7 @@ func (*Value) ProtoMessage() {} func (x *Value) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -222,11 +218,9 @@ type Record struct { func (x *Record) Reset() { *x = Record{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Record) String() string { @@ -237,7 +231,7 @@ func (*Record) ProtoMessage() {} func (x *Record) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -269,11 +263,9 @@ type Set struct { func (x *Set) Reset() { *x = Set{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Set) String() string { @@ -284,7 +276,7 @@ func (*Set) ProtoMessage() {} func (x *Set) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -317,11 +309,9 @@ type Entity struct { func (x *Entity) Reset() { *x = Entity{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Entity) String() string { @@ -332,7 +322,7 @@ func (*Entity) ProtoMessage() {} func (x *Entity) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -472,68 +462,6 @@ func file_commonfate_entity_v1alpha1_entity_proto_init() { return } file_commonfate_entity_v1alpha1_eid_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_entity_v1alpha1_entity_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Attribute); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Value); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Record); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Set); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Entity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_entity_v1alpha1_entity_proto_msgTypes[1].OneofWrappers = []any{ (*Value_Str)(nil), (*Value_Bool)(nil), diff --git a/gen/commonfate/entity/v1alpha1/entity_service.pb.go b/gen/commonfate/entity/v1alpha1/entity_service.pb.go index 946bc0fe..b7bd0c12 100644 --- a/gen/commonfate/entity/v1alpha1/entity_service.pb.go +++ b/gen/commonfate/entity/v1alpha1/entity_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/entity/v1alpha1/entity_service.proto @@ -86,11 +86,9 @@ type SelectRequest struct { func (x *SelectRequest) Reset() { *x = SelectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SelectRequest) String() string { @@ -101,7 +99,7 @@ func (*SelectRequest) ProtoMessage() {} func (x *SelectRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,11 +152,9 @@ type SelectResponse struct { func (x *SelectResponse) Reset() { *x = SelectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SelectResponse) String() string { @@ -169,7 +165,7 @@ func (*SelectResponse) ProtoMessage() {} func (x *SelectResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +204,9 @@ type ListRequest struct { func (x *ListRequest) Reset() { *x = ListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRequest) String() string { @@ -223,7 +217,7 @@ func (*ListRequest) ProtoMessage() {} func (x *ListRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,11 +278,9 @@ type ListResponse struct { func (x *ListResponse) Reset() { *x = ListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListResponse) String() string { @@ -299,7 +291,7 @@ func (*ListResponse) ProtoMessage() {} func (x *ListResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -341,11 +333,9 @@ type ListChildrenRequest struct { func (x *ListChildrenRequest) Reset() { *x = ListChildrenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListChildrenRequest) String() string { @@ -356,7 +346,7 @@ func (*ListChildrenRequest) ProtoMessage() {} func (x *ListChildrenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -403,11 +393,9 @@ type ListChildrenResponse struct { func (x *ListChildrenResponse) Reset() { *x = ListChildrenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListChildrenResponse) String() string { @@ -418,7 +406,7 @@ func (*ListChildrenResponse) ProtoMessage() {} func (x *ListChildrenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,11 +448,9 @@ type ListParentsRequest struct { func (x *ListParentsRequest) Reset() { *x = ListParentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParentsRequest) String() string { @@ -475,7 +461,7 @@ func (*ListParentsRequest) ProtoMessage() {} func (x *ListParentsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -522,11 +508,9 @@ type ListParentsResponse struct { func (x *ListParentsResponse) Reset() { *x = ListParentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParentsResponse) String() string { @@ -537,7 +521,7 @@ func (*ListParentsResponse) ProtoMessage() {} func (x *ListParentsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -577,11 +561,9 @@ type GetRequest struct { func (x *GetRequest) Reset() { *x = GetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRequest) String() string { @@ -592,7 +574,7 @@ func (*GetRequest) ProtoMessage() {} func (x *GetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,11 +613,9 @@ type GetResponse struct { func (x *GetResponse) Reset() { *x = GetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetResponse) String() string { @@ -646,7 +626,7 @@ func (*GetResponse) ProtoMessage() {} func (x *GetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,11 +659,9 @@ type BatchGetRequest struct { func (x *BatchGetRequest) Reset() { *x = BatchGetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchGetRequest) String() string { @@ -694,7 +672,7 @@ func (*BatchGetRequest) ProtoMessage() {} func (x *BatchGetRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -733,11 +711,9 @@ type BatchGetResponse struct { func (x *BatchGetResponse) Reset() { *x = BatchGetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchGetResponse) String() string { @@ -748,7 +724,7 @@ func (*BatchGetResponse) ProtoMessage() {} func (x *BatchGetResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -791,11 +767,9 @@ type BatchUpdateRequest struct { func (x *BatchUpdateRequest) Reset() { *x = BatchUpdateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchUpdateRequest) String() string { @@ -806,7 +780,7 @@ func (*BatchUpdateRequest) ProtoMessage() {} func (x *BatchUpdateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -878,11 +852,9 @@ type BatchUpdateResponse struct { func (x *BatchUpdateResponse) Reset() { *x = BatchUpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BatchUpdateResponse) String() string { @@ -893,7 +865,7 @@ func (*BatchUpdateResponse) ProtoMessage() {} func (x *BatchUpdateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1198,176 +1170,6 @@ func file_commonfate_entity_v1alpha1_entity_service_proto_init() { file_commonfate_entity_v1alpha1_eid_proto_init() file_commonfate_entity_v1alpha1_entity_proto_init() file_commonfate_entity_v1alpha1_child_relation_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*SelectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SelectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ListChildrenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ListChildrenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ListParentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*ListParentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*BatchGetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*BatchGetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*BatchUpdateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*BatchUpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_entity_v1alpha1_entity_service_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/commonfate/factory/cloudsupport/v1alpha1/support.pb.go b/gen/commonfate/factory/cloudsupport/v1alpha1/support.pb.go index 45293c9c..74225b3d 100644 --- a/gen/commonfate/factory/cloudsupport/v1alpha1/support.pb.go +++ b/gen/commonfate/factory/cloudsupport/v1alpha1/support.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/cloudsupport/v1alpha1/support.proto @@ -33,11 +33,9 @@ type ContactRequest struct { func (x *ContactRequest) Reset() { *x = ContactRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContactRequest) String() string { @@ -48,7 +46,7 @@ func (*ContactRequest) ProtoMessage() {} func (x *ContactRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -88,11 +86,9 @@ type ContactResponse struct { func (x *ContactResponse) Reset() { *x = ContactResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContactResponse) String() string { @@ -103,7 +99,7 @@ func (*ContactResponse) ProtoMessage() {} func (x *ContactResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -136,11 +132,9 @@ type CreateAttachmentRequest struct { func (x *CreateAttachmentRequest) Reset() { *x = CreateAttachmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAttachmentRequest) String() string { @@ -151,7 +145,7 @@ func (*CreateAttachmentRequest) ProtoMessage() {} func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -190,11 +184,9 @@ type CreateAttachmentResponse struct { func (x *CreateAttachmentResponse) Reset() { *x = CreateAttachmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAttachmentResponse) String() string { @@ -205,7 +197,7 @@ func (*CreateAttachmentResponse) ProtoMessage() {} func (x *CreateAttachmentResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,56 +353,6 @@ func file_commonfate_factory_cloudsupport_v1alpha1_support_proto_init() { if File_commonfate_factory_cloudsupport_v1alpha1_support_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ContactRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ContactResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*CreateAttachmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_cloudsupport_v1alpha1_support_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*CreateAttachmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/factory/deployment/v1alpha1/deployment.pb.go b/gen/commonfate/factory/deployment/v1alpha1/deployment.pb.go index 7a45cb92..36979a3e 100644 --- a/gen/commonfate/factory/deployment/v1alpha1/deployment.pb.go +++ b/gen/commonfate/factory/deployment/v1alpha1/deployment.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/deployment/v1alpha1/deployment.proto @@ -89,11 +89,9 @@ type TerraformOutput struct { func (x *TerraformOutput) Reset() { *x = TerraformOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TerraformOutput) String() string { @@ -104,7 +102,7 @@ func (*TerraformOutput) ProtoMessage() {} func (x *TerraformOutput) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,11 +202,9 @@ type GetTerraformOutputRequest struct { func (x *GetTerraformOutputRequest) Reset() { *x = GetTerraformOutputRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTerraformOutputRequest) String() string { @@ -219,7 +215,7 @@ func (*GetTerraformOutputRequest) ProtoMessage() {} func (x *GetTerraformOutputRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -244,11 +240,9 @@ type GetTerraformOutputResponse struct { func (x *GetTerraformOutputResponse) Reset() { *x = GetTerraformOutputResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTerraformOutputResponse) String() string { @@ -259,7 +253,7 @@ func (*GetTerraformOutputResponse) ProtoMessage() {} func (x *GetTerraformOutputResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -291,11 +285,9 @@ type SetTerraformOutputRequest struct { func (x *SetTerraformOutputRequest) Reset() { *x = SetTerraformOutputRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetTerraformOutputRequest) String() string { @@ -306,7 +298,7 @@ func (*SetTerraformOutputRequest) ProtoMessage() {} func (x *SetTerraformOutputRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -336,11 +328,9 @@ type SetTerraformOutputResponse struct { func (x *SetTerraformOutputResponse) Reset() { *x = SetTerraformOutputResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetTerraformOutputResponse) String() string { @@ -351,7 +341,7 @@ func (*SetTerraformOutputResponse) ProtoMessage() {} func (x *SetTerraformOutputResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,11 +372,9 @@ type AWSACMCertificate struct { func (x *AWSACMCertificate) Reset() { *x = AWSACMCertificate{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AWSACMCertificate) String() string { @@ -397,7 +385,7 @@ func (*AWSACMCertificate) ProtoMessage() {} func (x *AWSACMCertificate) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,11 +457,9 @@ type RegisterAWSACMCertificateRequest struct { func (x *RegisterAWSACMCertificateRequest) Reset() { *x = RegisterAWSACMCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterAWSACMCertificateRequest) String() string { @@ -484,7 +470,7 @@ func (*RegisterAWSACMCertificateRequest) ProtoMessage() {} func (x *RegisterAWSACMCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -544,11 +530,9 @@ type RegisterAWSACMCertificateResponse struct { func (x *RegisterAWSACMCertificateResponse) Reset() { *x = RegisterAWSACMCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterAWSACMCertificateResponse) String() string { @@ -559,7 +543,7 @@ func (*RegisterAWSACMCertificateResponse) ProtoMessage() {} func (x *RegisterAWSACMCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -591,11 +575,9 @@ type GetAWSACMCertificateRequest struct { func (x *GetAWSACMCertificateRequest) Reset() { *x = GetAWSACMCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAWSACMCertificateRequest) String() string { @@ -606,7 +588,7 @@ func (*GetAWSACMCertificateRequest) ProtoMessage() {} func (x *GetAWSACMCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -638,11 +620,9 @@ type GetAWSACMCertificateResponse struct { func (x *GetAWSACMCertificateResponse) Reset() { *x = GetAWSACMCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAWSACMCertificateResponse) String() string { @@ -653,7 +633,7 @@ func (*GetAWSACMCertificateResponse) ProtoMessage() {} func (x *GetAWSACMCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -685,11 +665,9 @@ type UpdateAWSACMCertificateRequest struct { func (x *UpdateAWSACMCertificateRequest) Reset() { *x = UpdateAWSACMCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAWSACMCertificateRequest) String() string { @@ -700,7 +678,7 @@ func (*UpdateAWSACMCertificateRequest) ProtoMessage() {} func (x *UpdateAWSACMCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,11 +710,9 @@ type UpdateAWSACMCertificateResponse struct { func (x *UpdateAWSACMCertificateResponse) Reset() { *x = UpdateAWSACMCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAWSACMCertificateResponse) String() string { @@ -747,7 +723,7 @@ func (*UpdateAWSACMCertificateResponse) ProtoMessage() {} func (x *UpdateAWSACMCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -779,11 +755,9 @@ type DeregisterAWSACMCertificateRequest struct { func (x *DeregisterAWSACMCertificateRequest) Reset() { *x = DeregisterAWSACMCertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeregisterAWSACMCertificateRequest) String() string { @@ -794,7 +768,7 @@ func (*DeregisterAWSACMCertificateRequest) ProtoMessage() {} func (x *DeregisterAWSACMCertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -826,11 +800,9 @@ type DeregisterAWSACMCertificateResponse struct { func (x *DeregisterAWSACMCertificateResponse) Reset() { *x = DeregisterAWSACMCertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeregisterAWSACMCertificateResponse) String() string { @@ -841,7 +813,7 @@ func (*DeregisterAWSACMCertificateResponse) ProtoMessage() {} func (x *DeregisterAWSACMCertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -879,11 +851,9 @@ type DNSRecord struct { func (x *DNSRecord) Reset() { *x = DNSRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DNSRecord) String() string { @@ -894,7 +864,7 @@ func (*DNSRecord) ProtoMessage() {} func (x *DNSRecord) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -959,11 +929,9 @@ type CreateDNSRecordRequest struct { func (x *CreateDNSRecordRequest) Reset() { *x = CreateDNSRecordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDNSRecordRequest) String() string { @@ -974,7 +942,7 @@ func (*CreateDNSRecordRequest) ProtoMessage() {} func (x *CreateDNSRecordRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1027,11 +995,9 @@ type CreateDNSRecordResponse struct { func (x *CreateDNSRecordResponse) Reset() { *x = CreateDNSRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDNSRecordResponse) String() string { @@ -1042,7 +1008,7 @@ func (*CreateDNSRecordResponse) ProtoMessage() {} func (x *CreateDNSRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1075,11 +1041,9 @@ type UpdateDNSRecordRequest struct { func (x *UpdateDNSRecordRequest) Reset() { *x = UpdateDNSRecordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDNSRecordRequest) String() string { @@ -1090,7 +1054,7 @@ func (*UpdateDNSRecordRequest) ProtoMessage() {} func (x *UpdateDNSRecordRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1129,11 +1093,9 @@ type UpdateDNSRecordResponse struct { func (x *UpdateDNSRecordResponse) Reset() { *x = UpdateDNSRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateDNSRecordResponse) String() string { @@ -1144,7 +1106,7 @@ func (*UpdateDNSRecordResponse) ProtoMessage() {} func (x *UpdateDNSRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1176,11 +1138,9 @@ type DeleteDNSRecordRequest struct { func (x *DeleteDNSRecordRequest) Reset() { *x = DeleteDNSRecordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDNSRecordRequest) String() string { @@ -1191,7 +1151,7 @@ func (*DeleteDNSRecordRequest) ProtoMessage() {} func (x *DeleteDNSRecordRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1223,11 +1183,9 @@ type DeleteDNSRecordResponse struct { func (x *DeleteDNSRecordResponse) Reset() { *x = DeleteDNSRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDNSRecordResponse) String() string { @@ -1238,7 +1196,7 @@ func (*DeleteDNSRecordResponse) ProtoMessage() {} func (x *DeleteDNSRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1270,11 +1228,9 @@ type GetDNSRecordRequest struct { func (x *GetDNSRecordRequest) Reset() { *x = GetDNSRecordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDNSRecordRequest) String() string { @@ -1285,7 +1241,7 @@ func (*GetDNSRecordRequest) ProtoMessage() {} func (x *GetDNSRecordRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1317,11 +1273,9 @@ type GetDNSRecordResponse struct { func (x *GetDNSRecordResponse) Reset() { *x = GetDNSRecordResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDNSRecordResponse) String() string { @@ -1332,7 +1286,7 @@ func (*GetDNSRecordResponse) ProtoMessage() {} func (x *GetDNSRecordResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,11 +1316,9 @@ type GetDeploymentRequest struct { func (x *GetDeploymentRequest) Reset() { *x = GetDeploymentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentRequest) String() string { @@ -1377,7 +1329,7 @@ func (*GetDeploymentRequest) ProtoMessage() {} func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1402,11 +1354,9 @@ type GetDeploymentResponse struct { func (x *GetDeploymentResponse) Reset() { *x = GetDeploymentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDeploymentResponse) String() string { @@ -1417,7 +1367,7 @@ func (*GetDeploymentResponse) ProtoMessage() {} func (x *GetDeploymentResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1459,11 +1409,9 @@ type Deployment struct { func (x *Deployment) Reset() { *x = Deployment{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Deployment) String() string { @@ -1474,7 +1422,7 @@ func (*Deployment) ProtoMessage() {} func (x *Deployment) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1962,320 +1910,6 @@ func file_commonfate_factory_deployment_v1alpha1_deployment_proto_init() { if File_commonfate_factory_deployment_v1alpha1_deployment_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*TerraformOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetTerraformOutputRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetTerraformOutputResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*SetTerraformOutputRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*SetTerraformOutputResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*AWSACMCertificate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*RegisterAWSACMCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*RegisterAWSACMCertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetAWSACMCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetAWSACMCertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAWSACMCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*UpdateAWSACMCertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*DeregisterAWSACMCertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*DeregisterAWSACMCertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*DNSRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*CreateDNSRecordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*CreateDNSRecordResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*UpdateDNSRecordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*UpdateDNSRecordResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*DeleteDNSRecordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*DeleteDNSRecordResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*GetDNSRecordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*GetDNSRecordResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*GetDeploymentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_deployment_v1alpha1_deployment_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*Deployment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/factory/monitoring/v1alpha1/healthcheck.pb.go b/gen/commonfate/factory/monitoring/v1alpha1/healthcheck.pb.go index b60e4984..562d87b3 100644 --- a/gen/commonfate/factory/monitoring/v1alpha1/healthcheck.pb.go +++ b/gen/commonfate/factory/monitoring/v1alpha1/healthcheck.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/monitoring/v1alpha1/healthcheck.proto @@ -86,11 +86,9 @@ type PingRequest struct { func (x *PingRequest) Reset() { *x = PingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingRequest) String() string { @@ -101,7 +99,7 @@ func (*PingRequest) ProtoMessage() {} func (x *PingRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -159,11 +157,9 @@ type ECSTaskMetadata struct { func (x *ECSTaskMetadata) Reset() { *x = ECSTaskMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ECSTaskMetadata) String() string { @@ -174,7 +170,7 @@ func (*ECSTaskMetadata) ProtoMessage() {} func (x *ECSTaskMetadata) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +239,9 @@ type PingResponse struct { func (x *PingResponse) Reset() { *x = PingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingResponse) String() string { @@ -258,7 +252,7 @@ func (*PingResponse) ProtoMessage() {} func (x *PingResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -409,44 +403,6 @@ func file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_init() { if File_commonfate_factory_monitoring_v1alpha1_healthcheck_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*PingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ECSTaskMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_monitoring_v1alpha1_healthcheck_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*PingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/factory/monitoring/v1alpha1/token.pb.go b/gen/commonfate/factory/monitoring/v1alpha1/token.pb.go index f6179a1e..4cea1b07 100644 --- a/gen/commonfate/factory/monitoring/v1alpha1/token.pb.go +++ b/gen/commonfate/factory/monitoring/v1alpha1/token.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/monitoring/v1alpha1/token.proto @@ -29,11 +29,9 @@ type CreateWriteTokenRequest struct { func (x *CreateWriteTokenRequest) Reset() { *x = CreateWriteTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWriteTokenRequest) String() string { @@ -44,7 +42,7 @@ func (*CreateWriteTokenRequest) ProtoMessage() {} func (x *CreateWriteTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -71,11 +69,9 @@ type CreateWriteTokenResponse struct { func (x *CreateWriteTokenResponse) Reset() { *x = CreateWriteTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateWriteTokenResponse) String() string { @@ -86,7 +82,7 @@ func (*CreateWriteTokenResponse) ProtoMessage() {} func (x *CreateWriteTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,32 +195,6 @@ func file_commonfate_factory_monitoring_v1alpha1_token_proto_init() { if File_commonfate_factory_monitoring_v1alpha1_token_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CreateWriteTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_monitoring_v1alpha1_token_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*CreateWriteTokenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/factory/monitoring/v1alpha1/validate.pb.go b/gen/commonfate/factory/monitoring/v1alpha1/validate.pb.go index 767ec8e7..7bcdcd50 100644 --- a/gen/commonfate/factory/monitoring/v1alpha1/validate.pb.go +++ b/gen/commonfate/factory/monitoring/v1alpha1/validate.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/monitoring/v1alpha1/validate.proto @@ -31,11 +31,9 @@ type ValidateWriteTokenRequest struct { func (x *ValidateWriteTokenRequest) Reset() { *x = ValidateWriteTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateWriteTokenRequest) String() string { @@ -46,7 +44,7 @@ func (*ValidateWriteTokenRequest) ProtoMessage() {} func (x *ValidateWriteTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -81,11 +79,9 @@ type ValidateWriteTokenResponse struct { func (x *ValidateWriteTokenResponse) Reset() { *x = ValidateWriteTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateWriteTokenResponse) String() string { @@ -96,7 +92,7 @@ func (*ValidateWriteTokenResponse) ProtoMessage() {} func (x *ValidateWriteTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,32 +210,6 @@ func file_commonfate_factory_monitoring_v1alpha1_validate_proto_init() { if File_commonfate_factory_monitoring_v1alpha1_validate_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ValidateWriteTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_monitoring_v1alpha1_validate_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ValidateWriteTokenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/factory/usage/v1alpha1/usage.pb.go b/gen/commonfate/factory/usage/v1alpha1/usage.pb.go index ace13b60..03db6b38 100644 --- a/gen/commonfate/factory/usage/v1alpha1/usage.pb.go +++ b/gen/commonfate/factory/usage/v1alpha1/usage.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/factory/usage/v1alpha1/usage.proto @@ -34,11 +34,9 @@ type ReportUsageRequest struct { func (x *ReportUsageRequest) Reset() { *x = ReportUsageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportUsageRequest) String() string { @@ -49,7 +47,7 @@ func (*ReportUsageRequest) ProtoMessage() {} func (x *ReportUsageRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,11 +103,9 @@ type UserUsage struct { func (x *UserUsage) Reset() { *x = UserUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserUsage) String() string { @@ -120,7 +116,7 @@ func (*UserUsage) ProtoMessage() {} func (x *UserUsage) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,11 +175,9 @@ type AccessRequestUsage struct { func (x *AccessRequestUsage) Reset() { *x = AccessRequestUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessRequestUsage) String() string { @@ -194,7 +188,7 @@ func (*AccessRequestUsage) ProtoMessage() {} func (x *AccessRequestUsage) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -272,11 +266,9 @@ type ConfigurationUsage struct { func (x *ConfigurationUsage) Reset() { *x = ConfigurationUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigurationUsage) String() string { @@ -287,7 +279,7 @@ func (*ConfigurationUsage) ProtoMessage() {} func (x *ConfigurationUsage) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -351,11 +343,9 @@ type IntegrationUsage struct { func (x *IntegrationUsage) Reset() { *x = IntegrationUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntegrationUsage) String() string { @@ -366,7 +356,7 @@ func (*IntegrationUsage) ProtoMessage() {} func (x *IntegrationUsage) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -431,11 +421,9 @@ type Distribution struct { func (x *Distribution) Reset() { *x = Distribution{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Distribution) String() string { @@ -446,7 +434,7 @@ func (*Distribution) ProtoMessage() {} func (x *Distribution) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -511,11 +499,9 @@ type ReportUsageResponse struct { func (x *ReportUsageResponse) Reset() { *x = ReportUsageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportUsageResponse) String() string { @@ -526,7 +512,7 @@ func (*ReportUsageResponse) ProtoMessage() {} func (x *ReportUsageResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -735,92 +721,6 @@ func file_commonfate_factory_usage_v1alpha1_usage_proto_init() { if File_commonfate_factory_usage_v1alpha1_usage_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ReportUsageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*UserUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*AccessRequestUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ConfigurationUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Distribution); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_factory_usage_v1alpha1_usage_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ReportUsageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/filters/v1alpha1/filters.pb.go b/gen/commonfate/filters/v1alpha1/filters.pb.go index 30886c72..a7e582e8 100644 --- a/gen/commonfate/filters/v1alpha1/filters.pb.go +++ b/gen/commonfate/filters/v1alpha1/filters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/filters/v1alpha1/filters.proto @@ -153,11 +153,9 @@ type DecisionFilter struct { func (x *DecisionFilter) Reset() { *x = DecisionFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecisionFilter) String() string { @@ -168,7 +166,7 @@ func (*DecisionFilter) ProtoMessage() {} func (x *DecisionFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -205,11 +203,9 @@ type TagFilter struct { func (x *TagFilter) Reset() { *x = TagFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TagFilter) String() string { @@ -220,7 +216,7 @@ func (*TagFilter) ProtoMessage() {} func (x *TagFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -269,11 +265,9 @@ type EntityFilter struct { func (x *EntityFilter) Reset() { *x = EntityFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntityFilter) String() string { @@ -284,7 +278,7 @@ func (*EntityFilter) ProtoMessage() {} func (x *EntityFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,11 +320,9 @@ type EntityTypeFilter struct { func (x *EntityTypeFilter) Reset() { *x = EntityTypeFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntityTypeFilter) String() string { @@ -341,7 +333,7 @@ func (*EntityTypeFilter) ProtoMessage() {} func (x *EntityTypeFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,11 +374,9 @@ type IntegerFilter struct { func (x *IntegerFilter) Reset() { *x = IntegerFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntegerFilter) String() string { @@ -397,7 +387,7 @@ func (*IntegerFilter) ProtoMessage() {} func (x *IntegerFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -437,11 +427,9 @@ type BoolFilter struct { func (x *BoolFilter) Reset() { *x = BoolFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoolFilter) String() string { @@ -452,7 +440,7 @@ func (*BoolFilter) ProtoMessage() {} func (x *BoolFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,11 +472,9 @@ type RelativeTimeBound struct { func (x *RelativeTimeBound) Reset() { *x = RelativeTimeBound{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelativeTimeBound) String() string { @@ -499,7 +485,7 @@ func (*RelativeTimeBound) ProtoMessage() {} func (x *RelativeTimeBound) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,11 +517,9 @@ type AbsoluteTimeBound struct { func (x *AbsoluteTimeBound) Reset() { *x = AbsoluteTimeBound{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AbsoluteTimeBound) String() string { @@ -546,7 +530,7 @@ func (*AbsoluteTimeBound) ProtoMessage() {} func (x *AbsoluteTimeBound) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -582,11 +566,9 @@ type TimeBound struct { func (x *TimeBound) Reset() { *x = TimeBound{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeBound) String() string { @@ -597,7 +579,7 @@ func (*TimeBound) ProtoMessage() {} func (x *TimeBound) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,11 +646,9 @@ type TimeRangeFilter struct { func (x *TimeRangeFilter) Reset() { *x = TimeRangeFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeRangeFilter) String() string { @@ -679,7 +659,7 @@ func (*TimeRangeFilter) ProtoMessage() {} func (x *TimeRangeFilter) ProtoReflect() protoreflect.Message { mi := &file_commonfate_filters_v1alpha1_filters_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -901,128 +881,6 @@ func file_commonfate_filters_v1alpha1_filters_proto_init() { if File_commonfate_filters_v1alpha1_filters_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DecisionFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*TagFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*EntityFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*EntityTypeFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*IntegerFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*BoolFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*RelativeTimeBound); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*AbsoluteTimeBound); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*TimeBound); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_filters_v1alpha1_filters_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*TimeRangeFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_filters_v1alpha1_filters_proto_msgTypes[8].OneofWrappers = []any{ (*TimeBound_Relative)(nil), (*TimeBound_Absolute)(nil), diff --git a/gen/commonfate/leastprivilege/v1alpha1/entitlement_usage.pb.go b/gen/commonfate/leastprivilege/v1alpha1/entitlement_usage.pb.go index caee04da..8525e272 100644 --- a/gen/commonfate/leastprivilege/v1alpha1/entitlement_usage.pb.go +++ b/gen/commonfate/leastprivilege/v1alpha1/entitlement_usage.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/leastprivilege/v1alpha1/entitlement_usage.proto @@ -90,11 +90,9 @@ type EntitlementUsage struct { func (x *EntitlementUsage) Reset() { *x = EntitlementUsage{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntitlementUsage) String() string { @@ -105,7 +103,7 @@ func (*EntitlementUsage) ProtoMessage() {} func (x *EntitlementUsage) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,11 +177,9 @@ type AccessPath struct { func (x *AccessPath) Reset() { *x = AccessPath{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccessPath) String() string { @@ -194,7 +190,7 @@ func (*AccessPath) ProtoMessage() {} func (x *AccessPath) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -335,32 +331,6 @@ func file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_init() { if File_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*EntitlementUsage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*AccessPath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_msgTypes[0].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/gen/commonfate/leastprivilege/v1alpha1/leastprivilege.pb.go b/gen/commonfate/leastprivilege/v1alpha1/leastprivilege.pb.go index b3a8639d..a7b05263 100644 --- a/gen/commonfate/leastprivilege/v1alpha1/leastprivilege.pb.go +++ b/gen/commonfate/leastprivilege/v1alpha1/leastprivilege.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/leastprivilege/v1alpha1/leastprivilege.proto @@ -30,11 +30,9 @@ type GetLatestReportRequest struct { func (x *GetLatestReportRequest) Reset() { *x = GetLatestReportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLatestReportRequest) String() string { @@ -45,7 +43,7 @@ func (*GetLatestReportRequest) ProtoMessage() {} func (x *GetLatestReportRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,11 +68,9 @@ type GetLatestReportResponse struct { func (x *GetLatestReportResponse) Reset() { *x = GetLatestReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLatestReportResponse) String() string { @@ -85,7 +81,7 @@ func (*GetLatestReportResponse) ProtoMessage() {} func (x *GetLatestReportResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -115,11 +111,9 @@ type GetHistoricalReportsRequest struct { func (x *GetHistoricalReportsRequest) Reset() { *x = GetHistoricalReportsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetHistoricalReportsRequest) String() string { @@ -130,7 +124,7 @@ func (*GetHistoricalReportsRequest) ProtoMessage() {} func (x *GetHistoricalReportsRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,11 +149,9 @@ type GetHistoricalReportsResponse struct { func (x *GetHistoricalReportsResponse) Reset() { *x = GetHistoricalReportsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetHistoricalReportsResponse) String() string { @@ -170,7 +162,7 @@ func (*GetHistoricalReportsResponse) ProtoMessage() {} func (x *GetHistoricalReportsResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,11 +192,9 @@ type DownloadEntitlementUsageReportRequest struct { func (x *DownloadEntitlementUsageReportRequest) Reset() { *x = DownloadEntitlementUsageReportRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownloadEntitlementUsageReportRequest) String() string { @@ -215,7 +205,7 @@ func (*DownloadEntitlementUsageReportRequest) ProtoMessage() {} func (x *DownloadEntitlementUsageReportRequest) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -240,11 +230,9 @@ type DownloadEntitlementUsageReportResponse struct { func (x *DownloadEntitlementUsageReportResponse) Reset() { *x = DownloadEntitlementUsageReportResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DownloadEntitlementUsageReportResponse) String() string { @@ -255,7 +243,7 @@ func (*DownloadEntitlementUsageReportResponse) ProtoMessage() {} func (x *DownloadEntitlementUsageReportResponse) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,80 +409,6 @@ func file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_init() { } file_commonfate_leastprivilege_v1alpha1_entitlement_usage_proto_init() file_commonfate_leastprivilege_v1alpha1_report_proto_init() - if !protoimpl.UnsafeEnabled { - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetLatestReportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetLatestReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetHistoricalReportsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetHistoricalReportsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*DownloadEntitlementUsageReportRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_leastprivilege_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*DownloadEntitlementUsageReportResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/commonfate/leastprivilege/v1alpha1/report.pb.go b/gen/commonfate/leastprivilege/v1alpha1/report.pb.go index af3981fe..042c8799 100644 --- a/gen/commonfate/leastprivilege/v1alpha1/report.pb.go +++ b/gen/commonfate/leastprivilege/v1alpha1/report.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: commonfate/leastprivilege/v1alpha1/report.proto @@ -34,11 +34,9 @@ type Report struct { func (x *Report) Reset() { *x = Report{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Report) String() string { @@ -49,7 +47,7 @@ func (*Report) ProtoMessage() {} func (x *Report) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,11 +103,9 @@ type UsageSummary struct { func (x *UsageSummary) Reset() { *x = UsageSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsageSummary) String() string { @@ -120,7 +116,7 @@ func (*UsageSummary) ProtoMessage() {} func (x *UsageSummary) ProtoReflect() protoreflect.Message { mi := &file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,32 +255,6 @@ func file_commonfate_leastprivilege_v1alpha1_report_proto_init() { if File_commonfate_leastprivilege_v1alpha1_report_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Report); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commonfate_leastprivilege_v1alpha1_report_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*UsageSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/granted/registry/aws/v1alpha1/aws.pb.go b/gen/granted/registry/aws/v1alpha1/aws.pb.go index 9c11191a..be81064e 100644 --- a/gen/granted/registry/aws/v1alpha1/aws.pb.go +++ b/gen/granted/registry/aws/v1alpha1/aws.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: granted/registry/aws/v1alpha1/aws.proto @@ -51,11 +51,9 @@ type GetProfileForAccountAndRoleRequest struct { func (x *GetProfileForAccountAndRoleRequest) Reset() { *x = GetProfileForAccountAndRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProfileForAccountAndRoleRequest) String() string { @@ -66,7 +64,7 @@ func (*GetProfileForAccountAndRoleRequest) ProtoMessage() {} func (x *GetProfileForAccountAndRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -113,11 +111,9 @@ type GetProfileForAccountAndRoleResponse struct { func (x *GetProfileForAccountAndRoleResponse) Reset() { *x = GetProfileForAccountAndRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProfileForAccountAndRoleResponse) String() string { @@ -128,7 +124,7 @@ func (*GetProfileForAccountAndRoleResponse) ProtoMessage() {} func (x *GetProfileForAccountAndRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -163,11 +159,9 @@ type ListProfilesRequest struct { func (x *ListProfilesRequest) Reset() { *x = ListProfilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProfilesRequest) String() string { @@ -178,7 +172,7 @@ func (*ListProfilesRequest) ProtoMessage() {} func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +208,9 @@ type ListProfilesResponse struct { func (x *ListProfilesResponse) Reset() { *x = ListProfilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListProfilesResponse) String() string { @@ -229,7 +221,7 @@ func (*ListProfilesResponse) ProtoMessage() {} func (x *ListProfilesResponse) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,11 +276,9 @@ type Profile struct { func (x *Profile) Reset() { *x = Profile{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Profile) String() string { @@ -299,7 +289,7 @@ func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -348,11 +338,9 @@ type ProfileAttributes struct { func (x *ProfileAttributes) Reset() { *x = ProfileAttributes{} - if protoimpl.UnsafeEnabled { - mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProfileAttributes) String() string { @@ -363,7 +351,7 @@ func (*ProfileAttributes) ProtoMessage() {} func (x *ProfileAttributes) ProtoReflect() protoreflect.Message { mi := &file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -518,80 +506,6 @@ func file_granted_registry_aws_v1alpha1_aws_proto_init() { if File_granted_registry_aws_v1alpha1_aws_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetProfileForAccountAndRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetProfileForAccountAndRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ListProfilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ListProfilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Profile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_granted_registry_aws_v1alpha1_aws_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ProfileAttributes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/gen/protofiles/protofiles.go b/gen/protofiles/protofiles.go index fe60126c..a7a7f1d7 100644 --- a/gen/protofiles/protofiles.go +++ b/gen/protofiles/protofiles.go @@ -8,6 +8,7 @@ import ( gen_commonfate_access_provisioner_v1alpha1_provisioner_pb_go "github.com/common-fate/sdk/gen/commonfate/access/provisioner/v1alpha1" gen_commonfate_access_v1alpha1_access_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" gen_commonfate_access_v1alpha1_access_request_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" + gen_commonfate_access_v1alpha1_attachments_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" gen_commonfate_access_v1alpha1_audit_logs_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" gen_commonfate_access_v1alpha1_diagnostic_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" gen_commonfate_access_v1alpha1_entities_pb_go "github.com/common-fate/sdk/gen/commonfate/access/v1alpha1" @@ -90,6 +91,7 @@ var ProtoFiles = []protoreflect.FileDescriptor{ gen_commonfate_access_provisioner_v1alpha1_provisioner_pb_go.File_commonfate_access_provisioner_v1alpha1_provisioner_proto, gen_commonfate_access_v1alpha1_access_pb_go.File_commonfate_access_v1alpha1_access_proto, gen_commonfate_access_v1alpha1_access_request_pb_go.File_commonfate_access_v1alpha1_access_request_proto, + gen_commonfate_access_v1alpha1_attachments_pb_go.File_commonfate_access_v1alpha1_attachments_proto, gen_commonfate_access_v1alpha1_audit_logs_pb_go.File_commonfate_access_v1alpha1_audit_logs_proto, gen_commonfate_access_v1alpha1_diagnostic_pb_go.File_commonfate_access_v1alpha1_diagnostic_proto, gen_commonfate_access_v1alpha1_entities_pb_go.File_commonfate_access_v1alpha1_entities_proto, diff --git a/proto/commonfate/access/v1alpha1/attachments.proto b/proto/commonfate/access/v1alpha1/attachments.proto new file mode 100644 index 00000000..695012a5 --- /dev/null +++ b/proto/commonfate/access/v1alpha1/attachments.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + +package commonfate.access.v1alpha1; + +import "commonfate/authz/v1alpha1/read_only.proto"; + +// The Attachments API provides contextual information which can be added to access requests. +service AttachmentsService { + rpc QueryJiraIssues(QueryJiraIssuesRequest) returns (QueryJiraIssuesResponse) { + option (commonfate.authz.v1alpha1.read_only) = true; + } +} +message JiraIssue { + string key = 1; + string summary = 2; + string url = 3; +} +message QueryJiraIssuesRequest { + optional string summary_filter = 1; +} + +message QueryJiraIssuesResponse { + repeated JiraIssue issues = 1; +} diff --git a/proto/commonfate/control/integration/v1alpha1/integration.proto b/proto/commonfate/control/integration/v1alpha1/integration.proto index e0a05870..ae0d0d43 100644 --- a/proto/commonfate/control/integration/v1alpha1/integration.proto +++ b/proto/commonfate/control/integration/v1alpha1/integration.proto @@ -17,7 +17,6 @@ import "commonfate/control/integration/v1alpha1/pagerduty.proto"; import "commonfate/control/integration/v1alpha1/s3_log_destination.proto"; import "commonfate/control/integration/v1alpha1/slack.proto"; import "commonfate/control/integration/v1alpha1/webhook.proto"; -import "commonfate/control/log/v1alpha1/authz_eval.proto"; import "commonfate/filters/v1alpha1/filters.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/commonfate/control/integration/v1alpha1/jira.proto b/proto/commonfate/control/integration/v1alpha1/jira.proto index 9f5d8e4e..42e884a6 100644 --- a/proto/commonfate/control/integration/v1alpha1/jira.proto +++ b/proto/commonfate/control/integration/v1alpha1/jira.proto @@ -4,6 +4,9 @@ package commonfate.control.integration.v1alpha1; message Jira { string client_id = 1; string client_secret_secret_path = 2; - string cloud_id = 3; - string issue_filter_jql = 4; + string issue_filter_jql = 3; + // cloud_id is a calculated field which is fetched automatically on creation of the integration + string cloud_id = 4; + // jira_url is a calculated field which is fetched automatically on creation of the integration + string jira_url = 5; }