mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			708 lines
		
	
	
		
			26 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			708 lines
		
	
	
		
			26 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// Code generated by protoc-gen-go. DO NOT EDIT.
							 | 
						||
| 
								 | 
							
								// versions:
							 | 
						||
| 
								 | 
							
								// 	protoc-gen-go v1.25.0
							 | 
						||
| 
								 | 
							
								// 	protoc        v3.12.3
							 | 
						||
| 
								 | 
							
								// source: service_origin_server.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
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 创建源站
							 | 
						||
| 
								 | 
							
								type CreateOriginServerRequest struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									Name        string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
							 | 
						||
| 
								 | 
							
									Addr        *NetworkAddress `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
							 | 
						||
| 
								 | 
							
									Description string          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) Reset() {
							 | 
						||
| 
								 | 
							
									*x = CreateOriginServerRequest{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[0]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*CreateOriginServerRequest) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 CreateOriginServerRequest.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*CreateOriginServerRequest) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{0}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) GetName() string {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Name
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return ""
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) GetAddr() *NetworkAddress {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Addr
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerRequest) GetDescription() string {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Description
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return ""
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CreateOriginServerResponse struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerResponse) Reset() {
							 | 
						||
| 
								 | 
							
									*x = CreateOriginServerResponse{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[1]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerResponse) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*CreateOriginServerResponse) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerResponse) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 CreateOriginServerResponse.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*CreateOriginServerResponse) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{1}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *CreateOriginServerResponse) GetOriginId() int64 {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.OriginId
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return 0
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 修改源站
							 | 
						||
| 
								 | 
							
								type UpdateOriginServerRequest struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									OriginId    int64           `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"`
							 | 
						||
| 
								 | 
							
									Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
							 | 
						||
