// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: service_origin.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // 创建源站 type CreateOriginRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称,为可选项 Addr *NetworkAddress `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // 源站网络地址 OssJSON []byte `protobuf:"bytes,15,opt,name=ossJSON,proto3" json:"ossJSON,omitempty"` // OSS配置信息,源站网络地址中protocol为oss:开头时需要设置此项 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述,为可选项 Weight int32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"` // 权重,不小于0,一般设置为10 IsOn bool `protobuf:"varint,5,opt,name=isOn,proto3" json:"isOn,omitempty"` // 是否启用,一般为true ConnTimeoutJSON []byte `protobuf:"bytes,6,opt,name=connTimeoutJSON,proto3" json:"connTimeoutJSON,omitempty"` // 可选项,连接超时时间 ReadTimeoutJSON []byte `protobuf:"bytes,7,opt,name=readTimeoutJSON,proto3" json:"readTimeoutJSON,omitempty"` // 可选项,读取超时时间 IdleTimeoutJSON []byte `protobuf:"bytes,8,opt,name=idleTimeoutJSON,proto3" json:"idleTimeoutJSON,omitempty"` // 可选项,空闲超时时间 MaxConns int32 `protobuf:"varint,9,opt,name=maxConns,proto3" json:"maxConns,omitempty"` // 可选项,最大连接数 MaxIdleConns int32 `protobuf:"varint,10,opt,name=maxIdleConns,proto3" json:"maxIdleConns,omitempty"` // 可选项,最大空闲连接数 Domains []string `protobuf:"bytes,11,rep,name=domains,proto3" json:"domains,omitempty"` // 可选项,专属域名列表 CertRefJSON []byte `protobuf:"bytes,12,opt,name=certRefJSON,proto3" json:"certRefJSON,omitempty"` // 可选项,证书设置 Host string `protobuf:"bytes,13,opt,name=host,proto3" json:"host,omitempty"` // 可选项,回源主机名 FollowPort bool `protobuf:"varint,14,opt,name=followPort,proto3" json:"followPort,omitempty"` // 可选项,是否跟随端口 Http2Enabled bool `protobuf:"varint,16,opt,name=http2Enabled,proto3" json:"http2Enabled,omitempty"` // 可选项,是否支持HTTP/2,只在HTTPS源站时生效 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateOriginRequest) Reset() { *x = CreateOriginRequest{} mi := &file_service_origin_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateOriginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateOriginRequest) ProtoMessage() {} func (x *CreateOriginRequest) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateOriginRequest.ProtoReflect.Descriptor instead. func (*CreateOriginRequest) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{0} } func (x *CreateOriginRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateOriginRequest) GetAddr() *NetworkAddress { if x != nil { return x.Addr } return nil } func (x *CreateOriginRequest) GetOssJSON() []byte { if x != nil { return x.OssJSON } return nil } func (x *CreateOriginRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *CreateOriginRequest) GetWeight() int32 { if x != nil { return x.Weight } return 0 } func (x *CreateOriginRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *CreateOriginRequest) GetConnTimeoutJSON() []byte { if x != nil { return x.ConnTimeoutJSON } return nil } func (x *CreateOriginRequest) GetReadTimeoutJSON() []byte { if x != nil { return x.ReadTimeoutJSON } return nil } func (x *CreateOriginRequest) GetIdleTimeoutJSON() []byte { if x != nil { return x.IdleTimeoutJSON } return nil } func (x *CreateOriginRequest) GetMaxConns() int32 { if x != nil { return x.MaxConns } return 0 } func (x *CreateOriginRequest) GetMaxIdleConns() int32 { if x != nil { return x.MaxIdleConns } return 0 } func (x *CreateOriginRequest) GetDomains() []string { if x != nil { return x.Domains } return nil } func (x *CreateOriginRequest) GetCertRefJSON() []byte { if x != nil { return x.CertRefJSON } return nil } func (x *CreateOriginRequest) GetHost() string { if x != nil { return x.Host } return "" } func (x *CreateOriginRequest) GetFollowPort() bool { if x != nil { return x.FollowPort } return false } func (x *CreateOriginRequest) GetHttp2Enabled() bool { if x != nil { return x.Http2Enabled } return false } type CreateOriginResponse struct { state protoimpl.MessageState `protogen:"open.v1"` OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"` // 创建的源站ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateOriginResponse) Reset() { *x = CreateOriginResponse{} mi := &file_service_origin_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateOriginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateOriginResponse) ProtoMessage() {} func (x *CreateOriginResponse) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateOriginResponse.ProtoReflect.Descriptor instead. func (*CreateOriginResponse) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{1} } func (x *CreateOriginResponse) GetOriginId() int64 { if x != nil { return x.OriginId } return 0 } // 修改源站 type UpdateOriginRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"` // 源站ID Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 可选项 Addr *NetworkAddress `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // 源站网络地址 OssJSON []byte `protobuf:"bytes,16,opt,name=ossJSON,proto3" json:"ossJSON,omitempty"` // OSS配置信息,源站网络地址中protocol为oss:开头时需要设置此项 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 可选项 Weight int32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` // 权重,不小于0,一般设置为10 IsOn bool `protobuf:"varint,6,opt,name=isOn,proto3" json:"isOn,omitempty"` // 是否启用 ConnTimeoutJSON []byte `protobuf:"bytes,7,opt,name=connTimeoutJSON,proto3" json:"connTimeoutJSON,omitempty"` // 可选项 ReadTimeoutJSON []byte `protobuf:"bytes,8,opt,name=readTimeoutJSON,proto3" json:"readTimeoutJSON,omitempty"` // 可选项 IdleTimeoutJSON []byte `protobuf:"bytes,9,opt,name=idleTimeoutJSON,proto3" json:"idleTimeoutJSON,omitempty"` // 可选项 MaxConns int32 `protobuf:"varint,10,opt,name=maxConns,proto3" json:"maxConns,omitempty"` // 可选项 MaxIdleConns int32 `protobuf:"varint,11,opt,name=maxIdleConns,proto3" json:"maxIdleConns,omitempty"` // 可选项 Domains []string `protobuf:"bytes,12,rep,name=domains,proto3" json:"domains,omitempty"` // 可选项 CertRefJSON []byte `protobuf:"bytes,13,opt,name=certRefJSON,proto3" json:"certRefJSON,omitempty"` // 可选项 Host string `protobuf:"bytes,14,opt,name=host,proto3" json:"host,omitempty"` // 可选项 FollowPort bool `protobuf:"varint,15,opt,name=followPort,proto3" json:"followPort,omitempty"` // 可选项 Http2Enabled bool `protobuf:"varint,17,opt,name=http2Enabled,proto3" json:"http2Enabled,omitempty"` // 可选项,是否支持HTTP/2,只在HTTPS源站时生效 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateOriginRequest) Reset() { *x = UpdateOriginRequest{} mi := &file_service_origin_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateOriginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateOriginRequest) ProtoMessage() {} func (x *UpdateOriginRequest) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateOriginRequest.ProtoReflect.Descriptor instead. func (*UpdateOriginRequest) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{2} } func (x *UpdateOriginRequest) GetOriginId() int64 { if x != nil { return x.OriginId } return 0 } func (x *UpdateOriginRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *UpdateOriginRequest) GetAddr() *NetworkAddress { if x != nil { return x.Addr } return nil } func (x *UpdateOriginRequest) GetOssJSON() []byte { if x != nil { return x.OssJSON } return nil } func (x *UpdateOriginRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *UpdateOriginRequest) GetWeight() int32 { if x != nil { return x.Weight } return 0 } func (x *UpdateOriginRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *UpdateOriginRequest) GetConnTimeoutJSON() []byte { if x != nil { return x.ConnTimeoutJSON } return nil } func (x *UpdateOriginRequest) GetReadTimeoutJSON() []byte { if x != nil { return x.ReadTimeoutJSON } return nil } func (x *UpdateOriginRequest) GetIdleTimeoutJSON() []byte { if x != nil { return x.IdleTimeoutJSON } return nil } func (x *UpdateOriginRequest) GetMaxConns() int32 { if x != nil { return x.MaxConns } return 0 } func (x *UpdateOriginRequest) GetMaxIdleConns() int32 { if x != nil { return x.MaxIdleConns } return 0 } func (x *UpdateOriginRequest) GetDomains() []string { if x != nil { return x.Domains } return nil } func (x *UpdateOriginRequest) GetCertRefJSON() []byte { if x != nil { return x.CertRefJSON } return nil } func (x *UpdateOriginRequest) GetHost() string { if x != nil { return x.Host } return "" } func (x *UpdateOriginRequest) GetFollowPort() bool { if x != nil { return x.FollowPort } return false } func (x *UpdateOriginRequest) GetHttp2Enabled() bool { if x != nil { return x.Http2Enabled } return false } // 查找单个源站信息 type FindEnabledOriginRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"` // 源站ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindEnabledOriginRequest) Reset() { *x = FindEnabledOriginRequest{} mi := &file_service_origin_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindEnabledOriginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledOriginRequest) ProtoMessage() {} func (x *FindEnabledOriginRequest) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledOriginRequest.ProtoReflect.Descriptor instead. func (*FindEnabledOriginRequest) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{3} } func (x *FindEnabledOriginRequest) GetOriginId() int64 { if x != nil { return x.OriginId } return 0 } type FindEnabledOriginResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Origin *Origin `protobuf:"bytes,1,opt,name=Origin,proto3" json:"Origin,omitempty"` // 源站信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindEnabledOriginResponse) Reset() { *x = FindEnabledOriginResponse{} mi := &file_service_origin_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindEnabledOriginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledOriginResponse) ProtoMessage() {} func (x *FindEnabledOriginResponse) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledOriginResponse.ProtoReflect.Descriptor instead. func (*FindEnabledOriginResponse) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{4} } func (x *FindEnabledOriginResponse) GetOrigin() *Origin { if x != nil { return x.Origin } return nil } // 查找源站配置 type FindEnabledOriginConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"` // 源站ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindEnabledOriginConfigRequest) Reset() { *x = FindEnabledOriginConfigRequest{} mi := &file_service_origin_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindEnabledOriginConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledOriginConfigRequest) ProtoMessage() {} func (x *FindEnabledOriginConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledOriginConfigRequest.ProtoReflect.Descriptor instead. func (*FindEnabledOriginConfigRequest) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{5} } func (x *FindEnabledOriginConfigRequest) GetOriginId() int64 { if x != nil { return x.OriginId } return 0 } type FindEnabledOriginConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` OriginJSON []byte `protobuf:"bytes,1,opt,name=originJSON,proto3" json:"originJSON,omitempty"` // 源站信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FindEnabledOriginConfigResponse) Reset() { *x = FindEnabledOriginConfigResponse{} mi := &file_service_origin_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FindEnabledOriginConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledOriginConfigResponse) ProtoMessage() {} func (x *FindEnabledOriginConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindEnabledOriginConfigResponse.ProtoReflect.Descriptor instead. func (*FindEnabledOriginConfigResponse) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{6} } func (x *FindEnabledOriginConfigResponse) GetOriginJSON() []byte { if x != nil { return x.OriginJSON } return nil } // 设置源站是否启用 type UpdateOriginIsOnRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"` // 源站ID IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` // 是否启用 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateOriginIsOnRequest) Reset() { *x = UpdateOriginIsOnRequest{} mi := &file_service_origin_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateOriginIsOnRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateOriginIsOnRequest) ProtoMessage() {} func (x *UpdateOriginIsOnRequest) ProtoReflect() protoreflect.Message { mi := &file_service_origin_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateOriginIsOnRequest.ProtoReflect.Descriptor instead. func (*UpdateOriginIsOnRequest) Descriptor() ([]byte, []int) { return file_service_origin_proto_rawDescGZIP(), []int{7} } func (x *UpdateOriginIsOnRequest) GetOriginId() int64 { if x != nil { return x.OriginId } return 0 } func (x *UpdateOriginIsOnRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } var File_service_origin_proto protoreflect.FileDescriptor const file_service_origin_proto_rawDesc = "" + "\n" + "\x14service_origin.proto\x12\x02pb\x1a\x19models/model_origin.proto\x1a\"models/model_network_address.proto\x1a\x19models/rpc_messages.proto\"\x8b\x04\n" + "\x13CreateOriginRequest\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12&\n" + "\x04addr\x18\x02 \x01(\v2\x12.pb.NetworkAddressR\x04addr\x12\x18\n" + "\aossJSON\x18\x0f \x01(\fR\aossJSON\x12 \n" + "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x16\n" + "\x06weight\x18\x04 \x01(\x05R\x06weight\x12\x12\n" + "\x04isOn\x18\x05 \x01(\bR\x04isOn\x12(\n" + "\x0fconnTimeoutJSON\x18\x06 \x01(\fR\x0fconnTimeoutJSON\x12(\n" + "\x0freadTimeoutJSON\x18\a \x01(\fR\x0freadTimeoutJSON\x12(\n" + "\x0fidleTimeoutJSON\x18\b \x01(\fR\x0fidleTimeoutJSON\x12\x1a\n" + "\bmaxConns\x18\t \x01(\x05R\bmaxConns\x12\"\n" + "\fmaxIdleConns\x18\n" + " \x01(\x05R\fmaxIdleConns\x12\x18\n" + "\adomains\x18\v \x03(\tR\adomains\x12 \n" + "\vcertRefJSON\x18\f \x01(\fR\vcertRefJSON\x12\x12\n" + "\x04host\x18\r \x01(\tR\x04host\x12\x1e\n" + "\n" + "followPort\x18\x0e \x01(\bR\n" + "followPort\x12\"\n" + "\fhttp2Enabled\x18\x10 \x01(\bR\fhttp2Enabled\"2\n" + "\x14CreateOriginResponse\x12\x1a\n" + "\boriginId\x18\x01 \x01(\x03R\boriginId\"\xa7\x04\n" + "\x13UpdateOriginRequest\x12\x1a\n" + "\boriginId\x18\x01 \x01(\x03R\boriginId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12&\n" + "\x04addr\x18\x03 \x01(\v2\x12.pb.NetworkAddressR\x04addr\x12\x18\n" + "\aossJSON\x18\x10 \x01(\fR\aossJSON\x12 \n" + "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x16\n" + "\x06weight\x18\x05 \x01(\x05R\x06weight\x12\x12\n" + "\x04isOn\x18\x06 \x01(\bR\x04isOn\x12(\n" + "\x0fconnTimeoutJSON\x18\a \x01(\fR\x0fconnTimeoutJSON\x12(\n" + "\x0freadTimeoutJSON\x18\b \x01(\fR\x0freadTimeoutJSON\x12(\n" + "\x0fidleTimeoutJSON\x18\t \x01(\fR\x0fidleTimeoutJSON\x12\x1a\n" + "\bmaxConns\x18\n" + " \x01(\x05R\bmaxConns\x12\"\n" + "\fmaxIdleConns\x18\v \x01(\x05R\fmaxIdleConns\x12\x18\n" + "\adomains\x18\f \x03(\tR\adomains\x12 \n" + "\vcertRefJSON\x18\r \x01(\fR\vcertRefJSON\x12\x12\n" + "\x04host\x18\x0e \x01(\tR\x04host\x12\x1e\n" + "\n" + "followPort\x18\x0f \x01(\bR\n" + "followPort\x12\"\n" + "\fhttp2Enabled\x18\x11 \x01(\bR\fhttp2Enabled\"6\n" + "\x18FindEnabledOriginRequest\x12\x1a\n" + "\boriginId\x18\x01 \x01(\x03R\boriginId\"?\n" + "\x19FindEnabledOriginResponse\x12\"\n" + "\x06Origin\x18\x01 \x01(\v2\n" + ".pb.OriginR\x06Origin\"<\n" + "\x1eFindEnabledOriginConfigRequest\x12\x1a\n" + "\boriginId\x18\x01 \x01(\x03R\boriginId\"A\n" + "\x1fFindEnabledOriginConfigResponse\x12\x1e\n" + "\n" + "originJSON\x18\x01 \x01(\fR\n" + "originJSON\"I\n" + "\x17UpdateOriginIsOnRequest\x12\x1a\n" + "\boriginId\x18\x01 \x01(\x03R\boriginId\x12\x12\n" + "\x04isOn\x18\x02 \x01(\bR\x04isOn2\x82\x03\n" + "\rOriginService\x12A\n" + "\fcreateOrigin\x12\x17.pb.CreateOriginRequest\x1a\x18.pb.CreateOriginResponse\x127\n" + "\fupdateOrigin\x12\x17.pb.UpdateOriginRequest\x1a\x0e.pb.RPCSuccess\x12P\n" + "\x11findEnabledOrigin\x12\x1c.pb.FindEnabledOriginRequest\x1a\x1d.pb.FindEnabledOriginResponse\x12b\n" + "\x17findEnabledOriginConfig\x12\".pb.FindEnabledOriginConfigRequest\x1a#.pb.FindEnabledOriginConfigResponse\x12?\n" + "\x10updateOriginIsOn\x12\x1b.pb.UpdateOriginIsOnRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3" var ( file_service_origin_proto_rawDescOnce sync.Once file_service_origin_proto_rawDescData []byte ) func file_service_origin_proto_rawDescGZIP() []byte { file_service_origin_proto_rawDescOnce.Do(func() { file_service_origin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_origin_proto_rawDesc), len(file_service_origin_proto_rawDesc))) }) return file_service_origin_proto_rawDescData } var file_service_origin_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_service_origin_proto_goTypes = []any{ (*CreateOriginRequest)(nil), // 0: pb.CreateOriginRequest (*CreateOriginResponse)(nil), // 1: pb.CreateOriginResponse (*UpdateOriginRequest)(nil), // 2: pb.UpdateOriginRequest (*FindEnabledOriginRequest)(nil), // 3: pb.FindEnabledOriginRequest (*FindEnabledOriginResponse)(nil), // 4: pb.FindEnabledOriginResponse (*FindEnabledOriginConfigRequest)(nil), // 5: pb.FindEnabledOriginConfigRequest (*FindEnabledOriginConfigResponse)(nil), // 6: pb.FindEnabledOriginConfigResponse (*UpdateOriginIsOnRequest)(nil), // 7: pb.UpdateOriginIsOnRequest (*NetworkAddress)(nil), // 8: pb.NetworkAddress (*Origin)(nil), // 9: pb.Origin (*RPCSuccess)(nil), // 10: pb.RPCSuccess } var file_service_origin_proto_depIdxs = []int32{ 8, // 0: pb.CreateOriginRequest.addr:type_name -> pb.NetworkAddress 8, // 1: pb.UpdateOriginRequest.addr:type_name -> pb.NetworkAddress 9, // 2: pb.FindEnabledOriginResponse.Origin:type_name -> pb.Origin 0, // 3: pb.OriginService.createOrigin:input_type -> pb.CreateOriginRequest 2, // 4: pb.OriginService.updateOrigin:input_type -> pb.UpdateOriginRequest 3, // 5: pb.OriginService.findEnabledOrigin:input_type -> pb.FindEnabledOriginRequest 5, // 6: pb.OriginService.findEnabledOriginConfig:input_type -> pb.FindEnabledOriginConfigRequest 7, // 7: pb.OriginService.updateOriginIsOn:input_type -> pb.UpdateOriginIsOnRequest 1, // 8: pb.OriginService.createOrigin:output_type -> pb.CreateOriginResponse 10, // 9: pb.OriginService.updateOrigin:output_type -> pb.RPCSuccess 4, // 10: pb.OriginService.findEnabledOrigin:output_type -> pb.FindEnabledOriginResponse 6, // 11: pb.OriginService.findEnabledOriginConfig:output_type -> pb.FindEnabledOriginConfigResponse 10, // 12: pb.OriginService.updateOriginIsOn:output_type -> pb.RPCSuccess 8, // [8:13] is the sub-list for method output_type 3, // [3:8] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_service_origin_proto_init() } func file_service_origin_proto_init() { if File_service_origin_proto != nil { return } file_models_model_origin_proto_init() file_models_model_network_address_proto_init() file_models_rpc_messages_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_origin_proto_rawDesc), len(file_service_origin_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_origin_proto_goTypes, DependencyIndexes: file_service_origin_proto_depIdxs, MessageInfos: file_service_origin_proto_msgTypes, }.Build() File_service_origin_proto = out.File file_service_origin_proto_goTypes = nil file_service_origin_proto_depIdxs = nil }