github.com/cloudwan/edgelq-sdk@v1.15.4/secrets/resources/v1/secret/secret.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/secrets/proto/v1/secret.proto 3 // DO NOT EDIT!!! 4 5 package secret 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 project "github.com/cloudwan/edgelq-sdk/secrets/resources/v1/project" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &project.Project{} 39 _ = &meta.Meta{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // Secret Resource 50 type Secret struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 // Name of Secret 55 // When creating a new instance, this field is optional and if not provided, 56 // it will be generated automatically. Last ID segment must conform to the 57 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 58 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 59 // Metadata is an object with information like create, update and delete time 60 // (for async deleted resources), has user labels/annotations, sharding 61 // information, multi-region syncing information and may have non-schema 62 // owners (useful for taking ownership of resources belonging to lower level 63 // services by higher ones). 64 Metadata *meta.Meta `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` 65 // Display name of Secret 66 DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 67 // Optional. A detailed description of the Secret. 68 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` 69 // masked by read_checks. Database only. 70 EncData []byte `protobuf:"bytes,2,opt,name=enc_data,json=encData,proto3" json:"enc_data,omitempty"` 71 // Data to store as secret. Must be base64 encoded. 72 Data map[string]string `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 73 } 74 75 func (m *Secret) Reset() { 76 *m = Secret{} 77 if protoimpl.UnsafeEnabled { 78 mi := &edgelq_secrets_proto_v1_secret_proto_msgTypes[0] 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 80 ms.StoreMessageInfo(mi) 81 } 82 } 83 84 func (m *Secret) String() string { 85 return protoimpl.X.MessageStringOf(m) 86 } 87 88 func (*Secret) ProtoMessage() {} 89 90 func (m *Secret) ProtoReflect() preflect.Message { 91 mi := &edgelq_secrets_proto_v1_secret_proto_msgTypes[0] 92 if protoimpl.UnsafeEnabled && m != nil { 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 94 if ms.LoadMessageInfo() == nil { 95 ms.StoreMessageInfo(mi) 96 } 97 return ms 98 } 99 return mi.MessageOf(m) 100 } 101 102 func (*Secret) GotenMessage() {} 103 104 // Deprecated, Use Secret.ProtoReflect.Descriptor instead. 105 func (*Secret) Descriptor() ([]byte, []int) { 106 return edgelq_secrets_proto_v1_secret_proto_rawDescGZIP(), []int{0} 107 } 108 109 func (m *Secret) Unmarshal(b []byte) error { 110 return proto.Unmarshal(b, m) 111 } 112 113 func (m *Secret) Marshal() ([]byte, error) { 114 return proto.Marshal(m) 115 } 116 117 func (m *Secret) MarshalJSON() ([]byte, error) { 118 return protojson.MarshalOptions{}.Marshal(m) 119 } 120 121 func (m *Secret) UnmarshalJSON(data []byte) error { 122 return protojson.Unmarshal(data, m) 123 } 124 125 func (m *Secret) GetName() *Name { 126 if m != nil { 127 return m.Name 128 } 129 return nil 130 } 131 132 func (m *Secret) GetMetadata() *meta.Meta { 133 if m != nil { 134 return m.Metadata 135 } 136 return nil 137 } 138 139 func (m *Secret) GetDisplayName() string { 140 if m != nil { 141 return m.DisplayName 142 } 143 return "" 144 } 145 146 func (m *Secret) GetDescription() string { 147 if m != nil { 148 return m.Description 149 } 150 return "" 151 } 152 153 func (m *Secret) GetEncData() []byte { 154 if m != nil { 155 return m.EncData 156 } 157 return nil 158 } 159 160 func (m *Secret) GetData() map[string]string { 161 if m != nil { 162 return m.Data 163 } 164 return nil 165 } 166 167 func (m *Secret) SetName(fv *Name) { 168 if m == nil { 169 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Secret")) 170 } 171 m.Name = fv 172 } 173 174 func (m *Secret) SetMetadata(fv *meta.Meta) { 175 if m == nil { 176 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Secret")) 177 } 178 m.Metadata = fv 179 } 180 181 func (m *Secret) SetDisplayName(fv string) { 182 if m == nil { 183 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "Secret")) 184 } 185 m.DisplayName = fv 186 } 187 188 func (m *Secret) SetDescription(fv string) { 189 if m == nil { 190 panic(fmt.Errorf("can't set %s on nil %s", "Description", "Secret")) 191 } 192 m.Description = fv 193 } 194 195 func (m *Secret) SetEncData(fv []byte) { 196 if m == nil { 197 panic(fmt.Errorf("can't set %s on nil %s", "EncData", "Secret")) 198 } 199 m.EncData = fv 200 } 201 202 func (m *Secret) SetData(fv map[string]string) { 203 if m == nil { 204 panic(fmt.Errorf("can't set %s on nil %s", "Data", "Secret")) 205 } 206 m.Data = fv 207 } 208 209 var edgelq_secrets_proto_v1_secret_proto preflect.FileDescriptor 210 211 var edgelq_secrets_proto_v1_secret_proto_rawDesc = []byte{ 212 0x0a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 213 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 214 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e, 0x73, 0x65, 0x63, 0x72, 215 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 216 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 217 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 218 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 219 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 220 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 221 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 222 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 223 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 224 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 225 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 226 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 227 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 228 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 229 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 230 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 231 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 232 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 233 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 234 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 235 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x04, 0x0a, 0x06, 0x53, 236 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 237 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x53, 0x65, 0x63, 238 0x72, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 239 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 240 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 241 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 242 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 243 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 244 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 245 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 246 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 247 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x5f, 0x64, 248 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x6e, 0x63, 0x44, 0x61, 249 0x74, 0x61, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 250 0x32, 0x20, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x76, 251 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 252 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 253 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 254 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 255 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 256 0x01, 0x3a, 0xa4, 0x02, 0xea, 0x41, 0x51, 0x0a, 0x19, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 257 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x72, 258 0x65, 0x74, 0x12, 0x34, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 259 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 260 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 261 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x7d, 0x92, 0xd9, 0x21, 0x37, 0x0a, 0x07, 0x73, 0x65, 262 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x1a, 0x07, 263 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x18, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x61, 264 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 265 0x6e, 0x38, 0x05, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xe2, 266 0xde, 0x21, 0x02, 0x08, 0x02, 0xca, 0xa3, 0x22, 0x40, 0x0a, 0x1f, 0x0a, 0x13, 0x6d, 0x61, 0x73, 267 0x6b, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 268 0x12, 0x08, 0x65, 0x6e, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x0a, 0x1d, 0x0a, 0x15, 0x73, 0x65, 269 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 270 0x61, 0x74, 0x61, 0x12, 0x04, 0x64, 0x61, 0x74, 0x61, 0xc2, 0x85, 0x2c, 0x3b, 0x1a, 0x08, 0x65, 271 0x6e, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x04, 0x6e, 272 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 273 0x65, 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 274 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xf9, 0x01, 0xe8, 0xde, 0x21, 0x01, 0xd2, 275 0xff, 0xd0, 0x02, 0x42, 0x0a, 0x0c, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 276 0x72, 0x65, 0x12, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 277 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x73, 278 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 279 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x44, 0x0a, 0x0d, 0x73, 0x65, 0x63, 280 0x72, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x33, 0x67, 0x69, 0x74, 0x68, 281 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 282 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x61, 283 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x0a, 284 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 285 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 286 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 287 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 288 0x71, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 289 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x3b, 0x73, 0x65, 290 0x63, 0x72, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 291 } 292 293 var ( 294 edgelq_secrets_proto_v1_secret_proto_rawDescOnce sync.Once 295 edgelq_secrets_proto_v1_secret_proto_rawDescData = edgelq_secrets_proto_v1_secret_proto_rawDesc 296 ) 297 298 func edgelq_secrets_proto_v1_secret_proto_rawDescGZIP() []byte { 299 edgelq_secrets_proto_v1_secret_proto_rawDescOnce.Do(func() { 300 edgelq_secrets_proto_v1_secret_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_secrets_proto_v1_secret_proto_rawDescData) 301 }) 302 return edgelq_secrets_proto_v1_secret_proto_rawDescData 303 } 304 305 var edgelq_secrets_proto_v1_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 306 var edgelq_secrets_proto_v1_secret_proto_goTypes = []interface{}{ 307 (*Secret)(nil), // 0: ntt.secrets.v1.Secret 308 nil, // 1: ntt.secrets.v1.Secret.DataEntry 309 (*meta.Meta)(nil), // 2: goten.types.Meta 310 } 311 var edgelq_secrets_proto_v1_secret_proto_depIdxs = []int32{ 312 2, // 0: ntt.secrets.v1.Secret.metadata:type_name -> goten.types.Meta 313 1, // 1: ntt.secrets.v1.Secret.data:type_name -> ntt.secrets.v1.Secret.DataEntry 314 2, // [2:2] is the sub-list for method output_type 315 2, // [2:2] is the sub-list for method input_type 316 2, // [2:2] is the sub-list for extension type_name 317 2, // [2:2] is the sub-list for extension extendee 318 0, // [0:2] is the sub-list for field type_name 319 } 320 321 func init() { edgelq_secrets_proto_v1_secret_proto_init() } 322 func edgelq_secrets_proto_v1_secret_proto_init() { 323 if edgelq_secrets_proto_v1_secret_proto != nil { 324 return 325 } 326 if !protoimpl.UnsafeEnabled { 327 328 edgelq_secrets_proto_v1_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 329 switch v := v.(*Secret); i { 330 case 0: 331 return &v.state 332 case 1: 333 return &v.sizeCache 334 case 2: 335 return &v.unknownFields 336 default: 337 return nil 338 } 339 } 340 } 341 342 type x struct{} 343 out := protoimpl.TypeBuilder{ 344 File: protoimpl.DescBuilder{ 345 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 346 RawDescriptor: edgelq_secrets_proto_v1_secret_proto_rawDesc, 347 NumEnums: 0, 348 NumMessages: 2, 349 NumExtensions: 0, 350 NumServices: 0, 351 }, 352 GoTypes: edgelq_secrets_proto_v1_secret_proto_goTypes, 353 DependencyIndexes: edgelq_secrets_proto_v1_secret_proto_depIdxs, 354 MessageInfos: edgelq_secrets_proto_v1_secret_proto_msgTypes, 355 }.Build() 356 edgelq_secrets_proto_v1_secret_proto = out.File 357 edgelq_secrets_proto_v1_secret_proto_rawDesc = nil 358 edgelq_secrets_proto_v1_secret_proto_goTypes = nil 359 edgelq_secrets_proto_v1_secret_proto_depIdxs = nil 360 }