github.com/cloudwan/edgelq-sdk@v1.15.4/audit/resources/v1/common/common.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/audit/proto/v1/common.proto
     3  // DO NOT EDIT!!!
     4  
     5  package common
     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  	anypb "google.golang.org/protobuf/types/known/anypb"
    21  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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  	_ = &anypb.Any{}
    39  	_ = &timestamppb.Timestamp{}
    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  // Information about authorized principal who sent a request
    50  type Authentication struct {
    51  	state         protoimpl.MessageState
    52  	sizeCache     protoimpl.SizeCache
    53  	unknownFields protoimpl.UnknownFields
    54  	// Name of the principal, for example: "user:our_new_admin@example.com"
    55  	Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
    56  	// Principal type - user, serviceAccount, anonymous
    57  	PrincipalType string `protobuf:"bytes,2,opt,name=principal_type,json=principalType,proto3" json:"principal_type,omitempty"`
    58  }
    59  
    60  func (m *Authentication) Reset() {
    61  	*m = Authentication{}
    62  	if protoimpl.UnsafeEnabled {
    63  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[0]
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    65  		ms.StoreMessageInfo(mi)
    66  	}
    67  }
    68  
    69  func (m *Authentication) String() string {
    70  	return protoimpl.X.MessageStringOf(m)
    71  }
    72  
    73  func (*Authentication) ProtoMessage() {}
    74  
    75  func (m *Authentication) ProtoReflect() preflect.Message {
    76  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[0]
    77  	if protoimpl.UnsafeEnabled && m != nil {
    78  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    79  		if ms.LoadMessageInfo() == nil {
    80  			ms.StoreMessageInfo(mi)
    81  		}
    82  		return ms
    83  	}
    84  	return mi.MessageOf(m)
    85  }
    86  
    87  func (*Authentication) GotenMessage() {}
    88  
    89  // Deprecated, Use Authentication.ProtoReflect.Descriptor instead.
    90  func (*Authentication) Descriptor() ([]byte, []int) {
    91  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{0}
    92  }
    93  
    94  func (m *Authentication) Unmarshal(b []byte) error {
    95  	return proto.Unmarshal(b, m)
    96  }
    97  
    98  func (m *Authentication) Marshal() ([]byte, error) {
    99  	return proto.Marshal(m)
   100  }
   101  
   102  func (m *Authentication) MarshalJSON() ([]byte, error) {
   103  	return protojson.MarshalOptions{}.Marshal(m)
   104  }
   105  
   106  func (m *Authentication) UnmarshalJSON(data []byte) error {
   107  	return protojson.Unmarshal(data, m)
   108  }
   109  
   110  func (m *Authentication) GetPrincipal() string {
   111  	if m != nil {
   112  		return m.Principal
   113  	}
   114  	return ""
   115  }
   116  
   117  func (m *Authentication) GetPrincipalType() string {
   118  	if m != nil {
   119  		return m.PrincipalType
   120  	}
   121  	return ""
   122  }
   123  
   124  func (m *Authentication) SetPrincipal(fv string) {
   125  	if m == nil {
   126  		panic(fmt.Errorf("can't set %s on nil %s", "Principal", "Authentication"))
   127  	}
   128  	m.Principal = fv
   129  }
   130  
   131  func (m *Authentication) SetPrincipalType(fv string) {
   132  	if m == nil {
   133  		panic(fmt.Errorf("can't set %s on nil %s", "PrincipalType", "Authentication"))
   134  	}
   135  	m.PrincipalType = fv
   136  }
   137  
   138  // Information about authorization applicable for a request.
   139  type Authorization struct {
   140  	state         protoimpl.MessageState
   141  	sizeCache     protoimpl.SizeCache
   142  	unknownFields protoimpl.UnknownFields
   143  	// List of permissions that were granted
   144  	GrantedPermissions []string `protobuf:"bytes,1,rep,name=granted_permissions,json=grantedPermissions,proto3" json:"granted_permissions,omitempty"`
   145  	// List of permissions that were denied
   146  	DeniedPermissions []string `protobuf:"bytes,2,rep,name=denied_permissions,json=deniedPermissions,proto3" json:"denied_permissions,omitempty"`
   147  }
   148  
   149  func (m *Authorization) Reset() {
   150  	*m = Authorization{}
   151  	if protoimpl.UnsafeEnabled {
   152  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[1]
   153  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   154  		ms.StoreMessageInfo(mi)
   155  	}
   156  }
   157  
   158  func (m *Authorization) String() string {
   159  	return protoimpl.X.MessageStringOf(m)
   160  }
   161  
   162  func (*Authorization) ProtoMessage() {}
   163  
   164  func (m *Authorization) ProtoReflect() preflect.Message {
   165  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[1]
   166  	if protoimpl.UnsafeEnabled && m != nil {
   167  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   168  		if ms.LoadMessageInfo() == nil {
   169  			ms.StoreMessageInfo(mi)
   170  		}
   171  		return ms
   172  	}
   173  	return mi.MessageOf(m)
   174  }
   175  
   176  func (*Authorization) GotenMessage() {}
   177  
   178  // Deprecated, Use Authorization.ProtoReflect.Descriptor instead.
   179  func (*Authorization) Descriptor() ([]byte, []int) {
   180  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{1}
   181  }
   182  
   183  func (m *Authorization) Unmarshal(b []byte) error {
   184  	return proto.Unmarshal(b, m)
   185  }
   186  
   187  func (m *Authorization) Marshal() ([]byte, error) {
   188  	return proto.Marshal(m)
   189  }
   190  
   191  func (m *Authorization) MarshalJSON() ([]byte, error) {
   192  	return protojson.MarshalOptions{}.Marshal(m)
   193  }
   194  
   195  func (m *Authorization) UnmarshalJSON(data []byte) error {
   196  	return protojson.Unmarshal(data, m)
   197  }
   198  
   199  func (m *Authorization) GetGrantedPermissions() []string {
   200  	if m != nil {
   201  		return m.GrantedPermissions
   202  	}
   203  	return nil
   204  }
   205  
   206  func (m *Authorization) GetDeniedPermissions() []string {
   207  	if m != nil {
   208  		return m.DeniedPermissions
   209  	}
   210  	return nil
   211  }
   212  
   213  func (m *Authorization) SetGrantedPermissions(fv []string) {
   214  	if m == nil {
   215  		panic(fmt.Errorf("can't set %s on nil %s", "GrantedPermissions", "Authorization"))
   216  	}
   217  	m.GrantedPermissions = fv
   218  }
   219  
   220  func (m *Authorization) SetDeniedPermissions(fv []string) {
   221  	if m == nil {
   222  		panic(fmt.Errorf("can't set %s on nil %s", "DeniedPermissions", "Authorization"))
   223  	}
   224  	m.DeniedPermissions = fv
   225  }
   226  
   227  // Information about service processing a request
   228  type ServiceData struct {
   229  	state         protoimpl.MessageState
   230  	sizeCache     protoimpl.SizeCache
   231  	unknownFields protoimpl.UnknownFields
   232  	// Fully qualified service name executing a request
   233  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   234  	// Region of the service handling this request.
   235  	RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
   236  	// Server hostname handling this request.
   237  	Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
   238  }
   239  
   240  func (m *ServiceData) Reset() {
   241  	*m = ServiceData{}
   242  	if protoimpl.UnsafeEnabled {
   243  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[2]
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   245  		ms.StoreMessageInfo(mi)
   246  	}
   247  }
   248  
   249  func (m *ServiceData) String() string {
   250  	return protoimpl.X.MessageStringOf(m)
   251  }
   252  
   253  func (*ServiceData) ProtoMessage() {}
   254  
   255  func (m *ServiceData) ProtoReflect() preflect.Message {
   256  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[2]
   257  	if protoimpl.UnsafeEnabled && m != nil {
   258  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   259  		if ms.LoadMessageInfo() == nil {
   260  			ms.StoreMessageInfo(mi)
   261  		}
   262  		return ms
   263  	}
   264  	return mi.MessageOf(m)
   265  }
   266  
   267  func (*ServiceData) GotenMessage() {}
   268  
   269  // Deprecated, Use ServiceData.ProtoReflect.Descriptor instead.
   270  func (*ServiceData) Descriptor() ([]byte, []int) {
   271  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{2}
   272  }
   273  
   274  func (m *ServiceData) Unmarshal(b []byte) error {
   275  	return proto.Unmarshal(b, m)
   276  }
   277  
   278  func (m *ServiceData) Marshal() ([]byte, error) {
   279  	return proto.Marshal(m)
   280  }
   281  
   282  func (m *ServiceData) MarshalJSON() ([]byte, error) {
   283  	return protojson.MarshalOptions{}.Marshal(m)
   284  }
   285  
   286  func (m *ServiceData) UnmarshalJSON(data []byte) error {
   287  	return protojson.Unmarshal(data, m)
   288  }
   289  
   290  func (m *ServiceData) GetName() string {
   291  	if m != nil {
   292  		return m.Name
   293  	}
   294  	return ""
   295  }
   296  
   297  func (m *ServiceData) GetRegionId() string {
   298  	if m != nil {
   299  		return m.RegionId
   300  	}
   301  	return ""
   302  }
   303  
   304  func (m *ServiceData) GetHostname() string {
   305  	if m != nil {
   306  		return m.Hostname
   307  	}
   308  	return ""
   309  }
   310  
   311  func (m *ServiceData) SetName(fv string) {
   312  	if m == nil {
   313  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "ServiceData"))
   314  	}
   315  	m.Name = fv
   316  }
   317  
   318  func (m *ServiceData) SetRegionId(fv string) {
   319  	if m == nil {
   320  		panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ServiceData"))
   321  	}
   322  	m.RegionId = fv
   323  }
   324  
   325  func (m *ServiceData) SetHostname(fv string) {
   326  	if m == nil {
   327  		panic(fmt.Errorf("can't set %s on nil %s", "Hostname", "ServiceData"))
   328  	}
   329  	m.Hostname = fv
   330  }
   331  
   332  // State of the object - can be resource, request or response.
   333  // DEPRECATED
   334  type ObjectState struct {
   335  	state         protoimpl.MessageState
   336  	sizeCache     protoimpl.SizeCache
   337  	unknownFields protoimpl.UnknownFields
   338  	// Object data
   339  	Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   340  	// Values for all of the labels listed in the associated audited
   341  	// object descriptor - they are extracted from protobuf object
   342  	// and used for filtering
   343  	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   344  }
   345  
   346  func (m *ObjectState) Reset() {
   347  	*m = ObjectState{}
   348  	if protoimpl.UnsafeEnabled {
   349  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[3]
   350  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   351  		ms.StoreMessageInfo(mi)
   352  	}
   353  }
   354  
   355  func (m *ObjectState) String() string {
   356  	return protoimpl.X.MessageStringOf(m)
   357  }
   358  
   359  func (*ObjectState) ProtoMessage() {}
   360  
   361  func (m *ObjectState) ProtoReflect() preflect.Message {
   362  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[3]
   363  	if protoimpl.UnsafeEnabled && m != nil {
   364  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   365  		if ms.LoadMessageInfo() == nil {
   366  			ms.StoreMessageInfo(mi)
   367  		}
   368  		return ms
   369  	}
   370  	return mi.MessageOf(m)
   371  }
   372  
   373  func (*ObjectState) GotenMessage() {}
   374  
   375  // Deprecated, Use ObjectState.ProtoReflect.Descriptor instead.
   376  func (*ObjectState) Descriptor() ([]byte, []int) {
   377  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{3}
   378  }
   379  
   380  func (m *ObjectState) Unmarshal(b []byte) error {
   381  	return proto.Unmarshal(b, m)
   382  }
   383  
   384  func (m *ObjectState) Marshal() ([]byte, error) {
   385  	return proto.Marshal(m)
   386  }
   387  
   388  func (m *ObjectState) MarshalJSON() ([]byte, error) {
   389  	return protojson.MarshalOptions{}.Marshal(m)
   390  }
   391  
   392  func (m *ObjectState) UnmarshalJSON(data []byte) error {
   393  	return protojson.Unmarshal(data, m)
   394  }
   395  
   396  func (m *ObjectState) GetData() *anypb.Any {
   397  	if m != nil {
   398  		return m.Data
   399  	}
   400  	return nil
   401  }
   402  
   403  func (m *ObjectState) GetLabels() map[string]string {
   404  	if m != nil {
   405  		return m.Labels
   406  	}
   407  	return nil
   408  }
   409  
   410  func (m *ObjectState) SetData(fv *anypb.Any) {
   411  	if m == nil {
   412  		panic(fmt.Errorf("can't set %s on nil %s", "Data", "ObjectState"))
   413  	}
   414  	m.Data = fv
   415  }
   416  
   417  func (m *ObjectState) SetLabels(fv map[string]string) {
   418  	if m == nil {
   419  		panic(fmt.Errorf("can't set %s on nil %s", "Labels", "ObjectState"))
   420  	}
   421  	m.Labels = fv
   422  }
   423  
   424  type LabelDescriptor struct {
   425  	state         protoimpl.MessageState
   426  	sizeCache     protoimpl.SizeCache
   427  	unknownFields protoimpl.UnknownFields
   428  	// The label key.
   429  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   430  	// List of versions where label is supported
   431  	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
   432  }
   433  
   434  func (m *LabelDescriptor) Reset() {
   435  	*m = LabelDescriptor{}
   436  	if protoimpl.UnsafeEnabled {
   437  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[4]
   438  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   439  		ms.StoreMessageInfo(mi)
   440  	}
   441  }
   442  
   443  func (m *LabelDescriptor) String() string {
   444  	return protoimpl.X.MessageStringOf(m)
   445  }
   446  
   447  func (*LabelDescriptor) ProtoMessage() {}
   448  
   449  func (m *LabelDescriptor) ProtoReflect() preflect.Message {
   450  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[4]
   451  	if protoimpl.UnsafeEnabled && m != nil {
   452  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   453  		if ms.LoadMessageInfo() == nil {
   454  			ms.StoreMessageInfo(mi)
   455  		}
   456  		return ms
   457  	}
   458  	return mi.MessageOf(m)
   459  }
   460  
   461  func (*LabelDescriptor) GotenMessage() {}
   462  
   463  // Deprecated, Use LabelDescriptor.ProtoReflect.Descriptor instead.
   464  func (*LabelDescriptor) Descriptor() ([]byte, []int) {
   465  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{4}
   466  }
   467  
   468  func (m *LabelDescriptor) Unmarshal(b []byte) error {
   469  	return proto.Unmarshal(b, m)
   470  }
   471  
   472  func (m *LabelDescriptor) Marshal() ([]byte, error) {
   473  	return proto.Marshal(m)
   474  }
   475  
   476  func (m *LabelDescriptor) MarshalJSON() ([]byte, error) {
   477  	return protojson.MarshalOptions{}.Marshal(m)
   478  }
   479  
   480  func (m *LabelDescriptor) UnmarshalJSON(data []byte) error {
   481  	return protojson.Unmarshal(data, m)
   482  }
   483  
   484  func (m *LabelDescriptor) GetKey() string {
   485  	if m != nil {
   486  		return m.Key
   487  	}
   488  	return ""
   489  }
   490  
   491  func (m *LabelDescriptor) GetVersions() []string {
   492  	if m != nil {
   493  		return m.Versions
   494  	}
   495  	return nil
   496  }
   497  
   498  func (m *LabelDescriptor) SetKey(fv string) {
   499  	if m == nil {
   500  		panic(fmt.Errorf("can't set %s on nil %s", "Key", "LabelDescriptor"))
   501  	}
   502  	m.Key = fv
   503  }
   504  
   505  func (m *LabelDescriptor) SetVersions(fv []string) {
   506  	if m == nil {
   507  		panic(fmt.Errorf("can't set %s on nil %s", "Versions", "LabelDescriptor"))
   508  	}
   509  	m.Versions = fv
   510  }
   511  
   512  // LabelKeySet is used for defining PromotedLabelKeySets on Object descriptors
   513  type LabelKeySet struct {
   514  	state         protoimpl.MessageState
   515  	sizeCache     protoimpl.SizeCache
   516  	unknownFields protoimpl.UnknownFields
   517  	LabelKeys     []string `protobuf:"bytes,1,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"`
   518  	// List of versions where label set is supported
   519  	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
   520  }
   521  
   522  func (m *LabelKeySet) Reset() {
   523  	*m = LabelKeySet{}
   524  	if protoimpl.UnsafeEnabled {
   525  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[5]
   526  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   527  		ms.StoreMessageInfo(mi)
   528  	}
   529  }
   530  
   531  func (m *LabelKeySet) String() string {
   532  	return protoimpl.X.MessageStringOf(m)
   533  }
   534  
   535  func (*LabelKeySet) ProtoMessage() {}
   536  
   537  func (m *LabelKeySet) ProtoReflect() preflect.Message {
   538  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[5]
   539  	if protoimpl.UnsafeEnabled && m != nil {
   540  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   541  		if ms.LoadMessageInfo() == nil {
   542  			ms.StoreMessageInfo(mi)
   543  		}
   544  		return ms
   545  	}
   546  	return mi.MessageOf(m)
   547  }
   548  
   549  func (*LabelKeySet) GotenMessage() {}
   550  
   551  // Deprecated, Use LabelKeySet.ProtoReflect.Descriptor instead.
   552  func (*LabelKeySet) Descriptor() ([]byte, []int) {
   553  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{5}
   554  }
   555  
   556  func (m *LabelKeySet) Unmarshal(b []byte) error {
   557  	return proto.Unmarshal(b, m)
   558  }
   559  
   560  func (m *LabelKeySet) Marshal() ([]byte, error) {
   561  	return proto.Marshal(m)
   562  }
   563  
   564  func (m *LabelKeySet) MarshalJSON() ([]byte, error) {
   565  	return protojson.MarshalOptions{}.Marshal(m)
   566  }
   567  
   568  func (m *LabelKeySet) UnmarshalJSON(data []byte) error {
   569  	return protojson.Unmarshal(data, m)
   570  }
   571  
   572  func (m *LabelKeySet) GetLabelKeys() []string {
   573  	if m != nil {
   574  		return m.LabelKeys
   575  	}
   576  	return nil
   577  }
   578  
   579  func (m *LabelKeySet) GetVersions() []string {
   580  	if m != nil {
   581  		return m.Versions
   582  	}
   583  	return nil
   584  }
   585  
   586  func (m *LabelKeySet) SetLabelKeys(fv []string) {
   587  	if m == nil {
   588  		panic(fmt.Errorf("can't set %s on nil %s", "LabelKeys", "LabelKeySet"))
   589  	}
   590  	m.LabelKeys = fv
   591  }
   592  
   593  func (m *LabelKeySet) SetVersions(fv []string) {
   594  	if m == nil {
   595  		panic(fmt.Errorf("can't set %s on nil %s", "Versions", "LabelKeySet"))
   596  	}
   597  	m.Versions = fv
   598  }
   599  
   600  // A time interval extending just after a start time through an end time.
   601  // If the start time is the same as the end time, then the interval
   602  // represents a single point in time.
   603  type TimeInterval struct {
   604  	state         protoimpl.MessageState
   605  	sizeCache     protoimpl.SizeCache
   606  	unknownFields protoimpl.UnknownFields
   607  	// Optional - end of the time interval. If not provided, current
   608  	// time will be assumed.
   609  	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
   610  	// Required. The beginning of the time interval. The start time must not be
   611  	// later than the end time.
   612  	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
   613  }
   614  
   615  func (m *TimeInterval) Reset() {
   616  	*m = TimeInterval{}
   617  	if protoimpl.UnsafeEnabled {
   618  		mi := &edgelq_audit_proto_v1_common_proto_msgTypes[6]
   619  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   620  		ms.StoreMessageInfo(mi)
   621  	}
   622  }
   623  
   624  func (m *TimeInterval) String() string {
   625  	return protoimpl.X.MessageStringOf(m)
   626  }
   627  
   628  func (*TimeInterval) ProtoMessage() {}
   629  
   630  func (m *TimeInterval) ProtoReflect() preflect.Message {
   631  	mi := &edgelq_audit_proto_v1_common_proto_msgTypes[6]
   632  	if protoimpl.UnsafeEnabled && m != nil {
   633  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   634  		if ms.LoadMessageInfo() == nil {
   635  			ms.StoreMessageInfo(mi)
   636  		}
   637  		return ms
   638  	}
   639  	return mi.MessageOf(m)
   640  }
   641  
   642  func (*TimeInterval) GotenMessage() {}
   643  
   644  // Deprecated, Use TimeInterval.ProtoReflect.Descriptor instead.
   645  func (*TimeInterval) Descriptor() ([]byte, []int) {
   646  	return edgelq_audit_proto_v1_common_proto_rawDescGZIP(), []int{6}
   647  }
   648  
   649  func (m *TimeInterval) Unmarshal(b []byte) error {
   650  	return proto.Unmarshal(b, m)
   651  }
   652  
   653  func (m *TimeInterval) Marshal() ([]byte, error) {
   654  	return proto.Marshal(m)
   655  }
   656  
   657  func (m *TimeInterval) MarshalJSON() ([]byte, error) {
   658  	return protojson.MarshalOptions{}.Marshal(m)
   659  }
   660  
   661  func (m *TimeInterval) UnmarshalJSON(data []byte) error {
   662  	return protojson.Unmarshal(data, m)
   663  }
   664  
   665  func (m *TimeInterval) GetEndTime() *timestamppb.Timestamp {
   666  	if m != nil {
   667  		return m.EndTime
   668  	}
   669  	return nil
   670  }
   671  
   672  func (m *TimeInterval) GetStartTime() *timestamppb.Timestamp {
   673  	if m != nil {
   674  		return m.StartTime
   675  	}
   676  	return nil
   677  }
   678  
   679  func (m *TimeInterval) SetEndTime(fv *timestamppb.Timestamp) {
   680  	if m == nil {
   681  		panic(fmt.Errorf("can't set %s on nil %s", "EndTime", "TimeInterval"))
   682  	}
   683  	m.EndTime = fv
   684  }
   685  
   686  func (m *TimeInterval) SetStartTime(fv *timestamppb.Timestamp) {
   687  	if m == nil {
   688  		panic(fmt.Errorf("can't set %s on nil %s", "StartTime", "TimeInterval"))
   689  	}
   690  	m.StartTime = fv
   691  }
   692  
   693  var edgelq_audit_proto_v1_common_proto preflect.FileDescriptor
   694  
   695  var edgelq_audit_proto_v1_common_proto_rawDesc = []byte{
   696  	0x0a, 0x22, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x70,
   697  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
   698  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e,
   699  	0x76, 0x31, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   700  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   701  	0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   702  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
   703  	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   704  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
   705  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
   706  	0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   707  	0x55, 0x0a, 0x0e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
   708  	0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01,
   709  	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12,
   710  	0x25, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70,
   711  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70,
   712  	0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x6f, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
   713  	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x67, 0x72, 0x61, 0x6e, 0x74,
   714  	0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
   715  	0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72,
   716  	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x6e, 0x69,
   717  	0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02,
   718  	0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d,
   719  	0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5a, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69,
   720  	0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
   721  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65,
   722  	0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72,
   723  	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e,
   724  	0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e,
   725  	0x61, 0x6d, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74,
   726  	0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
   727  	0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   728  	0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a,
   729  	0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
   730  	0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a,
   731  	0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
   732  	0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
   733  	0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
   734  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
   735  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
   736  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a, 0x0f, 0x4c, 0x61, 0x62, 0x65, 0x6c,
   737  	0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x03, 0x6b, 0x65,
   738  	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xca, 0xc6, 0x27, 0x23, 0x2a, 0x21, 0x52,
   739  	0x1f, 0x42, 0x1d, 0x5e, 0x5b, 0x5f, 0x41, 0x2d, 0x5a, 0x61, 0x2d, 0x7a, 0x5d, 0x5b, 0x5f, 0x41,
   740  	0x2d, 0x5a, 0x61, 0x2d, 0x7a, 0x30, 0x2d, 0x39, 0x5d, 0x7b, 0x30, 0x2c, 0x36, 0x33, 0x7d, 0x24,
   741  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   742  	0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   743  	0x73, 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74,
   744  	0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01,
   745  	0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x12,
   746  	0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   747  	0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x0c,
   748  	0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x08,
   749  	0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   750  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   751  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
   752  	0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
   753  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   754  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
   755  	0x61, 0x6d, 0x70, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x09, 0x73,
   756  	0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x5e, 0xe8, 0xde, 0x21, 0x01, 0x0a, 0x13,
   757  	0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x62,
   758  	0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   759  	0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
   760  	0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61,
   761  	0x75, 0x64, 0x69, 0x74, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76,
   762  	0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   763  }
   764  
   765  var (
   766  	edgelq_audit_proto_v1_common_proto_rawDescOnce sync.Once
   767  	edgelq_audit_proto_v1_common_proto_rawDescData = edgelq_audit_proto_v1_common_proto_rawDesc
   768  )
   769  
   770  func edgelq_audit_proto_v1_common_proto_rawDescGZIP() []byte {
   771  	edgelq_audit_proto_v1_common_proto_rawDescOnce.Do(func() {
   772  		edgelq_audit_proto_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_audit_proto_v1_common_proto_rawDescData)
   773  	})
   774  	return edgelq_audit_proto_v1_common_proto_rawDescData
   775  }
   776  
   777  var edgelq_audit_proto_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   778  var edgelq_audit_proto_v1_common_proto_goTypes = []interface{}{
   779  	(*Authentication)(nil),        // 0: ntt.audit.v1.Authentication
   780  	(*Authorization)(nil),         // 1: ntt.audit.v1.Authorization
   781  	(*ServiceData)(nil),           // 2: ntt.audit.v1.ServiceData
   782  	(*ObjectState)(nil),           // 3: ntt.audit.v1.ObjectState
   783  	(*LabelDescriptor)(nil),       // 4: ntt.audit.v1.LabelDescriptor
   784  	(*LabelKeySet)(nil),           // 5: ntt.audit.v1.LabelKeySet
   785  	(*TimeInterval)(nil),          // 6: ntt.audit.v1.TimeInterval
   786  	nil,                           // 7: ntt.audit.v1.ObjectState.LabelsEntry
   787  	(*anypb.Any)(nil),             // 8: google.protobuf.Any
   788  	(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
   789  }
   790  var edgelq_audit_proto_v1_common_proto_depIdxs = []int32{
   791  	8, // 0: ntt.audit.v1.ObjectState.data:type_name -> google.protobuf.Any
   792  	7, // 1: ntt.audit.v1.ObjectState.labels:type_name -> ntt.audit.v1.ObjectState.LabelsEntry
   793  	9, // 2: ntt.audit.v1.TimeInterval.end_time:type_name -> google.protobuf.Timestamp
   794  	9, // 3: ntt.audit.v1.TimeInterval.start_time:type_name -> google.protobuf.Timestamp
   795  	4, // [4:4] is the sub-list for method output_type
   796  	4, // [4:4] is the sub-list for method input_type
   797  	4, // [4:4] is the sub-list for extension type_name
   798  	4, // [4:4] is the sub-list for extension extendee
   799  	0, // [0:4] is the sub-list for field type_name
   800  }
   801  
   802  func init() { edgelq_audit_proto_v1_common_proto_init() }
   803  func edgelq_audit_proto_v1_common_proto_init() {
   804  	if edgelq_audit_proto_v1_common_proto != nil {
   805  		return
   806  	}
   807  	if !protoimpl.UnsafeEnabled {
   808  
   809  		edgelq_audit_proto_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   810  			switch v := v.(*Authentication); i {
   811  			case 0:
   812  				return &v.state
   813  			case 1:
   814  				return &v.sizeCache
   815  			case 2:
   816  				return &v.unknownFields
   817  			default:
   818  				return nil
   819  			}
   820  		}
   821  		edgelq_audit_proto_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   822  			switch v := v.(*Authorization); i {
   823  			case 0:
   824  				return &v.state
   825  			case 1:
   826  				return &v.sizeCache
   827  			case 2:
   828  				return &v.unknownFields
   829  			default:
   830  				return nil
   831  			}
   832  		}
   833  		edgelq_audit_proto_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   834  			switch v := v.(*ServiceData); i {
   835  			case 0:
   836  				return &v.state
   837  			case 1:
   838  				return &v.sizeCache
   839  			case 2:
   840  				return &v.unknownFields
   841  			default:
   842  				return nil
   843  			}
   844  		}
   845  		edgelq_audit_proto_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   846  			switch v := v.(*ObjectState); i {
   847  			case 0:
   848  				return &v.state
   849  			case 1:
   850  				return &v.sizeCache
   851  			case 2:
   852  				return &v.unknownFields
   853  			default:
   854  				return nil
   855  			}
   856  		}
   857  		edgelq_audit_proto_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   858  			switch v := v.(*LabelDescriptor); i {
   859  			case 0:
   860  				return &v.state
   861  			case 1:
   862  				return &v.sizeCache
   863  			case 2:
   864  				return &v.unknownFields
   865  			default:
   866  				return nil
   867  			}
   868  		}
   869  		edgelq_audit_proto_v1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   870  			switch v := v.(*LabelKeySet); i {
   871  			case 0:
   872  				return &v.state
   873  			case 1:
   874  				return &v.sizeCache
   875  			case 2:
   876  				return &v.unknownFields
   877  			default:
   878  				return nil
   879  			}
   880  		}
   881  		edgelq_audit_proto_v1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   882  			switch v := v.(*TimeInterval); i {
   883  			case 0:
   884  				return &v.state
   885  			case 1:
   886  				return &v.sizeCache
   887  			case 2:
   888  				return &v.unknownFields
   889  			default:
   890  				return nil
   891  			}
   892  		}
   893  	}
   894  
   895  	type x struct{}
   896  	out := protoimpl.TypeBuilder{
   897  		File: protoimpl.DescBuilder{
   898  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   899  			RawDescriptor: edgelq_audit_proto_v1_common_proto_rawDesc,
   900  			NumEnums:      0,
   901  			NumMessages:   8,
   902  			NumExtensions: 0,
   903  			NumServices:   0,
   904  		},
   905  		GoTypes:           edgelq_audit_proto_v1_common_proto_goTypes,
   906  		DependencyIndexes: edgelq_audit_proto_v1_common_proto_depIdxs,
   907  		MessageInfos:      edgelq_audit_proto_v1_common_proto_msgTypes,
   908  	}.Build()
   909  	edgelq_audit_proto_v1_common_proto = out.File
   910  	edgelq_audit_proto_v1_common_proto_rawDesc = nil
   911  	edgelq_audit_proto_v1_common_proto_goTypes = nil
   912  	edgelq_audit_proto_v1_common_proto_depIdxs = nil
   913  }