| 
								 | 
							
									Addr        *NetworkAddress `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
							 | 
						||
| 
								 | 
							
									Description string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) Reset() {
							 | 
						||
| 
								 | 
							
									*x = UpdateOriginServerRequest{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[2]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*UpdateOriginServerRequest) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 UpdateOriginServerRequest.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*UpdateOriginServerRequest) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{2}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) GetOriginId() int64 {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.OriginId
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return 0
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) GetName() string {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Name
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return ""
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) GetAddr() *NetworkAddress {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Addr
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerRequest) GetDescription() string {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Description
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return ""
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type UpdateOriginServerResponse struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerResponse) Reset() {
							 | 
						||
| 
								 | 
							
									*x = UpdateOriginServerResponse{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[3]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerResponse) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*UpdateOriginServerResponse) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *UpdateOriginServerResponse) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 UpdateOriginServerResponse.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*UpdateOriginServerResponse) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{3}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 查找单个源站信息
							 | 
						||
| 
								 | 
							
								type FindEnabledOriginServerRequest struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									OriginId int64 `protobuf:"varint,1,opt,name=originId,proto3" json:"originId,omitempty"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerRequest) Reset() {
							 | 
						||
| 
								 | 
							
									*x = FindEnabledOriginServerRequest{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[4]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerRequest) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*FindEnabledOriginServerRequest) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerRequest) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 FindEnabledOriginServerRequest.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*FindEnabledOriginServerRequest) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{4}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerRequest) GetOriginId() int64 {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.OriginId
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return 0
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type FindEnabledOriginServerResponse struct {
							 | 
						||
| 
								 | 
							
									state         protoimpl.MessageState
							 | 
						||
| 
								 | 
							
									sizeCache     protoimpl.SizeCache
							 | 
						||
| 
								 | 
							
									unknownFields protoimpl.UnknownFields
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									Origin *OriginServer `protobuf:"bytes,1,opt,name=Origin,proto3" json:"Origin,omitempty"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerResponse) Reset() {
							 | 
						||
| 
								 | 
							
									*x = FindEnabledOriginServerResponse{}
							 | 
						||
| 
								 | 
							
									if protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										mi := &file_service_origin_server_proto_msgTypes[5]
							 | 
						||
| 
								 | 
							
										ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
							 | 
						||
| 
								 | 
							
										ms.StoreMessageInfo(mi)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerResponse) String() string {
							 | 
						||
| 
								 | 
							
									return protoimpl.X.MessageStringOf(x)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*FindEnabledOriginServerResponse) ProtoMessage() {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerResponse) ProtoReflect() protoreflect.Message {
							 | 
						||
| 
								 | 
							
									mi := &file_service_origin_server_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 FindEnabledOriginServerResponse.ProtoReflect.Descriptor instead.
							 | 
						||
| 
								 | 
							
								func (*FindEnabledOriginServerResponse) Descriptor() ([]byte, []int) {
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescGZIP(), []int{5}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (x *FindEnabledOriginServerResponse) GetOrigin() *OriginServer {
							 | 
						||
| 
								 | 
							
									if x != nil {
							 | 
						||
| 
								 | 
							
										return x.Origin
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var File_service_origin_server_proto protoreflect.FileDescriptor
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var file_service_origin_server_proto_rawDesc = []byte{
							 | 
						||
| 
								 | 
							
									0x0a, 0x1b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
							 | 
						||
| 
								 | 
							
									0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
							 | 
						||
| 
								 | 
							
									0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f,
							 | 
						||
| 
								 | 
							
									0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x6d, 0x6f,
							 | 
						||
| 
								 | 
							
									0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x61, 0x64, 0x64, 0x72,
							 | 
						||
| 
								 | 
							
									0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x19, 0x43, 0x72, 0x65,
							 | 
						||
| 
								 | 
							
									0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 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, 0x26, 0x0a, 0x04, 0x61, 0x64,
							 | 
						||
| 
								 | 
							
									0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65,
							 | 
						||
| 
								 | 
							
									0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x61, 0x64,
							 | 
						||
| 
								 | 
							
									0x64, 0x72, 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, 0x22, 0x38, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72,
							 | 
						||
| 
								 | 
							
									0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
							 | 
						||
| 
								 | 
							
									0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01,
							 | 
						||
| 
								 | 
							
									0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x95,
							 | 
						||
| 
								 | 
							
									0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
							 | 
						||
| 
								 | 
							
									0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
							 | 
						||
| 
								 | 
							
									0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
							 | 
						||
| 
								 | 
							
									0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
							 | 
						||
| 
								 | 
							
									0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x04,
							 | 
						||
| 
								 | 
							
									0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e,
							 | 
						||
| 
								 | 
							
									0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04,
							 | 
						||
| 
								 | 
							
									0x61, 0x64, 0x64, 0x72, 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, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
							 | 
						||
| 
								 | 
							
									0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
							 | 
						||
| 
								 | 
							
									0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
							 | 
						||
| 
								 | 
							
									0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
							 | 
						||
| 
								 | 
							
									0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
							 | 
						||
| 
								 | 
							
									0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
							 | 
						||
| 
								 | 
							
									0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
							 | 
						||
| 
								 | 
							
									0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73,
							 | 
						||
| 
								 | 
							
									0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18,
							 | 
						||
| 
								 | 
							
									0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69,
							 | 
						||
| 
								 | 
							
									0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x32,
							 | 
						||
| 
								 | 
							
									0xa3, 0x02, 0x0a, 0x13, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
							 | 
						||
| 
								 | 
							
									0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74,
							 | 
						||
| 
								 | 
							
									0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1d, 0x2e,
							 | 
						||
| 
								 | 
							
									0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53,
							 | 
						||
| 
								 | 
							
									0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70,
							 | 
						||
| 
								 | 
							
									0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65,
							 | 
						||
| 
								 | 
							
									0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12,
							 | 
						||
| 
								 | 
							
									0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76,
							 | 
						||
| 
								 | 
							
									0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72,
							 | 
						||
| 
								 | 
							
									0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
							 | 
						||
| 
								 | 
							
									0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x69,
							 | 
						||
| 
								 | 
							
									0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
							 | 
						||
| 
								 | 
							
									0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
							 | 
						||
| 
								 | 
							
									0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x70,
							 | 
						||
| 
								 | 
							
									0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4f, 0x72, 0x69,
							 | 
						||
| 
								 | 
							
									0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
							 | 
						||
| 
								 | 
							
									0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
							 | 
						||
| 
								 | 
							
									0x64, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 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_origin_server_proto_rawDescOnce sync.Once
							 | 
						||
| 
								 | 
							
									file_service_origin_server_proto_rawDescData = file_service_origin_server_proto_rawDesc
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func file_service_origin_server_proto_rawDescGZIP() []byte {
							 | 
						||
| 
								 | 
							
									file_service_origin_server_proto_rawDescOnce.Do(func() {
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_origin_server_proto_rawDescData)
							 | 
						||
| 
								 | 
							
									})
							 | 
						||
| 
								 | 
							
									return file_service_origin_server_proto_rawDescData
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var file_service_origin_server_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
							 | 
						||
| 
								 | 
							
								var file_service_origin_server_proto_goTypes = []interface{}{
							 | 
						||
| 
								 | 
							
									(*CreateOriginServerRequest)(nil),       // 0: pb.CreateOriginServerRequest
							 | 
						||
| 
								 | 
							
									(*CreateOriginServerResponse)(nil),      // 1: pb.CreateOriginServerResponse
							 | 
						||
| 
								 | 
							
									(*UpdateOriginServerRequest)(nil),       // 2: pb.UpdateOriginServerRequest
							 | 
						||
| 
								 | 
							
									(*UpdateOriginServerResponse)(nil),      // 3: pb.UpdateOriginServerResponse
							 | 
						||
| 
								 | 
							
									(*FindEnabledOriginServerRequest)(nil),  // 4: pb.FindEnabledOriginServerRequest
							 | 
						||
| 
								 | 
							
									(*FindEnabledOriginServerResponse)(nil), // 5: pb.FindEnabledOriginServerResponse
							 | 
						||
| 
								 | 
							
									(*NetworkAddress)(nil),                  // 6: pb.NetworkAddress
							 | 
						||
| 
								 | 
							
									(*OriginServer)(nil),                    // 7: pb.OriginServer
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								var file_service_origin_server_proto_depIdxs = []int32{
							 | 
						||
| 
								 | 
							
									6, // 0: pb.CreateOriginServerRequest.addr:type_name -> pb.NetworkAddress
							 | 
						||
| 
								 | 
							
									6, // 1: pb.UpdateOriginServerRequest.addr:type_name -> pb.NetworkAddress
							 | 
						||
| 
								 | 
							
									7, // 2: pb.FindEnabledOriginServerResponse.Origin:type_name -> pb.OriginServer
							 | 
						||
| 
								 | 
							
									0, // 3: pb.OriginServerService.createOriginServer:input_type -> pb.CreateOriginServerRequest
							 | 
						||
| 
								 | 
							
									2, // 4: pb.OriginServerService.updateOriginServer:input_type -> pb.UpdateOriginServerRequest
							 | 
						||
| 
								 | 
							
									4, // 5: pb.OriginServerService.findEnabledOriginServer:input_type -> pb.FindEnabledOriginServerRequest
							 | 
						||
| 
								 | 
							
									1, // 6: pb.OriginServerService.createOriginServer:output_type -> pb.CreateOriginServerResponse
							 | 
						||
| 
								 | 
							
									3, // 7: pb.OriginServerService.updateOriginServer:output_type -> pb.UpdateOriginServerResponse
							 | 
						||
| 
								 | 
							
									5, // 8: pb.OriginServerService.findEnabledOriginServer:output_type -> pb.FindEnabledOriginServerResponse
							 | 
						||
| 
								 | 
							
									6, // [6:9] is the sub-list for method output_type
							 | 
						||
| 
								 | 
							
									3, // [3:6] 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_server_proto_init() }
							 | 
						||
| 
								 | 
							
								func file_service_origin_server_proto_init() {
							 | 
						||
| 
								 | 
							
									if File_service_origin_server_proto != nil {
							 | 
						||
| 
								 | 
							
										return
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									file_model_origin_server_proto_init()
							 | 
						||
| 
								 | 
							
									file_model_network_address_proto_init()
							 | 
						||
| 
								 | 
							
									if !protoimpl.UnsafeEnabled {
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*CreateOriginServerRequest); i {
							 | 
						||
| 
								 | 
							
											case 0:
							 | 
						||
| 
								 | 
							
												return &v.state
							 | 
						||
| 
								 | 
							
											case 1:
							 | 
						||
| 
								 | 
							
												return &v.sizeCache
							 | 
						||
| 
								 | 
							
											case 2:
							 | 
						||
| 
								 | 
							
												return &v.unknownFields
							 | 
						||
| 
								 | 
							
											default:
							 | 
						||
| 
								 | 
							
												return nil
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										}
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*CreateOriginServerResponse); i {
							 | 
						||
| 
								 | 
							
											case 0:
							 | 
						||
| 
								 | 
							
												return &v.state
							 | 
						||
| 
								 | 
							
											case 1:
							 | 
						||
| 
								 | 
							
												return &v.sizeCache
							 | 
						||
| 
								 | 
							
											case 2:
							 | 
						||
| 
								 | 
							
												return &v.unknownFields
							 | 
						||
| 
								 | 
							
											default:
							 | 
						||
| 
								 | 
							
												return nil
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										}
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*UpdateOriginServerRequest); i {
							 | 
						||
| 
								 | 
							
											case 0:
							 | 
						||
| 
								 | 
							
												return &v.state
							 | 
						||
| 
								 | 
							
											case 1:
							 | 
						||
| 
								 | 
							
												return &v.sizeCache
							 | 
						||
| 
								 | 
							
											case 2:
							 | 
						||
| 
								 | 
							
												return &v.unknownFields
							 | 
						||
| 
								 | 
							
											default:
							 | 
						||
| 
								 | 
							
												return nil
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										}
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*UpdateOriginServerResponse); i {
							 | 
						||
| 
								 | 
							
											case 0:
							 | 
						||
| 
								 | 
							
												return &v.state
							 | 
						||
| 
								 | 
							
											case 1:
							 | 
						||
| 
								 | 
							
												return &v.sizeCache
							 | 
						||
| 
								 | 
							
											case 2:
							 | 
						||
| 
								 | 
							
												return &v.unknownFields
							 | 
						||
| 
								 | 
							
											default:
							 | 
						||
| 
								 | 
							
												return nil
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										}
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*FindEnabledOriginServerRequest); i {
							 | 
						||
| 
								 | 
							
											case 0:
							 | 
						||
| 
								 | 
							
												return &v.state
							 | 
						||
| 
								 | 
							
											case 1:
							 | 
						||
| 
								 | 
							
												return &v.sizeCache
							 | 
						||
| 
								 | 
							
											case 2:
							 | 
						||
| 
								 | 
							
												return &v.unknownFields
							 | 
						||
| 
								 | 
							
											default:
							 | 
						||
| 
								 | 
							
												return nil
							 | 
						||
| 
								 | 
							
											}
							 | 
						||
| 
								 | 
							
										}
							 | 
						||
| 
								 | 
							
										file_service_origin_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
							 | 
						||
| 
								 | 
							
											switch v := v.(*FindEnabledOriginServerResponse); 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_origin_server_proto_rawDesc,
							 | 
						||
| 
								 | 
							
											NumEnums:      0,
							 | 
						||
| 
								 | 
							
											NumMessages:   6,
							 | 
						||
| 
								 | 
							
											NumExtensions: 0,
							 | 
						||
| 
								 | 
							
											NumServices:   1,
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
										GoTypes:           file_service_origin_server_proto_goTypes,
							 | 
						||
| 
								 | 
							
										DependencyIndexes: file_service_origin_server_proto_depIdxs,
							 | 
						||
| 
								 | 
							
										MessageInfos:      file_service_origin_server_proto_msgTypes,
							 | 
						||
| 
								 | 
							
									}.Build()
							 | 
						||
| 
								 | 
							
									File_service_origin_server_proto = out.File
							 | 
						||
| 
								 | 
							
									file_service_origin_server_proto_rawDesc = nil
							 | 
						||
| 
								 | 
							
									file_service_origin_server_proto_goTypes = nil
							 | 
						||
| 
								 | 
							
									file_service_origin_server_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
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// OriginServerServiceClient is the client API for OriginServerService service.
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
							 | 
						||
| 
								 | 
							
								type OriginServerServiceClient interface {
							 | 
						||
| 
								 | 
							
									// 创建源站
							 | 
						||
| 
								 | 
							
									CreateOriginServer(ctx context.Context, in *CreateOriginServerRequest, opts ...grpc.CallOption) (*CreateOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
									// 修改源站
							 | 
						||
| 
								 | 
							
									UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*UpdateOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
									// 查找单个源站信息
							 | 
						||
| 
								 | 
							
									FindEnabledOriginServer(ctx context.Context, in *FindEnabledOriginServerRequest, opts ...grpc.CallOption) (*FindEnabledOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type originServerServiceClient struct {
							 | 
						||
| 
								 | 
							
									cc grpc.ClientConnInterface
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func NewOriginServerServiceClient(cc grpc.ClientConnInterface) OriginServerServiceClient {
							 | 
						||
| 
								 | 
							
									return &originServerServiceClient{cc}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (c *originServerServiceClient) CreateOriginServer(ctx context.Context, in *CreateOriginServerRequest, opts ...grpc.CallOption) (*CreateOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									out := new(CreateOriginServerResponse)
							 | 
						||
| 
								 | 
							
									err := c.cc.Invoke(ctx, "/pb.OriginServerService/createOriginServer", in, out, opts...)
							 | 
						||
| 
								 | 
							
									if err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return out, nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (c *originServerServiceClient) UpdateOriginServer(ctx context.Context, in *UpdateOriginServerRequest, opts ...grpc.CallOption) (*UpdateOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									out := new(UpdateOriginServerResponse)
							 | 
						||
| 
								 | 
							
									err := c.cc.Invoke(ctx, "/pb.OriginServerService/updateOriginServer", in, out, opts...)
							 | 
						||
| 
								 | 
							
									if err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return out, nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (c *originServerServiceClient) FindEnabledOriginServer(ctx context.Context, in *FindEnabledOriginServerRequest, opts ...grpc.CallOption) (*FindEnabledOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									out := new(FindEnabledOriginServerResponse)
							 | 
						||
| 
								 | 
							
									err := c.cc.Invoke(ctx, "/pb.OriginServerService/findEnabledOriginServer", in, out, opts...)
							 | 
						||
| 
								 | 
							
									if err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return out, nil
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// OriginServerServiceServer is the server API for OriginServerService service.
							 | 
						||
| 
								 | 
							
								type OriginServerServiceServer interface {
							 | 
						||
| 
								 | 
							
									// 创建源站
							 | 
						||
| 
								 | 
							
									CreateOriginServer(context.Context, *CreateOriginServerRequest) (*CreateOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
									// 修改源站
							 | 
						||
| 
								 | 
							
									UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*UpdateOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
									// 查找单个源站信息
							 | 
						||
| 
								 | 
							
									FindEnabledOriginServer(context.Context, *FindEnabledOriginServerRequest) (*FindEnabledOriginServerResponse, error)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// UnimplementedOriginServerServiceServer can be embedded to have forward compatible implementations.
							 | 
						||
| 
								 | 
							
								type UnimplementedOriginServerServiceServer struct {
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (*UnimplementedOriginServerServiceServer) CreateOriginServer(context.Context, *CreateOriginServerRequest) (*CreateOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									return nil, status.Errorf(codes.Unimplemented, "method CreateOriginServer not implemented")
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								func (*UnimplementedOriginServerServiceServer) UpdateOriginServer(context.Context, *UpdateOriginServerRequest) (*UpdateOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									return nil, status.Errorf(codes.Unimplemented, "method UpdateOriginServer not implemented")
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								func (*UnimplementedOriginServerServiceServer) FindEnabledOriginServer(context.Context, *FindEnabledOriginServerRequest) (*FindEnabledOriginServerResponse, error) {
							 | 
						||
| 
								 | 
							
									return nil, status.Errorf(codes.Unimplemented, "method FindEnabledOriginServer not implemented")
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func RegisterOriginServerServiceServer(s *grpc.Server, srv OriginServerServiceServer) {
							 | 
						||
| 
								 | 
							
									s.RegisterService(&_OriginServerService_serviceDesc, srv)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func _OriginServerService_CreateOriginServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
							 | 
						||
| 
								 | 
							
									in := new(CreateOriginServerRequest)
							 | 
						||
| 
								 | 
							
									if err := dec(in); err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									if interceptor == nil {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).CreateOriginServer(ctx, in)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									info := &grpc.UnaryServerInfo{
							 | 
						||
| 
								 | 
							
										Server:     srv,
							 | 
						||
| 
								 | 
							
										FullMethod: "/pb.OriginServerService/CreateOriginServer",
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									handler := func(ctx context.Context, req interface{}) (interface{}, error) {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).CreateOriginServer(ctx, req.(*CreateOriginServerRequest))
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return interceptor(ctx, in, info, handler)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func _OriginServerService_UpdateOriginServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
							 | 
						||
| 
								 | 
							
									in := new(UpdateOriginServerRequest)
							 | 
						||
| 
								 | 
							
									if err := dec(in); err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									if interceptor == nil {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).UpdateOriginServer(ctx, in)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									info := &grpc.UnaryServerInfo{
							 | 
						||
| 
								 | 
							
										Server:     srv,
							 | 
						||
| 
								 | 
							
										FullMethod: "/pb.OriginServerService/UpdateOriginServer",
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									handler := func(ctx context.Context, req interface{}) (interface{}, error) {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).UpdateOriginServer(ctx, req.(*UpdateOriginServerRequest))
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return interceptor(ctx, in, info, handler)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func _OriginServerService_FindEnabledOriginServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
							 | 
						||
| 
								 | 
							
									in := new(FindEnabledOriginServerRequest)
							 | 
						||
| 
								 | 
							
									if err := dec(in); err != nil {
							 | 
						||
| 
								 | 
							
										return nil, err
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									if interceptor == nil {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).FindEnabledOriginServer(ctx, in)
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									info := &grpc.UnaryServerInfo{
							 | 
						||
| 
								 | 
							
										Server:     srv,
							 | 
						||
| 
								 | 
							
										FullMethod: "/pb.OriginServerService/FindEnabledOriginServer",
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									handler := func(ctx context.Context, req interface{}) (interface{}, error) {
							 | 
						||
| 
								 | 
							
										return srv.(OriginServerServiceServer).FindEnabledOriginServer(ctx, req.(*FindEnabledOriginServerRequest))
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									return interceptor(ctx, in, info, handler)
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var _OriginServerService_serviceDesc = grpc.ServiceDesc{
							 | 
						||
| 
								 | 
							
									ServiceName: "pb.OriginServerService",
							 | 
						||
| 
								 | 
							
									HandlerType: (*OriginServerServiceServer)(nil),
							 | 
						||
| 
								 | 
							
									Methods: []grpc.MethodDesc{
							 | 
						||
| 
								 | 
							
										{
							 | 
						||
| 
								 | 
							
											MethodName: "createOriginServer",
							 | 
						||
| 
								 | 
							
											Handler:    _OriginServerService_CreateOriginServer_Handler,
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
										{
							 | 
						||
| 
								 | 
							
											MethodName: "updateOriginServer",
							 | 
						||
| 
								 | 
							
											Handler:    _OriginServerService_UpdateOriginServer_Handler,
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
										{
							 | 
						||
| 
								 | 
							
											MethodName: "findEnabledOriginServer",
							 | 
						||
| 
								 | 
							
											Handler:    _OriginServerService_FindEnabledOriginServer_Handler,
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
									},
							 | 
						||
| 
								 | 
							
									Streams:  []grpc.StreamDesc{},
							 | 
						||
| 
								 | 
							
									Metadata: "service_origin_server.proto",
							 | 
						||
| 
								 | 
							
								}
							 |