github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1/customized_image/customized_image_custom.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/devices/proto/v1/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/v1/customized_image"
    21  	project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/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.v1.RequestUrl]
    50  type RequestUrlRequest struct {
    51  	state         protoimpl.MessageState
    52  	sizeCache     protoimpl.SizeCache
    53  	unknownFields protoimpl.UnknownFields
    54  	//  name of ntt.devices.v1.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_v1_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_v1_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_v1_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.v1.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_v1_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_v1_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_v1_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_v1_customized_image_custom_proto preflect.FileDescriptor
   210  
   211  var edgelq_devices_proto_v1_customized_image_custom_proto_rawDesc = []byte{
   212  	0x0a, 0x35, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   213  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
   214  	0x69, 0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f,
   215  	0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76,
   216  	0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61,
   217  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
   218  	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e,
   219  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74,
   220  	0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f,
   221  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76,
   222  	0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e,
   223  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c,
   224  	0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   225  	0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f,
   226  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69,
   227  	0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   228  	0x35, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f,
   229  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69,
   230  	0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
   231  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   232  	0x74, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x6e,
   233  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xb2, 0xda, 0x21, 0x13, 0x0a,
   234  	0x11, 0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61,
   235  	0x67, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x40, 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75,
   236  	0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10,
   237  	0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c,
   238  	0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   239  	0x09, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x42, 0x90, 0x01, 0xe8, 0xde, 0x21,
   240  	0x00, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
   241  	0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
   242  	0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50,
   243  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   244  	0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65,
   245  	0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
   246  	0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x5f,
   247  	0x69, 0x6d, 0x61, 0x67, 0x65, 0x3b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64,
   248  	0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70,
   249  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   250  }
   251  
   252  var (
   253  	edgelq_devices_proto_v1_customized_image_custom_proto_rawDescOnce sync.Once
   254  	edgelq_devices_proto_v1_customized_image_custom_proto_rawDescData = edgelq_devices_proto_v1_customized_image_custom_proto_rawDesc
   255  )
   256  
   257  func edgelq_devices_proto_v1_customized_image_custom_proto_rawDescGZIP() []byte {
   258  	edgelq_devices_proto_v1_customized_image_custom_proto_rawDescOnce.Do(func() {
   259  		edgelq_devices_proto_v1_customized_image_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_customized_image_custom_proto_rawDescData)
   260  	})
   261  	return edgelq_devices_proto_v1_customized_image_custom_proto_rawDescData
   262  }
   263  
   264  var edgelq_devices_proto_v1_customized_image_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   265  var edgelq_devices_proto_v1_customized_image_custom_proto_goTypes = []interface{}{
   266  	(*RequestUrlRequest)(nil),  // 0: ntt.devices.v1.RequestUrlRequest
   267  	(*RequestUrlResponse)(nil), // 1: ntt.devices.v1.RequestUrlResponse
   268  }
   269  var edgelq_devices_proto_v1_customized_image_custom_proto_depIdxs = []int32{
   270  	0, // [0:0] is the sub-list for method output_type
   271  	0, // [0:0] is the sub-list for method input_type
   272  	0, // [0:0] is the sub-list for extension type_name
   273  	0, // [0:0] is the sub-list for extension extendee
   274  	0, // [0:0] is the sub-list for field type_name
   275  }
   276  
   277  func init() { edgelq_devices_proto_v1_customized_image_custom_proto_init() }
   278  func edgelq_devices_proto_v1_customized_image_custom_proto_init() {
   279  	if edgelq_devices_proto_v1_customized_image_custom_proto != nil {
   280  		return
   281  	}
   282  	if !protoimpl.UnsafeEnabled {
   283  
   284  		edgelq_devices_proto_v1_customized_image_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   285  			switch v := v.(*RequestUrlRequest); i {
   286  			case 0:
   287  				return &v.state
   288  			case 1:
   289  				return &v.sizeCache
   290  			case 2:
   291  				return &v.unknownFields
   292  			default:
   293  				return nil
   294  			}
   295  		}
   296  		edgelq_devices_proto_v1_customized_image_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   297  			switch v := v.(*RequestUrlResponse); i {
   298  			case 0:
   299  				return &v.state
   300  			case 1:
   301  				return &v.sizeCache
   302  			case 2:
   303  				return &v.unknownFields
   304  			default:
   305  				return nil
   306  			}
   307  		}
   308  	}
   309  
   310  	type x struct{}
   311  	out := protoimpl.TypeBuilder{
   312  		File: protoimpl.DescBuilder{
   313  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   314  			RawDescriptor: edgelq_devices_proto_v1_customized_image_custom_proto_rawDesc,
   315  			NumEnums:      0,
   316  			NumMessages:   2,
   317  			NumExtensions: 0,
   318  			NumServices:   0,
   319  		},
   320  		GoTypes:           edgelq_devices_proto_v1_customized_image_custom_proto_goTypes,
   321  		DependencyIndexes: edgelq_devices_proto_v1_customized_image_custom_proto_depIdxs,
   322  		MessageInfos:      edgelq_devices_proto_v1_customized_image_custom_proto_msgTypes,
   323  	}.Build()
   324  	edgelq_devices_proto_v1_customized_image_custom_proto = out.File
   325  	edgelq_devices_proto_v1_customized_image_custom_proto_rawDesc = nil
   326  	edgelq_devices_proto_v1_customized_image_custom_proto_goTypes = nil
   327  	edgelq_devices_proto_v1_customized_image_custom_proto_depIdxs = nil
   328  }