// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: service_ssl_cert.proto package pb import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 // 创建Cert type CreateSSLCertRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields IsOn bool `protobuf:"varint,1,opt,name=isOn,proto3" json:"isOn,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ServerName string `protobuf:"bytes,4,opt,name=serverName,proto3" json:"serverName,omitempty"` IsCA bool `protobuf:"varint,5,opt,name=isCA,proto3" json:"isCA,omitempty"` CertData []byte `protobuf:"bytes,6,opt,name=certData,proto3" json:"certData,omitempty"` KeyData []byte `protobuf:"bytes,7,opt,name=keyData,proto3" json:"keyData,omitempty"` TimeBeginAt int64 `protobuf:"varint,8,opt,name=timeBeginAt,proto3" json:"timeBeginAt,omitempty"` TimeEndAt int64 `protobuf:"varint,9,opt,name=timeEndAt,proto3" json:"timeEndAt,omitempty"` DnsNames []string `protobuf:"bytes,10,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"` CommonNames []string `protobuf:"bytes,11,rep,name=commonNames,proto3" json:"commonNames,omitempty"` } func (x *CreateSSLCertRequest) Reset() { *x = CreateSSLCertRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateSSLCertRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateSSLCertRequest) ProtoMessage() {} func (x *CreateSSLCertRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateSSLCertRequest.ProtoReflect.Descriptor instead. func (*CreateSSLCertRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{0} } func (x *CreateSSLCertRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *CreateSSLCertRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateSSLCertRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *CreateSSLCertRequest) GetServerName() string { if x != nil { return x.ServerName } return "" } func (x *CreateSSLCertRequest) GetIsCA() bool { if x != nil { return x.IsCA } return false } func (x *CreateSSLCertRequest) GetCertData() []byte { if x != nil { return x.CertData } return nil } func (x *CreateSSLCertRequest) GetKeyData() []byte { if x != nil { return x.KeyData } return nil } func (x *CreateSSLCertRequest) GetTimeBeginAt() int64 { if x != nil { return x.TimeBeginAt } return 0 } func (x *CreateSSLCertRequest) GetTimeEndAt() int64 { if x != nil { return x.TimeEndAt } return 0 } func (x *CreateSSLCertRequest) GetDnsNames() []string { if x != nil { return x.DnsNames } return nil } func (x *CreateSSLCertRequest) GetCommonNames() []string { if x != nil { return x.CommonNames } return nil } type CreateSSLCertResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` } func (x *CreateSSLCertResponse) Reset() { *x = CreateSSLCertResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateSSLCertResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateSSLCertResponse) ProtoMessage() {} func (x *CreateSSLCertResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateSSLCertResponse.ProtoReflect.Descriptor instead. func (*CreateSSLCertResponse) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{1} } func (x *CreateSSLCertResponse) GetSslCertId() int64 { if x != nil { return x.SslCertId } return 0 } // 修改Cert type UpdateSSLCertRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` ServerName string `protobuf:"bytes,5,opt,name=serverName,proto3" json:"serverName,omitempty"` IsCA bool `protobuf:"varint,6,opt,name=isCA,proto3" json:"isCA,omitempty"` CertData []byte `protobuf:"bytes,7,opt,name=certData,proto3" json:"certData,omitempty"` KeyData []byte `protobuf:"bytes,8,opt,name=keyData,proto3" json:"keyData,omitempty"` TimeBeginAt int64 `protobuf:"varint,9,opt,name=timeBeginAt,proto3" json:"timeBeginAt,omitempty"` TimeEndAt int64 `protobuf:"varint,10,opt,name=timeEndAt,proto3" json:"timeEndAt,omitempty"` DnsNames []string `protobuf:"bytes,11,rep,name=dnsNames,proto3" json:"dnsNames,omitempty"` CommonNames []string `protobuf:"bytes,12,rep,name=commonNames,proto3" json:"commonNames,omitempty"` } func (x *UpdateSSLCertRequest) Reset() { *x = UpdateSSLCertRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateSSLCertRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateSSLCertRequest) ProtoMessage() {} func (x *UpdateSSLCertRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateSSLCertRequest.ProtoReflect.Descriptor instead. func (*UpdateSSLCertRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{2} } func (x *UpdateSSLCertRequest) GetSslCertId() int64 { if x != nil { return x.SslCertId } return 0 } func (x *UpdateSSLCertRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *UpdateSSLCertRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *UpdateSSLCertRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *UpdateSSLCertRequest) GetServerName() string { if x != nil { return x.ServerName } return "" } func (x *UpdateSSLCertRequest) GetIsCA() bool { if x != nil { return x.IsCA } return false } func (x *UpdateSSLCertRequest) GetCertData() []byte { if x != nil { return x.CertData } return nil } func (x *UpdateSSLCertRequest) GetKeyData() []byte { if x != nil { return x.KeyData } return nil } func (x *UpdateSSLCertRequest) GetTimeBeginAt() int64 { if x != nil { return x.TimeBeginAt } return 0 } func (x *UpdateSSLCertRequest) GetTimeEndAt() int64 { if x != nil { return x.TimeEndAt } return 0 } func (x *UpdateSSLCertRequest) GetDnsNames() []string { if x != nil { return x.DnsNames } return nil } func (x *UpdateSSLCertRequest) GetCommonNames() []string { if x != nil { return x.CommonNames } return nil } // 查找证书配置 type FindEnabledSSLCertConfigRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` } func (x *FindEnabledSSLCertConfigRequest) Reset() { *x = FindEnabledSSLCertConfigRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindEnabledSSLCertConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledSSLCertConfigRequest) ProtoMessage() {} func (x *FindEnabledSSLCertConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledSSLCertConfigRequest.ProtoReflect.Descriptor instead. func (*FindEnabledSSLCertConfigRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{3} } func (x *FindEnabledSSLCertConfigRequest) GetSslCertId() int64 { if x != nil { return x.SslCertId } return 0 } type FindEnabledSSLCertConfigResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertJSON []byte `protobuf:"bytes,1,opt,name=sslCertJSON,proto3" json:"sslCertJSON,omitempty"` } func (x *FindEnabledSSLCertConfigResponse) Reset() { *x = FindEnabledSSLCertConfigResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindEnabledSSLCertConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledSSLCertConfigResponse) ProtoMessage() {} func (x *FindEnabledSSLCertConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledSSLCertConfigResponse.ProtoReflect.Descriptor instead. func (*FindEnabledSSLCertConfigResponse) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{4} } func (x *FindEnabledSSLCertConfigResponse) GetSslCertJSON() []byte { if x != nil { return x.SslCertJSON } return nil } // 删除证书 type DeleteSSLCertRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` } func (x *DeleteSSLCertRequest) Reset() { *x = DeleteSSLCertRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteSSLCertRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteSSLCertRequest) ProtoMessage() {} func (x *DeleteSSLCertRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteSSLCertRequest.ProtoReflect.Descriptor instead. func (*DeleteSSLCertRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{5} } func (x *DeleteSSLCertRequest) GetSslCertId() int64 { if x != nil { return x.SslCertId } return 0 } // 计算匹配的Cert数量 type CountSSLCertRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields IsCA bool `protobuf:"varint,1,opt,name=isCA,proto3" json:"isCA,omitempty"` IsAvailable bool `protobuf:"varint,2,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"` IsExpired bool `protobuf:"varint,3,opt,name=isExpired,proto3" json:"isExpired,omitempty"` ExpiringDays int32 `protobuf:"varint,4,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` UserId int64 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` } func (x *CountSSLCertRequest) Reset() { *x = CountSSLCertRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CountSSLCertRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountSSLCertRequest) ProtoMessage() {} func (x *CountSSLCertRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CountSSLCertRequest.ProtoReflect.Descriptor instead. func (*CountSSLCertRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{6} } func (x *CountSSLCertRequest) GetIsCA() bool { if x != nil { return x.IsCA } return false } func (x *CountSSLCertRequest) GetIsAvailable() bool { if x != nil { return x.IsAvailable } return false } func (x *CountSSLCertRequest) GetIsExpired() bool { if x != nil { return x.IsExpired } return false } func (x *CountSSLCertRequest) GetExpiringDays() int32 { if x != nil { return x.ExpiringDays } return 0 } func (x *CountSSLCertRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *CountSSLCertRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // 列出单页匹配的Cert type ListSSLCertsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields IsCA bool `protobuf:"varint,1,opt,name=isCA,proto3" json:"isCA,omitempty"` IsAvailable bool `protobuf:"varint,2,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"` IsExpired bool `protobuf:"varint,3,opt,name=isExpired,proto3" json:"isExpired,omitempty"` ExpiringDays int32 `protobuf:"varint,4,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` UserId int64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"` } func (x *ListSSLCertsRequest) Reset() { *x = ListSSLCertsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListSSLCertsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListSSLCertsRequest) ProtoMessage() {} func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListSSLCertsRequest.ProtoReflect.Descriptor instead. func (*ListSSLCertsRequest) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{7} } func (x *ListSSLCertsRequest) GetIsCA() bool { if x != nil { return x.IsCA } return false } func (x *ListSSLCertsRequest) GetIsAvailable() bool { if x != nil { return x.IsAvailable } return false } func (x *ListSSLCertsRequest) GetIsExpired() bool { if x != nil { return x.IsExpired } return false } func (x *ListSSLCertsRequest) GetExpiringDays() int32 { if x != nil { return x.ExpiringDays } return 0 } func (x *ListSSLCertsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *ListSSLCertsRequest) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *ListSSLCertsRequest) GetSize() int64 { if x != nil { return x.Size } return 0 } func (x *ListSSLCertsRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } type ListSSLCertsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SslCertsJSON []byte `protobuf:"bytes,1,opt,name=sslCertsJSON,proto3" json:"sslCertsJSON,omitempty"` } func (x *ListSSLCertsResponse) Reset() { *x = ListSSLCertsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_ssl_cert_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListSSLCertsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListSSLCertsResponse) ProtoMessage() {} func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_ssl_cert_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListSSLCertsResponse.ProtoReflect.Descriptor instead. func (*ListSSLCertsResponse) Descriptor() ([]byte, []int) { return file_service_ssl_cert_proto_rawDescGZIP(), []int{8} } func (x *ListSSLCertsResponse) GetSslCertsJSON() []byte { if x != nil { return x.SslCertsJSON } return nil } var File_service_ssl_cert_proto protoreflect.FileDescriptor var file_service_ssl_cert_proto_rawDesc = []byte{ 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x43, 0x41, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x41, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x35, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0xe6, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x43, 0x41, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x34, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xeb, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xb6, 0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_service_ssl_cert_proto_rawDescOnce sync.Once file_service_ssl_cert_proto_rawDescData = file_service_ssl_cert_proto_rawDesc ) func file_service_ssl_cert_proto_rawDescGZIP() []byte { file_service_ssl_cert_proto_rawDescOnce.Do(func() { file_service_ssl_cert_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_ssl_cert_proto_rawDescData) }) return file_service_ssl_cert_proto_rawDescData } var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_service_ssl_cert_proto_goTypes = []interface{}{ (*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest (*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse (*UpdateSSLCertRequest)(nil), // 2: pb.UpdateSSLCertRequest (*FindEnabledSSLCertConfigRequest)(nil), // 3: pb.FindEnabledSSLCertConfigRequest (*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse (*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest (*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest (*ListSSLCertsRequest)(nil), // 7: pb.ListSSLCertsRequest (*ListSSLCertsResponse)(nil), // 8: pb.ListSSLCertsResponse (*RPCSuccess)(nil), // 9: pb.RPCSuccess (*RPCCountResponse)(nil), // 10: pb.RPCCountResponse } var file_service_ssl_cert_proto_depIdxs = []int32{ 0, // 0: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest 2, // 1: pb.SSLCertService.updateSSLCert:input_type -> pb.UpdateSSLCertRequest 5, // 2: pb.SSLCertService.deleteSSLCert:input_type -> pb.DeleteSSLCertRequest 3, // 3: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest 6, // 4: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest 7, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest 1, // 6: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse 9, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCSuccess 9, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCSuccess 4, // 9: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse 10, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse 8, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse 6, // [6:12] is the sub-list for method output_type 0, // [0:6] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_service_ssl_cert_proto_init() } func file_service_ssl_cert_proto_init() { if File_service_ssl_cert_proto != nil { return } file_models_rpc_messages_proto_init() if !protoimpl.UnsafeEnabled { file_service_ssl_cert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSSLCertRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSSLCertResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSSLCertRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledSSLCertConfigRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledSSLCertConfigResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSSLCertRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountSSLCertRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSSLCertsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_ssl_cert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSSLCertsResponse); 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_service_ssl_cert_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_ssl_cert_proto_goTypes, DependencyIndexes: file_service_ssl_cert_proto_depIdxs, MessageInfos: file_service_ssl_cert_proto_msgTypes, }.Build() File_service_ssl_cert_proto = out.File file_service_ssl_cert_proto_rawDesc = nil file_service_ssl_cert_proto_goTypes = nil file_service_ssl_cert_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // SSLCertServiceClient is the client API for SSLCertService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type SSLCertServiceClient interface { // 创建Cert CreateSSLCert(ctx context.Context, in *CreateSSLCertRequest, opts ...grpc.CallOption) (*CreateSSLCertResponse, error) // 修改Cert UpdateSSLCert(ctx context.Context, in *UpdateSSLCertRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 删除Cert DeleteSSLCert(ctx context.Context, in *DeleteSSLCertRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 查找证书配置 FindEnabledSSLCertConfig(ctx context.Context, in *FindEnabledSSLCertConfigRequest, opts ...grpc.CallOption) (*FindEnabledSSLCertConfigResponse, error) // 计算匹配的Cert数量 CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error) } type sSLCertServiceClient struct { cc grpc.ClientConnInterface } func NewSSLCertServiceClient(cc grpc.ClientConnInterface) SSLCertServiceClient { return &sSLCertServiceClient{cc} } func (c *sSLCertServiceClient) CreateSSLCert(ctx context.Context, in *CreateSSLCertRequest, opts ...grpc.CallOption) (*CreateSSLCertResponse, error) { out := new(CreateSSLCertResponse) err := c.cc.Invoke(ctx, "/pb.SSLCertService/createSSLCert", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sSLCertServiceClient) UpdateSSLCert(ctx context.Context, in *UpdateSSLCertRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.SSLCertService/updateSSLCert", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sSLCertServiceClient) DeleteSSLCert(ctx context.Context, in *DeleteSSLCertRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.SSLCertService/deleteSSLCert", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sSLCertServiceClient) FindEnabledSSLCertConfig(ctx context.Context, in *FindEnabledSSLCertConfigRequest, opts ...grpc.CallOption) (*FindEnabledSSLCertConfigResponse, error) { out := new(FindEnabledSSLCertConfigResponse) err := c.cc.Invoke(ctx, "/pb.SSLCertService/findEnabledSSLCertConfig", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sSLCertServiceClient) CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.SSLCertService/countSSLCerts", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *sSLCertServiceClient) ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error) { out := new(ListSSLCertsResponse) err := c.cc.Invoke(ctx, "/pb.SSLCertService/listSSLCerts", in, out, opts...) if err != nil { return nil, err } return out, nil } // SSLCertServiceServer is the server API for SSLCertService service. type SSLCertServiceServer interface { // 创建Cert CreateSSLCert(context.Context, *CreateSSLCertRequest) (*CreateSSLCertResponse, error) // 修改Cert UpdateSSLCert(context.Context, *UpdateSSLCertRequest) (*RPCSuccess, error) // 删除Cert DeleteSSLCert(context.Context, *DeleteSSLCertRequest) (*RPCSuccess, error) // 查找证书配置 FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) // 计算匹配的Cert数量 CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) } // UnimplementedSSLCertServiceServer can be embedded to have forward compatible implementations. type UnimplementedSSLCertServiceServer struct { } func (*UnimplementedSSLCertServiceServer) CreateSSLCert(context.Context, *CreateSSLCertRequest) (*CreateSSLCertResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateSSLCert not implemented") } func (*UnimplementedSSLCertServiceServer) UpdateSSLCert(context.Context, *UpdateSSLCertRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSSLCert not implemented") } func (*UnimplementedSSLCertServiceServer) DeleteSSLCert(context.Context, *DeleteSSLCertRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSSLCert not implemented") } func (*UnimplementedSSLCertServiceServer) FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledSSLCertConfig not implemented") } func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountSSLCerts not implemented") } func (*UnimplementedSSLCertServiceServer) ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSSLCerts not implemented") } func RegisterSSLCertServiceServer(s *grpc.Server, srv SSLCertServiceServer) { s.RegisterService(&_SSLCertService_serviceDesc, srv) } func _SSLCertService_CreateSSLCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateSSLCertRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).CreateSSLCert(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/CreateSSLCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).CreateSSLCert(ctx, req.(*CreateSSLCertRequest)) } return interceptor(ctx, in, info, handler) } func _SSLCertService_UpdateSSLCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSSLCertRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).UpdateSSLCert(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/UpdateSSLCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).UpdateSSLCert(ctx, req.(*UpdateSSLCertRequest)) } return interceptor(ctx, in, info, handler) } func _SSLCertService_DeleteSSLCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteSSLCertRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).DeleteSSLCert(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/DeleteSSLCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).DeleteSSLCert(ctx, req.(*DeleteSSLCertRequest)) } return interceptor(ctx, in, info, handler) } func _SSLCertService_FindEnabledSSLCertConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindEnabledSSLCertConfigRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).FindEnabledSSLCertConfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/FindEnabledSSLCertConfig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).FindEnabledSSLCertConfig(ctx, req.(*FindEnabledSSLCertConfigRequest)) } return interceptor(ctx, in, info, handler) } func _SSLCertService_CountSSLCerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CountSSLCertRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).CountSSLCerts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/CountSSLCerts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).CountSSLCerts(ctx, req.(*CountSSLCertRequest)) } return interceptor(ctx, in, info, handler) } func _SSLCertService_ListSSLCerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListSSLCertsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SSLCertServiceServer).ListSSLCerts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SSLCertService/ListSSLCerts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SSLCertServiceServer).ListSSLCerts(ctx, req.(*ListSSLCertsRequest)) } return interceptor(ctx, in, info, handler) } var _SSLCertService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.SSLCertService", HandlerType: (*SSLCertServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createSSLCert", Handler: _SSLCertService_CreateSSLCert_Handler, }, { MethodName: "updateSSLCert", Handler: _SSLCertService_UpdateSSLCert_Handler, }, { MethodName: "deleteSSLCert", Handler: _SSLCertService_DeleteSSLCert_Handler, }, { MethodName: "findEnabledSSLCertConfig", Handler: _SSLCertService_FindEnabledSSLCertConfig_Handler, }, { MethodName: "countSSLCerts", Handler: _SSLCertService_CountSSLCerts_Handler, }, { MethodName: "listSSLCerts", Handler: _SSLCertService_ListSSLCerts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_ssl_cert.proto", }