github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/project/project.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/monitoring/proto/v3/project.proto
     3  // DO NOT EDIT!!!
     4  
     5  package project
     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  	meta "github.com/cloudwan/goten-sdk/types/meta"
    21  	multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy"
    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  	_ = &meta.Meta{}
    39  	_ = &multi_region_policy.MultiRegionPolicy{}
    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  // Project Resource
    50  type Project struct {
    51  	state         protoimpl.MessageState
    52  	sizeCache     protoimpl.SizeCache
    53  	unknownFields protoimpl.UnknownFields
    54  	// Name of Project
    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  	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    60  	// metadata
    61  	Metadata *meta.Meta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
    62  	// Multi region policy
    63  	MultiRegionPolicy *multi_region_policy.MultiRegionPolicy `protobuf:"bytes,4,opt,name=multi_region_policy,json=multiRegionPolicy,proto3" json:"multi_region_policy,omitempty"`
    64  }
    65  
    66  func (m *Project) Reset() {
    67  	*m = Project{}
    68  	if protoimpl.UnsafeEnabled {
    69  		mi := &edgelq_monitoring_proto_v3_project_proto_msgTypes[0]
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    71  		ms.StoreMessageInfo(mi)
    72  	}
    73  }
    74  
    75  func (m *Project) String() string {
    76  	return protoimpl.X.MessageStringOf(m)
    77  }
    78  
    79  func (*Project) ProtoMessage() {}
    80  
    81  func (m *Project) ProtoReflect() preflect.Message {
    82  	mi := &edgelq_monitoring_proto_v3_project_proto_msgTypes[0]
    83  	if protoimpl.UnsafeEnabled && m != nil {
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    85  		if ms.LoadMessageInfo() == nil {
    86  			ms.StoreMessageInfo(mi)
    87  		}
    88  		return ms
    89  	}
    90  	return mi.MessageOf(m)
    91  }
    92  
    93  func (*Project) GotenMessage() {}
    94  
    95  // Deprecated, Use Project.ProtoReflect.Descriptor instead.
    96  func (*Project) Descriptor() ([]byte, []int) {
    97  	return edgelq_monitoring_proto_v3_project_proto_rawDescGZIP(), []int{0}
    98  }
    99  
   100  func (m *Project) Unmarshal(b []byte) error {
   101  	return proto.Unmarshal(b, m)
   102  }
   103  
   104  func (m *Project) Marshal() ([]byte, error) {
   105  	return proto.Marshal(m)
   106  }
   107  
   108  func (m *Project) MarshalJSON() ([]byte, error) {
   109  	return protojson.MarshalOptions{}.Marshal(m)
   110  }
   111  
   112  func (m *Project) UnmarshalJSON(data []byte) error {
   113  	return protojson.Unmarshal(data, m)
   114  }
   115  
   116  func (m *Project) GetName() *Name {
   117  	if m != nil {
   118  		return m.Name
   119  	}
   120  	return nil
   121  }
   122  
   123  func (m *Project) GetTitle() string {
   124  	if m != nil {
   125  		return m.Title
   126  	}
   127  	return ""
   128  }
   129  
   130  func (m *Project) GetMetadata() *meta.Meta {
   131  	if m != nil {
   132  		return m.Metadata
   133  	}
   134  	return nil
   135  }
   136  
   137  func (m *Project) GetMultiRegionPolicy() *multi_region_policy.MultiRegionPolicy {
   138  	if m != nil {
   139  		return m.MultiRegionPolicy
   140  	}
   141  	return nil
   142  }
   143  
   144  func (m *Project) SetName(fv *Name) {
   145  	if m == nil {
   146  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "Project"))
   147  	}
   148  	m.Name = fv
   149  }
   150  
   151  func (m *Project) SetTitle(fv string) {
   152  	if m == nil {
   153  		panic(fmt.Errorf("can't set %s on nil %s", "Title", "Project"))
   154  	}
   155  	m.Title = fv
   156  }
   157  
   158  func (m *Project) SetMetadata(fv *meta.Meta) {
   159  	if m == nil {
   160  		panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Project"))
   161  	}
   162  	m.Metadata = fv
   163  }
   164  
   165  func (m *Project) SetMultiRegionPolicy(fv *multi_region_policy.MultiRegionPolicy) {
   166  	if m == nil {
   167  		panic(fmt.Errorf("can't set %s on nil %s", "MultiRegionPolicy", "Project"))
   168  	}
   169  	m.MultiRegionPolicy = fv
   170  }
   171  
   172  var edgelq_monitoring_proto_v3_project_proto preflect.FileDescriptor
   173  
   174  var edgelq_monitoring_proto_v3_project_proto_rawDesc = []byte{
   175  	0x0a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   176  	0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f,
   177  	0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e,
   178  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67,
   179  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   180  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f,
   181  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69,
   182  	0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65,
   183  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f,
   184  	0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e,
   185  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73,
   186  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74,
   187  	0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   188  	0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65,
   189  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65,
   190  	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67,
   191  	0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   192  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   193  	0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d,
   194  	0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x67, 0x6f, 0x74, 0x65, 0x6e,
   195  	0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67,
   196  	0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   197  	0x22, 0xdc, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x04,
   198  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b,
   199  	0x0a, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   200  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   201  	0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
   202  	0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65,
   203  	0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65,
   204  	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x58, 0x0a, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f,
   205  	0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20,
   206  	0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65,
   207  	0x73, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
   208  	0x69, 0x63, 0x79, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x11, 0x6d,
   209  	0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   210  	0x3a, 0x8c, 0x01, 0xea, 0x41, 0x33, 0x0a, 0x1d, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   211  	0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72,
   212  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
   213  	0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x92, 0xd9, 0x21, 0x16, 0x0a, 0x08, 0x70,
   214  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   215  	0x73, 0x58, 0x01, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2,
   216  	0x85, 0x2c, 0x2c, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
   217  	0x22, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
   218  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42,
   219  	0x8c, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x47, 0x0a, 0x0d, 0x70, 0x72, 0x6f,
   220  	0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x36, 0x67, 0x69, 0x74, 0x68,
   221  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f,
   222  	0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   223  	0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   224  	0x63, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x49, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   225  	0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
   226  	0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67,
   227  	0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61,
   228  	0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   229  	0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   230  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a,
   231  	0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68,
   232  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f,
   233  	0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   234  	0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x70,
   235  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06,
   236  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   237  }
   238  
   239  var (
   240  	edgelq_monitoring_proto_v3_project_proto_rawDescOnce sync.Once
   241  	edgelq_monitoring_proto_v3_project_proto_rawDescData = edgelq_monitoring_proto_v3_project_proto_rawDesc
   242  )
   243  
   244  func edgelq_monitoring_proto_v3_project_proto_rawDescGZIP() []byte {
   245  	edgelq_monitoring_proto_v3_project_proto_rawDescOnce.Do(func() {
   246  		edgelq_monitoring_proto_v3_project_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_project_proto_rawDescData)
   247  	})
   248  	return edgelq_monitoring_proto_v3_project_proto_rawDescData
   249  }
   250  
   251  var edgelq_monitoring_proto_v3_project_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   252  var edgelq_monitoring_proto_v3_project_proto_goTypes = []interface{}{
   253  	(*Project)(nil),   // 0: ntt.monitoring.v3.Project
   254  	(*meta.Meta)(nil), // 1: goten.types.Meta
   255  	(*multi_region_policy.MultiRegionPolicy)(nil), // 2: goten.types.MultiRegionPolicy
   256  }
   257  var edgelq_monitoring_proto_v3_project_proto_depIdxs = []int32{
   258  	1, // 0: ntt.monitoring.v3.Project.metadata:type_name -> goten.types.Meta
   259  	2, // 1: ntt.monitoring.v3.Project.multi_region_policy:type_name -> goten.types.MultiRegionPolicy
   260  	2, // [2:2] is the sub-list for method output_type
   261  	2, // [2:2] is the sub-list for method input_type
   262  	2, // [2:2] is the sub-list for extension type_name
   263  	2, // [2:2] is the sub-list for extension extendee
   264  	0, // [0:2] is the sub-list for field type_name
   265  }
   266  
   267  func init() { edgelq_monitoring_proto_v3_project_proto_init() }
   268  func edgelq_monitoring_proto_v3_project_proto_init() {
   269  	if edgelq_monitoring_proto_v3_project_proto != nil {
   270  		return
   271  	}
   272  	if !protoimpl.UnsafeEnabled {
   273  
   274  		edgelq_monitoring_proto_v3_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   275  			switch v := v.(*Project); i {
   276  			case 0:
   277  				return &v.state
   278  			case 1:
   279  				return &v.sizeCache
   280  			case 2:
   281  				return &v.unknownFields
   282  			default:
   283  				return nil
   284  			}
   285  		}
   286  	}
   287  
   288  	type x struct{}
   289  	out := protoimpl.TypeBuilder{
   290  		File: protoimpl.DescBuilder{
   291  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   292  			RawDescriptor: edgelq_monitoring_proto_v3_project_proto_rawDesc,
   293  			NumEnums:      0,
   294  			NumMessages:   1,
   295  			NumExtensions: 0,
   296  			NumServices:   0,
   297  		},
   298  		GoTypes:           edgelq_monitoring_proto_v3_project_proto_goTypes,
   299  		DependencyIndexes: edgelq_monitoring_proto_v3_project_proto_depIdxs,
   300  		MessageInfos:      edgelq_monitoring_proto_v3_project_proto_msgTypes,
   301  	}.Build()
   302  	edgelq_monitoring_proto_v3_project_proto = out.File
   303  	edgelq_monitoring_proto_v3_project_proto_rawDesc = nil
   304  	edgelq_monitoring_proto_v3_project_proto_goTypes = nil
   305  	edgelq_monitoring_proto_v3_project_proto_depIdxs = nil
   306  }