github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1alpha2/customized_image/customized_image_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1alpha2/customized_image_custom.proto 3 // DO NOT EDIT!!! 4 5 package customized_image_client 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 customized_image "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/customized_image" 21 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/project" 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 _ = &customized_image.CustomizedImage{} 39 _ = &project.Project{} 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 // Request message for method [RequestUrl][ntt.devices.v1alpha2.RequestUrl] 50 type RequestUrlRequest struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 // name of ntt.devices.v1alpha2.CustomizedImage 55 Name *customized_image.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 56 } 57 58 func (m *RequestUrlRequest) Reset() { 59 *m = RequestUrlRequest{} 60 if protoimpl.UnsafeEnabled { 61 mi := &edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[0] 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 63 ms.StoreMessageInfo(mi) 64 } 65 } 66 67 func (m *RequestUrlRequest) String() string { 68 return protoimpl.X.MessageStringOf(m) 69 } 70 71 func (*RequestUrlRequest) ProtoMessage() {} 72 73 func (m *RequestUrlRequest) ProtoReflect() preflect.Message { 74 mi := &edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[0] 75 if protoimpl.UnsafeEnabled && m != nil { 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 77 if ms.LoadMessageInfo() == nil { 78 ms.StoreMessageInfo(mi) 79 } 80 return ms 81 } 82 return mi.MessageOf(m) 83 } 84 85 func (*RequestUrlRequest) GotenMessage() {} 86 87 // Deprecated, Use RequestUrlRequest.ProtoReflect.Descriptor instead. 88 func (*RequestUrlRequest) Descriptor() ([]byte, []int) { 89 return edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescGZIP(), []int{0} 90 } 91 92 func (m *RequestUrlRequest) Unmarshal(b []byte) error { 93 return proto.Unmarshal(b, m) 94 } 95 96 func (m *RequestUrlRequest) Marshal() ([]byte, error) { 97 return proto.Marshal(m) 98 } 99 100 func (m *RequestUrlRequest) MarshalJSON() ([]byte, error) { 101 return protojson.MarshalOptions{}.Marshal(m) 102 } 103 104 func (m *RequestUrlRequest) UnmarshalJSON(data []byte) error { 105 return protojson.Unmarshal(data, m) 106 } 107 108 func (m *RequestUrlRequest) GetName() *customized_image.Name { 109 if m != nil { 110 return m.Name 111 } 112 return nil 113 } 114 115 func (m *RequestUrlRequest) SetName(fv *customized_image.Name) { 116 if m == nil { 117 panic(fmt.Errorf("can't set %s on nil %s", "Name", "RequestUrlRequest")) 118 } 119 m.Name = fv 120 } 121 122 // Response message for method [RequestUrl][ntt.devices.v1alpha2.RequestUrl] 123 type RequestUrlResponse struct { 124 state protoimpl.MessageState 125 sizeCache protoimpl.SizeCache 126 unknownFields protoimpl.UnknownFields 127 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` 128 Headers []string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` 129 } 130 131 func (m *RequestUrlResponse) Reset() { 132 *m = RequestUrlResponse{} 133 if protoimpl.UnsafeEnabled { 134 mi := &edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[1] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 136 ms.StoreMessageInfo(mi) 137 } 138 } 139 140 func (m *RequestUrlResponse) String() string { 141 return protoimpl.X.MessageStringOf(m) 142 } 143 144 func (*RequestUrlResponse) ProtoMessage() {} 145 146 func (m *RequestUrlResponse) ProtoReflect() preflect.Message { 147 mi := &edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[1] 148 if protoimpl.UnsafeEnabled && m != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(m) 156 } 157 158 func (*RequestUrlResponse) GotenMessage() {} 159 160 // Deprecated, Use RequestUrlResponse.ProtoReflect.Descriptor instead. 161 func (*RequestUrlResponse) Descriptor() ([]byte, []int) { 162 return edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescGZIP(), []int{1} 163 } 164 165 func (m *RequestUrlResponse) Unmarshal(b []byte) error { 166 return proto.Unmarshal(b, m) 167 } 168 169 func (m *RequestUrlResponse) Marshal() ([]byte, error) { 170 return proto.Marshal(m) 171 } 172 173 func (m *RequestUrlResponse) MarshalJSON() ([]byte, error) { 174 return protojson.MarshalOptions{}.Marshal(m) 175 } 176 177 func (m *RequestUrlResponse) UnmarshalJSON(data []byte) error { 178 return protojson.Unmarshal(data, m) 179 } 180 181 func (m *RequestUrlResponse) GetUrl() string { 182 if m != nil { 183 return m.Url 184 } 185 return "" 186 } 187 188 func (m *RequestUrlResponse) GetHeaders() []string { 189 if m != nil { 190 return m.Headers 191 } 192 return nil 193 } 194 195 func (m *RequestUrlResponse) SetUrl(fv string) { 196 if m == nil { 197 panic(fmt.Errorf("can't set %s on nil %s", "Url", "RequestUrlResponse")) 198 } 199 m.Url = fv 200 } 201 202 func (m *RequestUrlResponse) SetHeaders(fv []string) { 203 if m == nil { 204 panic(fmt.Errorf("can't set %s on nil %s", "Headers", "RequestUrlResponse")) 205 } 206 m.Headers = fv 207 } 208 209 var edgelq_devices_proto_v1alpha2_customized_image_custom_proto preflect.FileDescriptor 210 211 var edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDesc = []byte{ 212 0x0a, 0x3b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 213 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 214 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 215 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 216 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 217 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 218 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 219 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 220 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 221 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 222 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 223 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 224 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 225 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x65, 0x64, 226 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 227 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x75, 0x73, 0x74, 228 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 229 0x74, 0x6f, 0x1a, 0x3b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 230 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 231 0x32, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 232 0x67, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 233 0x40, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 234 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 235 0x28, 0x09, 0x42, 0x17, 0xb2, 0xda, 0x21, 0x13, 0x0a, 0x11, 0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 236 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 237 0x65, 0x22, 0x40, 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x52, 238 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 239 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 240 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 241 0x65, 0x72, 0x73, 0x42, 0x98, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 242 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 243 0x68, 0x61, 0x32, 0x42, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x49, 244 0x6d, 0x61, 0x67, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 245 0x00, 0x5a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 246 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 247 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 248 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 249 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x3b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 250 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 251 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 252 } 253 254 var ( 255 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescOnce sync.Once 256 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescData = edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDesc 257 ) 258 259 func edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescGZIP() []byte { 260 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescOnce.Do(func() { 261 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescData) 262 }) 263 return edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDescData 264 } 265 266 var edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 267 var edgelq_devices_proto_v1alpha2_customized_image_custom_proto_goTypes = []interface{}{ 268 (*RequestUrlRequest)(nil), // 0: ntt.devices.v1alpha2.RequestUrlRequest 269 (*RequestUrlResponse)(nil), // 1: ntt.devices.v1alpha2.RequestUrlResponse 270 } 271 var edgelq_devices_proto_v1alpha2_customized_image_custom_proto_depIdxs = []int32{ 272 0, // [0:0] is the sub-list for method output_type 273 0, // [0:0] is the sub-list for method input_type 274 0, // [0:0] is the sub-list for extension type_name 275 0, // [0:0] is the sub-list for extension extendee 276 0, // [0:0] is the sub-list for field type_name 277 } 278 279 func init() { edgelq_devices_proto_v1alpha2_customized_image_custom_proto_init() } 280 func edgelq_devices_proto_v1alpha2_customized_image_custom_proto_init() { 281 if edgelq_devices_proto_v1alpha2_customized_image_custom_proto != nil { 282 return 283 } 284 if !protoimpl.UnsafeEnabled { 285 286 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 287 switch v := v.(*RequestUrlRequest); i { 288 case 0: 289 return &v.state 290 case 1: 291 return &v.sizeCache 292 case 2: 293 return &v.unknownFields 294 default: 295 return nil 296 } 297 } 298 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 299 switch v := v.(*RequestUrlResponse); i { 300 case 0: 301 return &v.state 302 case 1: 303 return &v.sizeCache 304 case 2: 305 return &v.unknownFields 306 default: 307 return nil 308 } 309 } 310 } 311 312 type x struct{} 313 out := protoimpl.TypeBuilder{ 314 File: protoimpl.DescBuilder{ 315 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 316 RawDescriptor: edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDesc, 317 NumEnums: 0, 318 NumMessages: 2, 319 NumExtensions: 0, 320 NumServices: 0, 321 }, 322 GoTypes: edgelq_devices_proto_v1alpha2_customized_image_custom_proto_goTypes, 323 DependencyIndexes: edgelq_devices_proto_v1alpha2_customized_image_custom_proto_depIdxs, 324 MessageInfos: edgelq_devices_proto_v1alpha2_customized_image_custom_proto_msgTypes, 325 }.Build() 326 edgelq_devices_proto_v1alpha2_customized_image_custom_proto = out.File 327 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_rawDesc = nil 328 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_goTypes = nil 329 edgelq_devices_proto_v1alpha2_customized_image_custom_proto_depIdxs = nil 330 }