diff --git a/cmd/create/environment.go b/cmd/create/environment.go index af0e6028..040a551c 100644 --- a/cmd/create/environment.go +++ b/cmd/create/environment.go @@ -1,19 +1,25 @@ package create import ( + "encoding/json" "fmt" + "os" + "path/filepath" "strings" "github.com/dream11/odin/internal/service" "github.com/dream11/odin/pkg/util" environmentProto "github.com/dream11/odin/proto/gen/go/dream11/od/environment/v1" + providerAccountProto "github.com/dream11/odin/proto/gen/go/dream11/oam/provideraccount/v1" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "google.golang.org/protobuf/encoding/protojson" ) var envName string var provisioningType string var accounts string +var accountsFile string var environmentClient service.Environment @@ -42,9 +48,39 @@ func validateAccounts(accounts string) error { return nil } +func readAccountsFromFile(filePath string) ([]*providerAccountProto.GetProviderAccountResponse, error) { + // Read file + data, err := os.ReadFile(filePath) + if err != nil { + return nil, fmt.Errorf("failed to read accounts file: %w", err) + } + + // Parse JSON array + var accountsJSON []json.RawMessage + if err := json.Unmarshal(data, &accountsJSON); err != nil { + return nil, fmt.Errorf("failed to parse accounts file as JSON array: %w", err) + } + + // Convert each JSON object to GetProviderAccountResponse + var accountResponses []*providerAccountProto.GetProviderAccountResponse + for i, accountJSON := range accountsJSON { + // Wrap in account field to match GetProviderAccountResponse structure + wrappedJSON := fmt.Sprintf(`{"account": %s}`, string(accountJSON)) + + var accountResp providerAccountProto.GetProviderAccountResponse + if err := protojson.Unmarshal([]byte(wrappedJSON), &accountResp); err != nil { + return nil, fmt.Errorf("failed to parse account at index %d: %w", i, err) + } + accountResponses = append(accountResponses, &accountResp) + } + + return accountResponses, nil +} + func init() { environmentCmd.Flags().StringVar(&envName, "name", "", "name of the environment to be created") environmentCmd.Flags().StringVar(&accounts, "accounts", "", "list of comma separated cloud provider accounts") + environmentCmd.Flags().StringVar(&accountsFile, "accounts-file", "", "path to JSON file containing account details") environmentCmd.Flags().StringVar(&provisioningType, "provisioning-type", "", "provisioning type of the environment") err := environmentCmd.MarkFlagRequired("name") if err != nil { @@ -53,24 +89,63 @@ func init() { if err := environmentCmd.MarkFlagRequired("provisioning-type"); err != nil { log.Fatal("Error marking 'provisioning-type' flag as required:", err) } - err = environmentCmd.MarkFlagRequired("accounts") - if err != nil { - log.Fatal("Error marking 'accounts' flag as required:", err) - } createCmd.AddCommand(environmentCmd) } func execute(cmd *cobra.Command) { ctx := cmd.Context() - // Validate accounts parameter - if err := validateAccounts(accounts); err != nil { - log.Fatal("Invalid accounts parameter: ", err) + + // Validate mutual exclusivity of --accounts and --accounts-file + hasAccounts := accounts != "" + hasAccountsFile := accountsFile != "" + + if hasAccounts && hasAccountsFile { + log.Fatal("Cannot use both --accounts and --accounts-file flags together") + } + + // If neither flag provided, try default file + defaultAccountsFile := filepath.Join(os.Getenv("HOME"), ".odin", "local_account.json") + if !hasAccounts && !hasAccountsFile { + if _, err := os.Stat(defaultAccountsFile); err == nil { + log.Debugf("Using default accounts file: %s", defaultAccountsFile) + accountsFile = defaultAccountsFile + hasAccountsFile = true + } else { + log.Fatal("Either --accounts or --accounts-file must be provided, or create default file at ~/.odin/local_account.json") + } + } + + // Auto-detect MAC address to use as routing key + macAddr, err := util.GetDefaultMACAddress() + if err != nil { + log.Fatalf("Failed to auto-detect MAC address: %v", err) } - err := environmentClient.CreateEnvironment(&ctx, &environmentProto.CreateEnvironmentRequest{ + log.Debugf("Using MAC address as routing key: %s", macAddr) + + // Create the request + req := &environmentProto.CreateEnvironmentRequest{ EnvName: envName, - Accounts: util.SplitProviderAccount(accounts), ProvisioningType: provisioningType, - }) + RoutingKey: &macAddr, + } + + // Populate accounts or account_details based on which flag was used + if hasAccounts { + // Existing behavior: validate and pass account names + if err := validateAccounts(accounts); err != nil { + log.Fatal("Invalid accounts parameter: ", err) + } + req.Accounts = util.SplitProviderAccount(accounts) + } else if hasAccountsFile { + // New behavior: read and pass full account data + accountDetails, err := readAccountsFromFile(accountsFile) + if err != nil { + log.Fatalf("Failed to read accounts file: %v", err) + } + req.AccountDetails = accountDetails + } + + err = environmentClient.CreateEnvironment(&ctx, req) if err != nil { util.LogGrpcError(err, "Failed to create environment: ") diff --git a/pkg/util/network.go b/pkg/util/network.go new file mode 100644 index 00000000..cf00270b --- /dev/null +++ b/pkg/util/network.go @@ -0,0 +1,45 @@ +package util + +import ( + "fmt" + "net" +) + +// GetDefaultMACAddress returns the MAC address of the en0 network interface. +// Falls back to the first non-loopback network interface if en0 is not available. +func GetDefaultMACAddress() (string, error) { + interfaces, err := net.Interfaces() + if err != nil { + return "", fmt.Errorf("failed to get network interfaces: %w", err) + } + + // First, try to find en0 interface (matches install.sh behavior) + for _, iface := range interfaces { + if iface.Name == "en0" { + if len(iface.HardwareAddr) > 0 { + macAddr := iface.HardwareAddr.String() + if macAddr != "" && macAddr != "00:00:00:00:00:00" { + return macAddr, nil + } + } + } + } + + // Fallback: find first non-loopback interface with valid MAC + for _, iface := range interfaces { + // Skip loopback, down interfaces, and interfaces without hardware address + if iface.Flags&net.FlagLoopback != 0 || iface.Flags&net.FlagUp == 0 { + continue + } + + // Check if interface has a valid MAC address + if len(iface.HardwareAddr) > 0 { + macAddr := iface.HardwareAddr.String() + if macAddr != "" && macAddr != "00:00:00:00:00:00" { + return macAddr, nil + } + } + } + + return "", fmt.Errorf("no suitable network interface with valid MAC address found") +} diff --git a/proto/dream11/od/environment/v1/environment.proto b/proto/dream11/od/environment/v1/environment.proto index d137a9b7..91f026e8 100644 --- a/proto/dream11/od/environment/v1/environment.proto +++ b/proto/dream11/od/environment/v1/environment.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package dream11.od.environment.v1; import "dream11/od/dto/v1/environment.proto"; +import "dream11/oam/provideraccount/v1/provider_account.proto"; import "google/protobuf/struct.proto"; option go_package = "github.com/dream11/odin/proto/gen/go/dream11/od/environment/v1"; @@ -69,6 +70,8 @@ message CreateEnvironmentRequest { string env_name = 1; repeated string accounts = 2; string provisioning_type = 3; + optional string routing_key = 4; + repeated dream11.oam.provideraccount.v1.GetProviderAccountResponse account_details = 5; // Full account data from file (bypasses OAM). Empty when using --accounts flag } message CreateEnvironmentResponse { diff --git a/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go b/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go index e62b689d..a7790ec7 100644 --- a/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go +++ b/proto/gen/go/dream11/oam/dto/v1/provider_account.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/oam/dto/v1/provider_account.proto package v1 @@ -12,6 +12,7 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -22,10 +23,7 @@ const ( ) type ProviderAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` @@ -34,15 +32,15 @@ type ProviderAccount struct { Default bool `protobuf:"varint,6,opt,name=default,proto3" json:"default,omitempty"` Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` LinkedProviderAccountIds []int64 `protobuf:"varint,8,rep,packed,name=linked_provider_account_ids,json=linkedProviderAccountIds,proto3" json:"linked_provider_account_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProviderAccount) Reset() { *x = ProviderAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProviderAccount) String() string { @@ -53,7 +51,7 @@ func (*ProviderAccount) ProtoMessage() {} func (x *ProviderAccount) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_dto_v1_provider_account_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) @@ -125,21 +123,18 @@ func (x *ProviderAccount) GetLinkedProviderAccountIds() []int64 { } type ProviderServiceAccountEnriched struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Service *ProviderServiceAccount `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Account *ProviderAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` unknownFields protoimpl.UnknownFields - - Service *ProviderServiceAccount `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Account *ProviderAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProviderServiceAccountEnriched) Reset() { *x = ProviderServiceAccountEnriched{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProviderServiceAccountEnriched) String() string { @@ -150,7 +145,7 @@ func (*ProviderServiceAccountEnriched) ProtoMessage() {} func (x *ProviderServiceAccountEnriched) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_dto_v1_provider_account_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) @@ -180,23 +175,20 @@ func (x *ProviderServiceAccountEnriched) GetAccount() *ProviderAccount { } type ProviderServiceAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` + Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` - Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProviderServiceAccount) Reset() { *x = ProviderServiceAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_dto_v1_provider_account_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProviderServiceAccount) String() string { @@ -207,7 +199,7 @@ func (*ProviderServiceAccount) ProtoMessage() {} func (x *ProviderServiceAccount) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_dto_v1_provider_account_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) @@ -252,72 +244,41 @@ func (x *ProviderServiceAccount) GetId() int64 { var File_dream11_oam_dto_v1_provider_account_proto protoreflect.FileDescriptor -var file_dream11_oam_dto_v1_provider_account_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x64, 0x74, - 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x02, - 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2b, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x1b, - 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x03, 0x52, 0x18, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x1e, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x65, 0x64, 0x12, 0x44, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2b, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x42, 0x39, 0x5a, 0x37, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, - 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_oam_dto_v1_provider_account_proto_rawDesc = "" + + "\n" + + ")dream11/oam/dto/v1/provider_account.proto\x12\x12dream11.oam.dto.v1\x1a\x1cgoogle/protobuf/struct.proto\"\xbb\x02\n" + + "\x0fProviderAccount\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + + "\bprovider\x18\x02 \x01(\tR\bprovider\x12\x1a\n" + + "\bcategory\x18\x03 \x01(\tR\bcategory\x12+\n" + + "\x04data\x18\x04 \x01(\v2\x17.google.protobuf.StructR\x04data\x12F\n" + + "\bservices\x18\x05 \x03(\v2*.dream11.oam.dto.v1.ProviderServiceAccountR\bservices\x12\x18\n" + + "\adefault\x18\x06 \x01(\bR\adefault\x12\x0e\n" + + "\x02id\x18\a \x01(\x03R\x02id\x12=\n" + + "\x1blinked_provider_account_ids\x18\b \x03(\x03R\x18linkedProviderAccountIds\"\xa5\x01\n" + + "\x1eProviderServiceAccountEnriched\x12D\n" + + "\aservice\x18\x01 \x01(\v2*.dream11.oam.dto.v1.ProviderServiceAccountR\aservice\x12=\n" + + "\aaccount\x18\x02 \x01(\v2#.dream11.oam.dto.v1.ProviderAccountR\aaccount\"\x85\x01\n" + + "\x16ProviderServiceAccount\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + + "\bcategory\x18\x02 \x01(\tR\bcategory\x12+\n" + + "\x04data\x18\x03 \x01(\v2\x17.google.protobuf.StructR\x04data\x12\x0e\n" + + "\x02id\x18\x04 \x01(\x03R\x02idB9Z7github.com/dream11/odin/proto/gen/go/dream11/oam/dto/v1b\x06proto3" var ( file_dream11_oam_dto_v1_provider_account_proto_rawDescOnce sync.Once - file_dream11_oam_dto_v1_provider_account_proto_rawDescData = file_dream11_oam_dto_v1_provider_account_proto_rawDesc + file_dream11_oam_dto_v1_provider_account_proto_rawDescData []byte ) func file_dream11_oam_dto_v1_provider_account_proto_rawDescGZIP() []byte { file_dream11_oam_dto_v1_provider_account_proto_rawDescOnce.Do(func() { - file_dream11_oam_dto_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_oam_dto_v1_provider_account_proto_rawDescData) + file_dream11_oam_dto_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_oam_dto_v1_provider_account_proto_rawDesc), len(file_dream11_oam_dto_v1_provider_account_proto_rawDesc))) }) return file_dream11_oam_dto_v1_provider_account_proto_rawDescData } var file_dream11_oam_dto_v1_provider_account_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_oam_dto_v1_provider_account_proto_goTypes = []interface{}{ +var file_dream11_oam_dto_v1_provider_account_proto_goTypes = []any{ (*ProviderAccount)(nil), // 0: dream11.oam.dto.v1.ProviderAccount (*ProviderServiceAccountEnriched)(nil), // 1: dream11.oam.dto.v1.ProviderServiceAccountEnriched (*ProviderServiceAccount)(nil), // 2: dream11.oam.dto.v1.ProviderServiceAccount @@ -341,49 +302,11 @@ func file_dream11_oam_dto_v1_provider_account_proto_init() { if File_dream11_oam_dto_v1_provider_account_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderServiceAccountEnriched); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_dto_v1_provider_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProviderServiceAccount); 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{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_oam_dto_v1_provider_account_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_oam_dto_v1_provider_account_proto_rawDesc), len(file_dream11_oam_dto_v1_provider_account_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -394,7 +317,6 @@ func file_dream11_oam_dto_v1_provider_account_proto_init() { MessageInfos: file_dream11_oam_dto_v1_provider_account_proto_msgTypes, }.Build() File_dream11_oam_dto_v1_provider_account_proto = out.File - file_dream11_oam_dto_v1_provider_account_proto_rawDesc = nil file_dream11_oam_dto_v1_provider_account_proto_goTypes = nil file_dream11_oam_dto_v1_provider_account_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go index b2111772..08ee798f 100644 --- a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go +++ b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/oam/provideraccount/v1/provider_account.proto package v1 @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -22,21 +23,18 @@ const ( ) type GetProviderAccountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - FetchLinkedAccountDetails bool `protobuf:"varint,2,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + FetchLinkedAccountDetails bool `protobuf:"varint,2,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProviderAccountRequest) Reset() { *x = GetProviderAccountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProviderAccountRequest) String() string { @@ -47,7 +45,7 @@ func (*GetProviderAccountRequest) ProtoMessage() {} func (x *GetProviderAccountRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_provideraccount_v1_provider_account_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,21 +75,18 @@ func (x *GetProviderAccountRequest) GetFetchLinkedAccountDetails() bool { } type GetProviderAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Account *v1.ProviderAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - LinkedAccounts []*v1.ProviderAccount `protobuf:"bytes,2,rep,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *v1.ProviderAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + LinkedAccounts []*v1.ProviderAccount `protobuf:"bytes,2,rep,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProviderAccountResponse) Reset() { *x = GetProviderAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProviderAccountResponse) String() string { @@ -102,7 +97,7 @@ func (*GetProviderAccountResponse) ProtoMessage() {} func (x *GetProviderAccountResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_provideraccount_v1_provider_account_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,21 +127,18 @@ func (x *GetProviderAccountResponse) GetLinkedAccounts() []*v1.ProviderAccount { } type GetProviderAccountsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` - FetchLinkedAccountDetails bool `protobuf:"varint,2,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` + FetchLinkedAccountDetails bool `protobuf:"varint,2,opt,name=fetch_linked_account_details,json=fetchLinkedAccountDetails,proto3" json:"fetch_linked_account_details,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetProviderAccountsRequest) Reset() { *x = GetProviderAccountsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProviderAccountsRequest) String() string { @@ -157,7 +149,7 @@ func (*GetProviderAccountsRequest) ProtoMessage() {} func (x *GetProviderAccountsRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_provideraccount_v1_provider_account_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) @@ -187,20 +179,17 @@ func (x *GetProviderAccountsRequest) GetFetchLinkedAccountDetails() bool { } type GetProviderAccountsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Accounts []*GetProviderAccountResponse `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` unknownFields protoimpl.UnknownFields - - Accounts []*GetProviderAccountResponse `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetProviderAccountsResponse) Reset() { *x = GetProviderAccountsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetProviderAccountsResponse) String() string { @@ -211,7 +200,7 @@ func (*GetProviderAccountsResponse) ProtoMessage() {} func (x *GetProviderAccountsResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_oam_provideraccount_v1_provider_account_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,89 +224,38 @@ func (x *GetProviderAccountsResponse) GetAccounts() []*GetProviderAccountRespons var File_dream11_oam_provideraccount_v1_provider_account_proto protoreflect.FileDescriptor -var file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 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, 0x3f, 0x0a, 0x1c, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6e, - 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x66, 0x65, 0x74, 0x63, 0x68, - 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x22, 0x71, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, - 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x66, 0x65, 0x74, 0x63, 0x68, 0x4c, - 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x22, 0x75, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x32, 0xbb, 0x02, 0x0a, 0x16, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc = "" + + "\n" + + "5dream11/oam/provideraccount/v1/provider_account.proto\x12\x1edream11.oam.provideraccount.v1\x1a)dream11/oam/dto/v1/provider_account.proto\"p\n" + + "\x19GetProviderAccountRequest\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12?\n" + + "\x1cfetch_linked_account_details\x18\x02 \x01(\bR\x19fetchLinkedAccountDetails\"\xa9\x01\n" + + "\x1aGetProviderAccountResponse\x12=\n" + + "\aaccount\x18\x01 \x01(\v2#.dream11.oam.dto.v1.ProviderAccountR\aaccount\x12L\n" + + "\x0flinked_accounts\x18\x02 \x03(\v2#.dream11.oam.dto.v1.ProviderAccountR\x0elinkedAccounts\"q\n" + + "\x1aGetProviderAccountsRequest\x12\x12\n" + + "\x04name\x18\x01 \x03(\tR\x04name\x12?\n" + + "\x1cfetch_linked_account_details\x18\x02 \x01(\bR\x19fetchLinkedAccountDetails\"u\n" + + "\x1bGetProviderAccountsResponse\x12V\n" + + "\baccounts\x18\x01 \x03(\v2:.dream11.oam.provideraccount.v1.GetProviderAccountResponseR\baccounts2\xbb\x02\n" + + "\x16ProviderAccountService\x12\x8d\x01\n" + + "\x12GetProviderAccount\x129.dream11.oam.provideraccount.v1.GetProviderAccountRequest\x1a:.dream11.oam.provideraccount.v1.GetProviderAccountResponse\"\x00\x12\x90\x01\n" + + "\x13GetProviderAccounts\x12:.dream11.oam.provideraccount.v1.GetProviderAccountsRequest\x1a;.dream11.oam.provideraccount.v1.GetProviderAccountsResponse\"\x00BEZCgithub.com/dream11/odin/proto/gen/go/dream11/oam/provideraccount/v1b\x06proto3" var ( file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescOnce sync.Once - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData = file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc + file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData []byte ) func file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescGZIP() []byte { file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescOnce.Do(func() { - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData) + file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc), len(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc))) }) return file_dream11_oam_provideraccount_v1_provider_account_proto_rawDescData } var file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes = []interface{}{ +var file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes = []any{ (*GetProviderAccountRequest)(nil), // 0: dream11.oam.provideraccount.v1.GetProviderAccountRequest (*GetProviderAccountResponse)(nil), // 1: dream11.oam.provideraccount.v1.GetProviderAccountResponse (*GetProviderAccountsRequest)(nil), // 2: dream11.oam.provideraccount.v1.GetProviderAccountsRequest @@ -344,61 +282,11 @@ func file_dream11_oam_provideraccount_v1_provider_account_proto_init() { if File_dream11_oam_provideraccount_v1_provider_account_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetProviderAccountsResponse); 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{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc), len(file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -409,7 +297,6 @@ func file_dream11_oam_provideraccount_v1_provider_account_proto_init() { MessageInfos: file_dream11_oam_provideraccount_v1_provider_account_proto_msgTypes, }.Build() File_dream11_oam_provideraccount_v1_provider_account_proto = out.File - file_dream11_oam_provideraccount_v1_provider_account_proto_rawDesc = nil file_dream11_oam_provideraccount_v1_provider_account_proto_goTypes = nil file_dream11_oam_provideraccount_v1_provider_account_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go index 66fa33eb..97da5c26 100644 --- a/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go +++ b/proto/gen/go/dream11/oam/provideraccount/v1/provider_account_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.29.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.28.3 // source: dream11/oam/provideraccount/v1/provider_account.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( ProviderAccountService_GetProviderAccount_FullMethodName = "/dream11.oam.provideraccount.v1.ProviderAccountService/GetProviderAccount" @@ -40,8 +40,9 @@ func NewProviderAccountServiceClient(cc grpc.ClientConnInterface) ProviderAccoun } func (c *providerAccountServiceClient) GetProviderAccount(ctx context.Context, in *GetProviderAccountRequest, opts ...grpc.CallOption) (*GetProviderAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetProviderAccountResponse) - err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -49,8 +50,9 @@ func (c *providerAccountServiceClient) GetProviderAccount(ctx context.Context, i } func (c *providerAccountServiceClient) GetProviderAccounts(ctx context.Context, in *GetProviderAccountsRequest, opts ...grpc.CallOption) (*GetProviderAccountsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetProviderAccountsResponse) - err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccounts_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ProviderAccountService_GetProviderAccounts_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -59,16 +61,19 @@ func (c *providerAccountServiceClient) GetProviderAccounts(ctx context.Context, // ProviderAccountServiceServer is the server API for ProviderAccountService service. // All implementations must embed UnimplementedProviderAccountServiceServer -// for forward compatibility +// for forward compatibility. type ProviderAccountServiceServer interface { GetProviderAccount(context.Context, *GetProviderAccountRequest) (*GetProviderAccountResponse, error) GetProviderAccounts(context.Context, *GetProviderAccountsRequest) (*GetProviderAccountsResponse, error) mustEmbedUnimplementedProviderAccountServiceServer() } -// UnimplementedProviderAccountServiceServer must be embedded to have forward compatible implementations. -type UnimplementedProviderAccountServiceServer struct { -} +// UnimplementedProviderAccountServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedProviderAccountServiceServer struct{} func (UnimplementedProviderAccountServiceServer) GetProviderAccount(context.Context, *GetProviderAccountRequest) (*GetProviderAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProviderAccount not implemented") @@ -78,6 +83,7 @@ func (UnimplementedProviderAccountServiceServer) GetProviderAccounts(context.Con } func (UnimplementedProviderAccountServiceServer) mustEmbedUnimplementedProviderAccountServiceServer() { } +func (UnimplementedProviderAccountServiceServer) testEmbeddedByValue() {} // UnsafeProviderAccountServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ProviderAccountServiceServer will @@ -87,6 +93,13 @@ type UnsafeProviderAccountServiceServer interface { } func RegisterProviderAccountServiceServer(s grpc.ServiceRegistrar, srv ProviderAccountServiceServer) { + // If the following call pancis, it indicates UnimplementedProviderAccountServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ProviderAccountService_ServiceDesc, srv) } diff --git a/proto/gen/go/dream11/od/auth/v1/auth.pb.go b/proto/gen/go/dream11/od/auth/v1/auth.pb.go index c00c872d..f6ded3ca 100644 --- a/proto/gen/go/dream11/od/auth/v1/auth.pb.go +++ b/proto/gen/go/dream11/od/auth/v1/auth.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/auth/v1/auth.proto package v1 @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,21 +22,18 @@ const ( ) type GetUserTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - ClientSecretHash string `protobuf:"bytes,2,opt,name=client_secret_hash,json=clientSecretHash,proto3" json:"client_secret_hash,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientSecretHash string `protobuf:"bytes,2,opt,name=client_secret_hash,json=clientSecretHash,proto3" json:"client_secret_hash,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserTokenRequest) Reset() { *x = GetUserTokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserTokenRequest) String() string { @@ -46,7 +44,7 @@ func (*GetUserTokenRequest) ProtoMessage() {} func (x *GetUserTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_auth_v1_auth_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) @@ -76,20 +74,17 @@ func (x *GetUserTokenRequest) GetClientSecretHash() string { } type GetUserTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserTokenResponse) Reset() { *x = GetUserTokenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_auth_v1_auth_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserTokenResponse) String() string { @@ -100,7 +95,7 @@ func (*GetUserTokenResponse) ProtoMessage() {} func (x *GetUserTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_auth_v1_auth_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,47 +119,31 @@ func (x *GetUserTokenResponse) GetToken() string { var File_dream11_od_auth_v1_auth_proto protoreflect.FileDescriptor -var file_dream11_od_auth_v1_auth_proto_rawDesc = []byte{ - 0x0a, 0x1d, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x12, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x22, 0x60, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x2c, 0x0a, 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0x2c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x32, 0x72, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x63, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, - 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_auth_v1_auth_proto_rawDesc = "" + + "\n" + + "\x1ddream11/od/auth/v1/auth.proto\x12\x12dream11.od.auth.v1\"`\n" + + "\x13GetUserTokenRequest\x12\x1b\n" + + "\tclient_id\x18\x01 \x01(\tR\bclientId\x12,\n" + + "\x12client_secret_hash\x18\x02 \x01(\tR\x10clientSecretHash\",\n" + + "\x14GetUserTokenResponse\x12\x14\n" + + "\x05token\x18\x01 \x01(\tR\x05token2r\n" + + "\vAuthService\x12c\n" + + "\fGetUserToken\x12'.dream11.od.auth.v1.GetUserTokenRequest\x1a(.dream11.od.auth.v1.GetUserTokenResponse\"\x00B9Z7github.com/dream11/odin/proto/gen/go/dream11/od/auth/v1b\x06proto3" var ( file_dream11_od_auth_v1_auth_proto_rawDescOnce sync.Once - file_dream11_od_auth_v1_auth_proto_rawDescData = file_dream11_od_auth_v1_auth_proto_rawDesc + file_dream11_od_auth_v1_auth_proto_rawDescData []byte ) func file_dream11_od_auth_v1_auth_proto_rawDescGZIP() []byte { file_dream11_od_auth_v1_auth_proto_rawDescOnce.Do(func() { - file_dream11_od_auth_v1_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_auth_v1_auth_proto_rawDescData) + file_dream11_od_auth_v1_auth_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_auth_v1_auth_proto_rawDesc), len(file_dream11_od_auth_v1_auth_proto_rawDesc))) }) return file_dream11_od_auth_v1_auth_proto_rawDescData } var file_dream11_od_auth_v1_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_dream11_od_auth_v1_auth_proto_goTypes = []interface{}{ +var file_dream11_od_auth_v1_auth_proto_goTypes = []any{ (*GetUserTokenRequest)(nil), // 0: dream11.od.auth.v1.GetUserTokenRequest (*GetUserTokenResponse)(nil), // 1: dream11.od.auth.v1.GetUserTokenResponse } @@ -183,37 +162,11 @@ func file_dream11_od_auth_v1_auth_proto_init() { if File_dream11_od_auth_v1_auth_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_auth_v1_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_auth_v1_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserTokenResponse); 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{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_auth_v1_auth_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_auth_v1_auth_proto_rawDesc), len(file_dream11_od_auth_v1_auth_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -224,7 +177,6 @@ func file_dream11_od_auth_v1_auth_proto_init() { MessageInfos: file_dream11_od_auth_v1_auth_proto_msgTypes, }.Build() File_dream11_od_auth_v1_auth_proto = out.File - file_dream11_od_auth_v1_auth_proto_rawDesc = nil file_dream11_od_auth_v1_auth_proto_goTypes = nil file_dream11_od_auth_v1_auth_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go b/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go index 85bc99fd..2c46d169 100644 --- a/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go +++ b/proto/gen/go/dream11/od/auth/v1/auth_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.29.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.28.3 // source: dream11/od/auth/v1/auth.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( AuthService_GetUserToken_FullMethodName = "/dream11.od.auth.v1.AuthService/GetUserToken" @@ -38,8 +38,9 @@ func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { } func (c *authServiceClient) GetUserToken(ctx context.Context, in *GetUserTokenRequest, opts ...grpc.CallOption) (*GetUserTokenResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetUserTokenResponse) - err := c.cc.Invoke(ctx, AuthService_GetUserToken_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_GetUserToken_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -48,20 +49,24 @@ func (c *authServiceClient) GetUserToken(ctx context.Context, in *GetUserTokenRe // AuthServiceServer is the server API for AuthService service. // All implementations must embed UnimplementedAuthServiceServer -// for forward compatibility +// for forward compatibility. type AuthServiceServer interface { GetUserToken(context.Context, *GetUserTokenRequest) (*GetUserTokenResponse, error) mustEmbedUnimplementedAuthServiceServer() } -// UnimplementedAuthServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAuthServiceServer struct { -} +// UnimplementedAuthServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedAuthServiceServer struct{} func (UnimplementedAuthServiceServer) GetUserToken(context.Context, *GetUserTokenRequest) (*GetUserTokenResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserToken not implemented") } func (UnimplementedAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() {} +func (UnimplementedAuthServiceServer) testEmbeddedByValue() {} // UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AuthServiceServer will @@ -71,6 +76,13 @@ type UnsafeAuthServiceServer interface { } func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer) { + // If the following call pancis, it indicates UnimplementedAuthServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&AuthService_ServiceDesc, srv) } diff --git a/proto/gen/go/dream11/od/component/v1/component.pb.go b/proto/gen/go/dream11/od/component/v1/component.pb.go index 7c566b81..5ac43625 100644 --- a/proto/gen/go/dream11/od/component/v1/component.pb.go +++ b/proto/gen/go/dream11/od/component/v1/component.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/component/v1/component.proto package v1 @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -22,20 +23,17 @@ const ( ) type ListComponentTypeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *ListComponentTypeRequest) Reset() { *x = ListComponentTypeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_component_v1_component_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListComponentTypeRequest) String() string { @@ -46,7 +44,7 @@ func (*ListComponentTypeRequest) ProtoMessage() {} func (x *ListComponentTypeRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_component_v1_component_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,20 +67,17 @@ func (x *ListComponentTypeRequest) GetParams() map[string]string { } type ListComponentTypeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Components []*v1.Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` unknownFields protoimpl.UnknownFields - - Components []*v1.Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListComponentTypeResponse) Reset() { *x = ListComponentTypeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_component_v1_component_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListComponentTypeResponse) String() string { @@ -93,7 +88,7 @@ func (*ListComponentTypeResponse) ProtoMessage() {} func (x *ListComponentTypeResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_component_v1_component_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) @@ -116,21 +111,18 @@ func (x *ListComponentTypeResponse) GetComponents() []*v1.Component { } type DescribeComponentTypeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ComponentType string `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` + Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - ComponentType string `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *DescribeComponentTypeRequest) Reset() { *x = DescribeComponentTypeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_component_v1_component_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeComponentTypeRequest) String() string { @@ -141,7 +133,7 @@ func (*DescribeComponentTypeRequest) ProtoMessage() {} func (x *DescribeComponentTypeRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_component_v1_component_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,20 +163,17 @@ func (x *DescribeComponentTypeRequest) GetParams() map[string]string { } type DescribeComponentTypeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Component *v1.Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` unknownFields protoimpl.UnknownFields - - Component *v1.Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DescribeComponentTypeResponse) Reset() { *x = DescribeComponentTypeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_component_v1_component_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_component_v1_component_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeComponentTypeResponse) String() string { @@ -195,7 +184,7 @@ func (*DescribeComponentTypeResponse) ProtoMessage() {} func (x *DescribeComponentTypeResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_component_v1_component_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) @@ -219,88 +208,44 @@ func (x *DescribeComponentTypeResponse) GetComponent() *v1.Component { var File_dream11_od_component_v1_component_proto protoreflect.FileDescriptor -var file_dream11_od_component_v1_component_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x1a, 0x21, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, - 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x55, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x59, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0xdb, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5b, 0x0a, - 0x1d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, - 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, - 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x32, 0x9b, 0x02, 0x0a, 0x10, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, - 0x0a, 0x15, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, - 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_component_v1_component_proto_rawDesc = "" + + "\n" + + "'dream11/od/component/v1/component.proto\x12\x17dream11.od.component.v1\x1a!dream11/od/dto/v1/component.proto\"\xac\x01\n" + + "\x18ListComponentTypeRequest\x12U\n" + + "\x06params\x18\x01 \x03(\v2=.dream11.od.component.v1.ListComponentTypeRequest.ParamsEntryR\x06params\x1a9\n" + + "\vParamsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"Y\n" + + "\x19ListComponentTypeResponse\x12<\n" + + "\n" + + "components\x18\x01 \x03(\v2\x1c.dream11.od.dto.v1.ComponentR\n" + + "components\"\xdb\x01\n" + + "\x1cDescribeComponentTypeRequest\x12%\n" + + "\x0ecomponent_type\x18\x01 \x01(\tR\rcomponentType\x12Y\n" + + "\x06params\x18\x02 \x03(\v2A.dream11.od.component.v1.DescribeComponentTypeRequest.ParamsEntryR\x06params\x1a9\n" + + "\vParamsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"[\n" + + "\x1dDescribeComponentTypeResponse\x12:\n" + + "\tcomponent\x18\x01 \x01(\v2\x1c.dream11.od.dto.v1.ComponentR\tcomponent2\x9b\x02\n" + + "\x10ComponentService\x12|\n" + + "\x11ListComponentType\x121.dream11.od.component.v1.ListComponentTypeRequest\x1a2.dream11.od.component.v1.ListComponentTypeResponse\"\x00\x12\x88\x01\n" + + "\x15DescribeComponentType\x125.dream11.od.component.v1.DescribeComponentTypeRequest\x1a6.dream11.od.component.v1.DescribeComponentTypeResponse\"\x00B>Z\n" + + "\n" + + "created_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12>\n" + + "\n" + + "updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tupdatedAt\x88\x01\x01\x12*\n" + + "\x0ecomponent_type\x18\x06 \x01(\tH\x03R\rcomponentType\x88\x01\x01\x120\n" + + "\x11component_version\x18\a \x01(\tH\x04R\x10componentVersion\x88\x01\x01\x12A\n" + + "\rcommon_schema\x18\b \x01(\v2\x17.google.protobuf.StructH\x05R\fcommonSchema\x88\x01\x01\x12E\n" + + "\x0fcommon_defaults\x18\t \x01(\v2\x17.google.protobuf.StructH\x06R\x0ecommonDefaults\x88\x01\x01\x126\n" + + "\bflavours\x18\n" + + " \x03(\v2\x1a.dream11.od.dto.v1.FlavourR\bflavoursB\x05\n" + + "\x03_idB\r\n" + + "\v_created_atB\r\n" + + "\v_updated_atB\x11\n" + + "\x0f_component_typeB\x14\n" + + "\x12_component_versionB\x10\n" + + "\x0e_common_schemaB\x12\n" + + "\x10_common_defaults\"\xf1\x01\n" + + "\aFlavour\x12\x17\n" + + "\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x124\n" + + "\x06schema\x18\x02 \x01(\v2\x17.google.protobuf.StructH\x01R\x06schema\x88\x01\x01\x128\n" + + "\bdefaults\x18\x03 \x01(\v2\x17.google.protobuf.StructH\x02R\bdefaults\x88\x01\x01\x12<\n" + + "\n" + + "operations\x18\x04 \x03(\v2\x1c.dream11.od.dto.v1.OperationR\n" + + "operationsB\a\n" + + "\x05_nameB\t\n" + + "\a_schemaB\v\n" + + "\t_defaults\"\xb5\x01\n" + + "\tOperation\x12\x17\n" + + "\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x124\n" + + "\x06schema\x18\x02 \x01(\v2\x17.google.protobuf.StructH\x01R\x06schema\x88\x01\x01\x128\n" + + "\bdefaults\x18\x03 \x01(\v2\x17.google.protobuf.StructH\x02R\bdefaults\x88\x01\x01B\a\n" + + "\x05_nameB\t\n" + + "\a_schemaB\v\n" + + "\t_defaultsB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_component_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_component_proto_rawDescData = file_dream11_od_dto_v1_component_proto_rawDesc + file_dream11_od_dto_v1_component_proto_rawDescData []byte ) func file_dream11_od_dto_v1_component_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_component_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_component_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_component_proto_rawDescData) + file_dream11_od_dto_v1_component_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_component_proto_rawDesc), len(file_dream11_od_dto_v1_component_proto_rawDesc))) }) return file_dream11_od_dto_v1_component_proto_rawDescData } var file_dream11_od_dto_v1_component_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_od_dto_v1_component_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_component_proto_goTypes = []any{ (*Component)(nil), // 0: dream11.od.dto.v1.Component (*Flavour)(nil), // 1: dream11.od.dto.v1.Flavour (*Operation)(nil), // 2: dream11.od.dto.v1.Operation @@ -381,52 +336,14 @@ func file_dream11_od_dto_v1_component_proto_init() { if File_dream11_od_dto_v1_component_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_component_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Component); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Flavour); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Operation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_component_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_component_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_component_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_dream11_od_dto_v1_component_proto_msgTypes[0].OneofWrappers = []any{} + file_dream11_od_dto_v1_component_proto_msgTypes[1].OneofWrappers = []any{} + file_dream11_od_dto_v1_component_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_component_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_component_proto_rawDesc), len(file_dream11_od_dto_v1_component_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -437,7 +354,6 @@ func file_dream11_od_dto_v1_component_proto_init() { MessageInfos: file_dream11_od_dto_v1_component_proto_msgTypes, }.Build() File_dream11_od_dto_v1_component_proto = out.File - file_dream11_od_dto_v1_component_proto_rawDesc = nil file_dream11_od_dto_v1_component_proto_goTypes = nil file_dream11_od_dto_v1_component_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/dto/v1/component_task.pb.go b/proto/gen/go/dream11/od/dto/v1/component_task.pb.go index 053445e0..35b7076b 100644 --- a/proto/gen/go/dream11/od/dto/v1/component_task.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/component_task.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/dto/v1/component_task.proto package v1 @@ -13,6 +13,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,10 +24,7 @@ const ( ) type ComponentTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` @@ -38,15 +36,15 @@ type ComponentTask struct { Status *string `protobuf:"bytes,10,opt,name=status,proto3,oneof" json:"status,omitempty"` ServiceDeploymentId *int64 `protobuf:"varint,11,opt,name=service_deployment_id,json=serviceDeploymentId,proto3,oneof" json:"service_deployment_id,omitempty"` Config *structpb.Struct `protobuf:"bytes,12,opt,name=config,proto3,oneof" json:"config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComponentTask) Reset() { *x = ComponentTask{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_component_task_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_component_task_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentTask) String() string { @@ -57,7 +55,7 @@ func (*ComponentTask) ProtoMessage() {} func (x *ComponentTask) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_component_task_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) @@ -151,72 +149,53 @@ func (x *ComponentTask) GetConfig() *structpb.Struct { var File_dream11_od_dto_v1_component_task_proto protoreflect.FileDescriptor -var file_dream11_od_dto_v1_component_task_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, - 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 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, 0xce, 0x04, 0x0a, 0x0d, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x13, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x02, 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, 0x48, 0x01, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x03, 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, 0x48, 0x02, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, - 0x37, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x48, 0x09, - 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, - 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x48, 0x0a, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x05, - 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, - 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x38, 0x5a, 0x36, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, - 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_dto_v1_component_task_proto_rawDesc = "" + + "\n" + + "&dream11/od/dto/v1/component_task.proto\x12\x11dream11.od.dto.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x04\n" + + "\rComponentTask\x12\x13\n" + + "\x02id\x18\x01 \x01(\x03H\x00R\x02id\x88\x01\x01\x12>\n" + + "\n" + + "created_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12>\n" + + "\n" + + "updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tupdatedAt\x88\x01\x01\x12\"\n" + + "\n" + + "created_by\x18\x04 \x01(\x03H\x03R\tcreatedBy\x88\x01\x01\x12\x1a\n" + + "\x06org_id\x18\x06 \x01(\x03H\x04R\x05orgId\x88\x01\x01\x12\x17\n" + + "\x04name\x18\a \x01(\tH\x05R\x04name\x88\x01\x01\x12\x1d\n" + + "\aversion\x18\b \x01(\tH\x06R\aversion\x88\x01\x01\x12\x17\n" + + "\x04type\x18\t \x01(\tH\aR\x04type\x88\x01\x01\x12\x1b\n" + + "\x06status\x18\n" + + " \x01(\tH\bR\x06status\x88\x01\x01\x127\n" + + "\x15service_deployment_id\x18\v \x01(\x03H\tR\x13serviceDeploymentId\x88\x01\x01\x124\n" + + "\x06config\x18\f \x01(\v2\x17.google.protobuf.StructH\n" + + "R\x06config\x88\x01\x01B\x05\n" + + "\x03_idB\r\n" + + "\v_created_atB\r\n" + + "\v_updated_atB\r\n" + + "\v_created_byB\t\n" + + "\a_org_idB\a\n" + + "\x05_nameB\n" + + "\n" + + "\b_versionB\a\n" + + "\x05_typeB\t\n" + + "\a_statusB\x18\n" + + "\x16_service_deployment_idB\t\n" + + "\a_configB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_component_task_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_component_task_proto_rawDescData = file_dream11_od_dto_v1_component_task_proto_rawDesc + file_dream11_od_dto_v1_component_task_proto_rawDescData []byte ) func file_dream11_od_dto_v1_component_task_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_component_task_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_component_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_component_task_proto_rawDescData) + file_dream11_od_dto_v1_component_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_component_task_proto_rawDesc), len(file_dream11_od_dto_v1_component_task_proto_rawDesc))) }) return file_dream11_od_dto_v1_component_task_proto_rawDescData } var file_dream11_od_dto_v1_component_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_component_task_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_component_task_proto_goTypes = []any{ (*ComponentTask)(nil), // 0: dream11.od.dto.v1.ComponentTask (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp (*structpb.Struct)(nil), // 2: google.protobuf.Struct @@ -237,26 +216,12 @@ func file_dream11_od_dto_v1_component_task_proto_init() { if File_dream11_od_dto_v1_component_task_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_component_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_component_task_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_dream11_od_dto_v1_component_task_proto_msgTypes[0].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_component_task_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_component_task_proto_rawDesc), len(file_dream11_od_dto_v1_component_task_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -267,7 +232,6 @@ func file_dream11_od_dto_v1_component_task_proto_init() { MessageInfos: file_dream11_od_dto_v1_component_task_proto_msgTypes, }.Build() File_dream11_od_dto_v1_component_task_proto = out.File - file_dream11_od_dto_v1_component_task_proto_rawDesc = nil file_dream11_od_dto_v1_component_task_proto_goTypes = nil file_dream11_od_dto_v1_component_task_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/dto/v1/environment.pb.go b/proto/gen/go/dream11/od/dto/v1/environment.pb.go index c6b1a13d..19135dbb 100644 --- a/proto/gen/go/dream11/od/dto/v1/environment.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/environment.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/dto/v1/environment.proto package v1 @@ -13,6 +13,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,10 +24,7 @@ const ( ) type Environment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` @@ -40,15 +38,15 @@ type Environment struct { AccountInformation []*AccountInformation `protobuf:"bytes,13,rep,name=account_information,json=accountInformation,proto3" json:"account_information,omitempty"` UpdatedBy *string `protobuf:"bytes,14,opt,name=updated_by,json=updatedBy,proto3,oneof" json:"updated_by,omitempty"` ProvisioningType *string `protobuf:"bytes,15,opt,name=provisioning_type,json=provisioningType,proto3,oneof" json:"provisioning_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Environment) String() string { @@ -59,7 +57,7 @@ func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_environment_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) @@ -166,22 +164,19 @@ func (x *Environment) GetProvisioningType() string { } type AccountInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ProviderAccountName string `protobuf:"bytes,1,opt,name=provider_account_name,json=providerAccountName,proto3" json:"provider_account_name,omitempty"` ServiceAccountsSnapshot *v1.GetProviderAccountResponse `protobuf:"bytes,2,opt,name=service_accounts_snapshot,json=serviceAccountsSnapshot,proto3" json:"service_accounts_snapshot,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountInformation) Reset() { *x = AccountInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountInformation) String() string { @@ -192,7 +187,7 @@ func (*AccountInformation) ProtoMessage() {} func (x *AccountInformation) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_environment_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,23 +224,20 @@ func (x *AccountInformation) GetStatus() string { } type EnvironmentSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - ProvisioningType *string `protobuf:"bytes,4,opt,name=provisioning_type,json=provisioningType,proto3,oneof" json:"provisioning_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + ProvisioningType *string `protobuf:"bytes,4,opt,name=provisioning_type,json=provisioningType,proto3,oneof" json:"provisioning_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnvironmentSummary) Reset() { *x = EnvironmentSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_environment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnvironmentSummary) String() string { @@ -256,7 +248,7 @@ func (*EnvironmentSummary) ProtoMessage() {} func (x *EnvironmentSummary) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_environment_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) @@ -301,112 +293,66 @@ func (x *EnvironmentSummary) GetProvisioningType() string { var File_dream11_od_dto_v1_environment_proto protoreflect.FileDescriptor -var file_dream11_od_dto_v1_environment_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x35, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x24, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, - 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 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, 0x8b, 0x06, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x48, 0x01, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 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, 0x48, 0x02, 0x52, 0x09, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, - 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x48, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1a, - 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x05, - 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, - 0x12, 0x4d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 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, 0x48, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x3a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x13, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, - 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x48, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x0a, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, - 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x0a, 0x0a, - 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x72, - 0x67, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x75, 0x74, - 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x14, - 0x0a, 0x12, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x22, 0xd8, 0x01, 0x0a, 0x12, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x70, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x76, 0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x61, 0x6d, - 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x17, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x53, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, - 0xa0, 0x01, 0x0a, 0x12, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, - 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, - 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_dto_v1_environment_proto_rawDesc = "" + + "\n" + + "#dream11/od/dto/v1/environment.proto\x12\x11dream11.od.dto.v1\x1a5dream11/oam/provideraccount/v1/provider_account.proto\x1a$dream11/od/dto/v1/service_task.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x06\n" + + "\vEnvironment\x12\x13\n" + + "\x02id\x18\x01 \x01(\x03H\x00R\x02id\x88\x01\x01\x12>\n" + + "\n" + + "created_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12>\n" + + "\n" + + "updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tupdatedAt\x88\x01\x01\x12\"\n" + + "\n" + + "created_by\x18\x04 \x01(\tH\x03R\tcreatedBy\x88\x01\x01\x12\x1d\n" + + "\aversion\x18\x05 \x01(\x05H\x04R\aversion\x88\x01\x01\x12\x1a\n" + + "\x06org_id\x18\x06 \x01(\x03H\x05R\x05orgId\x88\x01\x01\x12\x17\n" + + "\x04name\x18\b \x01(\tH\x06R\x04name\x88\x01\x01\x12\x1b\n" + + "\x06status\x18\n" + + " \x01(\tH\aR\x06status\x88\x01\x01\x12M\n" + + "\x12auto_deletion_time\x18\v \x01(\v2\x1a.google.protobuf.TimestampH\bR\x10autoDeletionTime\x88\x01\x01\x12:\n" + + "\bservices\x18\f \x03(\v2\x1e.dream11.od.dto.v1.ServiceTaskR\bservices\x12V\n" + + "\x13account_information\x18\r \x03(\v2%.dream11.od.dto.v1.AccountInformationR\x12accountInformation\x12\"\n" + + "\n" + + "updated_by\x18\x0e \x01(\tH\tR\tupdatedBy\x88\x01\x01\x120\n" + + "\x11provisioning_type\x18\x0f \x01(\tH\n" + + "R\x10provisioningType\x88\x01\x01B\x05\n" + + "\x03_idB\r\n" + + "\v_created_atB\r\n" + + "\v_updated_atB\r\n" + + "\v_created_byB\n" + + "\n" + + "\b_versionB\t\n" + + "\a_org_idB\a\n" + + "\x05_nameB\t\n" + + "\a_statusB\x15\n" + + "\x13_auto_deletion_timeB\r\n" + + "\v_updated_byB\x14\n" + + "\x12_provisioning_type\"\xd8\x01\n" + + "\x12AccountInformation\x122\n" + + "\x15provider_account_name\x18\x01 \x01(\tR\x13providerAccountName\x12v\n" + + "\x19service_accounts_snapshot\x18\x02 \x01(\v2:.dream11.oam.provideraccount.v1.GetProviderAccountResponseR\x17serviceAccountsSnapshot\x12\x16\n" + + "\x06status\x18\x03 \x01(\tR\x06status\"\xa0\x01\n" + + "\x12EnvironmentSummary\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aaccount\x18\x02 \x01(\tR\aaccount\x12\x14\n" + + "\x05state\x18\x03 \x01(\tR\x05state\x120\n" + + "\x11provisioning_type\x18\x04 \x01(\tH\x00R\x10provisioningType\x88\x01\x01B\x14\n" + + "\x12_provisioning_typeB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_environment_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_environment_proto_rawDescData = file_dream11_od_dto_v1_environment_proto_rawDesc + file_dream11_od_dto_v1_environment_proto_rawDescData []byte ) func file_dream11_od_dto_v1_environment_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_environment_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_environment_proto_rawDescData) + file_dream11_od_dto_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_environment_proto_rawDesc), len(file_dream11_od_dto_v1_environment_proto_rawDesc))) }) return file_dream11_od_dto_v1_environment_proto_rawDescData } var file_dream11_od_dto_v1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_od_dto_v1_environment_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_environment_proto_goTypes = []any{ (*Environment)(nil), // 0: dream11.od.dto.v1.Environment (*AccountInformation)(nil), // 1: dream11.od.dto.v1.AccountInformation (*EnvironmentSummary)(nil), // 2: dream11.od.dto.v1.EnvironmentSummary @@ -434,51 +380,13 @@ func file_dream11_od_dto_v1_environment_proto_init() { return } file_dream11_od_dto_v1_service_task_proto_init() - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_environment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Environment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvironmentSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_environment_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_environment_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_dream11_od_dto_v1_environment_proto_msgTypes[0].OneofWrappers = []any{} + file_dream11_od_dto_v1_environment_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_environment_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_environment_proto_rawDesc), len(file_dream11_od_dto_v1_environment_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -489,7 +397,6 @@ func file_dream11_od_dto_v1_environment_proto_init() { MessageInfos: file_dream11_od_dto_v1_environment_proto_msgTypes, }.Build() File_dream11_od_dto_v1_environment_proto = out.File - file_dream11_od_dto_v1_environment_proto_rawDesc = nil file_dream11_od_dto_v1_environment_proto_goTypes = nil file_dream11_od_dto_v1_environment_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go b/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go index 51ae9600..f7844113 100644 --- a/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/provisioning_type.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/dto/v1/provisioning_type.proto package v1 @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,20 +22,17 @@ const ( ) type ProvisioningType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProvisioningType) Reset() { *x = ProvisioningType{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_provisioning_type_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_provisioning_type_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProvisioningType) String() string { @@ -45,7 +43,7 @@ func (*ProvisioningType) ProtoMessage() {} func (x *ProvisioningType) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_provisioning_type_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,34 +67,26 @@ func (x *ProvisioningType) GetName() string { var File_dream11_od_dto_v1_provisioning_type_proto protoreflect.FileDescriptor -var file_dream11_od_dto_v1_provisioning_type_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x22, 0x26, - 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, - 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_dto_v1_provisioning_type_proto_rawDesc = "" + + "\n" + + ")dream11/od/dto/v1/provisioning_type.proto\x12\x11dream11.od.dto.v1\"&\n" + + "\x10ProvisioningType\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04nameB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_provisioning_type_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_provisioning_type_proto_rawDescData = file_dream11_od_dto_v1_provisioning_type_proto_rawDesc + file_dream11_od_dto_v1_provisioning_type_proto_rawDescData []byte ) func file_dream11_od_dto_v1_provisioning_type_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_provisioning_type_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_provisioning_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_provisioning_type_proto_rawDescData) + file_dream11_od_dto_v1_provisioning_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_provisioning_type_proto_rawDesc), len(file_dream11_od_dto_v1_provisioning_type_proto_rawDesc))) }) return file_dream11_od_dto_v1_provisioning_type_proto_rawDescData } var file_dream11_od_dto_v1_provisioning_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_provisioning_type_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_provisioning_type_proto_goTypes = []any{ (*ProvisioningType)(nil), // 0: dream11.od.dto.v1.ProvisioningType } var file_dream11_od_dto_v1_provisioning_type_proto_depIdxs = []int32{ @@ -112,25 +102,11 @@ func file_dream11_od_dto_v1_provisioning_type_proto_init() { if File_dream11_od_dto_v1_provisioning_type_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_provisioning_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningType); 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{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_provisioning_type_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_provisioning_type_proto_rawDesc), len(file_dream11_od_dto_v1_provisioning_type_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -141,7 +117,6 @@ func file_dream11_od_dto_v1_provisioning_type_proto_init() { MessageInfos: file_dream11_od_dto_v1_provisioning_type_proto_msgTypes, }.Build() File_dream11_od_dto_v1_provisioning_type_proto = out.File - file_dream11_od_dto_v1_provisioning_type_proto_rawDesc = nil file_dream11_od_dto_v1_provisioning_type_proto_goTypes = nil file_dream11_od_dto_v1_provisioning_type_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/dto/v1/service.pb.go b/proto/gen/go/dream11/od/dto/v1/service.pb.go index a682c014..a3c1f521 100644 --- a/proto/gen/go/dream11/od/dto/v1/service.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/dto/v1/service.proto package v1 @@ -13,6 +13,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,25 +24,22 @@ const ( ) type ComponentDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + DependsOn []string `protobuf:"bytes,4,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` + Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` + Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - DependsOn []string `protobuf:"bytes,4,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` - Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"` - Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ComponentDefinition) Reset() { *x = ComponentDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentDefinition) String() string { @@ -52,7 +50,7 @@ func (*ComponentDefinition) ProtoMessage() {} func (x *ComponentDefinition) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -110,23 +108,20 @@ func (x *ComponentDefinition) GetMetadata() *structpb.Struct { } type ServiceDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Team string `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"` + Components []*ComponentDefinition `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Team string `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"` - Components []*ComponentDefinition `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceDefinition) Reset() { *x = ServiceDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceDefinition) String() string { @@ -137,7 +132,7 @@ func (*ServiceDefinition) ProtoMessage() {} func (x *ServiceDefinition) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -181,22 +176,19 @@ func (x *ServiceDefinition) GetComponents() []*ComponentDefinition { } type ServiceIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceIdentifier) Reset() { *x = ServiceIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceIdentifier) String() string { @@ -207,7 +199,7 @@ func (*ServiceIdentifier) ProtoMessage() {} func (x *ServiceIdentifier) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -244,21 +236,18 @@ func (x *ServiceIdentifier) GetLabels() string { } type ServiceSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Services []*ServiceIdentifier `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Services []*ServiceIdentifier `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceSet) Reset() { *x = ServiceSet{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceSet) String() string { @@ -269,7 +258,7 @@ func (*ServiceSet) ProtoMessage() {} func (x *ServiceSet) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -299,23 +288,20 @@ func (x *ServiceSet) GetServices() []*ServiceIdentifier { } type ComponentProvisioningConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - DeploymentType string `protobuf:"bytes,2,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` - Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` - EnvVariables *structpb.Struct `protobuf:"bytes,4,opt,name=env_variables,json=envVariables,proto3,oneof" json:"env_variables,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + DeploymentType string `protobuf:"bytes,2,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` + Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` + EnvVariables *structpb.Struct `protobuf:"bytes,4,opt,name=env_variables,json=envVariables,proto3,oneof" json:"env_variables,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComponentProvisioningConfig) Reset() { *x = ComponentProvisioningConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentProvisioningConfig) String() string { @@ -326,7 +312,7 @@ func (*ComponentProvisioningConfig) ProtoMessage() {} func (x *ComponentProvisioningConfig) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -370,20 +356,17 @@ func (x *ComponentProvisioningConfig) GetEnvVariables() *structpb.Struct { } type ProvisioningConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ComponentProvisioningConfig []*ComponentProvisioningConfig `protobuf:"bytes,1,rep,name=component_provisioning_config,json=componentProvisioningConfig,proto3" json:"component_provisioning_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProvisioningConfig) Reset() { *x = ProvisioningConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProvisioningConfig) String() string { @@ -394,7 +377,7 @@ func (*ProvisioningConfig) ProtoMessage() {} func (x *ProvisioningConfig) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -417,22 +400,19 @@ func (x *ProvisioningConfig) GetComponentProvisioningConfig() []*ComponentProvis } type ServiceMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceMetadata) Reset() { *x = ServiceMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceMetadata) String() string { @@ -443,7 +423,7 @@ func (*ServiceMetadata) ProtoMessage() {} func (x *ServiceMetadata) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -480,21 +460,18 @@ func (x *ServiceMetadata) GetTags() string { } type AddComponentRequestOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ComponentDefinition []*ComponentDefinition `protobuf:"bytes,1,rep,name=component_definition,json=componentDefinition,proto3" json:"component_definition,omitempty"` ProvisioningConfig []*ComponentProvisioningConfig `protobuf:"bytes,2,rep,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddComponentRequestOptions) Reset() { *x = AddComponentRequestOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddComponentRequestOptions) String() string { @@ -505,7 +482,7 @@ func (*AddComponentRequestOptions) ProtoMessage() {} func (x *AddComponentRequestOptions) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -535,20 +512,17 @@ func (x *AddComponentRequestOptions) GetProvisioningConfig() []*ComponentProvisi } type RemoveComponentRequestOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveComponentRequestOptions) Reset() { *x = RemoveComponentRequestOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveComponentRequestOptions) String() string { @@ -559,7 +533,7 @@ func (*RemoveComponentRequestOptions) ProtoMessage() {} func (x *RemoveComponentRequestOptions) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -582,10 +556,7 @@ func (x *RemoveComponentRequestOptions) GetComponentName() string { } type Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` @@ -595,15 +566,15 @@ type Service struct { ServiceDefinition *structpb.Struct `protobuf:"bytes,7,opt,name=service_definition,json=serviceDefinition,proto3,oneof" json:"service_definition,omitempty"` ProvisioningConfigFiles []*structpb.Struct `protobuf:"bytes,8,rep,name=provisioning_config_files,json=provisioningConfigFiles,proto3" json:"provisioning_config_files,omitempty"` Versions []string `protobuf:"bytes,9,rep,name=versions,proto3" json:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Service) Reset() { *x = Service{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Service) String() string { @@ -614,7 +585,7 @@ func (*Service) ProtoMessage() {} func (x *Service) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -693,23 +664,20 @@ func (x *Service) GetVersions() []string { } type ServiceVersionComparisonMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ExistingVersion string `protobuf:"bytes,2,opt,name=existing_version,json=existingVersion,proto3" json:"existing_version,omitempty"` - NewVersion string `protobuf:"bytes,3,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty"` - VersionConflict bool `protobuf:"varint,4,opt,name=version_conflict,json=versionConflict,proto3" json:"version_conflict,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ExistingVersion string `protobuf:"bytes,2,opt,name=existing_version,json=existingVersion,proto3" json:"existing_version,omitempty"` + NewVersion string `protobuf:"bytes,3,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty"` + VersionConflict bool `protobuf:"varint,4,opt,name=version_conflict,json=versionConflict,proto3" json:"version_conflict,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceVersionComparisonMetadata) Reset() { *x = ServiceVersionComparisonMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceVersionComparisonMetadata) String() string { @@ -720,7 +688,7 @@ func (*ServiceVersionComparisonMetadata) ProtoMessage() {} func (x *ServiceVersionComparisonMetadata) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_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) @@ -765,165 +733,93 @@ func (x *ServiceVersionComparisonMetadata) GetVersionConflict() bool { var File_dream11_od_dto_v1_service_proto protoreflect.FileDescriptor -var file_dream11_od_dto_v1_service_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 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, 0xee, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x5f, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x4f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x46, 0x0a, 0x0a, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x73, 0x22, 0x59, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, - 0x62, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x1b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x65, 0x6e, 0x76, 0x5f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x72, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, - 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x1b, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x22, 0x53, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xd8, 0x01, 0x0a, 0x1a, 0x41, 0x64, - 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, - 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, - 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x22, 0x46, 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xaf, 0x04, 0x0a, - 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, - 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, - 0x48, 0x02, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, - 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, - 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, - 0x48, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, - 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, - 0x79, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x06, 0x52, - 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, - 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xad, - 0x01, 0x0a, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x42, 0x38, - 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, - 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_dto_v1_service_proto_rawDesc = "" + + "\n" + + "\x1fdream11/od/dto/v1/service.proto\x12\x11dream11.od.dto.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xee\x01\n" + + "\x13ComponentDefinition\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x12\n" + + "\x04type\x18\x03 \x01(\tR\x04type\x12\x1d\n" + + "\n" + + "depends_on\x18\x04 \x03(\tR\tdependsOn\x12/\n" + + "\x06config\x18\x05 \x01(\v2\x17.google.protobuf.StructR\x06config\x128\n" + + "\bmetadata\x18\x06 \x01(\v2\x17.google.protobuf.StructH\x00R\bmetadata\x88\x01\x01B\v\n" + + "\t_metadata\"\x9d\x01\n" + + "\x11ServiceDefinition\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x12\n" + + "\x04team\x18\x03 \x01(\tR\x04team\x12F\n" + + "\n" + + "components\x18\x04 \x03(\v2&.dream11.od.dto.v1.ComponentDefinitionR\n" + + "components\"Y\n" + + "\x11ServiceIdentifier\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x16\n" + + "\x06labels\x18\x03 \x01(\tR\x06labels\"b\n" + + "\n" + + "ServiceSet\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12@\n" + + "\bservices\x18\x02 \x03(\v2$.dream11.od.dto.v1.ServiceIdentifierR\bservices\"\xf3\x01\n" + + "\x1bComponentProvisioningConfig\x12%\n" + + "\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12'\n" + + "\x0fdeployment_type\x18\x02 \x01(\tR\x0edeploymentType\x12/\n" + + "\x06params\x18\x03 \x01(\v2\x17.google.protobuf.StructR\x06params\x12A\n" + + "\renv_variables\x18\x04 \x01(\v2\x17.google.protobuf.StructH\x00R\fenvVariables\x88\x01\x01B\x10\n" + + "\x0e_env_variables\"\x88\x01\n" + + "\x12ProvisioningConfig\x12r\n" + + "\x1dcomponent_provisioning_config\x18\x01 \x03(\v2..dream11.od.dto.v1.ComponentProvisioningConfigR\x1bcomponentProvisioningConfig\"S\n" + + "\x0fServiceMetadata\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x12\n" + + "\x04tags\x18\x03 \x01(\tR\x04tags\"\xd8\x01\n" + + "\x1aAddComponentRequestOptions\x12Y\n" + + "\x14component_definition\x18\x01 \x03(\v2&.dream11.od.dto.v1.ComponentDefinitionR\x13componentDefinition\x12_\n" + + "\x13provisioning_config\x18\x02 \x03(\v2..dream11.od.dto.v1.ComponentProvisioningConfigR\x12provisioningConfig\"F\n" + + "\x1dRemoveComponentRequestOptions\x12%\n" + + "\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\"\xaf\x04\n" + + "\aService\x12\x17\n" + + "\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n" + + "\aversion\x18\x02 \x01(\tH\x01R\aversion\x88\x01\x01\x12>\n" + + "\n" + + "created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tcreatedAt\x88\x01\x01\x12>\n" + + "\n" + + "updated_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampH\x03R\tupdatedAt\x88\x01\x01\x12\"\n" + + "\n" + + "created_by\x18\x05 \x01(\tH\x04R\tcreatedBy\x88\x01\x01\x12\"\n" + + "\n" + + "updated_by\x18\x06 \x01(\tH\x05R\tupdatedBy\x88\x01\x01\x12K\n" + + "\x12service_definition\x18\a \x01(\v2\x17.google.protobuf.StructH\x06R\x11serviceDefinition\x88\x01\x01\x12S\n" + + "\x19provisioning_config_files\x18\b \x03(\v2\x17.google.protobuf.StructR\x17provisioningConfigFiles\x12\x1a\n" + + "\bversions\x18\t \x03(\tR\bversionsB\a\n" + + "\x05_nameB\n" + + "\n" + + "\b_versionB\r\n" + + "\v_created_atB\r\n" + + "\v_updated_atB\r\n" + + "\v_created_byB\r\n" + + "\v_updated_byB\x15\n" + + "\x13_service_definition\"\xad\x01\n" + + " ServiceVersionComparisonMetadata\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12)\n" + + "\x10existing_version\x18\x02 \x01(\tR\x0fexistingVersion\x12\x1f\n" + + "\vnew_version\x18\x03 \x01(\tR\n" + + "newVersion\x12)\n" + + "\x10version_conflict\x18\x04 \x01(\bR\x0fversionConflictB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_service_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_service_proto_rawDescData = file_dream11_od_dto_v1_service_proto_rawDesc + file_dream11_od_dto_v1_service_proto_rawDescData []byte ) func file_dream11_od_dto_v1_service_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_service_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_service_proto_rawDescData) + file_dream11_od_dto_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_service_proto_rawDesc), len(file_dream11_od_dto_v1_service_proto_rawDesc))) }) return file_dream11_od_dto_v1_service_proto_rawDescData } var file_dream11_od_dto_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_dream11_od_dto_v1_service_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_service_proto_goTypes = []any{ (*ComponentDefinition)(nil), // 0: dream11.od.dto.v1.ComponentDefinition (*ServiceDefinition)(nil), // 1: dream11.od.dto.v1.ServiceDefinition (*ServiceIdentifier)(nil), // 2: dream11.od.dto.v1.ServiceIdentifier @@ -964,148 +860,14 @@ func file_dream11_od_dto_v1_service_proto_init() { if File_dream11_od_dto_v1_service_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentProvisioningConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddComponentRequestOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveComponentRequestOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Service); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceVersionComparisonMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_service_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_service_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_dream11_od_dto_v1_service_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_dream11_od_dto_v1_service_proto_msgTypes[0].OneofWrappers = []any{} + file_dream11_od_dto_v1_service_proto_msgTypes[4].OneofWrappers = []any{} + file_dream11_od_dto_v1_service_proto_msgTypes[9].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_service_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_service_proto_rawDesc), len(file_dream11_od_dto_v1_service_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -1116,7 +878,6 @@ func file_dream11_od_dto_v1_service_proto_init() { MessageInfos: file_dream11_od_dto_v1_service_proto_msgTypes, }.Build() File_dream11_od_dto_v1_service_proto = out.File - file_dream11_od_dto_v1_service_proto_rawDesc = nil file_dream11_od_dto_v1_service_proto_goTypes = nil file_dream11_od_dto_v1_service_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/dto/v1/service_task.pb.go b/proto/gen/go/dream11/od/dto/v1/service_task.pb.go index 513c5c38..e4511bab 100644 --- a/proto/gen/go/dream11/od/dto/v1/service_task.pb.go +++ b/proto/gen/go/dream11/od/dto/v1/service_task.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/dto/v1/service_task.proto package v1 @@ -12,6 +12,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -22,29 +23,26 @@ const ( ) type ServiceTask struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` + CreatedBy *int64 `protobuf:"varint,4,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` + OrgId *int64 `protobuf:"varint,5,opt,name=org_id,json=orgId,proto3,oneof" json:"org_id,omitempty"` + Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` + Version *string `protobuf:"bytes,7,opt,name=version,proto3,oneof" json:"version,omitempty"` + Status *string `protobuf:"bytes,8,opt,name=status,proto3,oneof" json:"status,omitempty"` + EnvId *int64 `protobuf:"varint,9,opt,name=env_id,json=envId,proto3,oneof" json:"env_id,omitempty"` + Components []*ComponentTask `protobuf:"bytes,10,rep,name=components,proto3" json:"components,omitempty"` unknownFields protoimpl.UnknownFields - - Id *int64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - CreatedBy *int64 `protobuf:"varint,4,opt,name=created_by,json=createdBy,proto3,oneof" json:"created_by,omitempty"` - OrgId *int64 `protobuf:"varint,5,opt,name=org_id,json=orgId,proto3,oneof" json:"org_id,omitempty"` - Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` - Version *string `protobuf:"bytes,7,opt,name=version,proto3,oneof" json:"version,omitempty"` - Status *string `protobuf:"bytes,8,opt,name=status,proto3,oneof" json:"status,omitempty"` - EnvId *int64 `protobuf:"varint,9,opt,name=env_id,json=envId,proto3,oneof" json:"env_id,omitempty"` - Components []*ComponentTask `protobuf:"bytes,10,rep,name=components,proto3" json:"components,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceTask) Reset() { *x = ServiceTask{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_dto_v1_service_task_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_dto_v1_service_task_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceTask) String() string { @@ -55,7 +53,7 @@ func (*ServiceTask) ProtoMessage() {} func (x *ServiceTask) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_dto_v1_service_task_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) @@ -142,68 +140,51 @@ func (x *ServiceTask) GetComponents() []*ComponentTask { var File_dream11_od_dto_v1_service_task_proto protoreflect.FileDescriptor -var file_dream11_od_dto_v1_service_task_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x1a, 0x26, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 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, 0xff, 0x03, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, - 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x48, 0x01, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 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, 0x48, 0x02, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x6f, - 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6f, - 0x72, 0x67, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x1d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x06, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, - 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x07, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, - 0x65, 0x6e, 0x76, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x48, 0x08, 0x52, 0x05, - 0x65, 0x6e, 0x76, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0a, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, - 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x6e, - 0x76, 0x5f, 0x69, 0x64, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_dto_v1_service_task_proto_rawDesc = "" + + "\n" + + "$dream11/od/dto/v1/service_task.proto\x12\x11dream11.od.dto.v1\x1a&dream11/od/dto/v1/component_task.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x03\n" + + "\vServiceTask\x12\x13\n" + + "\x02id\x18\x01 \x01(\x03H\x00R\x02id\x88\x01\x01\x12>\n" + + "\n" + + "created_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampH\x01R\tcreatedAt\x88\x01\x01\x12>\n" + + "\n" + + "updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampH\x02R\tupdatedAt\x88\x01\x01\x12\"\n" + + "\n" + + "created_by\x18\x04 \x01(\x03H\x03R\tcreatedBy\x88\x01\x01\x12\x1a\n" + + "\x06org_id\x18\x05 \x01(\x03H\x04R\x05orgId\x88\x01\x01\x12\x17\n" + + "\x04name\x18\x06 \x01(\tH\x05R\x04name\x88\x01\x01\x12\x1d\n" + + "\aversion\x18\a \x01(\tH\x06R\aversion\x88\x01\x01\x12\x1b\n" + + "\x06status\x18\b \x01(\tH\aR\x06status\x88\x01\x01\x12\x1a\n" + + "\x06env_id\x18\t \x01(\x03H\bR\x05envId\x88\x01\x01\x12@\n" + + "\n" + + "components\x18\n" + + " \x03(\v2 .dream11.od.dto.v1.ComponentTaskR\n" + + "componentsB\x05\n" + + "\x03_idB\r\n" + + "\v_created_atB\r\n" + + "\v_updated_atB\r\n" + + "\v_created_byB\t\n" + + "\a_org_idB\a\n" + + "\x05_nameB\n" + + "\n" + + "\b_versionB\t\n" + + "\a_statusB\t\n" + + "\a_env_idB8Z6github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1b\x06proto3" var ( file_dream11_od_dto_v1_service_task_proto_rawDescOnce sync.Once - file_dream11_od_dto_v1_service_task_proto_rawDescData = file_dream11_od_dto_v1_service_task_proto_rawDesc + file_dream11_od_dto_v1_service_task_proto_rawDescData []byte ) func file_dream11_od_dto_v1_service_task_proto_rawDescGZIP() []byte { file_dream11_od_dto_v1_service_task_proto_rawDescOnce.Do(func() { - file_dream11_od_dto_v1_service_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_dto_v1_service_task_proto_rawDescData) + file_dream11_od_dto_v1_service_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_service_task_proto_rawDesc), len(file_dream11_od_dto_v1_service_task_proto_rawDesc))) }) return file_dream11_od_dto_v1_service_task_proto_rawDescData } var file_dream11_od_dto_v1_service_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_dream11_od_dto_v1_service_task_proto_goTypes = []interface{}{ +var file_dream11_od_dto_v1_service_task_proto_goTypes = []any{ (*ServiceTask)(nil), // 0: dream11.od.dto.v1.ServiceTask (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp (*ComponentTask)(nil), // 2: dream11.od.dto.v1.ComponentTask @@ -225,26 +206,12 @@ func file_dream11_od_dto_v1_service_task_proto_init() { return } file_dream11_od_dto_v1_component_task_proto_init() - if !protoimpl.UnsafeEnabled { - file_dream11_od_dto_v1_service_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceTask); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_dto_v1_service_task_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_dream11_od_dto_v1_service_task_proto_msgTypes[0].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_dto_v1_service_task_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_dto_v1_service_task_proto_rawDesc), len(file_dream11_od_dto_v1_service_task_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -255,7 +222,6 @@ func file_dream11_od_dto_v1_service_task_proto_init() { MessageInfos: file_dream11_od_dto_v1_service_task_proto_msgTypes, }.Build() File_dream11_od_dto_v1_service_task_proto = out.File - file_dream11_od_dto_v1_service_task_proto_rawDesc = nil file_dream11_od_dto_v1_service_task_proto_goTypes = nil file_dream11_od_dto_v1_service_task_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/environment/v1/environment.pb.go b/proto/gen/go/dream11/od/environment/v1/environment.pb.go index 21a5f7fa..871bdf09 100644 --- a/proto/gen/go/dream11/od/environment/v1/environment.pb.go +++ b/proto/gen/go/dream11/od/environment/v1/environment.pb.go @@ -1,18 +1,20 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/environment/v1/environment.proto package v1 import ( + v11 "github.com/dream11/odin/proto/gen/go/dream11/oam/provideraccount/v1" v1 "github.com/dream11/odin/proto/gen/go/dream11/od/dto/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,21 +25,18 @@ const ( ) type StatusEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StatusEnvironmentRequest) Reset() { *x = StatusEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusEnvironmentRequest) String() string { @@ -48,7 +47,7 @@ func (*StatusEnvironmentRequest) ProtoMessage() {} func (x *StatusEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -78,22 +77,19 @@ func (x *StatusEnvironmentRequest) GetServiceName() string { } type StatusEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` EnvStatus string `protobuf:"bytes,2,opt,name=env_status,json=envStatus,proto3" json:"env_status,omitempty"` ServicesStatus []*DeployedServiceStatus `protobuf:"bytes,3,rep,name=services_status,json=servicesStatus,proto3" json:"services_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusEnvironmentResponse) Reset() { *x = StatusEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusEnvironmentResponse) String() string { @@ -104,7 +100,7 @@ func (*StatusEnvironmentResponse) ProtoMessage() {} func (x *StatusEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -141,24 +137,21 @@ func (x *StatusEnvironmentResponse) GetServicesStatus() []*DeployedServiceStatus } type DeployedServiceStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` ServiceVersion string `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` ServiceStatus string `protobuf:"bytes,3,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` LastDeployed string `protobuf:"bytes,4,opt,name=last_deployed,json=lastDeployed,proto3" json:"last_deployed,omitempty"` ComponentStatus []*StatusEnvComponentStatus `protobuf:"bytes,5,rep,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployedServiceStatus) Reset() { *x = DeployedServiceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployedServiceStatus) String() string { @@ -169,7 +162,7 @@ func (*DeployedServiceStatus) ProtoMessage() {} func (x *DeployedServiceStatus) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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,22 +213,19 @@ func (x *DeployedServiceStatus) GetComponentStatus() []*StatusEnvComponentStatus } type StatusEnvComponentStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - ComponentVersion string `protobuf:"bytes,2,opt,name=component_version,json=componentVersion,proto3" json:"component_version,omitempty"` - ComponentStatus string `protobuf:"bytes,3,opt,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + ComponentVersion string `protobuf:"bytes,2,opt,name=component_version,json=componentVersion,proto3" json:"component_version,omitempty"` + ComponentStatus string `protobuf:"bytes,3,opt,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusEnvComponentStatus) Reset() { *x = StatusEnvComponentStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StatusEnvComponentStatus) String() string { @@ -246,7 +236,7 @@ func (*StatusEnvComponentStatus) ProtoMessage() {} func (x *StatusEnvComponentStatus) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -283,20 +273,17 @@ func (x *StatusEnvComponentStatus) GetComponentStatus() string { } type ListEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *ListEnvironmentRequest) Reset() { *x = ListEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEnvironmentRequest) String() string { @@ -307,7 +294,7 @@ func (*ListEnvironmentRequest) ProtoMessage() {} func (x *ListEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -330,20 +317,17 @@ func (x *ListEnvironmentRequest) GetParams() map[string]string { } type ListEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Environments []*v1.EnvironmentSummary `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` unknownFields protoimpl.UnknownFields - - Environments []*v1.EnvironmentSummary `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListEnvironmentResponse) Reset() { *x = ListEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEnvironmentResponse) String() string { @@ -354,7 +338,7 @@ func (*ListEnvironmentResponse) ProtoMessage() {} func (x *ListEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -377,21 +361,18 @@ func (x *ListEnvironmentResponse) GetEnvironments() []*v1.EnvironmentSummary { } type DescribeEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *DescribeEnvironmentRequest) Reset() { *x = DescribeEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeEnvironmentRequest) String() string { @@ -402,7 +383,7 @@ func (*DescribeEnvironmentRequest) ProtoMessage() {} func (x *DescribeEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -432,20 +413,17 @@ func (x *DescribeEnvironmentRequest) GetParams() map[string]string { } type DescribeEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Environment *v1.Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` unknownFields protoimpl.UnknownFields - - Environment *v1.Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DescribeEnvironmentResponse) Reset() { *x = DescribeEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeEnvironmentResponse) String() string { @@ -456,7 +434,7 @@ func (*DescribeEnvironmentResponse) ProtoMessage() {} func (x *DescribeEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -479,21 +457,18 @@ func (x *DescribeEnvironmentResponse) GetEnvironment() *v1.Environment { } type UpdateEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateEnvironmentRequest) Reset() { *x = UpdateEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEnvironmentRequest) String() string { @@ -504,7 +479,7 @@ func (*UpdateEnvironmentRequest) ProtoMessage() {} func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -534,18 +509,16 @@ func (x *UpdateEnvironmentRequest) GetData() *structpb.Struct { } type UpdateEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateEnvironmentResponse) Reset() { *x = UpdateEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEnvironmentResponse) String() string { @@ -556,7 +529,7 @@ func (*UpdateEnvironmentResponse) ProtoMessage() {} func (x *UpdateEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -572,22 +545,21 @@ func (*UpdateEnvironmentResponse) Descriptor() ([]byte, []int) { } type CreateEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` - ProvisioningType string `protobuf:"bytes,3,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + Accounts []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` + ProvisioningType string `protobuf:"bytes,3,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` + RoutingKey *string `protobuf:"bytes,4,opt,name=routing_key,json=routingKey,proto3,oneof" json:"routing_key,omitempty"` + AccountDetails []*v11.GetProviderAccountResponse `protobuf:"bytes,5,rep,name=account_details,json=accountDetails,proto3" json:"account_details,omitempty"` // Full account data from file (bypasses OAM). Empty when using --accounts flag + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateEnvironmentRequest) Reset() { *x = CreateEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEnvironmentRequest) String() string { @@ -598,7 +570,7 @@ func (*CreateEnvironmentRequest) ProtoMessage() {} func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -634,21 +606,32 @@ func (x *CreateEnvironmentRequest) GetProvisioningType() string { return "" } +func (x *CreateEnvironmentRequest) GetRoutingKey() string { + if x != nil && x.RoutingKey != nil { + return *x.RoutingKey + } + return "" +} + +func (x *CreateEnvironmentRequest) GetAccountDetails() []*v11.GetProviderAccountResponse { + if x != nil { + return x.AccountDetails + } + return nil +} + type CreateEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateEnvironmentResponse) Reset() { *x = CreateEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateEnvironmentResponse) String() string { @@ -659,7 +642,7 @@ func (*CreateEnvironmentResponse) ProtoMessage() {} func (x *CreateEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -682,20 +665,17 @@ func (x *CreateEnvironmentResponse) GetMessage() string { } type DeleteEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteEnvironmentRequest) Reset() { *x = DeleteEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEnvironmentRequest) String() string { @@ -706,7 +686,7 @@ func (*DeleteEnvironmentRequest) ProtoMessage() {} func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -729,20 +709,17 @@ func (x *DeleteEnvironmentRequest) GetEnvName() string { } type DeleteEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteEnvironmentResponse) Reset() { *x = DeleteEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteEnvironmentResponse) String() string { @@ -753,7 +730,7 @@ func (*DeleteEnvironmentResponse) ProtoMessage() {} func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -776,20 +753,17 @@ func (x *DeleteEnvironmentResponse) GetMessage() string { } type IsStrictEnvironmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IsStrictEnvironmentRequest) Reset() { *x = IsStrictEnvironmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsStrictEnvironmentRequest) String() string { @@ -800,7 +774,7 @@ func (*IsStrictEnvironmentRequest) ProtoMessage() {} func (x *IsStrictEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -823,20 +797,17 @@ func (x *IsStrictEnvironmentRequest) GetEnvName() string { } type IsStrictEnvironmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IsEnvStrict bool `protobuf:"varint,1,opt,name=is_env_strict,json=isEnvStrict,proto3" json:"is_env_strict,omitempty"` unknownFields protoimpl.UnknownFields - - IsEnvStrict bool `protobuf:"varint,1,opt,name=is_env_strict,json=isEnvStrict,proto3" json:"is_env_strict,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IsStrictEnvironmentResponse) Reset() { *x = IsStrictEnvironmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_environment_v1_environment_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsStrictEnvironmentResponse) String() string { @@ -847,7 +818,7 @@ func (*IsStrictEnvironmentResponse) ProtoMessage() {} func (x *IsStrictEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_environment_v1_environment_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) @@ -871,231 +842,109 @@ func (x *IsStrictEnvironmentResponse) GetIsEnvStrict() bool { var File_dream11_od_environment_v1_environment_proto protoreflect.FileDescriptor -var file_dream11_od_environment_v1_environment_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x18, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x65, 0x6e, 0x76, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x76, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x59, 0x0a, - 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x8f, 0x02, 0x0a, 0x15, 0x44, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, - 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, - 0x73, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x12, 0x5e, 0x0a, 0x10, 0x63, 0x6f, - 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x76, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, - 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x76, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, - 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, - 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, - 0x6e, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x55, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x3d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x64, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, - 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x0c, 0x65, 0x6e, 0x76, - 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x1a, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, - 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 0x0a, 0x1b, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x62, 0x0a, 0x18, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1b, - 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x0a, 0x18, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2b, - 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x35, 0x0a, 0x19, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x35, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x19, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x37, 0x0a, 0x1a, 0x49, 0x73, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x41, 0x0a, 0x1b, 0x49, 0x73, 0x53, - 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x65, - 0x6e, 0x76, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0b, 0x69, 0x73, 0x45, 0x6e, 0x76, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x32, 0xb4, 0x07, 0x0a, - 0x12, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x86, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x62, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x12, 0x82, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x49, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x45, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_environment_v1_environment_proto_rawDesc = "" + + "\n" + + "+dream11/od/environment/v1/environment.proto\x12\x19dream11.od.environment.v1\x1a#dream11/od/dto/v1/environment.proto\x1a5dream11/oam/provideraccount/v1/provider_account.proto\x1a\x1cgoogle/protobuf/struct.proto\"X\n" + + "\x18StatusEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12!\n" + + "\fservice_name\x18\x02 \x01(\tR\vserviceName\"\xb0\x01\n" + + "\x19StatusEnvironmentResponse\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12\x1d\n" + + "\n" + + "env_status\x18\x02 \x01(\tR\tenvStatus\x12Y\n" + + "\x0fservices_status\x18\x03 \x03(\v20.dream11.od.environment.v1.DeployedServiceStatusR\x0eservicesStatus\"\x8f\x02\n" + + "\x15DeployedServiceStatus\x12!\n" + + "\fservice_name\x18\x01 \x01(\tR\vserviceName\x12'\n" + + "\x0fservice_version\x18\x02 \x01(\tR\x0eserviceVersion\x12%\n" + + "\x0eservice_status\x18\x03 \x01(\tR\rserviceStatus\x12#\n" + + "\rlast_deployed\x18\x04 \x01(\tR\flastDeployed\x12^\n" + + "\x10component_status\x18\x05 \x03(\v23.dream11.od.environment.v1.StatusEnvComponentStatusR\x0fcomponentStatus\"\x99\x01\n" + + "\x18StatusEnvComponentStatus\x12%\n" + + "\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12+\n" + + "\x11component_version\x18\x02 \x01(\tR\x10componentVersion\x12)\n" + + "\x10component_status\x18\x03 \x01(\tR\x0fcomponentStatus\"\xaa\x01\n" + + "\x16ListEnvironmentRequest\x12U\n" + + "\x06params\x18\x01 \x03(\v2=.dream11.od.environment.v1.ListEnvironmentRequest.ParamsEntryR\x06params\x1a9\n" + + "\vParamsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"d\n" + + "\x17ListEnvironmentResponse\x12I\n" + + "\fenvironments\x18\x01 \x03(\v2%.dream11.od.dto.v1.EnvironmentSummaryR\fenvironments\"\xcd\x01\n" + + "\x1aDescribeEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12Y\n" + + "\x06params\x18\x02 \x03(\v2A.dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntryR\x06params\x1a9\n" + + "\vParamsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"_\n" + + "\x1bDescribeEnvironmentResponse\x12@\n" + + "\venvironment\x18\x01 \x01(\v2\x1e.dream11.od.dto.v1.EnvironmentR\venvironment\"b\n" + + "\x18UpdateEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12+\n" + + "\x04data\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x04data\"\x1b\n" + + "\x19UpdateEnvironmentResponse\"\x99\x02\n" + + "\x18CreateEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12\x1a\n" + + "\baccounts\x18\x02 \x03(\tR\baccounts\x12+\n" + + "\x11provisioning_type\x18\x03 \x01(\tR\x10provisioningType\x12$\n" + + "\vrouting_key\x18\x04 \x01(\tH\x00R\n" + + "routingKey\x88\x01\x01\x12c\n" + + "\x0faccount_details\x18\x05 \x03(\v2:.dream11.oam.provideraccount.v1.GetProviderAccountResponseR\x0eaccountDetailsB\x0e\n" + + "\f_routing_key\"5\n" + + "\x19CreateEnvironmentResponse\x12\x18\n" + + "\amessage\x18\x01 \x01(\tR\amessage\"5\n" + + "\x18DeleteEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\"5\n" + + "\x19DeleteEnvironmentResponse\x12\x18\n" + + "\amessage\x18\x01 \x01(\tR\amessage\"7\n" + + "\x1aIsStrictEnvironmentRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\"A\n" + + "\x1bIsStrictEnvironmentResponse\x12\"\n" + + "\ris_env_strict\x18\x01 \x01(\bR\visEnvStrict2\xb4\a\n" + + "\x12EnvironmentService\x12z\n" + + "\x0fListEnvironment\x121.dream11.od.environment.v1.ListEnvironmentRequest\x1a2.dream11.od.environment.v1.ListEnvironmentResponse\"\x00\x12\x86\x01\n" + + "\x13DescribeEnvironment\x125.dream11.od.environment.v1.DescribeEnvironmentRequest\x1a6.dream11.od.environment.v1.DescribeEnvironmentResponse\"\x00\x12\x80\x01\n" + + "\x11UpdateEnvironment\x123.dream11.od.environment.v1.UpdateEnvironmentRequest\x1a4.dream11.od.environment.v1.UpdateEnvironmentResponse\"\x00\x12\x82\x01\n" + + "\x11CreateEnvironment\x123.dream11.od.environment.v1.CreateEnvironmentRequest\x1a4.dream11.od.environment.v1.CreateEnvironmentResponse\"\x000\x01\x12\x82\x01\n" + + "\x11DeleteEnvironment\x123.dream11.od.environment.v1.DeleteEnvironmentRequest\x1a4.dream11.od.environment.v1.DeleteEnvironmentResponse\"\x000\x01\x12\x82\x01\n" + + "\x11StatusEnvironment\x123.dream11.od.environment.v1.StatusEnvironmentRequest\x1a4.dream11.od.environment.v1.StatusEnvironmentResponse\"\x000\x01\x12\x86\x01\n" + + "\x13IsStrictEnvironment\x125.dream11.od.environment.v1.IsStrictEnvironmentRequest\x1a6.dream11.od.environment.v1.IsStrictEnvironmentResponse\"\x00B@Z>github.com/dream11/odin/proto/gen/go/dream11/od/environment/v1b\x06proto3" var ( file_dream11_od_environment_v1_environment_proto_rawDescOnce sync.Once - file_dream11_od_environment_v1_environment_proto_rawDescData = file_dream11_od_environment_v1_environment_proto_rawDesc + file_dream11_od_environment_v1_environment_proto_rawDescData []byte ) func file_dream11_od_environment_v1_environment_proto_rawDescGZIP() []byte { file_dream11_od_environment_v1_environment_proto_rawDescOnce.Do(func() { - file_dream11_od_environment_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_environment_v1_environment_proto_rawDescData) + file_dream11_od_environment_v1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_environment_v1_environment_proto_rawDesc), len(file_dream11_od_environment_v1_environment_proto_rawDesc))) }) return file_dream11_od_environment_v1_environment_proto_rawDescData } var file_dream11_od_environment_v1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_dream11_od_environment_v1_environment_proto_goTypes = []interface{}{ - (*StatusEnvironmentRequest)(nil), // 0: dream11.od.environment.v1.StatusEnvironmentRequest - (*StatusEnvironmentResponse)(nil), // 1: dream11.od.environment.v1.StatusEnvironmentResponse - (*DeployedServiceStatus)(nil), // 2: dream11.od.environment.v1.DeployedServiceStatus - (*StatusEnvComponentStatus)(nil), // 3: dream11.od.environment.v1.StatusEnvComponentStatus - (*ListEnvironmentRequest)(nil), // 4: dream11.od.environment.v1.ListEnvironmentRequest - (*ListEnvironmentResponse)(nil), // 5: dream11.od.environment.v1.ListEnvironmentResponse - (*DescribeEnvironmentRequest)(nil), // 6: dream11.od.environment.v1.DescribeEnvironmentRequest - (*DescribeEnvironmentResponse)(nil), // 7: dream11.od.environment.v1.DescribeEnvironmentResponse - (*UpdateEnvironmentRequest)(nil), // 8: dream11.od.environment.v1.UpdateEnvironmentRequest - (*UpdateEnvironmentResponse)(nil), // 9: dream11.od.environment.v1.UpdateEnvironmentResponse - (*CreateEnvironmentRequest)(nil), // 10: dream11.od.environment.v1.CreateEnvironmentRequest - (*CreateEnvironmentResponse)(nil), // 11: dream11.od.environment.v1.CreateEnvironmentResponse - (*DeleteEnvironmentRequest)(nil), // 12: dream11.od.environment.v1.DeleteEnvironmentRequest - (*DeleteEnvironmentResponse)(nil), // 13: dream11.od.environment.v1.DeleteEnvironmentResponse - (*IsStrictEnvironmentRequest)(nil), // 14: dream11.od.environment.v1.IsStrictEnvironmentRequest - (*IsStrictEnvironmentResponse)(nil), // 15: dream11.od.environment.v1.IsStrictEnvironmentResponse - nil, // 16: dream11.od.environment.v1.ListEnvironmentRequest.ParamsEntry - nil, // 17: dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntry - (*v1.EnvironmentSummary)(nil), // 18: dream11.od.dto.v1.EnvironmentSummary - (*v1.Environment)(nil), // 19: dream11.od.dto.v1.Environment - (*structpb.Struct)(nil), // 20: google.protobuf.Struct +var file_dream11_od_environment_v1_environment_proto_goTypes = []any{ + (*StatusEnvironmentRequest)(nil), // 0: dream11.od.environment.v1.StatusEnvironmentRequest + (*StatusEnvironmentResponse)(nil), // 1: dream11.od.environment.v1.StatusEnvironmentResponse + (*DeployedServiceStatus)(nil), // 2: dream11.od.environment.v1.DeployedServiceStatus + (*StatusEnvComponentStatus)(nil), // 3: dream11.od.environment.v1.StatusEnvComponentStatus + (*ListEnvironmentRequest)(nil), // 4: dream11.od.environment.v1.ListEnvironmentRequest + (*ListEnvironmentResponse)(nil), // 5: dream11.od.environment.v1.ListEnvironmentResponse + (*DescribeEnvironmentRequest)(nil), // 6: dream11.od.environment.v1.DescribeEnvironmentRequest + (*DescribeEnvironmentResponse)(nil), // 7: dream11.od.environment.v1.DescribeEnvironmentResponse + (*UpdateEnvironmentRequest)(nil), // 8: dream11.od.environment.v1.UpdateEnvironmentRequest + (*UpdateEnvironmentResponse)(nil), // 9: dream11.od.environment.v1.UpdateEnvironmentResponse + (*CreateEnvironmentRequest)(nil), // 10: dream11.od.environment.v1.CreateEnvironmentRequest + (*CreateEnvironmentResponse)(nil), // 11: dream11.od.environment.v1.CreateEnvironmentResponse + (*DeleteEnvironmentRequest)(nil), // 12: dream11.od.environment.v1.DeleteEnvironmentRequest + (*DeleteEnvironmentResponse)(nil), // 13: dream11.od.environment.v1.DeleteEnvironmentResponse + (*IsStrictEnvironmentRequest)(nil), // 14: dream11.od.environment.v1.IsStrictEnvironmentRequest + (*IsStrictEnvironmentResponse)(nil), // 15: dream11.od.environment.v1.IsStrictEnvironmentResponse + nil, // 16: dream11.od.environment.v1.ListEnvironmentRequest.ParamsEntry + nil, // 17: dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntry + (*v1.EnvironmentSummary)(nil), // 18: dream11.od.dto.v1.EnvironmentSummary + (*v1.Environment)(nil), // 19: dream11.od.dto.v1.Environment + (*structpb.Struct)(nil), // 20: google.protobuf.Struct + (*v11.GetProviderAccountResponse)(nil), // 21: dream11.oam.provideraccount.v1.GetProviderAccountResponse } var file_dream11_od_environment_v1_environment_proto_depIdxs = []int32{ 2, // 0: dream11.od.environment.v1.StatusEnvironmentResponse.services_status:type_name -> dream11.od.environment.v1.DeployedServiceStatus @@ -1105,25 +954,26 @@ var file_dream11_od_environment_v1_environment_proto_depIdxs = []int32{ 17, // 4: dream11.od.environment.v1.DescribeEnvironmentRequest.params:type_name -> dream11.od.environment.v1.DescribeEnvironmentRequest.ParamsEntry 19, // 5: dream11.od.environment.v1.DescribeEnvironmentResponse.environment:type_name -> dream11.od.dto.v1.Environment 20, // 6: dream11.od.environment.v1.UpdateEnvironmentRequest.data:type_name -> google.protobuf.Struct - 4, // 7: dream11.od.environment.v1.EnvironmentService.ListEnvironment:input_type -> dream11.od.environment.v1.ListEnvironmentRequest - 6, // 8: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:input_type -> dream11.od.environment.v1.DescribeEnvironmentRequest - 8, // 9: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:input_type -> dream11.od.environment.v1.UpdateEnvironmentRequest - 10, // 10: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:input_type -> dream11.od.environment.v1.CreateEnvironmentRequest - 12, // 11: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:input_type -> dream11.od.environment.v1.DeleteEnvironmentRequest - 0, // 12: dream11.od.environment.v1.EnvironmentService.StatusEnvironment:input_type -> dream11.od.environment.v1.StatusEnvironmentRequest - 14, // 13: dream11.od.environment.v1.EnvironmentService.IsStrictEnvironment:input_type -> dream11.od.environment.v1.IsStrictEnvironmentRequest - 5, // 14: dream11.od.environment.v1.EnvironmentService.ListEnvironment:output_type -> dream11.od.environment.v1.ListEnvironmentResponse - 7, // 15: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:output_type -> dream11.od.environment.v1.DescribeEnvironmentResponse - 9, // 16: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:output_type -> dream11.od.environment.v1.UpdateEnvironmentResponse - 11, // 17: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:output_type -> dream11.od.environment.v1.CreateEnvironmentResponse - 13, // 18: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:output_type -> dream11.od.environment.v1.DeleteEnvironmentResponse - 1, // 19: dream11.od.environment.v1.EnvironmentService.StatusEnvironment:output_type -> dream11.od.environment.v1.StatusEnvironmentResponse - 15, // 20: dream11.od.environment.v1.EnvironmentService.IsStrictEnvironment:output_type -> dream11.od.environment.v1.IsStrictEnvironmentResponse - 14, // [14:21] is the sub-list for method output_type - 7, // [7:14] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name + 21, // 7: dream11.od.environment.v1.CreateEnvironmentRequest.account_details:type_name -> dream11.oam.provideraccount.v1.GetProviderAccountResponse + 4, // 8: dream11.od.environment.v1.EnvironmentService.ListEnvironment:input_type -> dream11.od.environment.v1.ListEnvironmentRequest + 6, // 9: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:input_type -> dream11.od.environment.v1.DescribeEnvironmentRequest + 8, // 10: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:input_type -> dream11.od.environment.v1.UpdateEnvironmentRequest + 10, // 11: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:input_type -> dream11.od.environment.v1.CreateEnvironmentRequest + 12, // 12: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:input_type -> dream11.od.environment.v1.DeleteEnvironmentRequest + 0, // 13: dream11.od.environment.v1.EnvironmentService.StatusEnvironment:input_type -> dream11.od.environment.v1.StatusEnvironmentRequest + 14, // 14: dream11.od.environment.v1.EnvironmentService.IsStrictEnvironment:input_type -> dream11.od.environment.v1.IsStrictEnvironmentRequest + 5, // 15: dream11.od.environment.v1.EnvironmentService.ListEnvironment:output_type -> dream11.od.environment.v1.ListEnvironmentResponse + 7, // 16: dream11.od.environment.v1.EnvironmentService.DescribeEnvironment:output_type -> dream11.od.environment.v1.DescribeEnvironmentResponse + 9, // 17: dream11.od.environment.v1.EnvironmentService.UpdateEnvironment:output_type -> dream11.od.environment.v1.UpdateEnvironmentResponse + 11, // 18: dream11.od.environment.v1.EnvironmentService.CreateEnvironment:output_type -> dream11.od.environment.v1.CreateEnvironmentResponse + 13, // 19: dream11.od.environment.v1.EnvironmentService.DeleteEnvironment:output_type -> dream11.od.environment.v1.DeleteEnvironmentResponse + 1, // 20: dream11.od.environment.v1.EnvironmentService.StatusEnvironment:output_type -> dream11.od.environment.v1.StatusEnvironmentResponse + 15, // 21: dream11.od.environment.v1.EnvironmentService.IsStrictEnvironment:output_type -> dream11.od.environment.v1.IsStrictEnvironmentResponse + 15, // [15:22] is the sub-list for method output_type + 8, // [8:15] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_dream11_od_environment_v1_environment_proto_init() } @@ -1131,205 +981,12 @@ func file_dream11_od_environment_v1_environment_proto_init() { if File_dream11_od_environment_v1_environment_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_environment_v1_environment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployedServiceStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusEnvComponentStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DescribeEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsStrictEnvironmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_environment_v1_environment_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsStrictEnvironmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } + file_dream11_od_environment_v1_environment_proto_msgTypes[10].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_environment_v1_environment_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_environment_v1_environment_proto_rawDesc), len(file_dream11_od_environment_v1_environment_proto_rawDesc)), NumEnums: 0, NumMessages: 18, NumExtensions: 0, @@ -1340,7 +997,6 @@ func file_dream11_od_environment_v1_environment_proto_init() { MessageInfos: file_dream11_od_environment_v1_environment_proto_msgTypes, }.Build() File_dream11_od_environment_v1_environment_proto = out.File - file_dream11_od_environment_v1_environment_proto_rawDesc = nil file_dream11_od_environment_v1_environment_proto_goTypes = nil file_dream11_od_environment_v1_environment_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go b/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go index 513b7b7a..42844c08 100644 --- a/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go +++ b/proto/gen/go/dream11/od/environment/v1/environment_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.29.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.28.3 // source: dream11/od/environment/v1/environment.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( EnvironmentService_ListEnvironment_FullMethodName = "/dream11.od.environment.v1.EnvironmentService/ListEnvironment" @@ -35,9 +35,9 @@ type EnvironmentServiceClient interface { ListEnvironment(ctx context.Context, in *ListEnvironmentRequest, opts ...grpc.CallOption) (*ListEnvironmentResponse, error) DescribeEnvironment(ctx context.Context, in *DescribeEnvironmentRequest, opts ...grpc.CallOption) (*DescribeEnvironmentResponse, error) UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*UpdateEnvironmentResponse, error) - CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_CreateEnvironmentClient, error) - DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_DeleteEnvironmentClient, error) - StatusEnvironment(ctx context.Context, in *StatusEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_StatusEnvironmentClient, error) + CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CreateEnvironmentResponse], error) + DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DeleteEnvironmentResponse], error) + StatusEnvironment(ctx context.Context, in *StatusEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StatusEnvironmentResponse], error) IsStrictEnvironment(ctx context.Context, in *IsStrictEnvironmentRequest, opts ...grpc.CallOption) (*IsStrictEnvironmentResponse, error) } @@ -50,8 +50,9 @@ func NewEnvironmentServiceClient(cc grpc.ClientConnInterface) EnvironmentService } func (c *environmentServiceClient) ListEnvironment(ctx context.Context, in *ListEnvironmentRequest, opts ...grpc.CallOption) (*ListEnvironmentResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ListEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_ListEnvironment_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, EnvironmentService_ListEnvironment_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -59,8 +60,9 @@ func (c *environmentServiceClient) ListEnvironment(ctx context.Context, in *List } func (c *environmentServiceClient) DescribeEnvironment(ctx context.Context, in *DescribeEnvironmentRequest, opts ...grpc.CallOption) (*DescribeEnvironmentResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DescribeEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_DescribeEnvironment_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, EnvironmentService_DescribeEnvironment_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -68,20 +70,22 @@ func (c *environmentServiceClient) DescribeEnvironment(ctx context.Context, in * } func (c *environmentServiceClient) UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*UpdateEnvironmentResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_UpdateEnvironment_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, EnvironmentService_UpdateEnvironment_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *environmentServiceClient) CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_CreateEnvironmentClient, error) { - stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[0], EnvironmentService_CreateEnvironment_FullMethodName, opts...) +func (c *environmentServiceClient) CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CreateEnvironmentResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[0], EnvironmentService_CreateEnvironment_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &environmentServiceCreateEnvironmentClient{stream} + x := &grpc.GenericClientStream[CreateEnvironmentRequest, CreateEnvironmentResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -91,29 +95,16 @@ func (c *environmentServiceClient) CreateEnvironment(ctx context.Context, in *Cr return x, nil } -type EnvironmentService_CreateEnvironmentClient interface { - Recv() (*CreateEnvironmentResponse, error) - grpc.ClientStream -} - -type environmentServiceCreateEnvironmentClient struct { - grpc.ClientStream -} - -func (x *environmentServiceCreateEnvironmentClient) Recv() (*CreateEnvironmentResponse, error) { - m := new(CreateEnvironmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_CreateEnvironmentClient = grpc.ServerStreamingClient[CreateEnvironmentResponse] -func (c *environmentServiceClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_DeleteEnvironmentClient, error) { - stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[1], EnvironmentService_DeleteEnvironment_FullMethodName, opts...) +func (c *environmentServiceClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DeleteEnvironmentResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[1], EnvironmentService_DeleteEnvironment_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &environmentServiceDeleteEnvironmentClient{stream} + x := &grpc.GenericClientStream[DeleteEnvironmentRequest, DeleteEnvironmentResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -123,29 +114,16 @@ func (c *environmentServiceClient) DeleteEnvironment(ctx context.Context, in *De return x, nil } -type EnvironmentService_DeleteEnvironmentClient interface { - Recv() (*DeleteEnvironmentResponse, error) - grpc.ClientStream -} - -type environmentServiceDeleteEnvironmentClient struct { - grpc.ClientStream -} - -func (x *environmentServiceDeleteEnvironmentClient) Recv() (*DeleteEnvironmentResponse, error) { - m := new(DeleteEnvironmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_DeleteEnvironmentClient = grpc.ServerStreamingClient[DeleteEnvironmentResponse] -func (c *environmentServiceClient) StatusEnvironment(ctx context.Context, in *StatusEnvironmentRequest, opts ...grpc.CallOption) (EnvironmentService_StatusEnvironmentClient, error) { - stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[2], EnvironmentService_StatusEnvironment_FullMethodName, opts...) +func (c *environmentServiceClient) StatusEnvironment(ctx context.Context, in *StatusEnvironmentRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StatusEnvironmentResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &EnvironmentService_ServiceDesc.Streams[2], EnvironmentService_StatusEnvironment_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &environmentServiceStatusEnvironmentClient{stream} + x := &grpc.GenericClientStream[StatusEnvironmentRequest, StatusEnvironmentResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -155,26 +133,13 @@ func (c *environmentServiceClient) StatusEnvironment(ctx context.Context, in *St return x, nil } -type EnvironmentService_StatusEnvironmentClient interface { - Recv() (*StatusEnvironmentResponse, error) - grpc.ClientStream -} - -type environmentServiceStatusEnvironmentClient struct { - grpc.ClientStream -} - -func (x *environmentServiceStatusEnvironmentClient) Recv() (*StatusEnvironmentResponse, error) { - m := new(StatusEnvironmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_StatusEnvironmentClient = grpc.ServerStreamingClient[StatusEnvironmentResponse] func (c *environmentServiceClient) IsStrictEnvironment(ctx context.Context, in *IsStrictEnvironmentRequest, opts ...grpc.CallOption) (*IsStrictEnvironmentResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(IsStrictEnvironmentResponse) - err := c.cc.Invoke(ctx, EnvironmentService_IsStrictEnvironment_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, EnvironmentService_IsStrictEnvironment_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -183,21 +148,24 @@ func (c *environmentServiceClient) IsStrictEnvironment(ctx context.Context, in * // EnvironmentServiceServer is the server API for EnvironmentService service. // All implementations must embed UnimplementedEnvironmentServiceServer -// for forward compatibility +// for forward compatibility. type EnvironmentServiceServer interface { ListEnvironment(context.Context, *ListEnvironmentRequest) (*ListEnvironmentResponse, error) DescribeEnvironment(context.Context, *DescribeEnvironmentRequest) (*DescribeEnvironmentResponse, error) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*UpdateEnvironmentResponse, error) - CreateEnvironment(*CreateEnvironmentRequest, EnvironmentService_CreateEnvironmentServer) error - DeleteEnvironment(*DeleteEnvironmentRequest, EnvironmentService_DeleteEnvironmentServer) error - StatusEnvironment(*StatusEnvironmentRequest, EnvironmentService_StatusEnvironmentServer) error + CreateEnvironment(*CreateEnvironmentRequest, grpc.ServerStreamingServer[CreateEnvironmentResponse]) error + DeleteEnvironment(*DeleteEnvironmentRequest, grpc.ServerStreamingServer[DeleteEnvironmentResponse]) error + StatusEnvironment(*StatusEnvironmentRequest, grpc.ServerStreamingServer[StatusEnvironmentResponse]) error IsStrictEnvironment(context.Context, *IsStrictEnvironmentRequest) (*IsStrictEnvironmentResponse, error) mustEmbedUnimplementedEnvironmentServiceServer() } -// UnimplementedEnvironmentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedEnvironmentServiceServer struct { -} +// UnimplementedEnvironmentServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedEnvironmentServiceServer struct{} func (UnimplementedEnvironmentServiceServer) ListEnvironment(context.Context, *ListEnvironmentRequest) (*ListEnvironmentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListEnvironment not implemented") @@ -208,19 +176,20 @@ func (UnimplementedEnvironmentServiceServer) DescribeEnvironment(context.Context func (UnimplementedEnvironmentServiceServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*UpdateEnvironmentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateEnvironment not implemented") } -func (UnimplementedEnvironmentServiceServer) CreateEnvironment(*CreateEnvironmentRequest, EnvironmentService_CreateEnvironmentServer) error { +func (UnimplementedEnvironmentServiceServer) CreateEnvironment(*CreateEnvironmentRequest, grpc.ServerStreamingServer[CreateEnvironmentResponse]) error { return status.Errorf(codes.Unimplemented, "method CreateEnvironment not implemented") } -func (UnimplementedEnvironmentServiceServer) DeleteEnvironment(*DeleteEnvironmentRequest, EnvironmentService_DeleteEnvironmentServer) error { +func (UnimplementedEnvironmentServiceServer) DeleteEnvironment(*DeleteEnvironmentRequest, grpc.ServerStreamingServer[DeleteEnvironmentResponse]) error { return status.Errorf(codes.Unimplemented, "method DeleteEnvironment not implemented") } -func (UnimplementedEnvironmentServiceServer) StatusEnvironment(*StatusEnvironmentRequest, EnvironmentService_StatusEnvironmentServer) error { +func (UnimplementedEnvironmentServiceServer) StatusEnvironment(*StatusEnvironmentRequest, grpc.ServerStreamingServer[StatusEnvironmentResponse]) error { return status.Errorf(codes.Unimplemented, "method StatusEnvironment not implemented") } func (UnimplementedEnvironmentServiceServer) IsStrictEnvironment(context.Context, *IsStrictEnvironmentRequest) (*IsStrictEnvironmentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsStrictEnvironment not implemented") } func (UnimplementedEnvironmentServiceServer) mustEmbedUnimplementedEnvironmentServiceServer() {} +func (UnimplementedEnvironmentServiceServer) testEmbeddedByValue() {} // UnsafeEnvironmentServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to EnvironmentServiceServer will @@ -230,6 +199,13 @@ type UnsafeEnvironmentServiceServer interface { } func RegisterEnvironmentServiceServer(s grpc.ServiceRegistrar, srv EnvironmentServiceServer) { + // If the following call pancis, it indicates UnimplementedEnvironmentServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&EnvironmentService_ServiceDesc, srv) } @@ -292,63 +268,33 @@ func _EnvironmentService_CreateEnvironment_Handler(srv interface{}, stream grpc. if err := stream.RecvMsg(m); err != nil { return err } - return srv.(EnvironmentServiceServer).CreateEnvironment(m, &environmentServiceCreateEnvironmentServer{stream}) -} - -type EnvironmentService_CreateEnvironmentServer interface { - Send(*CreateEnvironmentResponse) error - grpc.ServerStream + return srv.(EnvironmentServiceServer).CreateEnvironment(m, &grpc.GenericServerStream[CreateEnvironmentRequest, CreateEnvironmentResponse]{ServerStream: stream}) } -type environmentServiceCreateEnvironmentServer struct { - grpc.ServerStream -} - -func (x *environmentServiceCreateEnvironmentServer) Send(m *CreateEnvironmentResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_CreateEnvironmentServer = grpc.ServerStreamingServer[CreateEnvironmentResponse] func _EnvironmentService_DeleteEnvironment_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(DeleteEnvironmentRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(EnvironmentServiceServer).DeleteEnvironment(m, &environmentServiceDeleteEnvironmentServer{stream}) + return srv.(EnvironmentServiceServer).DeleteEnvironment(m, &grpc.GenericServerStream[DeleteEnvironmentRequest, DeleteEnvironmentResponse]{ServerStream: stream}) } -type EnvironmentService_DeleteEnvironmentServer interface { - Send(*DeleteEnvironmentResponse) error - grpc.ServerStream -} - -type environmentServiceDeleteEnvironmentServer struct { - grpc.ServerStream -} - -func (x *environmentServiceDeleteEnvironmentServer) Send(m *DeleteEnvironmentResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_DeleteEnvironmentServer = grpc.ServerStreamingServer[DeleteEnvironmentResponse] func _EnvironmentService_StatusEnvironment_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(StatusEnvironmentRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(EnvironmentServiceServer).StatusEnvironment(m, &environmentServiceStatusEnvironmentServer{stream}) + return srv.(EnvironmentServiceServer).StatusEnvironment(m, &grpc.GenericServerStream[StatusEnvironmentRequest, StatusEnvironmentResponse]{ServerStream: stream}) } -type EnvironmentService_StatusEnvironmentServer interface { - Send(*StatusEnvironmentResponse) error - grpc.ServerStream -} - -type environmentServiceStatusEnvironmentServer struct { - grpc.ServerStream -} - -func (x *environmentServiceStatusEnvironmentServer) Send(m *StatusEnvironmentResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type EnvironmentService_StatusEnvironmentServer = grpc.ServerStreamingServer[StatusEnvironmentResponse] func _EnvironmentService_IsStrictEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(IsStrictEnvironmentRequest) diff --git a/proto/gen/go/dream11/od/logs/v1/logs.pb.go b/proto/gen/go/dream11/od/logs/v1/logs.pb.go index 82656e0b..cc4d14f6 100644 --- a/proto/gen/go/dream11/od/logs/v1/logs.pb.go +++ b/proto/gen/go/dream11/od/logs/v1/logs.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/logs/v1/logs.proto package v1 @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,24 +22,21 @@ const ( ) type GetLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` - Follow *bool `protobuf:"varint,2,opt,name=follow,proto3,oneof" json:"follow,omitempty"` - ServiceName *string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"` - ComponentName *string `protobuf:"bytes,4,opt,name=component_name,json=componentName,proto3,oneof" json:"component_name,omitempty"` - SearchAfterParams []int64 `protobuf:"varint,5,rep,packed,name=search_after_params,json=searchAfterParams,proto3" json:"search_after_params,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` + Follow *bool `protobuf:"varint,2,opt,name=follow,proto3,oneof" json:"follow,omitempty"` + ServiceName *string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"` + ComponentName *string `protobuf:"bytes,4,opt,name=component_name,json=componentName,proto3,oneof" json:"component_name,omitempty"` + SearchAfterParams []int64 `protobuf:"varint,5,rep,packed,name=search_after_params,json=searchAfterParams,proto3" json:"search_after_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLogsRequest) Reset() { *x = GetLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLogsRequest) String() string { @@ -49,7 +47,7 @@ func (*GetLogsRequest) ProtoMessage() {} func (x *GetLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_logs_v1_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) @@ -100,20 +98,17 @@ func (x *GetLogsRequest) GetSearchAfterParams() []int64 { } type GetLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` unknownFields protoimpl.UnknownFields - - Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetLogsResponse) Reset() { *x = GetLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLogsResponse) String() string { @@ -124,7 +119,7 @@ func (*GetLogsResponse) ProtoMessage() {} func (x *GetLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_logs_v1_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) @@ -147,23 +142,20 @@ func (x *GetLogsResponse) GetLogs() []*Log { } type Log struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Level *string `protobuf:"bytes,2,opt,name=level,proto3,oneof" json:"level,omitempty"` - Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` - SearchAfterParams []int64 `protobuf:"varint,4,rep,packed,name=search_after_params,json=searchAfterParams,proto3" json:"search_after_params,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Level *string `protobuf:"bytes,2,opt,name=level,proto3,oneof" json:"level,omitempty"` + Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"` + SearchAfterParams []int64 `protobuf:"varint,4,rep,packed,name=search_after_params,json=searchAfterParams,proto3" json:"search_after_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Log) Reset() { *x = Log{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_logs_v1_logs_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Log) String() string { @@ -174,7 +166,7 @@ func (*Log) ProtoMessage() {} func (x *Log) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_logs_v1_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) @@ -219,68 +211,45 @@ func (x *Log) GetSearchAfterParams() []int64 { var File_dream11_od_logs_v1_logs_proto protoreflect.FileDescriptor -var file_dream11_od_logs_v1_logs_proto_rawDesc = []byte{ - 0x0a, 0x1d, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x6c, 0x6f, 0x67, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x12, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x6c, 0x6f, 0x67, 0x73, - 0x2e, 0x76, 0x31, 0x22, 0xfb, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, - 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x00, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x88, 0x01, 0x01, 0x12, 0x26, - 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, - 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, - 0x11, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x66, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x42, 0x0f, 0x0a, - 0x0d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x11, - 0x0a, 0x0f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x3e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, - 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x21, - 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x48, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x88, 0x01, - 0x01, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x66, 0x74, 0x65, - 0x72, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x11, - 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x66, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x65, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, - 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4c, - 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, - 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2f, 0x6f, 0x64, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} +const file_dream11_od_logs_v1_logs_proto_rawDesc = "" + + "\n" + + "\x1ddream11/od/logs/v1/logs.proto\x12\x12dream11.od.logs.v1\"\xfb\x01\n" + + "\x0eGetLogsRequest\x12\x19\n" + + "\btrace_id\x18\x01 \x01(\tR\atraceId\x12\x1b\n" + + "\x06follow\x18\x02 \x01(\bH\x00R\x06follow\x88\x01\x01\x12&\n" + + "\fservice_name\x18\x03 \x01(\tH\x01R\vserviceName\x88\x01\x01\x12*\n" + + "\x0ecomponent_name\x18\x04 \x01(\tH\x02R\rcomponentName\x88\x01\x01\x12.\n" + + "\x13search_after_params\x18\x05 \x03(\x03R\x11searchAfterParamsB\t\n" + + "\a_followB\x0f\n" + + "\r_service_nameB\x11\n" + + "\x0f_component_name\">\n" + + "\x0fGetLogsResponse\x12+\n" + + "\x04logs\x18\x01 \x03(\v2\x17.dream11.od.logs.v1.LogR\x04logs\"\xa5\x01\n" + + "\x03Log\x12\x18\n" + + "\amessage\x18\x01 \x01(\tR\amessage\x12\x19\n" + + "\x05level\x18\x02 \x01(\tH\x00R\x05level\x88\x01\x01\x12!\n" + + "\ttimestamp\x18\x03 \x01(\x03H\x01R\ttimestamp\x88\x01\x01\x12.\n" + + "\x13search_after_params\x18\x04 \x03(\x03R\x11searchAfterParamsB\b\n" + + "\x06_levelB\f\n" + + "\n" + + "_timestamp2e\n" + + "\vLogsService\x12V\n" + + "\aGetLogs\x12\".dream11.od.logs.v1.GetLogsRequest\x1a#.dream11.od.logs.v1.GetLogsResponse\"\x000\x01B9Z7github.com/dream11/odin/proto/gen/go/dream11/od/logs/v1b\x06proto3" var ( file_dream11_od_logs_v1_logs_proto_rawDescOnce sync.Once - file_dream11_od_logs_v1_logs_proto_rawDescData = file_dream11_od_logs_v1_logs_proto_rawDesc + file_dream11_od_logs_v1_logs_proto_rawDescData []byte ) func file_dream11_od_logs_v1_logs_proto_rawDescGZIP() []byte { file_dream11_od_logs_v1_logs_proto_rawDescOnce.Do(func() { - file_dream11_od_logs_v1_logs_proto_rawDescData = protoimpl.X.CompressGZIP(file_dream11_od_logs_v1_logs_proto_rawDescData) + file_dream11_od_logs_v1_logs_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dream11_od_logs_v1_logs_proto_rawDesc), len(file_dream11_od_logs_v1_logs_proto_rawDesc))) }) return file_dream11_od_logs_v1_logs_proto_rawDescData } var file_dream11_od_logs_v1_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_dream11_od_logs_v1_logs_proto_goTypes = []interface{}{ +var file_dream11_od_logs_v1_logs_proto_goTypes = []any{ (*GetLogsRequest)(nil), // 0: dream11.od.logs.v1.GetLogsRequest (*GetLogsResponse)(nil), // 1: dream11.od.logs.v1.GetLogsResponse (*Log)(nil), // 2: dream11.od.logs.v1.Log @@ -301,51 +270,13 @@ func file_dream11_od_logs_v1_logs_proto_init() { if File_dream11_od_logs_v1_logs_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_dream11_od_logs_v1_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_logs_v1_logs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_dream11_od_logs_v1_logs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Log); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_dream11_od_logs_v1_logs_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_dream11_od_logs_v1_logs_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_dream11_od_logs_v1_logs_proto_msgTypes[0].OneofWrappers = []any{} + file_dream11_od_logs_v1_logs_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_dream11_od_logs_v1_logs_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_dream11_od_logs_v1_logs_proto_rawDesc), len(file_dream11_od_logs_v1_logs_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -356,7 +287,6 @@ func file_dream11_od_logs_v1_logs_proto_init() { MessageInfos: file_dream11_od_logs_v1_logs_proto_msgTypes, }.Build() File_dream11_od_logs_v1_logs_proto = out.File - file_dream11_od_logs_v1_logs_proto_rawDesc = nil file_dream11_od_logs_v1_logs_proto_goTypes = nil file_dream11_od_logs_v1_logs_proto_depIdxs = nil } diff --git a/proto/gen/go/dream11/od/logs/v1/logs_grpc.pb.go b/proto/gen/go/dream11/od/logs/v1/logs_grpc.pb.go index 8169c75e..db6a7bf2 100644 --- a/proto/gen/go/dream11/od/logs/v1/logs_grpc.pb.go +++ b/proto/gen/go/dream11/od/logs/v1/logs_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.29.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.28.3 // source: dream11/od/logs/v1/logs.proto package v1 @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( LogsService_GetLogs_FullMethodName = "/dream11.od.logs.v1.LogsService/GetLogs" @@ -26,7 +26,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type LogsServiceClient interface { - GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (LogsService_GetLogsClient, error) + GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetLogsResponse], error) } type logsServiceClient struct { @@ -37,12 +37,13 @@ func NewLogsServiceClient(cc grpc.ClientConnInterface) LogsServiceClient { return &logsServiceClient{cc} } -func (c *logsServiceClient) GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (LogsService_GetLogsClient, error) { - stream, err := c.cc.NewStream(ctx, &LogsService_ServiceDesc.Streams[0], LogsService_GetLogs_FullMethodName, opts...) +func (c *logsServiceClient) GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetLogsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &LogsService_ServiceDesc.Streams[0], LogsService_GetLogs_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &logsServiceGetLogsClient{stream} + x := &grpc.GenericClientStream[GetLogsRequest, GetLogsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -52,39 +53,29 @@ func (c *logsServiceClient) GetLogs(ctx context.Context, in *GetLogsRequest, opt return x, nil } -type LogsService_GetLogsClient interface { - Recv() (*GetLogsResponse, error) - grpc.ClientStream -} - -type logsServiceGetLogsClient struct { - grpc.ClientStream -} - -func (x *logsServiceGetLogsClient) Recv() (*GetLogsResponse, error) { - m := new(GetLogsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type LogsService_GetLogsClient = grpc.ServerStreamingClient[GetLogsResponse] // LogsServiceServer is the server API for LogsService service. // All implementations must embed UnimplementedLogsServiceServer -// for forward compatibility +// for forward compatibility. type LogsServiceServer interface { - GetLogs(*GetLogsRequest, LogsService_GetLogsServer) error + GetLogs(*GetLogsRequest, grpc.ServerStreamingServer[GetLogsResponse]) error mustEmbedUnimplementedLogsServiceServer() } -// UnimplementedLogsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedLogsServiceServer struct { -} +// UnimplementedLogsServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedLogsServiceServer struct{} -func (UnimplementedLogsServiceServer) GetLogs(*GetLogsRequest, LogsService_GetLogsServer) error { +func (UnimplementedLogsServiceServer) GetLogs(*GetLogsRequest, grpc.ServerStreamingServer[GetLogsResponse]) error { return status.Errorf(codes.Unimplemented, "method GetLogs not implemented") } func (UnimplementedLogsServiceServer) mustEmbedUnimplementedLogsServiceServer() {} +func (UnimplementedLogsServiceServer) testEmbeddedByValue() {} // UnsafeLogsServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to LogsServiceServer will @@ -94,6 +85,13 @@ type UnsafeLogsServiceServer interface { } func RegisterLogsServiceServer(s grpc.ServiceRegistrar, srv LogsServiceServer) { + // If the following call pancis, it indicates UnimplementedLogsServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&LogsService_ServiceDesc, srv) } @@ -102,21 +100,11 @@ func _LogsService_GetLogs_Handler(srv interface{}, stream grpc.ServerStream) err if err := stream.RecvMsg(m); err != nil { return err } - return srv.(LogsServiceServer).GetLogs(m, &logsServiceGetLogsServer{stream}) -} - -type LogsService_GetLogsServer interface { - Send(*GetLogsResponse) error - grpc.ServerStream + return srv.(LogsServiceServer).GetLogs(m, &grpc.GenericServerStream[GetLogsRequest, GetLogsResponse]{ServerStream: stream}) } -type logsServiceGetLogsServer struct { - grpc.ServerStream -} - -func (x *logsServiceGetLogsServer) Send(m *GetLogsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type LogsService_GetLogsServer = grpc.ServerStreamingServer[GetLogsResponse] // LogsService_ServiceDesc is the grpc.ServiceDesc for LogsService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/proto/gen/go/dream11/od/service/v1/service.pb.go b/proto/gen/go/dream11/od/service/v1/service.pb.go index 18e28896..947f19a9 100644 --- a/proto/gen/go/dream11/od/service/v1/service.pb.go +++ b/proto/gen/go/dream11/od/service/v1/service.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v5.28.3 // source: dream11/od/service/v1/service.proto package v1 @@ -13,6 +13,7 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,22 +24,19 @@ const ( ) type DeployServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` ServiceDefinition *v1.ServiceDefinition `protobuf:"bytes,2,opt,name=service_definition,json=serviceDefinition,proto3" json:"service_definition,omitempty"` ProvisioningConfig *v1.ProvisioningConfig `protobuf:"bytes,3,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployServiceRequest) Reset() { *x = DeployServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployServiceRequest) String() string { @@ -49,7 +47,7 @@ func (*DeployServiceRequest) ProtoMessage() {} func (x *DeployServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -86,24 +84,21 @@ func (x *DeployServiceRequest) GetProvisioningConfig() *v1.ProvisioningConfig { } type ServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceStatus *ServiceStatus `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ComponentsStatus []*ComponentStatus `protobuf:"bytes,2,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceStatus *ServiceStatus `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` + ComponentsStatus []*ComponentStatus `protobuf:"bytes,2,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceResponse) Reset() { *x = ServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceResponse) String() string { @@ -114,7 +109,7 @@ func (*ServiceResponse) ProtoMessage() {} func (x *ServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -165,20 +160,17 @@ func (x *ServiceResponse) GetVersion() string { } type DeployReleasedServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployReleasedServiceResponse) Reset() { *x = DeployReleasedServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployReleasedServiceResponse) String() string { @@ -189,7 +181,7 @@ func (*DeployReleasedServiceResponse) ProtoMessage() {} func (x *DeployReleasedServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -212,23 +204,20 @@ func (x *DeployReleasedServiceResponse) GetServiceResponse() *ServiceResponse { } type ServiceIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ServiceVersion string `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` - Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` - ForceFlag bool `protobuf:"varint,4,opt,name=force_flag,json=forceFlag,proto3" json:"force_flag,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ServiceVersion string `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` + Labels string `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"` + ForceFlag bool `protobuf:"varint,4,opt,name=force_flag,json=forceFlag,proto3" json:"force_flag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceIdentifier) Reset() { *x = ServiceIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceIdentifier) String() string { @@ -239,7 +228,7 @@ func (*ServiceIdentifier) ProtoMessage() {} func (x *ServiceIdentifier) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -283,21 +272,18 @@ func (x *ServiceIdentifier) GetForceFlag() bool { } type DeployReleasedServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` - EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` + EnvName string `protobuf:"bytes,3,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployReleasedServiceRequest) Reset() { *x = DeployReleasedServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployReleasedServiceRequest) String() string { @@ -308,7 +294,7 @@ func (*DeployReleasedServiceRequest) ProtoMessage() {} func (x *DeployReleasedServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -338,22 +324,19 @@ func (x *DeployReleasedServiceRequest) GetEnvName() string { } type DeployServiceSetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Services []*ServiceIdentifier `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Services []*ServiceIdentifier `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployServiceSetRequest) Reset() { *x = DeployServiceSetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployServiceSetRequest) String() string { @@ -364,7 +347,7 @@ func (*DeployServiceSetRequest) ProtoMessage() {} func (x *DeployServiceSetRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -401,20 +384,17 @@ func (x *DeployServiceSetRequest) GetServices() []*ServiceIdentifier { } type DeployServiceSetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*DeployServiceSetServiceResponse `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*DeployServiceSetServiceResponse `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeployServiceSetResponse) Reset() { *x = DeployServiceSetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployServiceSetResponse) String() string { @@ -425,7 +405,7 @@ func (*DeployServiceSetResponse) ProtoMessage() {} func (x *DeployServiceSetResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -448,21 +428,18 @@ func (x *DeployServiceSetResponse) GetServices() []*DeployServiceSetServiceRespo } type DeployServiceSetServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` - ServiceResponse *ServiceResponse `protobuf:"bytes,3,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceIdentifier *ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"` + ServiceResponse *ServiceResponse `protobuf:"bytes,3,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployServiceSetServiceResponse) Reset() { *x = DeployServiceSetServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployServiceSetServiceResponse) String() string { @@ -473,7 +450,7 @@ func (*DeployServiceSetServiceResponse) ProtoMessage() {} func (x *DeployServiceSetServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -503,20 +480,17 @@ func (x *DeployServiceSetServiceResponse) GetServiceResponse() *ServiceResponse } type DeployServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeployServiceResponse) Reset() { *x = DeployServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeployServiceResponse) String() string { @@ -527,7 +501,7 @@ func (*DeployServiceResponse) ProtoMessage() {} func (x *DeployServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -550,22 +524,19 @@ func (x *DeployServiceResponse) GetServiceResponse() *ServiceResponse { } type ServiceStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceStatus string `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` + ServiceAction string `protobuf:"bytes,2,opt,name=service_action,json=serviceAction,proto3" json:"service_action,omitempty"` + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceStatus string `protobuf:"bytes,1,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ServiceAction string `protobuf:"bytes,2,opt,name=service_action,json=serviceAction,proto3" json:"service_action,omitempty"` - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceStatus) Reset() { *x = ServiceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceStatus) String() string { @@ -576,7 +547,7 @@ func (*ServiceStatus) ProtoMessage() {} func (x *ServiceStatus) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -613,23 +584,20 @@ func (x *ServiceStatus) GetError() string { } type ComponentStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - ComponentStatus string `protobuf:"bytes,2,opt,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` - ComponentAction string `protobuf:"bytes,3,opt,name=component_action,json=componentAction,proto3" json:"component_action,omitempty"` - Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + ComponentStatus string `protobuf:"bytes,2,opt,name=component_status,json=componentStatus,proto3" json:"component_status,omitempty"` + ComponentAction string `protobuf:"bytes,3,opt,name=component_action,json=componentAction,proto3" json:"component_action,omitempty"` + Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComponentStatus) Reset() { *x = ComponentStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentStatus) String() string { @@ -640,7 +608,7 @@ func (*ComponentStatus) ProtoMessage() {} func (x *ComponentStatus) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -684,21 +652,18 @@ func (x *ComponentStatus) GetError() string { } type ReleaseServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ServiceDefinition *v1.ServiceDefinition `protobuf:"bytes,1,opt,name=service_definition,json=serviceDefinition,proto3" json:"service_definition,omitempty"` - ProvisioningConfigs map[string]*v1.ProvisioningConfig `protobuf:"bytes,2,rep,name=provisioning_configs,json=provisioningConfigs,proto3" json:"provisioning_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ProvisioningConfigs map[string]*v1.ProvisioningConfig `protobuf:"bytes,2,rep,name=provisioning_configs,json=provisioningConfigs,proto3" json:"provisioning_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReleaseServiceRequest) Reset() { *x = ReleaseServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReleaseServiceRequest) String() string { @@ -709,7 +674,7 @@ func (*ReleaseServiceRequest) ProtoMessage() {} func (x *ReleaseServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -739,23 +704,20 @@ func (x *ReleaseServiceRequest) GetProvisioningConfigs() map[string]*v1.Provisio } type ReleaseServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProvisioningType string `protobuf:"bytes,1,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` - ServiceStatus *ServiceStatus `protobuf:"bytes,2,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` - ComponentsStatus []*ComponentStatus `protobuf:"bytes,3,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProvisioningType string `protobuf:"bytes,1,opt,name=provisioning_type,json=provisioningType,proto3" json:"provisioning_type,omitempty"` + ServiceStatus *ServiceStatus `protobuf:"bytes,2,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"` + ComponentsStatus []*ComponentStatus `protobuf:"bytes,3,rep,name=components_status,json=componentsStatus,proto3" json:"components_status,omitempty"` + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReleaseServiceResponse) Reset() { *x = ReleaseServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReleaseServiceResponse) String() string { @@ -766,7 +728,7 @@ func (*ReleaseServiceResponse) ProtoMessage() {} func (x *ReleaseServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -810,25 +772,22 @@ func (x *ReleaseServiceResponse) GetMessage() string { } type OperateServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - IsComponentOperation bool `protobuf:"varint,4,opt,name=is_component_operation,json=isComponentOperation,proto3" json:"is_component_operation,omitempty"` - Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` - Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3,oneof" json:"config,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + IsComponentOperation bool `protobuf:"varint,4,opt,name=is_component_operation,json=isComponentOperation,proto3" json:"is_component_operation,omitempty"` + Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` + Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3,oneof" json:"config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OperateServiceRequest) Reset() { *x = OperateServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OperateServiceRequest) String() string { @@ -839,7 +798,7 @@ func (*OperateServiceRequest) ProtoMessage() {} func (x *OperateServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_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) @@ -897,20 +856,17 @@ func (x *OperateServiceRequest) GetConfig() *structpb.Struct { } type OperateServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OperateServiceResponse) Reset() { *x = OperateServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OperateServiceResponse) String() string { @@ -921,7 +877,7 @@ func (*OperateServiceResponse) ProtoMessage() {} func (x *OperateServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -944,21 +900,18 @@ func (x *OperateServiceResponse) GetServiceResponse() *ServiceResponse { } type UndeployServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UndeployServiceRequest) Reset() { *x = UndeployServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UndeployServiceRequest) String() string { @@ -969,7 +922,7 @@ func (*UndeployServiceRequest) ProtoMessage() {} func (x *UndeployServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -999,20 +952,17 @@ func (x *UndeployServiceRequest) GetServiceName() string { } type UndeployServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceResponse *ServiceResponse `protobuf:"bytes,1,opt,name=service_response,json=serviceResponse,proto3" json:"service_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UndeployServiceResponse) Reset() { *x = UndeployServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UndeployServiceResponse) String() string { @@ -1023,7 +973,7 @@ func (*UndeployServiceResponse) ProtoMessage() {} func (x *UndeployServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1046,20 +996,17 @@ func (x *UndeployServiceResponse) GetServiceResponse() *ServiceResponse { } type ListServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*v1.ServiceMetadata `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*v1.ServiceMetadata `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListServiceResponse) Reset() { *x = ListServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListServiceResponse) String() string { @@ -1070,7 +1017,7 @@ func (*ListServiceResponse) ProtoMessage() {} func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1093,22 +1040,19 @@ func (x *ListServiceResponse) GetServices() []*v1.ServiceMetadata { } type ListServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListServiceRequest) Reset() { *x = ListServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListServiceRequest) String() string { @@ -1119,7 +1063,7 @@ func (*ListServiceRequest) ProtoMessage() {} func (x *ListServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1156,22 +1100,19 @@ func (x *ListServiceRequest) GetTags() string { } type DescribeServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Params map[string]string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Params map[string]string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *DescribeServiceRequest) Reset() { *x = DescribeServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeServiceRequest) String() string { @@ -1182,7 +1123,7 @@ func (*DescribeServiceRequest) ProtoMessage() {} func (x *DescribeServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1219,20 +1160,17 @@ func (x *DescribeServiceRequest) GetParams() map[string]string { } type DescribeServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Service *v1.Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` unknownFields protoimpl.UnknownFields - - Service *v1.Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DescribeServiceResponse) Reset() { *x = DescribeServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DescribeServiceResponse) String() string { @@ -1243,7 +1181,7 @@ func (*DescribeServiceResponse) ProtoMessage() {} func (x *DescribeServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1266,24 +1204,21 @@ func (x *DescribeServiceResponse) GetService() *v1.Service { } type OperateComponentDiffRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + OperationName string `protobuf:"bytes,4,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` + Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3,oneof" json:"config,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` - OperationName string `protobuf:"bytes,4,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` - Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3,oneof" json:"config,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OperateComponentDiffRequest) Reset() { *x = OperateComponentDiffRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OperateComponentDiffRequest) String() string { @@ -1294,7 +1229,7 @@ func (*OperateComponentDiffRequest) ProtoMessage() {} func (x *OperateComponentDiffRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1345,21 +1280,18 @@ func (x *OperateComponentDiffRequest) GetConfig() *structpb.Struct { } type OperateComponentDiffResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OldValues *structpb.Struct `protobuf:"bytes,1,opt,name=old_values,json=oldValues,proto3" json:"old_values,omitempty"` + NewValues *structpb.Struct `protobuf:"bytes,2,opt,name=new_values,json=newValues,proto3" json:"new_values,omitempty"` unknownFields protoimpl.UnknownFields - - OldValues *structpb.Struct `protobuf:"bytes,1,opt,name=old_values,json=oldValues,proto3" json:"old_values,omitempty"` - NewValues *structpb.Struct `protobuf:"bytes,2,opt,name=new_values,json=newValues,proto3" json:"new_values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OperateComponentDiffResponse) Reset() { *x = OperateComponentDiffResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OperateComponentDiffResponse) String() string { @@ -1370,7 +1302,7 @@ func (*OperateComponentDiffResponse) ProtoMessage() {} func (x *OperateComponentDiffResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1400,22 +1332,19 @@ func (x *OperateComponentDiffResponse) GetNewValues() *structpb.Struct { } type GetConflictingServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Services []*ServiceIdentifier `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Services []*ServiceIdentifier `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetConflictingServicesRequest) Reset() { *x = GetConflictingServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetConflictingServicesRequest) String() string { @@ -1426,7 +1355,7 @@ func (*GetConflictingServicesRequest) ProtoMessage() {} func (x *GetConflictingServicesRequest) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1463,20 +1392,17 @@ func (x *GetConflictingServicesRequest) GetServices() []*ServiceIdentifier { } type GetConflictingServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Services []*v1.ServiceVersionComparisonMetadata `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields - - Services []*v1.ServiceVersionComparisonMetadata `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetConflictingServicesResponse) Reset() { *x = GetConflictingServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_dream11_od_service_v1_service_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_dream11_od_service_v1_service_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetConflictingServicesResponse) String() string { @@ -1487,7 +1413,7 @@ func (*GetConflictingServicesResponse) ProtoMessage() {} func (x *GetConflictingServicesResponse) ProtoReflect() protoreflect.Message { mi := &file_dream11_od_service_v1_service_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) @@ -1511,367 +1437,135 @@ func (x *GetConflictingServicesResponse) GetServices() []*v1.ServiceVersionCompa var File_dream11_od_service_v1_service_proto protoreflect.FileDescriptor -var file_dream11_od_service_v1_service_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x14, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x53, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xfb, 0x01, 0x0a, - 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4b, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x53, 0x0a, - 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x1d, 0x44, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, - 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, - 0x01, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x63, - 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x6f, - 0x72, 0x63, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x92, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x70, 0x6c, - 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8e, 0x01, 0x0a, - 0x17, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x6e, 0x0a, - 0x18, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0xcd, 0x01, - 0x0a, 0x1f, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x57, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x0a, - 0x15, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x73, 0x0a, 0x0d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xa4, - 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, - 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xd5, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x53, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x78, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x6d, - 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x81, 0x02, - 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, - 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x53, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x91, 0x02, 0x0a, 0x15, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, - 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, - 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x34, 0x0a, 0x16, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x14, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, - 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x6b, 0x0a, 0x16, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x56, 0x0a, 0x16, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6c, 0x0a, 0x17, 0x55, 0x6e, - 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x26, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, - 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, - 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0xe3, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x51, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x39, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, - 0x17, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xea, - 0x01, 0x0a, 0x1b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, - 0x65, 0x6e, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x8e, 0x01, 0x0a, 0x1c, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, - 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x94, 0x01, 0x0a, - 0x1d, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x65, 0x6e, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x28, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x22, 0x71, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x64, 0x74, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, - 0x69, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x32, 0xc8, 0x09, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x44, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x64, 0x72, 0x65, - 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x86, 0x01, 0x0a, - 0x15, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x64, 0x72, - 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x77, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x64, 0x72, 0x65, 0x61, - 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, - 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x2c, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, - 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, - 0x01, 0x12, 0x74, 0x0a, 0x0f, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, - 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x66, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, - 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x72, 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2e, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x62, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x66, 0x66, 0x12, 0x32, 0x2e, 0x64, - 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x33, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x34, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x64, 0x72, 0x65, 0x61, 0x6d, - 0x31, 0x31, 0x2e, 0x6f, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, 0x31, 0x2f, 0x6f, 0x64, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x72, 0x65, 0x61, 0x6d, 0x31, - 0x31, 0x2f, 0x6f, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_dream11_od_service_v1_service_proto_rawDesc = "" + + "\n" + + "#dream11/od/service/v1/service.proto\x12\x15dream11.od.service.v1\x1a\x1fdream11/od/dto/v1/service.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xde\x01\n" + + "\x14DeployServiceRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12S\n" + + "\x12service_definition\x18\x02 \x01(\v2$.dream11.od.dto.v1.ServiceDefinitionR\x11serviceDefinition\x12V\n" + + "\x13provisioning_config\x18\x03 \x01(\v2%.dream11.od.dto.v1.ProvisioningConfigR\x12provisioningConfig\"\xfb\x01\n" + + "\x0fServiceResponse\x12K\n" + + "\x0eservice_status\x18\x01 \x01(\v2$.dream11.od.service.v1.ServiceStatusR\rserviceStatus\x12S\n" + + "\x11components_status\x18\x02 \x03(\v2&.dream11.od.service.v1.ComponentStatusR\x10componentsStatus\x12\x18\n" + + "\amessage\x18\x03 \x01(\tR\amessage\x12\x12\n" + + "\x04name\x18\x04 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x05 \x01(\tR\aversion\"r\n" + + "\x1dDeployReleasedServiceResponse\x12Q\n" + + "\x10service_response\x18\x01 \x01(\v2&.dream11.od.service.v1.ServiceResponseR\x0fserviceResponse\"\x96\x01\n" + + "\x11ServiceIdentifier\x12!\n" + + "\fservice_name\x18\x01 \x01(\tR\vserviceName\x12'\n" + + "\x0fservice_version\x18\x02 \x01(\tR\x0eserviceVersion\x12\x16\n" + + "\x06labels\x18\x03 \x01(\tR\x06labels\x12\x1d\n" + + "\n" + + "force_flag\x18\x04 \x01(\bR\tforceFlag\"\x92\x01\n" + + "\x1cDeployReleasedServiceRequest\x12W\n" + + "\x12service_identifier\x18\x01 \x01(\v2(.dream11.od.service.v1.ServiceIdentifierR\x11serviceIdentifier\x12\x19\n" + + "\benv_name\x18\x03 \x01(\tR\aenvName\"\x8e\x01\n" + + "\x17DeployServiceSetRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12D\n" + + "\bservices\x18\x03 \x03(\v2(.dream11.od.service.v1.ServiceIdentifierR\bservices\"n\n" + + "\x18DeployServiceSetResponse\x12R\n" + + "\bservices\x18\x01 \x03(\v26.dream11.od.service.v1.DeployServiceSetServiceResponseR\bservices\"\xcd\x01\n" + + "\x1fDeployServiceSetServiceResponse\x12W\n" + + "\x12service_identifier\x18\x01 \x01(\v2(.dream11.od.service.v1.ServiceIdentifierR\x11serviceIdentifier\x12Q\n" + + "\x10service_response\x18\x03 \x01(\v2&.dream11.od.service.v1.ServiceResponseR\x0fserviceResponse\"j\n" + + "\x15DeployServiceResponse\x12Q\n" + + "\x10service_response\x18\x01 \x01(\v2&.dream11.od.service.v1.ServiceResponseR\x0fserviceResponse\"s\n" + + "\rServiceStatus\x12%\n" + + "\x0eservice_status\x18\x01 \x01(\tR\rserviceStatus\x12%\n" + + "\x0eservice_action\x18\x02 \x01(\tR\rserviceAction\x12\x14\n" + + "\x05error\x18\x03 \x01(\tR\x05error\"\xa4\x01\n" + + "\x0fComponentStatus\x12%\n" + + "\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12)\n" + + "\x10component_status\x18\x02 \x01(\tR\x0fcomponentStatus\x12)\n" + + "\x10component_action\x18\x03 \x01(\tR\x0fcomponentAction\x12\x14\n" + + "\x05error\x18\x04 \x01(\tR\x05error\"\xd5\x02\n" + + "\x15ReleaseServiceRequest\x12S\n" + + "\x12service_definition\x18\x01 \x01(\v2$.dream11.od.dto.v1.ServiceDefinitionR\x11serviceDefinition\x12x\n" + + "\x14provisioning_configs\x18\x02 \x03(\v2E.dream11.od.service.v1.ReleaseServiceRequest.ProvisioningConfigsEntryR\x13provisioningConfigs\x1am\n" + + "\x18ProvisioningConfigsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12;\n" + + "\x05value\x18\x02 \x01(\v2%.dream11.od.dto.v1.ProvisioningConfigR\x05value:\x028\x01\"\x81\x02\n" + + "\x16ReleaseServiceResponse\x12+\n" + + "\x11provisioning_type\x18\x01 \x01(\tR\x10provisioningType\x12K\n" + + "\x0eservice_status\x18\x02 \x01(\v2$.dream11.od.service.v1.ServiceStatusR\rserviceStatus\x12S\n" + + "\x11components_status\x18\x03 \x03(\v2&.dream11.od.service.v1.ComponentStatusR\x10componentsStatus\x12\x18\n" + + "\amessage\x18\x04 \x01(\tR\amessage\"\x91\x02\n" + + "\x15OperateServiceRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12!\n" + + "\fservice_name\x18\x02 \x01(\tR\vserviceName\x12%\n" + + "\x0ecomponent_name\x18\x03 \x01(\tR\rcomponentName\x124\n" + + "\x16is_component_operation\x18\x04 \x01(\bR\x14isComponentOperation\x12\x1c\n" + + "\toperation\x18\x05 \x01(\tR\toperation\x124\n" + + "\x06config\x18\x06 \x01(\v2\x17.google.protobuf.StructH\x00R\x06config\x88\x01\x01B\t\n" + + "\a_config\"k\n" + + "\x16OperateServiceResponse\x12Q\n" + + "\x10service_response\x18\x01 \x01(\v2&.dream11.od.service.v1.ServiceResponseR\x0fserviceResponse\"V\n" + + "\x16UndeployServiceRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12!\n" + + "\fservice_name\x18\x02 \x01(\tR\vserviceName\"l\n" + + "\x17UndeployServiceResponse\x12Q\n" + + "\x10service_response\x18\x01 \x01(\v2&.dream11.od.service.v1.ServiceResponseR\x0fserviceResponse\"U\n" + + "\x13ListServiceResponse\x12>\n" + + "\bservices\x18\x01 \x03(\v2\".dream11.od.dto.v1.ServiceMetadataR\bservices\"V\n" + + "\x12ListServiceRequest\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x12\n" + + "\x04tags\x18\x03 \x01(\tR\x04tags\"\xe3\x01\n" + + "\x16DescribeServiceRequest\x12!\n" + + "\fservice_name\x18\x01 \x01(\tR\vserviceName\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12Q\n" + + "\x06params\x18\x04 \x03(\v29.dream11.od.service.v1.DescribeServiceRequest.ParamsEntryR\x06params\x1a9\n" + + "\vParamsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"O\n" + + "\x17DescribeServiceResponse\x124\n" + + "\aservice\x18\x01 \x01(\v2\x1a.dream11.od.dto.v1.ServiceR\aservice\"\xea\x01\n" + + "\x1bOperateComponentDiffRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12!\n" + + "\fservice_name\x18\x02 \x01(\tR\vserviceName\x12%\n" + + "\x0ecomponent_name\x18\x03 \x01(\tR\rcomponentName\x12%\n" + + "\x0eoperation_name\x18\x04 \x01(\tR\roperationName\x124\n" + + "\x06config\x18\x05 \x01(\v2\x17.google.protobuf.StructH\x00R\x06config\x88\x01\x01B\t\n" + + "\a_config\"\x8e\x01\n" + + "\x1cOperateComponentDiffResponse\x126\n" + + "\n" + + "old_values\x18\x01 \x01(\v2\x17.google.protobuf.StructR\toldValues\x126\n" + + "\n" + + "new_values\x18\x02 \x01(\v2\x17.google.protobuf.StructR\tnewValues\"\x94\x01\n" + + "\x1dGetConflictingServicesRequest\x12\x19\n" + + "\benv_name\x18\x01 \x01(\tR\aenvName\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12D\n" + + "\bservices\x18\x03 \x03(\v2(.dream11.od.service.v1.ServiceIdentifierR\bservices\"q\n" + + "\x1eGetConflictingServicesResponse\x12O\n" + + "\bservices\x18\x01 \x03(\v23.dream11.od.dto.v1.ServiceVersionComparisonMetadataR\bservices2\xc8\t\n" + + "\x0eServiceService\x12n\n" + + "\rDeployService\x12+.dream11.od.service.v1.DeployServiceRequest\x1a,.dream11.od.service.v1.DeployServiceResponse\"\x000\x01\x12q\n" + + "\x0eReleaseService\x12,.dream11.od.service.v1.ReleaseServiceRequest\x1a-.dream11.od.service.v1.ReleaseServiceResponse\"\x000\x01\x12\x86\x01\n" + + "\x15DeployReleasedService\x123.dream11.od.service.v1.DeployReleasedServiceRequest\x1a4.dream11.od.service.v1.DeployReleasedServiceResponse\"\x000\x01\x12w\n" + + "\x10DeployServiceSet\x12..dream11.od.service.v1.DeployServiceSetRequest\x1a/.dream11.od.service.v1.DeployServiceSetResponse\"\x000\x01\x12q\n" + + "\x0eOperateService\x12,.dream11.od.service.v1.OperateServiceRequest\x1a-.dream11.od.service.v1.OperateServiceResponse\"\x000\x01\x12t\n" + + "\x0fUndeployService\x12-.dream11.od.service.v1.UndeployServiceRequest\x1a..dream11.od.service.v1.UndeployServiceResponse\"\x000\x01\x12f\n" + + "\vListService\x12).dream11.od.service.v1.ListServiceRequest\x1a*.dream11.od.service.v1.ListServiceResponse\"\x00\x12r\n" + + "\x0fDescribeService\x12-.dream11.od.service.v1.DescribeServiceRequest\x1a..dream11.od.service.v1.DescribeServiceResponse\"\x00\x12\x81\x01\n" + + "\x14OperateComponentDiff\x122.dream11.od.service.v1.OperateComponentDiffRequest\x1a3.dream11.od.service.v1.OperateComponentDiffResponse\"\x00\x12\x87\x01\n" + + "\x16GetConflictingServices\x124.dream11.od.service.v1.GetConflictingServicesRequest\x1a5.dream11.od.service.v1.GetConflictingServicesResponse\"\x00B