github.com/bhojpur/cache@v0.0.4/pkg/api/v1/cache-ui.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.19.2
     5  // source: cache-ui.proto
     6  
     7  package v1
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type ListEngineSpecsRequest struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  }
    28  
    29  func (x *ListEngineSpecsRequest) Reset() {
    30  	*x = ListEngineSpecsRequest{}
    31  	if protoimpl.UnsafeEnabled {
    32  		mi := &file_cache_ui_proto_msgTypes[0]
    33  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    34  		ms.StoreMessageInfo(mi)
    35  	}
    36  }
    37  
    38  func (x *ListEngineSpecsRequest) String() string {
    39  	return protoimpl.X.MessageStringOf(x)
    40  }
    41  
    42  func (*ListEngineSpecsRequest) ProtoMessage() {}
    43  
    44  func (x *ListEngineSpecsRequest) ProtoReflect() protoreflect.Message {
    45  	mi := &file_cache_ui_proto_msgTypes[0]
    46  	if protoimpl.UnsafeEnabled && x != nil {
    47  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    48  		if ms.LoadMessageInfo() == nil {
    49  			ms.StoreMessageInfo(mi)
    50  		}
    51  		return ms
    52  	}
    53  	return mi.MessageOf(x)
    54  }
    55  
    56  // Deprecated: Use ListEngineSpecsRequest.ProtoReflect.Descriptor instead.
    57  func (*ListEngineSpecsRequest) Descriptor() ([]byte, []int) {
    58  	return file_cache_ui_proto_rawDescGZIP(), []int{0}
    59  }
    60  
    61  type ListEngineSpecsResponse struct {
    62  	state         protoimpl.MessageState
    63  	sizeCache     protoimpl.SizeCache
    64  	unknownFields protoimpl.UnknownFields
    65  
    66  	Repo        *Repository          `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
    67  	Name        string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    68  	Path        string               `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
    69  	Description string               `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
    70  	Arguments   []*DesiredAnnotation `protobuf:"bytes,5,rep,name=arguments,proto3" json:"arguments,omitempty"`
    71  }
    72  
    73  func (x *ListEngineSpecsResponse) Reset() {
    74  	*x = ListEngineSpecsResponse{}
    75  	if protoimpl.UnsafeEnabled {
    76  		mi := &file_cache_ui_proto_msgTypes[1]
    77  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    78  		ms.StoreMessageInfo(mi)
    79  	}
    80  }
    81  
    82  func (x *ListEngineSpecsResponse) String() string {
    83  	return protoimpl.X.MessageStringOf(x)
    84  }
    85  
    86  func (*ListEngineSpecsResponse) ProtoMessage() {}
    87  
    88  func (x *ListEngineSpecsResponse) ProtoReflect() protoreflect.Message {
    89  	mi := &file_cache_ui_proto_msgTypes[1]
    90  	if protoimpl.UnsafeEnabled && x != nil {
    91  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    92  		if ms.LoadMessageInfo() == nil {
    93  			ms.StoreMessageInfo(mi)
    94  		}
    95  		return ms
    96  	}
    97  	return mi.MessageOf(x)
    98  }
    99  
   100  // Deprecated: Use ListEngineSpecsResponse.ProtoReflect.Descriptor instead.
   101  func (*ListEngineSpecsResponse) Descriptor() ([]byte, []int) {
   102  	return file_cache_ui_proto_rawDescGZIP(), []int{1}
   103  }
   104  
   105  func (x *ListEngineSpecsResponse) GetRepo() *Repository {
   106  	if x != nil {
   107  		return x.Repo
   108  	}
   109  	return nil
   110  }
   111  
   112  func (x *ListEngineSpecsResponse) GetName() string {
   113  	if x != nil {
   114  		return x.Name
   115  	}
   116  	return ""
   117  }
   118  
   119  func (x *ListEngineSpecsResponse) GetPath() string {
   120  	if x != nil {
   121  		return x.Path
   122  	}
   123  	return ""
   124  }
   125  
   126  func (x *ListEngineSpecsResponse) GetDescription() string {
   127  	if x != nil {
   128  		return x.Description
   129  	}
   130  	return ""
   131  }
   132  
   133  func (x *ListEngineSpecsResponse) GetArguments() []*DesiredAnnotation {
   134  	if x != nil {
   135  		return x.Arguments
   136  	}
   137  	return nil
   138  }
   139  
   140  // DesiredAnnotation describes an annotation a Engine should have
   141  type DesiredAnnotation struct {
   142  	state         protoimpl.MessageState
   143  	sizeCache     protoimpl.SizeCache
   144  	unknownFields protoimpl.UnknownFields
   145  
   146  	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   147  	Required    bool   `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
   148  	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
   149  }
   150  
   151  func (x *DesiredAnnotation) Reset() {
   152  	*x = DesiredAnnotation{}
   153  	if protoimpl.UnsafeEnabled {
   154  		mi := &file_cache_ui_proto_msgTypes[2]
   155  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   156  		ms.StoreMessageInfo(mi)
   157  	}
   158  }
   159  
   160  func (x *DesiredAnnotation) String() string {
   161  	return protoimpl.X.MessageStringOf(x)
   162  }
   163  
   164  func (*DesiredAnnotation) ProtoMessage() {}
   165  
   166  func (x *DesiredAnnotation) ProtoReflect() protoreflect.Message {
   167  	mi := &file_cache_ui_proto_msgTypes[2]
   168  	if protoimpl.UnsafeEnabled && x != nil {
   169  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   170  		if ms.LoadMessageInfo() == nil {
   171  			ms.StoreMessageInfo(mi)
   172  		}
   173  		return ms
   174  	}
   175  	return mi.MessageOf(x)
   176  }
   177  
   178  // Deprecated: Use DesiredAnnotation.ProtoReflect.Descriptor instead.
   179  func (*DesiredAnnotation) Descriptor() ([]byte, []int) {
   180  	return file_cache_ui_proto_rawDescGZIP(), []int{2}
   181  }
   182  
   183  func (x *DesiredAnnotation) GetName() string {
   184  	if x != nil {
   185  		return x.Name
   186  	}
   187  	return ""
   188  }
   189  
   190  func (x *DesiredAnnotation) GetRequired() bool {
   191  	if x != nil {
   192  		return x.Required
   193  	}
   194  	return false
   195  }
   196  
   197  func (x *DesiredAnnotation) GetDescription() string {
   198  	if x != nil {
   199  		return x.Description
   200  	}
   201  	return ""
   202  }
   203  
   204  type IsReadOnlyRequest struct {
   205  	state         protoimpl.MessageState
   206  	sizeCache     protoimpl.SizeCache
   207  	unknownFields protoimpl.UnknownFields
   208  }
   209  
   210  func (x *IsReadOnlyRequest) Reset() {
   211  	*x = IsReadOnlyRequest{}
   212  	if protoimpl.UnsafeEnabled {
   213  		mi := &file_cache_ui_proto_msgTypes[3]
   214  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   215  		ms.StoreMessageInfo(mi)
   216  	}
   217  }
   218  
   219  func (x *IsReadOnlyRequest) String() string {
   220  	return protoimpl.X.MessageStringOf(x)
   221  }
   222  
   223  func (*IsReadOnlyRequest) ProtoMessage() {}
   224  
   225  func (x *IsReadOnlyRequest) ProtoReflect() protoreflect.Message {
   226  	mi := &file_cache_ui_proto_msgTypes[3]
   227  	if protoimpl.UnsafeEnabled && x != nil {
   228  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   229  		if ms.LoadMessageInfo() == nil {
   230  			ms.StoreMessageInfo(mi)
   231  		}
   232  		return ms
   233  	}
   234  	return mi.MessageOf(x)
   235  }
   236  
   237  // Deprecated: Use IsReadOnlyRequest.ProtoReflect.Descriptor instead.
   238  func (*IsReadOnlyRequest) Descriptor() ([]byte, []int) {
   239  	return file_cache_ui_proto_rawDescGZIP(), []int{3}
   240  }
   241  
   242  type IsReadOnlyResponse struct {
   243  	state         protoimpl.MessageState
   244  	sizeCache     protoimpl.SizeCache
   245  	unknownFields protoimpl.UnknownFields
   246  
   247  	Readonly bool `protobuf:"varint,1,opt,name=readonly,proto3" json:"readonly,omitempty"`
   248  }
   249  
   250  func (x *IsReadOnlyResponse) Reset() {
   251  	*x = IsReadOnlyResponse{}
   252  	if protoimpl.UnsafeEnabled {
   253  		mi := &file_cache_ui_proto_msgTypes[4]
   254  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   255  		ms.StoreMessageInfo(mi)
   256  	}
   257  }
   258  
   259  func (x *IsReadOnlyResponse) String() string {
   260  	return protoimpl.X.MessageStringOf(x)
   261  }
   262  
   263  func (*IsReadOnlyResponse) ProtoMessage() {}
   264  
   265  func (x *IsReadOnlyResponse) ProtoReflect() protoreflect.Message {
   266  	mi := &file_cache_ui_proto_msgTypes[4]
   267  	if protoimpl.UnsafeEnabled && x != nil {
   268  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   269  		if ms.LoadMessageInfo() == nil {
   270  			ms.StoreMessageInfo(mi)
   271  		}
   272  		return ms
   273  	}
   274  	return mi.MessageOf(x)
   275  }
   276  
   277  // Deprecated: Use IsReadOnlyResponse.ProtoReflect.Descriptor instead.
   278  func (*IsReadOnlyResponse) Descriptor() ([]byte, []int) {
   279  	return file_cache_ui_proto_rawDescGZIP(), []int{4}
   280  }
   281  
   282  func (x *IsReadOnlyResponse) GetReadonly() bool {
   283  	if x != nil {
   284  		return x.Readonly
   285  	}
   286  	return false
   287  }
   288  
   289  var File_cache_ui_proto protoreflect.FileDescriptor
   290  
   291  var file_cache_ui_proto_rawDesc = []byte{
   292  	0x0a, 0x0e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2d, 0x75, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   293  	0x12, 0x02, 0x76, 0x31, 0x1a, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   294  	0x6f, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x53,
   295  	0x70, 0x65, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x17,
   296  	0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x73, 0x52,
   297  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18,
   298  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73,
   299  	0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   300  	0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   301  	0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70,
   302  	0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
   303  	0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
   304  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e,
   305  	0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
   306  	0x73, 0x69, 0x72, 0x65, 0x64, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
   307  	0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x65, 0x0a, 0x11, 0x44, 0x65,
   308  	0x73, 0x69, 0x72, 0x65, 0x64, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
   309  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
   310  	0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18,
   311  	0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
   312  	0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
   313  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   314  	0x6e, 0x22, 0x13, 0x0a, 0x11, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52,
   315  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x30, 0x0a, 0x12, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64,
   316  	0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08,
   317  	0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
   318  	0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x32, 0x98, 0x01, 0x0a, 0x07, 0x43, 0x61, 0x63,
   319  	0x68, 0x65, 0x55, 0x49, 0x12, 0x4e, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69,
   320  	0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x1a, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
   321  	0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75,
   322  	0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67,
   323  	0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   324  	0x22, 0x00, 0x30, 0x01, 0x12, 0x3d, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e,
   325  	0x6c, 0x79, 0x12, 0x15, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e,
   326  	0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x31, 0x2e, 0x49,
   327  	0x73, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   328  	0x65, 0x22, 0x00, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   329  	0x6d, 0x2f, 0x62, 0x68, 0x6f, 0x6a, 0x70, 0x75, 0x72, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2f,
   330  	0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   331  	0x6f, 0x33,
   332  }
   333  
   334  var (
   335  	file_cache_ui_proto_rawDescOnce sync.Once
   336  	file_cache_ui_proto_rawDescData = file_cache_ui_proto_rawDesc
   337  )
   338  
   339  func file_cache_ui_proto_rawDescGZIP() []byte {
   340  	file_cache_ui_proto_rawDescOnce.Do(func() {
   341  		file_cache_ui_proto_rawDescData = protoimpl.X.CompressGZIP(file_cache_ui_proto_rawDescData)
   342  	})
   343  	return file_cache_ui_proto_rawDescData
   344  }
   345  
   346  var file_cache_ui_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   347  var file_cache_ui_proto_goTypes = []interface{}{
   348  	(*ListEngineSpecsRequest)(nil),  // 0: v1.ListEngineSpecsRequest
   349  	(*ListEngineSpecsResponse)(nil), // 1: v1.ListEngineSpecsResponse
   350  	(*DesiredAnnotation)(nil),       // 2: v1.DesiredAnnotation
   351  	(*IsReadOnlyRequest)(nil),       // 3: v1.IsReadOnlyRequest
   352  	(*IsReadOnlyResponse)(nil),      // 4: v1.IsReadOnlyResponse
   353  	(*Repository)(nil),              // 5: v1.Repository
   354  }
   355  var file_cache_ui_proto_depIdxs = []int32{
   356  	5, // 0: v1.ListEngineSpecsResponse.repo:type_name -> v1.Repository
   357  	2, // 1: v1.ListEngineSpecsResponse.arguments:type_name -> v1.DesiredAnnotation
   358  	0, // 2: v1.CacheUI.ListEngineSpecs:input_type -> v1.ListEngineSpecsRequest
   359  	3, // 3: v1.CacheUI.IsReadOnly:input_type -> v1.IsReadOnlyRequest
   360  	1, // 4: v1.CacheUI.ListEngineSpecs:output_type -> v1.ListEngineSpecsResponse
   361  	4, // 5: v1.CacheUI.IsReadOnly:output_type -> v1.IsReadOnlyResponse
   362  	4, // [4:6] is the sub-list for method output_type
   363  	2, // [2:4] is the sub-list for method input_type
   364  	2, // [2:2] is the sub-list for extension type_name
   365  	2, // [2:2] is the sub-list for extension extendee
   366  	0, // [0:2] is the sub-list for field type_name
   367  }
   368  
   369  func init() { file_cache_ui_proto_init() }
   370  func file_cache_ui_proto_init() {
   371  	if File_cache_ui_proto != nil {
   372  		return
   373  	}
   374  	file_cache_proto_init()
   375  	if !protoimpl.UnsafeEnabled {
   376  		file_cache_ui_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   377  			switch v := v.(*ListEngineSpecsRequest); i {
   378  			case 0:
   379  				return &v.state
   380  			case 1:
   381  				return &v.sizeCache
   382  			case 2:
   383  				return &v.unknownFields
   384  			default:
   385  				return nil
   386  			}
   387  		}
   388  		file_cache_ui_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   389  			switch v := v.(*ListEngineSpecsResponse); i {
   390  			case 0:
   391  				return &v.state
   392  			case 1:
   393  				return &v.sizeCache
   394  			case 2:
   395  				return &v.unknownFields
   396  			default:
   397  				return nil
   398  			}
   399  		}
   400  		file_cache_ui_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   401  			switch v := v.(*DesiredAnnotation); i {
   402  			case 0:
   403  				return &v.state
   404  			case 1:
   405  				return &v.sizeCache
   406  			case 2:
   407  				return &v.unknownFields
   408  			default:
   409  				return nil
   410  			}
   411  		}
   412  		file_cache_ui_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   413  			switch v := v.(*IsReadOnlyRequest); i {
   414  			case 0:
   415  				return &v.state
   416  			case 1:
   417  				return &v.sizeCache
   418  			case 2:
   419  				return &v.unknownFields
   420  			default:
   421  				return nil
   422  			}
   423  		}
   424  		file_cache_ui_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   425  			switch v := v.(*IsReadOnlyResponse); i {
   426  			case 0:
   427  				return &v.state
   428  			case 1:
   429  				return &v.sizeCache
   430  			case 2:
   431  				return &v.unknownFields
   432  			default:
   433  				return nil
   434  			}
   435  		}
   436  	}
   437  	type x struct{}
   438  	out := protoimpl.TypeBuilder{
   439  		File: protoimpl.DescBuilder{
   440  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   441  			RawDescriptor: file_cache_ui_proto_rawDesc,
   442  			NumEnums:      0,
   443  			NumMessages:   5,
   444  			NumExtensions: 0,
   445  			NumServices:   1,
   446  		},
   447  		GoTypes:           file_cache_ui_proto_goTypes,
   448  		DependencyIndexes: file_cache_ui_proto_depIdxs,
   449  		MessageInfos:      file_cache_ui_proto_msgTypes,
   450  	}.Build()
   451  	File_cache_ui_proto = out.File
   452  	file_cache_ui_proto_rawDesc = nil
   453  	file_cache_ui_proto_goTypes = nil
   454  	file_cache_ui_proto_depIdxs = nil
   455  }