github.com/kaydxh/golang@v0.0.131/pkg/binlog/binlog.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.13.0
     5  // source: pkg/binlog/binlog.proto
     6  
     7  package binlog
     8  
     9  import (
    10  	duration "github.com/golang/protobuf/ptypes/duration"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type BinlogType int32
    25  
    26  const (
    27  	BinlogType_BinlogType_DB   BinlogType = 0
    28  	BinlogType_BinlogType_File BinlogType = 1
    29  )
    30  
    31  // Enum value maps for BinlogType.
    32  var (
    33  	BinlogType_name = map[int32]string{
    34  		0: "BinlogType_DB",
    35  		1: "BinlogType_File",
    36  	}
    37  	BinlogType_value = map[string]int32{
    38  		"BinlogType_DB":   0,
    39  		"BinlogType_File": 1,
    40  	}
    41  )
    42  
    43  func (x BinlogType) Enum() *BinlogType {
    44  	p := new(BinlogType)
    45  	*p = x
    46  	return p
    47  }
    48  
    49  func (x BinlogType) String() string {
    50  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    51  }
    52  
    53  func (BinlogType) Descriptor() protoreflect.EnumDescriptor {
    54  	return file_pkg_binlog_binlog_proto_enumTypes[0].Descriptor()
    55  }
    56  
    57  func (BinlogType) Type() protoreflect.EnumType {
    58  	return &file_pkg_binlog_binlog_proto_enumTypes[0]
    59  }
    60  
    61  func (x BinlogType) Number() protoreflect.EnumNumber {
    62  	return protoreflect.EnumNumber(x)
    63  }
    64  
    65  // Deprecated: Use BinlogType.Descriptor instead.
    66  func (BinlogType) EnumDescriptor() ([]byte, []int) {
    67  	return file_pkg_binlog_binlog_proto_rawDescGZIP(), []int{0}
    68  }
    69  
    70  type Binlog struct {
    71  	state         protoimpl.MessageState
    72  	sizeCache     protoimpl.SizeCache
    73  	unknownFields protoimpl.UnknownFields
    74  
    75  	Enabled          bool               `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    76  	BinlogType       BinlogType         `protobuf:"varint,2,opt,name=binlog_type,json=binlogType,proto3,enum=go.pkg.binlog.BinlogType" json:"binlog_type,omitempty"`
    77  	FlushBatchSize   int64              `protobuf:"varint,3,opt,name=flush_batch_size,json=flushBatchSize,proto3" json:"flush_batch_size,omitempty"`
    78  	MaxFlushInterval *duration.Duration `protobuf:"bytes,4,opt,name=max_flush_interval,json=maxFlushInterval,proto3" json:"max_flush_interval,omitempty"`
    79  	FlushTimeout     *duration.Duration `protobuf:"bytes,5,opt,name=flush_timeout,json=flushTimeout,proto3" json:"flush_timeout,omitempty"`
    80  	DbLog            *Binlog_DBLog      `protobuf:"bytes,20,opt,name=db_log,json=dbLog,proto3" json:"db_log,omitempty"`
    81  	FileLog          *Binlog_FileLog    `protobuf:"bytes,21,opt,name=file_log,json=fileLog,proto3" json:"file_log,omitempty"`
    82  }
    83  
    84  func (x *Binlog) Reset() {
    85  	*x = Binlog{}
    86  	if protoimpl.UnsafeEnabled {
    87  		mi := &file_pkg_binlog_binlog_proto_msgTypes[0]
    88  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    89  		ms.StoreMessageInfo(mi)
    90  	}
    91  }
    92  
    93  func (x *Binlog) String() string {
    94  	return protoimpl.X.MessageStringOf(x)
    95  }
    96  
    97  func (*Binlog) ProtoMessage() {}
    98  
    99  func (x *Binlog) ProtoReflect() protoreflect.Message {
   100  	mi := &file_pkg_binlog_binlog_proto_msgTypes[0]
   101  	if protoimpl.UnsafeEnabled && x != nil {
   102  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   103  		if ms.LoadMessageInfo() == nil {
   104  			ms.StoreMessageInfo(mi)
   105  		}
   106  		return ms
   107  	}
   108  	return mi.MessageOf(x)
   109  }
   110  
   111  // Deprecated: Use Binlog.ProtoReflect.Descriptor instead.
   112  func (*Binlog) Descriptor() ([]byte, []int) {
   113  	return file_pkg_binlog_binlog_proto_rawDescGZIP(), []int{0}
   114  }
   115  
   116  func (x *Binlog) GetEnabled() bool {
   117  	if x != nil {
   118  		return x.Enabled
   119  	}
   120  	return false
   121  }
   122  
   123  func (x *Binlog) GetBinlogType() BinlogType {
   124  	if x != nil {
   125  		return x.BinlogType
   126  	}
   127  	return BinlogType_BinlogType_DB
   128  }
   129  
   130  func (x *Binlog) GetFlushBatchSize() int64 {
   131  	if x != nil {
   132  		return x.FlushBatchSize
   133  	}
   134  	return 0
   135  }
   136  
   137  func (x *Binlog) GetMaxFlushInterval() *duration.Duration {
   138  	if x != nil {
   139  		return x.MaxFlushInterval
   140  	}
   141  	return nil
   142  }
   143  
   144  func (x *Binlog) GetFlushTimeout() *duration.Duration {
   145  	if x != nil {
   146  		return x.FlushTimeout
   147  	}
   148  	return nil
   149  }
   150  
   151  func (x *Binlog) GetDbLog() *Binlog_DBLog {
   152  	if x != nil {
   153  		return x.DbLog
   154  	}
   155  	return nil
   156  }
   157  
   158  func (x *Binlog) GetFileLog() *Binlog_FileLog {
   159  	if x != nil {
   160  		return x.FileLog
   161  	}
   162  	return nil
   163  }
   164  
   165  type Binlog_DBLog struct {
   166  	state         protoimpl.MessageState
   167  	sizeCache     protoimpl.SizeCache
   168  	unknownFields protoimpl.UnknownFields
   169  }
   170  
   171  func (x *Binlog_DBLog) Reset() {
   172  	*x = Binlog_DBLog{}
   173  	if protoimpl.UnsafeEnabled {
   174  		mi := &file_pkg_binlog_binlog_proto_msgTypes[1]
   175  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   176  		ms.StoreMessageInfo(mi)
   177  	}
   178  }
   179  
   180  func (x *Binlog_DBLog) String() string {
   181  	return protoimpl.X.MessageStringOf(x)
   182  }
   183  
   184  func (*Binlog_DBLog) ProtoMessage() {}
   185  
   186  func (x *Binlog_DBLog) ProtoReflect() protoreflect.Message {
   187  	mi := &file_pkg_binlog_binlog_proto_msgTypes[1]
   188  	if protoimpl.UnsafeEnabled && x != nil {
   189  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   190  		if ms.LoadMessageInfo() == nil {
   191  			ms.StoreMessageInfo(mi)
   192  		}
   193  		return ms
   194  	}
   195  	return mi.MessageOf(x)
   196  }
   197  
   198  // Deprecated: Use Binlog_DBLog.ProtoReflect.Descriptor instead.
   199  func (*Binlog_DBLog) Descriptor() ([]byte, []int) {
   200  	return file_pkg_binlog_binlog_proto_rawDescGZIP(), []int{0, 0}
   201  }
   202  
   203  type Binlog_FileLog struct {
   204  	state         protoimpl.MessageState
   205  	sizeCache     protoimpl.SizeCache
   206  	unknownFields protoimpl.UnknownFields
   207  
   208  	Filepath       string             `protobuf:"bytes,3,opt,name=filepath,proto3" json:"filepath,omitempty"`
   209  	MaxAge         *duration.Duration `protobuf:"bytes,4,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
   210  	MaxCount       int64              `protobuf:"varint,5,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
   211  	RotateInterval *duration.Duration `protobuf:"bytes,6,opt,name=rotate_interval,json=rotateInterval,proto3" json:"rotate_interval,omitempty"`
   212  	RotateSize     int64              `protobuf:"varint,7,opt,name=rotate_size,json=rotateSize,proto3" json:"rotate_size,omitempty"`
   213  }
   214  
   215  func (x *Binlog_FileLog) Reset() {
   216  	*x = Binlog_FileLog{}
   217  	if protoimpl.UnsafeEnabled {
   218  		mi := &file_pkg_binlog_binlog_proto_msgTypes[2]
   219  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  		ms.StoreMessageInfo(mi)
   221  	}
   222  }
   223  
   224  func (x *Binlog_FileLog) String() string {
   225  	return protoimpl.X.MessageStringOf(x)
   226  }
   227  
   228  func (*Binlog_FileLog) ProtoMessage() {}
   229  
   230  func (x *Binlog_FileLog) ProtoReflect() protoreflect.Message {
   231  	mi := &file_pkg_binlog_binlog_proto_msgTypes[2]
   232  	if protoimpl.UnsafeEnabled && x != nil {
   233  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   234  		if ms.LoadMessageInfo() == nil {
   235  			ms.StoreMessageInfo(mi)
   236  		}
   237  		return ms
   238  	}
   239  	return mi.MessageOf(x)
   240  }
   241  
   242  // Deprecated: Use Binlog_FileLog.ProtoReflect.Descriptor instead.
   243  func (*Binlog_FileLog) Descriptor() ([]byte, []int) {
   244  	return file_pkg_binlog_binlog_proto_rawDescGZIP(), []int{0, 1}
   245  }
   246  
   247  func (x *Binlog_FileLog) GetFilepath() string {
   248  	if x != nil {
   249  		return x.Filepath
   250  	}
   251  	return ""
   252  }
   253  
   254  func (x *Binlog_FileLog) GetMaxAge() *duration.Duration {
   255  	if x != nil {
   256  		return x.MaxAge
   257  	}
   258  	return nil
   259  }
   260  
   261  func (x *Binlog_FileLog) GetMaxCount() int64 {
   262  	if x != nil {
   263  		return x.MaxCount
   264  	}
   265  	return 0
   266  }
   267  
   268  func (x *Binlog_FileLog) GetRotateInterval() *duration.Duration {
   269  	if x != nil {
   270  		return x.RotateInterval
   271  	}
   272  	return nil
   273  }
   274  
   275  func (x *Binlog_FileLog) GetRotateSize() int64 {
   276  	if x != nil {
   277  		return x.RotateSize
   278  	}
   279  	return 0
   280  }
   281  
   282  var File_pkg_binlog_binlog_proto protoreflect.FileDescriptor
   283  
   284  var file_pkg_binlog_binlog_proto_rawDesc = []byte{
   285  	0x0a, 0x17, 0x70, 0x6b, 0x67, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x2f, 0x62, 0x69, 0x6e,
   286  	0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67, 0x6f, 0x2e, 0x70, 0x6b,
   287  	0x67, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   288  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
   289  	0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x04, 0x0a, 0x06, 0x42, 0x69, 0x6e,
   290  	0x6c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01,
   291  	0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3a, 0x0a,
   292  	0x0b, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
   293  	0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x62, 0x69, 0x6e, 0x6c,
   294  	0x6f, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x62,
   295  	0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6c, 0x75,
   296  	0x73, 0x68, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20,
   297  	0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53,
   298  	0x69, 0x7a, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68,
   299  	0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
   300  	0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   301  	0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x46,
   302  	0x6c, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3e, 0x0a, 0x0d,
   303  	0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20,
   304  	0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   305  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
   306  	0x66, 0x6c, 0x75, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x32, 0x0a, 0x06,
   307  	0x64, 0x62, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67,
   308  	0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x2e, 0x42, 0x69, 0x6e,
   309  	0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x42, 0x4c, 0x6f, 0x67, 0x52, 0x05, 0x64, 0x62, 0x4c, 0x6f, 0x67,
   310  	0x12, 0x38, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x15, 0x20, 0x01,
   311  	0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x62, 0x69, 0x6e, 0x6c,
   312  	0x6f, 0x67, 0x2e, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x6f,
   313  	0x67, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x67, 0x1a, 0x07, 0x0a, 0x05, 0x44, 0x42,
   314  	0x4c, 0x6f, 0x67, 0x1a, 0xdb, 0x01, 0x0a, 0x07, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x67, 0x12,
   315  	0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
   316  	0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x32, 0x0a, 0x07, 0x6d,
   317  	0x61, 0x78, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
   318  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
   319  	0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, 0x12,
   320  	0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
   321  	0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f,
   322  	0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18,
   323  	0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   324  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   325  	0x52, 0x0e, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
   326  	0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
   327  	0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x53, 0x69, 0x7a,
   328  	0x65, 0x2a, 0x34, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12,
   329  	0x11, 0x0a, 0x0d, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x44, 0x42,
   330  	0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65,
   331  	0x5f, 0x46, 0x69, 0x6c, 0x65, 0x10, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75,
   332  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x61, 0x79, 0x64, 0x78, 0x68, 0x2f, 0x67, 0x6f, 0x2e,
   333  	0x70, 0x6b, 0x67, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x3b, 0x62, 0x69, 0x6e, 0x6c, 0x6f,
   334  	0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   335  }
   336  
   337  var (
   338  	file_pkg_binlog_binlog_proto_rawDescOnce sync.Once
   339  	file_pkg_binlog_binlog_proto_rawDescData = file_pkg_binlog_binlog_proto_rawDesc
   340  )
   341  
   342  func file_pkg_binlog_binlog_proto_rawDescGZIP() []byte {
   343  	file_pkg_binlog_binlog_proto_rawDescOnce.Do(func() {
   344  		file_pkg_binlog_binlog_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_binlog_binlog_proto_rawDescData)
   345  	})
   346  	return file_pkg_binlog_binlog_proto_rawDescData
   347  }
   348  
   349  var file_pkg_binlog_binlog_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   350  var file_pkg_binlog_binlog_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   351  var file_pkg_binlog_binlog_proto_goTypes = []interface{}{
   352  	(BinlogType)(0),           // 0: go.pkg.binlog.BinlogType
   353  	(*Binlog)(nil),            // 1: go.pkg.binlog.Binlog
   354  	(*Binlog_DBLog)(nil),      // 2: go.pkg.binlog.Binlog.DBLog
   355  	(*Binlog_FileLog)(nil),    // 3: go.pkg.binlog.Binlog.FileLog
   356  	(*duration.Duration)(nil), // 4: google.protobuf.Duration
   357  }
   358  var file_pkg_binlog_binlog_proto_depIdxs = []int32{
   359  	0, // 0: go.pkg.binlog.Binlog.binlog_type:type_name -> go.pkg.binlog.BinlogType
   360  	4, // 1: go.pkg.binlog.Binlog.max_flush_interval:type_name -> google.protobuf.Duration
   361  	4, // 2: go.pkg.binlog.Binlog.flush_timeout:type_name -> google.protobuf.Duration
   362  	2, // 3: go.pkg.binlog.Binlog.db_log:type_name -> go.pkg.binlog.Binlog.DBLog
   363  	3, // 4: go.pkg.binlog.Binlog.file_log:type_name -> go.pkg.binlog.Binlog.FileLog
   364  	4, // 5: go.pkg.binlog.Binlog.FileLog.max_age:type_name -> google.protobuf.Duration
   365  	4, // 6: go.pkg.binlog.Binlog.FileLog.rotate_interval:type_name -> google.protobuf.Duration
   366  	7, // [7:7] is the sub-list for method output_type
   367  	7, // [7:7] is the sub-list for method input_type
   368  	7, // [7:7] is the sub-list for extension type_name
   369  	7, // [7:7] is the sub-list for extension extendee
   370  	0, // [0:7] is the sub-list for field type_name
   371  }
   372  
   373  func init() { file_pkg_binlog_binlog_proto_init() }
   374  func file_pkg_binlog_binlog_proto_init() {
   375  	if File_pkg_binlog_binlog_proto != nil {
   376  		return
   377  	}
   378  	if !protoimpl.UnsafeEnabled {
   379  		file_pkg_binlog_binlog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   380  			switch v := v.(*Binlog); i {
   381  			case 0:
   382  				return &v.state
   383  			case 1:
   384  				return &v.sizeCache
   385  			case 2:
   386  				return &v.unknownFields
   387  			default:
   388  				return nil
   389  			}
   390  		}
   391  		file_pkg_binlog_binlog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   392  			switch v := v.(*Binlog_DBLog); i {
   393  			case 0:
   394  				return &v.state
   395  			case 1:
   396  				return &v.sizeCache
   397  			case 2:
   398  				return &v.unknownFields
   399  			default:
   400  				return nil
   401  			}
   402  		}
   403  		file_pkg_binlog_binlog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   404  			switch v := v.(*Binlog_FileLog); i {
   405  			case 0:
   406  				return &v.state
   407  			case 1:
   408  				return &v.sizeCache
   409  			case 2:
   410  				return &v.unknownFields
   411  			default:
   412  				return nil
   413  			}
   414  		}
   415  	}
   416  	type x struct{}
   417  	out := protoimpl.TypeBuilder{
   418  		File: protoimpl.DescBuilder{
   419  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   420  			RawDescriptor: file_pkg_binlog_binlog_proto_rawDesc,
   421  			NumEnums:      1,
   422  			NumMessages:   3,
   423  			NumExtensions: 0,
   424  			NumServices:   0,
   425  		},
   426  		GoTypes:           file_pkg_binlog_binlog_proto_goTypes,
   427  		DependencyIndexes: file_pkg_binlog_binlog_proto_depIdxs,
   428  		EnumInfos:         file_pkg_binlog_binlog_proto_enumTypes,
   429  		MessageInfos:      file_pkg_binlog_binlog_proto_msgTypes,
   430  	}.Build()
   431  	File_pkg_binlog_binlog_proto = out.File
   432  	file_pkg_binlog_binlog_proto_rawDesc = nil
   433  	file_pkg_binlog_binlog_proto_goTypes = nil
   434  	file_pkg_binlog_binlog_proto_depIdxs = nil
   435  }