github.com/microsoft/moc@v0.17.1/rpc/common/admin/moc_common_logging.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: admin/logging/moc_common_logging.proto
     3  
     4  package admin
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/golang/protobuf/proto"
    10  	wrappers "github.com/golang/protobuf/ptypes/wrappers"
    11  	grpc "google.golang.org/grpc"
    12  	codes "google.golang.org/grpc/codes"
    13  	status "google.golang.org/grpc/status"
    14  	math "math"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var _ = proto.Marshal
    19  var _ = fmt.Errorf
    20  var _ = math.Inf
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  type VerboseLevel int32
    29  
    30  const (
    31  	VerboseLevel_Min_Level VerboseLevel = 0
    32  	VerboseLevel_Max_Level VerboseLevel = 9
    33  )
    34  
    35  var VerboseLevel_name = map[int32]string{
    36  	0: "Min_Level",
    37  	9: "Max_Level",
    38  }
    39  
    40  var VerboseLevel_value = map[string]int32{
    41  	"Min_Level": 0,
    42  	"Max_Level": 9,
    43  }
    44  
    45  func (x VerboseLevel) String() string {
    46  	return proto.EnumName(VerboseLevel_name, int32(x))
    47  }
    48  
    49  func (VerboseLevel) EnumDescriptor() ([]byte, []int) {
    50  	return fileDescriptor_6fcdf0c7be3b2171, []int{0}
    51  }
    52  
    53  type LogRotateRequest struct {
    54  	LogRotation          *LogRotation `protobuf:"bytes,1,opt,name=logRotation,proto3" json:"logRotation,omitempty"`
    55  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    56  	XXX_unrecognized     []byte       `json:"-"`
    57  	XXX_sizecache        int32        `json:"-"`
    58  }
    59  
    60  func (m *LogRotateRequest) Reset()         { *m = LogRotateRequest{} }
    61  func (m *LogRotateRequest) String() string { return proto.CompactTextString(m) }
    62  func (*LogRotateRequest) ProtoMessage()    {}
    63  func (*LogRotateRequest) Descriptor() ([]byte, []int) {
    64  	return fileDescriptor_6fcdf0c7be3b2171, []int{0}
    65  }
    66  
    67  func (m *LogRotateRequest) XXX_Unmarshal(b []byte) error {
    68  	return xxx_messageInfo_LogRotateRequest.Unmarshal(m, b)
    69  }
    70  func (m *LogRotateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    71  	return xxx_messageInfo_LogRotateRequest.Marshal(b, m, deterministic)
    72  }
    73  func (m *LogRotateRequest) XXX_Merge(src proto.Message) {
    74  	xxx_messageInfo_LogRotateRequest.Merge(m, src)
    75  }
    76  func (m *LogRotateRequest) XXX_Size() int {
    77  	return xxx_messageInfo_LogRotateRequest.Size(m)
    78  }
    79  func (m *LogRotateRequest) XXX_DiscardUnknown() {
    80  	xxx_messageInfo_LogRotateRequest.DiscardUnknown(m)
    81  }
    82  
    83  var xxx_messageInfo_LogRotateRequest proto.InternalMessageInfo
    84  
    85  func (m *LogRotateRequest) GetLogRotation() *LogRotation {
    86  	if m != nil {
    87  		return m.LogRotation
    88  	}
    89  	return nil
    90  }
    91  
    92  type LogRotateResponse struct {
    93  	Result               bool     `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
    94  	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
    95  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    96  	XXX_unrecognized     []byte   `json:"-"`
    97  	XXX_sizecache        int32    `json:"-"`
    98  }
    99  
   100  func (m *LogRotateResponse) Reset()         { *m = LogRotateResponse{} }
   101  func (m *LogRotateResponse) String() string { return proto.CompactTextString(m) }
   102  func (*LogRotateResponse) ProtoMessage()    {}
   103  func (*LogRotateResponse) Descriptor() ([]byte, []int) {
   104  	return fileDescriptor_6fcdf0c7be3b2171, []int{1}
   105  }
   106  
   107  func (m *LogRotateResponse) XXX_Unmarshal(b []byte) error {
   108  	return xxx_messageInfo_LogRotateResponse.Unmarshal(m, b)
   109  }
   110  func (m *LogRotateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   111  	return xxx_messageInfo_LogRotateResponse.Marshal(b, m, deterministic)
   112  }
   113  func (m *LogRotateResponse) XXX_Merge(src proto.Message) {
   114  	xxx_messageInfo_LogRotateResponse.Merge(m, src)
   115  }
   116  func (m *LogRotateResponse) XXX_Size() int {
   117  	return xxx_messageInfo_LogRotateResponse.Size(m)
   118  }
   119  func (m *LogRotateResponse) XXX_DiscardUnknown() {
   120  	xxx_messageInfo_LogRotateResponse.DiscardUnknown(m)
   121  }
   122  
   123  var xxx_messageInfo_LogRotateResponse proto.InternalMessageInfo
   124  
   125  func (m *LogRotateResponse) GetResult() bool {
   126  	if m != nil {
   127  		return m.Result
   128  	}
   129  	return false
   130  }
   131  
   132  func (m *LogRotateResponse) GetError() string {
   133  	if m != nil {
   134  		return m.Error
   135  	}
   136  	return ""
   137  }
   138  
   139  type LogRotation struct {
   140  	Minutes              int32    `protobuf:"varint,1,opt,name=minutes,proto3" json:"minutes,omitempty"`
   141  	Size                 int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
   142  	EnableTime           bool     `protobuf:"varint,3,opt,name=enableTime,proto3" json:"enableTime,omitempty"`
   143  	EnableSize           bool     `protobuf:"varint,4,opt,name=enableSize,proto3" json:"enableSize,omitempty"`
   144  	DisableTime          bool     `protobuf:"varint,5,opt,name=disableTime,proto3" json:"disableTime,omitempty"`
   145  	DisableSize          bool     `protobuf:"varint,6,opt,name=disableSize,proto3" json:"disableSize,omitempty"`
   146  	Limit                int32    `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
   147  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   148  	XXX_unrecognized     []byte   `json:"-"`
   149  	XXX_sizecache        int32    `json:"-"`
   150  }
   151  
   152  func (m *LogRotation) Reset()         { *m = LogRotation{} }
   153  func (m *LogRotation) String() string { return proto.CompactTextString(m) }
   154  func (*LogRotation) ProtoMessage()    {}
   155  func (*LogRotation) Descriptor() ([]byte, []int) {
   156  	return fileDescriptor_6fcdf0c7be3b2171, []int{2}
   157  }
   158  
   159  func (m *LogRotation) XXX_Unmarshal(b []byte) error {
   160  	return xxx_messageInfo_LogRotation.Unmarshal(m, b)
   161  }
   162  func (m *LogRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   163  	return xxx_messageInfo_LogRotation.Marshal(b, m, deterministic)
   164  }
   165  func (m *LogRotation) XXX_Merge(src proto.Message) {
   166  	xxx_messageInfo_LogRotation.Merge(m, src)
   167  }
   168  func (m *LogRotation) XXX_Size() int {
   169  	return xxx_messageInfo_LogRotation.Size(m)
   170  }
   171  func (m *LogRotation) XXX_DiscardUnknown() {
   172  	xxx_messageInfo_LogRotation.DiscardUnknown(m)
   173  }
   174  
   175  var xxx_messageInfo_LogRotation proto.InternalMessageInfo
   176  
   177  func (m *LogRotation) GetMinutes() int32 {
   178  	if m != nil {
   179  		return m.Minutes
   180  	}
   181  	return 0
   182  }
   183  
   184  func (m *LogRotation) GetSize() int32 {
   185  	if m != nil {
   186  		return m.Size
   187  	}
   188  	return 0
   189  }
   190  
   191  func (m *LogRotation) GetEnableTime() bool {
   192  	if m != nil {
   193  		return m.EnableTime
   194  	}
   195  	return false
   196  }
   197  
   198  func (m *LogRotation) GetEnableSize() bool {
   199  	if m != nil {
   200  		return m.EnableSize
   201  	}
   202  	return false
   203  }
   204  
   205  func (m *LogRotation) GetDisableTime() bool {
   206  	if m != nil {
   207  		return m.DisableTime
   208  	}
   209  	return false
   210  }
   211  
   212  func (m *LogRotation) GetDisableSize() bool {
   213  	if m != nil {
   214  		return m.DisableSize
   215  	}
   216  	return false
   217  }
   218  
   219  func (m *LogRotation) GetLimit() int32 {
   220  	if m != nil {
   221  		return m.Limit
   222  	}
   223  	return 0
   224  }
   225  
   226  type LogRequest struct {
   227  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   228  	XXX_unrecognized     []byte   `json:"-"`
   229  	XXX_sizecache        int32    `json:"-"`
   230  }
   231  
   232  func (m *LogRequest) Reset()         { *m = LogRequest{} }
   233  func (m *LogRequest) String() string { return proto.CompactTextString(m) }
   234  func (*LogRequest) ProtoMessage()    {}
   235  func (*LogRequest) Descriptor() ([]byte, []int) {
   236  	return fileDescriptor_6fcdf0c7be3b2171, []int{3}
   237  }
   238  
   239  func (m *LogRequest) XXX_Unmarshal(b []byte) error {
   240  	return xxx_messageInfo_LogRequest.Unmarshal(m, b)
   241  }
   242  func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   243  	return xxx_messageInfo_LogRequest.Marshal(b, m, deterministic)
   244  }
   245  func (m *LogRequest) XXX_Merge(src proto.Message) {
   246  	xxx_messageInfo_LogRequest.Merge(m, src)
   247  }
   248  func (m *LogRequest) XXX_Size() int {
   249  	return xxx_messageInfo_LogRequest.Size(m)
   250  }
   251  func (m *LogRequest) XXX_DiscardUnknown() {
   252  	xxx_messageInfo_LogRequest.DiscardUnknown(m)
   253  }
   254  
   255  var xxx_messageInfo_LogRequest proto.InternalMessageInfo
   256  
   257  type LogFileResponse struct {
   258  	File                 []byte              `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
   259  	Done                 *wrappers.BoolValue `protobuf:"bytes,2,opt,name=done,proto3" json:"done,omitempty"`
   260  	Error                string              `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
   261  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   262  	XXX_unrecognized     []byte              `json:"-"`
   263  	XXX_sizecache        int32               `json:"-"`
   264  }
   265  
   266  func (m *LogFileResponse) Reset()         { *m = LogFileResponse{} }
   267  func (m *LogFileResponse) String() string { return proto.CompactTextString(m) }
   268  func (*LogFileResponse) ProtoMessage()    {}
   269  func (*LogFileResponse) Descriptor() ([]byte, []int) {
   270  	return fileDescriptor_6fcdf0c7be3b2171, []int{4}
   271  }
   272  
   273  func (m *LogFileResponse) XXX_Unmarshal(b []byte) error {
   274  	return xxx_messageInfo_LogFileResponse.Unmarshal(m, b)
   275  }
   276  func (m *LogFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   277  	return xxx_messageInfo_LogFileResponse.Marshal(b, m, deterministic)
   278  }
   279  func (m *LogFileResponse) XXX_Merge(src proto.Message) {
   280  	xxx_messageInfo_LogFileResponse.Merge(m, src)
   281  }
   282  func (m *LogFileResponse) XXX_Size() int {
   283  	return xxx_messageInfo_LogFileResponse.Size(m)
   284  }
   285  func (m *LogFileResponse) XXX_DiscardUnknown() {
   286  	xxx_messageInfo_LogFileResponse.DiscardUnknown(m)
   287  }
   288  
   289  var xxx_messageInfo_LogFileResponse proto.InternalMessageInfo
   290  
   291  func (m *LogFileResponse) GetFile() []byte {
   292  	if m != nil {
   293  		return m.File
   294  	}
   295  	return nil
   296  }
   297  
   298  func (m *LogFileResponse) GetDone() *wrappers.BoolValue {
   299  	if m != nil {
   300  		return m.Done
   301  	}
   302  	return nil
   303  }
   304  
   305  func (m *LogFileResponse) GetError() string {
   306  	if m != nil {
   307  		return m.Error
   308  	}
   309  	return ""
   310  }
   311  
   312  type SetResponse struct {
   313  	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
   314  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   315  	XXX_unrecognized     []byte   `json:"-"`
   316  	XXX_sizecache        int32    `json:"-"`
   317  }
   318  
   319  func (m *SetResponse) Reset()         { *m = SetResponse{} }
   320  func (m *SetResponse) String() string { return proto.CompactTextString(m) }
   321  func (*SetResponse) ProtoMessage()    {}
   322  func (*SetResponse) Descriptor() ([]byte, []int) {
   323  	return fileDescriptor_6fcdf0c7be3b2171, []int{5}
   324  }
   325  
   326  func (m *SetResponse) XXX_Unmarshal(b []byte) error {
   327  	return xxx_messageInfo_SetResponse.Unmarshal(m, b)
   328  }
   329  func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   330  	return xxx_messageInfo_SetResponse.Marshal(b, m, deterministic)
   331  }
   332  func (m *SetResponse) XXX_Merge(src proto.Message) {
   333  	xxx_messageInfo_SetResponse.Merge(m, src)
   334  }
   335  func (m *SetResponse) XXX_Size() int {
   336  	return xxx_messageInfo_SetResponse.Size(m)
   337  }
   338  func (m *SetResponse) XXX_DiscardUnknown() {
   339  	xxx_messageInfo_SetResponse.DiscardUnknown(m)
   340  }
   341  
   342  var xxx_messageInfo_SetResponse proto.InternalMessageInfo
   343  
   344  func (m *SetResponse) GetError() string {
   345  	if m != nil {
   346  		return m.Error
   347  	}
   348  	return ""
   349  }
   350  
   351  type SetRequest struct {
   352  	Verbositylevel       int32    `protobuf:"varint,1,opt,name=verbositylevel,proto3" json:"verbositylevel,omitempty"`
   353  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   354  	XXX_unrecognized     []byte   `json:"-"`
   355  	XXX_sizecache        int32    `json:"-"`
   356  }
   357  
   358  func (m *SetRequest) Reset()         { *m = SetRequest{} }
   359  func (m *SetRequest) String() string { return proto.CompactTextString(m) }
   360  func (*SetRequest) ProtoMessage()    {}
   361  func (*SetRequest) Descriptor() ([]byte, []int) {
   362  	return fileDescriptor_6fcdf0c7be3b2171, []int{6}
   363  }
   364  
   365  func (m *SetRequest) XXX_Unmarshal(b []byte) error {
   366  	return xxx_messageInfo_SetRequest.Unmarshal(m, b)
   367  }
   368  func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   369  	return xxx_messageInfo_SetRequest.Marshal(b, m, deterministic)
   370  }
   371  func (m *SetRequest) XXX_Merge(src proto.Message) {
   372  	xxx_messageInfo_SetRequest.Merge(m, src)
   373  }
   374  func (m *SetRequest) XXX_Size() int {
   375  	return xxx_messageInfo_SetRequest.Size(m)
   376  }
   377  func (m *SetRequest) XXX_DiscardUnknown() {
   378  	xxx_messageInfo_SetRequest.DiscardUnknown(m)
   379  }
   380  
   381  var xxx_messageInfo_SetRequest proto.InternalMessageInfo
   382  
   383  func (m *SetRequest) GetVerbositylevel() int32 {
   384  	if m != nil {
   385  		return m.Verbositylevel
   386  	}
   387  	return 0
   388  }
   389  
   390  type GetRequest struct {
   391  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   392  	XXX_unrecognized     []byte   `json:"-"`
   393  	XXX_sizecache        int32    `json:"-"`
   394  }
   395  
   396  func (m *GetRequest) Reset()         { *m = GetRequest{} }
   397  func (m *GetRequest) String() string { return proto.CompactTextString(m) }
   398  func (*GetRequest) ProtoMessage()    {}
   399  func (*GetRequest) Descriptor() ([]byte, []int) {
   400  	return fileDescriptor_6fcdf0c7be3b2171, []int{7}
   401  }
   402  
   403  func (m *GetRequest) XXX_Unmarshal(b []byte) error {
   404  	return xxx_messageInfo_GetRequest.Unmarshal(m, b)
   405  }
   406  func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   407  	return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
   408  }
   409  func (m *GetRequest) XXX_Merge(src proto.Message) {
   410  	xxx_messageInfo_GetRequest.Merge(m, src)
   411  }
   412  func (m *GetRequest) XXX_Size() int {
   413  	return xxx_messageInfo_GetRequest.Size(m)
   414  }
   415  func (m *GetRequest) XXX_DiscardUnknown() {
   416  	xxx_messageInfo_GetRequest.DiscardUnknown(m)
   417  }
   418  
   419  var xxx_messageInfo_GetRequest proto.InternalMessageInfo
   420  
   421  type GetResponse struct {
   422  	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
   423  	Level                string   `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
   424  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   425  	XXX_unrecognized     []byte   `json:"-"`
   426  	XXX_sizecache        int32    `json:"-"`
   427  }
   428  
   429  func (m *GetResponse) Reset()         { *m = GetResponse{} }
   430  func (m *GetResponse) String() string { return proto.CompactTextString(m) }
   431  func (*GetResponse) ProtoMessage()    {}
   432  func (*GetResponse) Descriptor() ([]byte, []int) {
   433  	return fileDescriptor_6fcdf0c7be3b2171, []int{8}
   434  }
   435  
   436  func (m *GetResponse) XXX_Unmarshal(b []byte) error {
   437  	return xxx_messageInfo_GetResponse.Unmarshal(m, b)
   438  }
   439  func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   440  	return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
   441  }
   442  func (m *GetResponse) XXX_Merge(src proto.Message) {
   443  	xxx_messageInfo_GetResponse.Merge(m, src)
   444  }
   445  func (m *GetResponse) XXX_Size() int {
   446  	return xxx_messageInfo_GetResponse.Size(m)
   447  }
   448  func (m *GetResponse) XXX_DiscardUnknown() {
   449  	xxx_messageInfo_GetResponse.DiscardUnknown(m)
   450  }
   451  
   452  var xxx_messageInfo_GetResponse proto.InternalMessageInfo
   453  
   454  func (m *GetResponse) GetError() string {
   455  	if m != nil {
   456  		return m.Error
   457  	}
   458  	return ""
   459  }
   460  
   461  func (m *GetResponse) GetLevel() string {
   462  	if m != nil {
   463  		return m.Level
   464  	}
   465  	return ""
   466  }
   467  
   468  func init() {
   469  	proto.RegisterEnum("moc.common.admin.VerboseLevel", VerboseLevel_name, VerboseLevel_value)
   470  	proto.RegisterType((*LogRotateRequest)(nil), "moc.common.admin.LogRotateRequest")
   471  	proto.RegisterType((*LogRotateResponse)(nil), "moc.common.admin.LogRotateResponse")
   472  	proto.RegisterType((*LogRotation)(nil), "moc.common.admin.LogRotation")
   473  	proto.RegisterType((*LogRequest)(nil), "moc.common.admin.LogRequest")
   474  	proto.RegisterType((*LogFileResponse)(nil), "moc.common.admin.LogFileResponse")
   475  	proto.RegisterType((*SetResponse)(nil), "moc.common.admin.SetResponse")
   476  	proto.RegisterType((*SetRequest)(nil), "moc.common.admin.SetRequest")
   477  	proto.RegisterType((*GetRequest)(nil), "moc.common.admin.GetRequest")
   478  	proto.RegisterType((*GetResponse)(nil), "moc.common.admin.GetResponse")
   479  }
   480  
   481  func init() {
   482  	proto.RegisterFile("admin/logging/moc_common_logging.proto", fileDescriptor_6fcdf0c7be3b2171)
   483  }
   484  
   485  var fileDescriptor_6fcdf0c7be3b2171 = []byte{
   486  	// 540 bytes of a gzipped FileDescriptorProto
   487  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4d, 0x6f, 0xd3, 0x40,
   488  	0x10, 0xad, 0x9b, 0x8f, 0x26, 0xe3, 0x00, 0x61, 0x55, 0xa1, 0x28, 0xa2, 0x55, 0x70, 0xa5, 0xaa,
   489  	0x7c, 0xc8, 0x46, 0x81, 0x0b, 0x27, 0xd4, 0x0a, 0xb0, 0x40, 0xe1, 0xe2, 0xa0, 0x1e, 0xb8, 0x44,
   490  	0x4e, 0x32, 0x31, 0x2b, 0xd6, 0x9e, 0x60, 0xaf, 0xcb, 0xc7, 0x6f, 0xe3, 0x6f, 0xf0, 0x7f, 0x90,
   491  	0x67, 0x1d, 0xc7, 0x54, 0x69, 0xb9, 0xf9, 0xcd, 0xbc, 0xf7, 0x76, 0xf7, 0xcd, 0x24, 0x70, 0x1a,
   492  	0x2e, 0x63, 0x99, 0x78, 0x8a, 0xa2, 0x48, 0x26, 0x91, 0x17, 0xd3, 0x62, 0xb6, 0xa0, 0x38, 0xa6,
   493  	0x64, 0x56, 0x96, 0xdc, 0x75, 0x4a, 0x9a, 0x44, 0x3f, 0xa6, 0x85, 0x6b, 0x3a, 0x2e, 0x4b, 0x86,
   494  	0xc7, 0x11, 0x51, 0xa4, 0xd0, 0xe3, 0xfe, 0x3c, 0x5f, 0x79, 0xdf, 0xd3, 0x70, 0xbd, 0xc6, 0x34,
   495  	0x33, 0x0a, 0x67, 0x0a, 0xfd, 0x09, 0x45, 0x01, 0xe9, 0x50, 0x63, 0x80, 0xdf, 0x72, 0xcc, 0xb4,
   496  	0x78, 0x0d, 0xb6, 0x2a, 0x6b, 0x92, 0x92, 0x81, 0x35, 0xb2, 0xce, 0xec, 0xf1, 0x91, 0x7b, 0xdd,
   497  	0xdb, 0x9d, 0x6c, 0x49, 0x41, 0x5d, 0xe1, 0x9c, 0xc3, 0xfd, 0x9a, 0x69, 0xb6, 0xa6, 0x24, 0x43,
   498  	0xf1, 0x00, 0xda, 0x01, 0x66, 0xb9, 0xd2, 0x6c, 0xd8, 0x09, 0x4a, 0x24, 0x0e, 0xa1, 0xf5, 0x36,
   499  	0x4d, 0x29, 0x1d, 0xec, 0x8f, 0xac, 0xb3, 0x6e, 0x60, 0x80, 0xf3, 0xc7, 0x02, 0xbb, 0xe6, 0x2f,
   500  	0x06, 0x70, 0x10, 0xcb, 0x24, 0xd7, 0x98, 0xb1, 0xbc, 0x15, 0x6c, 0xa0, 0x10, 0xd0, 0xcc, 0xe4,
   501  	0x2f, 0x64, 0x79, 0x2b, 0xe0, 0x6f, 0x71, 0x0c, 0x80, 0x49, 0x38, 0x57, 0xf8, 0x49, 0xc6, 0x38,
   502  	0x68, 0xf0, 0x79, 0xb5, 0xca, 0xb6, 0x3f, 0x2d, 0x94, 0xcd, 0x7a, 0xbf, 0xa8, 0x88, 0x11, 0xd8,
   503  	0x4b, 0x99, 0x55, 0x06, 0x2d, 0x26, 0xd4, 0x4b, 0x35, 0x06, 0x5b, 0xb4, 0xff, 0x61, 0xb0, 0xc7,
   504  	0x21, 0xb4, 0x94, 0x8c, 0xa5, 0x1e, 0x1c, 0xf0, 0xc5, 0x0c, 0x70, 0x7a, 0x00, 0xc5, 0xb3, 0x4c,
   505  	0xd2, 0xce, 0x57, 0xb8, 0x37, 0xa1, 0xe8, 0x9d, 0x54, 0xdb, 0x98, 0x04, 0x34, 0x57, 0x52, 0x21,
   506  	0xbf, 0xb2, 0x17, 0xf0, 0xb7, 0x70, 0xa1, 0xb9, 0xa4, 0xc4, 0x3c, 0xd1, 0x1e, 0x0f, 0x5d, 0x33,
   507  	0x53, 0x77, 0x33, 0x53, 0xf7, 0x82, 0x48, 0x5d, 0x86, 0x2a, 0xc7, 0x80, 0x79, 0xc5, 0xd1, 0xc8,
   508  	0x91, 0x36, 0x4c, 0xa4, 0x0c, 0x9c, 0x13, 0xb0, 0xa7, 0xa8, 0xab, 0x83, 0x2a, 0x92, 0x55, 0x27,
   509  	0xbd, 0x04, 0x60, 0x92, 0xd9, 0x84, 0x53, 0xb8, 0x7b, 0x85, 0xe9, 0x9c, 0x32, 0xa9, 0x7f, 0x2a,
   510  	0xbc, 0x42, 0x55, 0x86, 0x7f, 0xad, 0x5a, 0xbc, 0xca, 0xaf, 0x54, 0xce, 0x2b, 0xb0, 0xfd, 0xff,
   511  	0x1d, 0xc4, 0xf1, 0xb0, 0x63, 0x39, 0x76, 0x06, 0x4f, 0x9e, 0x41, 0xef, 0x92, 0xad, 0x71, 0x52,
   512  	0x60, 0x71, 0x07, 0xba, 0x1f, 0x65, 0x32, 0x63, 0xd0, 0xdf, 0x63, 0x18, 0xfe, 0x28, 0x61, 0x77,
   513  	0xfc, 0x7b, 0x1f, 0x3a, 0x13, 0x8a, 0xce, 0x23, 0x4c, 0xb4, 0xf8, 0x00, 0x0d, 0x1f, 0xb5, 0x78,
   514  	0xb8, 0x7b, 0x4f, 0xcd, 0xd5, 0x86, 0x8f, 0x76, 0x76, 0xeb, 0x03, 0x70, 0xf6, 0x9e, 0x5b, 0x62,
   515  	0x0a, 0x6d, 0xb3, 0xbd, 0xc2, 0xb9, 0x79, 0xed, 0x37, 0xbf, 0x97, 0xe1, 0xc9, 0xad, 0x9c, 0x8d,
   516  	0xad, 0x78, 0x03, 0x8d, 0xe9, 0xee, 0x0b, 0x6e, 0x13, 0x1f, 0x1e, 0xdd, 0xd0, 0xad, 0x5c, 0xde,
   517  	0x43, 0xc7, 0x47, 0x6d, 0xd2, 0xd9, 0x61, 0xe5, 0xdf, 0x6a, 0xe5, 0xd7, 0xad, 0x2e, 0x9e, 0x7e,
   518  	0x7e, 0x1c, 0x49, 0xfd, 0x25, 0x9f, 0x17, 0x24, 0x2f, 0x96, 0x8b, 0x94, 0x32, 0x5a, 0xe9, 0xe2,
   519  	0xef, 0xc5, 0x4b, 0xd7, 0x0b, 0xcf, 0x48, 0x3d, 0x96, 0xce, 0xdb, 0xbc, 0x6d, 0x2f, 0xfe, 0x06,
   520  	0x00, 0x00, 0xff, 0xff, 0x34, 0x56, 0x2a, 0xaa, 0x8b, 0x04, 0x00, 0x00,
   521  }
   522  
   523  // Reference imports to suppress errors if they are not otherwise used.
   524  var _ context.Context
   525  var _ grpc.ClientConn
   526  
   527  // This is a compile-time assertion to ensure that this generated file
   528  // is compatible with the grpc package it is being compiled against.
   529  const _ = grpc.SupportPackageIsVersion4
   530  
   531  // LogAgentClient is the client API for LogAgent service.
   532  //
   533  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   534  type LogAgentClient interface {
   535  	Get(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (LogAgent_GetClient, error)
   536  	Rotate(ctx context.Context, in *LogRotateRequest, opts ...grpc.CallOption) (*LogRotateResponse, error)
   537  	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
   538  	GetLevel(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
   539  }
   540  
   541  type logAgentClient struct {
   542  	cc *grpc.ClientConn
   543  }
   544  
   545  func NewLogAgentClient(cc *grpc.ClientConn) LogAgentClient {
   546  	return &logAgentClient{cc}
   547  }
   548  
   549  func (c *logAgentClient) Get(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (LogAgent_GetClient, error) {
   550  	stream, err := c.cc.NewStream(ctx, &_LogAgent_serviceDesc.Streams[0], "/moc.common.admin.LogAgent/Get", opts...)
   551  	if err != nil {
   552  		return nil, err
   553  	}
   554  	x := &logAgentGetClient{stream}
   555  	if err := x.ClientStream.SendMsg(in); err != nil {
   556  		return nil, err
   557  	}
   558  	if err := x.ClientStream.CloseSend(); err != nil {
   559  		return nil, err
   560  	}
   561  	return x, nil
   562  }
   563  
   564  type LogAgent_GetClient interface {
   565  	Recv() (*LogFileResponse, error)
   566  	grpc.ClientStream
   567  }
   568  
   569  type logAgentGetClient struct {
   570  	grpc.ClientStream
   571  }
   572  
   573  func (x *logAgentGetClient) Recv() (*LogFileResponse, error) {
   574  	m := new(LogFileResponse)
   575  	if err := x.ClientStream.RecvMsg(m); err != nil {
   576  		return nil, err
   577  	}
   578  	return m, nil
   579  }
   580  
   581  func (c *logAgentClient) Rotate(ctx context.Context, in *LogRotateRequest, opts ...grpc.CallOption) (*LogRotateResponse, error) {
   582  	out := new(LogRotateResponse)
   583  	err := c.cc.Invoke(ctx, "/moc.common.admin.LogAgent/Rotate", in, out, opts...)
   584  	if err != nil {
   585  		return nil, err
   586  	}
   587  	return out, nil
   588  }
   589  
   590  func (c *logAgentClient) Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) {
   591  	out := new(SetResponse)
   592  	err := c.cc.Invoke(ctx, "/moc.common.admin.LogAgent/Set", in, out, opts...)
   593  	if err != nil {
   594  		return nil, err
   595  	}
   596  	return out, nil
   597  }
   598  
   599  func (c *logAgentClient) GetLevel(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
   600  	out := new(GetResponse)
   601  	err := c.cc.Invoke(ctx, "/moc.common.admin.LogAgent/GetLevel", in, out, opts...)
   602  	if err != nil {
   603  		return nil, err
   604  	}
   605  	return out, nil
   606  }
   607  
   608  // LogAgentServer is the server API for LogAgent service.
   609  type LogAgentServer interface {
   610  	Get(*LogRequest, LogAgent_GetServer) error
   611  	Rotate(context.Context, *LogRotateRequest) (*LogRotateResponse, error)
   612  	Set(context.Context, *SetRequest) (*SetResponse, error)
   613  	GetLevel(context.Context, *GetRequest) (*GetResponse, error)
   614  }
   615  
   616  // UnimplementedLogAgentServer can be embedded to have forward compatible implementations.
   617  type UnimplementedLogAgentServer struct {
   618  }
   619  
   620  func (*UnimplementedLogAgentServer) Get(req *LogRequest, srv LogAgent_GetServer) error {
   621  	return status.Errorf(codes.Unimplemented, "method Get not implemented")
   622  }
   623  func (*UnimplementedLogAgentServer) Rotate(ctx context.Context, req *LogRotateRequest) (*LogRotateResponse, error) {
   624  	return nil, status.Errorf(codes.Unimplemented, "method Rotate not implemented")
   625  }
   626  func (*UnimplementedLogAgentServer) Set(ctx context.Context, req *SetRequest) (*SetResponse, error) {
   627  	return nil, status.Errorf(codes.Unimplemented, "method Set not implemented")
   628  }
   629  func (*UnimplementedLogAgentServer) GetLevel(ctx context.Context, req *GetRequest) (*GetResponse, error) {
   630  	return nil, status.Errorf(codes.Unimplemented, "method GetLevel not implemented")
   631  }
   632  
   633  func RegisterLogAgentServer(s *grpc.Server, srv LogAgentServer) {
   634  	s.RegisterService(&_LogAgent_serviceDesc, srv)
   635  }
   636  
   637  func _LogAgent_Get_Handler(srv interface{}, stream grpc.ServerStream) error {
   638  	m := new(LogRequest)
   639  	if err := stream.RecvMsg(m); err != nil {
   640  		return err
   641  	}
   642  	return srv.(LogAgentServer).Get(m, &logAgentGetServer{stream})
   643  }
   644  
   645  type LogAgent_GetServer interface {
   646  	Send(*LogFileResponse) error
   647  	grpc.ServerStream
   648  }
   649  
   650  type logAgentGetServer struct {
   651  	grpc.ServerStream
   652  }
   653  
   654  func (x *logAgentGetServer) Send(m *LogFileResponse) error {
   655  	return x.ServerStream.SendMsg(m)
   656  }
   657  
   658  func _LogAgent_Rotate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   659  	in := new(LogRotateRequest)
   660  	if err := dec(in); err != nil {
   661  		return nil, err
   662  	}
   663  	if interceptor == nil {
   664  		return srv.(LogAgentServer).Rotate(ctx, in)
   665  	}
   666  	info := &grpc.UnaryServerInfo{
   667  		Server:     srv,
   668  		FullMethod: "/moc.common.admin.LogAgent/Rotate",
   669  	}
   670  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   671  		return srv.(LogAgentServer).Rotate(ctx, req.(*LogRotateRequest))
   672  	}
   673  	return interceptor(ctx, in, info, handler)
   674  }
   675  
   676  func _LogAgent_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   677  	in := new(SetRequest)
   678  	if err := dec(in); err != nil {
   679  		return nil, err
   680  	}
   681  	if interceptor == nil {
   682  		return srv.(LogAgentServer).Set(ctx, in)
   683  	}
   684  	info := &grpc.UnaryServerInfo{
   685  		Server:     srv,
   686  		FullMethod: "/moc.common.admin.LogAgent/Set",
   687  	}
   688  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   689  		return srv.(LogAgentServer).Set(ctx, req.(*SetRequest))
   690  	}
   691  	return interceptor(ctx, in, info, handler)
   692  }
   693  
   694  func _LogAgent_GetLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   695  	in := new(GetRequest)
   696  	if err := dec(in); err != nil {
   697  		return nil, err
   698  	}
   699  	if interceptor == nil {
   700  		return srv.(LogAgentServer).GetLevel(ctx, in)
   701  	}
   702  	info := &grpc.UnaryServerInfo{
   703  		Server:     srv,
   704  		FullMethod: "/moc.common.admin.LogAgent/GetLevel",
   705  	}
   706  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   707  		return srv.(LogAgentServer).GetLevel(ctx, req.(*GetRequest))
   708  	}
   709  	return interceptor(ctx, in, info, handler)
   710  }
   711  
   712  var _LogAgent_serviceDesc = grpc.ServiceDesc{
   713  	ServiceName: "moc.common.admin.LogAgent",
   714  	HandlerType: (*LogAgentServer)(nil),
   715  	Methods: []grpc.MethodDesc{
   716  		{
   717  			MethodName: "Rotate",
   718  			Handler:    _LogAgent_Rotate_Handler,
   719  		},
   720  		{
   721  			MethodName: "Set",
   722  			Handler:    _LogAgent_Set_Handler,
   723  		},
   724  		{
   725  			MethodName: "GetLevel",
   726  			Handler:    _LogAgent_GetLevel_Handler,
   727  		},
   728  	},
   729  	Streams: []grpc.StreamDesc{
   730  		{
   731  			StreamName:    "Get",
   732  			Handler:       _LogAgent_Get_Handler,
   733  			ServerStreams: true,
   734  		},
   735  	},
   736  	Metadata: "admin/logging/moc_common_logging.proto",
   737  }