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

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/audit/proto/v1alpha2/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_v1alpha2_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_v1alpha2_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_v1alpha2_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_v1alpha2_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_v1alpha2_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_v1alpha2_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  }
   237  
   238  func (m *ServiceData) Reset() {
   239  	*m = ServiceData{}
   240  	if protoimpl.UnsafeEnabled {
   241  		mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[2]
   242  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   243  		ms.StoreMessageInfo(mi)
   244  	}
   245  }
   246  
   247  func (m *ServiceData) String() string {
   248  	return protoimpl.X.MessageStringOf(m)
   249  }
   250  
   251  func (*ServiceData) ProtoMessage() {}
   252  
   253  func (m *ServiceData) ProtoReflect() preflect.Message {
   254  	mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[2]
   255  	if protoimpl.UnsafeEnabled && m != nil {
   256  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   257  		if ms.LoadMessageInfo() == nil {
   258  			ms.StoreMessageInfo(mi)
   259  		}
   260  		return ms
   261  	}
   262  	return mi.MessageOf(m)
   263  }
   264  
   265  func (*ServiceData) GotenMessage() {}
   266  
   267  // Deprecated, Use ServiceData.ProtoReflect.Descriptor instead.
   268  func (*ServiceData) Descriptor() ([]byte, []int) {
   269  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP(), []int{2}
   270  }
   271  
   272  func (m *ServiceData) Unmarshal(b []byte) error {
   273  	return proto.Unmarshal(b, m)
   274  }
   275  
   276  func (m *ServiceData) Marshal() ([]byte, error) {
   277  	return proto.Marshal(m)
   278  }
   279  
   280  func (m *ServiceData) MarshalJSON() ([]byte, error) {
   281  	return protojson.MarshalOptions{}.Marshal(m)
   282  }
   283  
   284  func (m *ServiceData) UnmarshalJSON(data []byte) error {
   285  	return protojson.Unmarshal(data, m)
   286  }
   287  
   288  func (m *ServiceData) GetName() string {
   289  	if m != nil {
   290  		return m.Name
   291  	}
   292  	return ""
   293  }
   294  
   295  func (m *ServiceData) GetRegionId() string {
   296  	if m != nil {
   297  		return m.RegionId
   298  	}
   299  	return ""
   300  }
   301  
   302  func (m *ServiceData) SetName(fv string) {
   303  	if m == nil {
   304  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "ServiceData"))
   305  	}
   306  	m.Name = fv
   307  }
   308  
   309  func (m *ServiceData) SetRegionId(fv string) {
   310  	if m == nil {
   311  		panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "ServiceData"))
   312  	}
   313  	m.RegionId = fv
   314  }
   315  
   316  // State of the object - can be resource, request or response.
   317  // DEPRECATED
   318  type ObjectState struct {
   319  	state         protoimpl.MessageState
   320  	sizeCache     protoimpl.SizeCache
   321  	unknownFields protoimpl.UnknownFields
   322  	// Object data
   323  	Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   324  	// Values for all of the labels listed in the associated audited
   325  	// object descriptor - they are extracted from protobuf object
   326  	// and used for filtering
   327  	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"`
   328  }
   329  
   330  func (m *ObjectState) Reset() {
   331  	*m = ObjectState{}
   332  	if protoimpl.UnsafeEnabled {
   333  		mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[3]
   334  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   335  		ms.StoreMessageInfo(mi)
   336  	}
   337  }
   338  
   339  func (m *ObjectState) String() string {
   340  	return protoimpl.X.MessageStringOf(m)
   341  }
   342  
   343  func (*ObjectState) ProtoMessage() {}
   344  
   345  func (m *ObjectState) ProtoReflect() preflect.Message {
   346  	mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[3]
   347  	if protoimpl.UnsafeEnabled && m != nil {
   348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   349  		if ms.LoadMessageInfo() == nil {
   350  			ms.StoreMessageInfo(mi)
   351  		}
   352  		return ms
   353  	}
   354  	return mi.MessageOf(m)
   355  }
   356  
   357  func (*ObjectState) GotenMessage() {}
   358  
   359  // Deprecated, Use ObjectState.ProtoReflect.Descriptor instead.
   360  func (*ObjectState) Descriptor() ([]byte, []int) {
   361  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP(), []int{3}
   362  }
   363  
   364  func (m *ObjectState) Unmarshal(b []byte) error {
   365  	return proto.Unmarshal(b, m)
   366  }
   367  
   368  func (m *ObjectState) Marshal() ([]byte, error) {
   369  	return proto.Marshal(m)
   370  }
   371  
   372  func (m *ObjectState) MarshalJSON() ([]byte, error) {
   373  	return protojson.MarshalOptions{}.Marshal(m)
   374  }
   375  
   376  func (m *ObjectState) UnmarshalJSON(data []byte) error {
   377  	return protojson.Unmarshal(data, m)
   378  }
   379  
   380  func (m *ObjectState) GetData() *anypb.Any {
   381  	if m != nil {
   382  		return m.Data
   383  	}
   384  	return nil
   385  }
   386  
   387  func (m *ObjectState) GetLabels() map[string]string {
   388  	if m != nil {
   389  		return m.Labels
   390  	}
   391  	return nil
   392  }
   393  
   394  func (m *ObjectState) SetData(fv *anypb.Any) {
   395  	if m == nil {
   396  		panic(fmt.Errorf("can't set %s on nil %s", "Data", "ObjectState"))
   397  	}
   398  	m.Data = fv
   399  }
   400  
   401  func (m *ObjectState) SetLabels(fv map[string]string) {
   402  	if m == nil {
   403  		panic(fmt.Errorf("can't set %s on nil %s", "Labels", "ObjectState"))
   404  	}
   405  	m.Labels = fv
   406  }
   407  
   408  type LabelDescriptor struct {
   409  	state         protoimpl.MessageState
   410  	sizeCache     protoimpl.SizeCache
   411  	unknownFields protoimpl.UnknownFields
   412  	// The label key.
   413  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   414  	// List of versions where label is supported
   415  	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
   416  }
   417  
   418  func (m *LabelDescriptor) Reset() {
   419  	*m = LabelDescriptor{}
   420  	if protoimpl.UnsafeEnabled {
   421  		mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[4]
   422  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   423  		ms.StoreMessageInfo(mi)
   424  	}
   425  }
   426  
   427  func (m *LabelDescriptor) String() string {
   428  	return protoimpl.X.MessageStringOf(m)
   429  }
   430  
   431  func (*LabelDescriptor) ProtoMessage() {}
   432  
   433  func (m *LabelDescriptor) ProtoReflect() preflect.Message {
   434  	mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[4]
   435  	if protoimpl.UnsafeEnabled && m != nil {
   436  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   437  		if ms.LoadMessageInfo() == nil {
   438  			ms.StoreMessageInfo(mi)
   439  		}
   440  		return ms
   441  	}
   442  	return mi.MessageOf(m)
   443  }
   444  
   445  func (*LabelDescriptor) GotenMessage() {}
   446  
   447  // Deprecated, Use LabelDescriptor.ProtoReflect.Descriptor instead.
   448  func (*LabelDescriptor) Descriptor() ([]byte, []int) {
   449  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP(), []int{4}
   450  }
   451  
   452  func (m *LabelDescriptor) Unmarshal(b []byte) error {
   453  	return proto.Unmarshal(b, m)
   454  }
   455  
   456  func (m *LabelDescriptor) Marshal() ([]byte, error) {
   457  	return proto.Marshal(m)
   458  }
   459  
   460  func (m *LabelDescriptor) MarshalJSON() ([]byte, error) {
   461  	return protojson.MarshalOptions{}.Marshal(m)
   462  }
   463  
   464  func (m *LabelDescriptor) UnmarshalJSON(data []byte) error {
   465  	return protojson.Unmarshal(data, m)
   466  }
   467  
   468  func (m *LabelDescriptor) GetKey() string {
   469  	if m != nil {
   470  		return m.Key
   471  	}
   472  	return ""
   473  }
   474  
   475  func (m *LabelDescriptor) GetVersions() []string {
   476  	if m != nil {
   477  		return m.Versions
   478  	}
   479  	return nil
   480  }
   481  
   482  func (m *LabelDescriptor) SetKey(fv string) {
   483  	if m == nil {
   484  		panic(fmt.Errorf("can't set %s on nil %s", "Key", "LabelDescriptor"))
   485  	}
   486  	m.Key = fv
   487  }
   488  
   489  func (m *LabelDescriptor) SetVersions(fv []string) {
   490  	if m == nil {
   491  		panic(fmt.Errorf("can't set %s on nil %s", "Versions", "LabelDescriptor"))
   492  	}
   493  	m.Versions = fv
   494  }
   495  
   496  // LabelKeySet is used for defining PromotedLabelKeySets on Object descriptors
   497  type LabelKeySet struct {
   498  	state         protoimpl.MessageState
   499  	sizeCache     protoimpl.SizeCache
   500  	unknownFields protoimpl.UnknownFields
   501  	LabelKeys     []string `protobuf:"bytes,1,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty"`
   502  	// List of versions where label set is supported
   503  	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
   504  }
   505  
   506  func (m *LabelKeySet) Reset() {
   507  	*m = LabelKeySet{}
   508  	if protoimpl.UnsafeEnabled {
   509  		mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[5]
   510  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   511  		ms.StoreMessageInfo(mi)
   512  	}
   513  }
   514  
   515  func (m *LabelKeySet) String() string {
   516  	return protoimpl.X.MessageStringOf(m)
   517  }
   518  
   519  func (*LabelKeySet) ProtoMessage() {}
   520  
   521  func (m *LabelKeySet) ProtoReflect() preflect.Message {
   522  	mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[5]
   523  	if protoimpl.UnsafeEnabled && m != nil {
   524  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   525  		if ms.LoadMessageInfo() == nil {
   526  			ms.StoreMessageInfo(mi)
   527  		}
   528  		return ms
   529  	}
   530  	return mi.MessageOf(m)
   531  }
   532  
   533  func (*LabelKeySet) GotenMessage() {}
   534  
   535  // Deprecated, Use LabelKeySet.ProtoReflect.Descriptor instead.
   536  func (*LabelKeySet) Descriptor() ([]byte, []int) {
   537  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP(), []int{5}
   538  }
   539  
   540  func (m *LabelKeySet) Unmarshal(b []byte) error {
   541  	return proto.Unmarshal(b, m)
   542  }
   543  
   544  func (m *LabelKeySet) Marshal() ([]byte, error) {
   545  	return proto.Marshal(m)
   546  }
   547  
   548  func (m *LabelKeySet) MarshalJSON() ([]byte, error) {
   549  	return protojson.MarshalOptions{}.Marshal(m)
   550  }
   551  
   552  func (m *LabelKeySet) UnmarshalJSON(data []byte) error {
   553  	return protojson.Unmarshal(data, m)
   554  }
   555  
   556  func (m *LabelKeySet) GetLabelKeys() []string {
   557  	if m != nil {
   558  		return m.LabelKeys
   559  	}
   560  	return nil
   561  }
   562  
   563  func (m *LabelKeySet) GetVersions() []string {
   564  	if m != nil {
   565  		return m.Versions
   566  	}
   567  	return nil
   568  }
   569  
   570  func (m *LabelKeySet) SetLabelKeys(fv []string) {
   571  	if m == nil {
   572  		panic(fmt.Errorf("can't set %s on nil %s", "LabelKeys", "LabelKeySet"))
   573  	}
   574  	m.LabelKeys = fv
   575  }
   576  
   577  func (m *LabelKeySet) SetVersions(fv []string) {
   578  	if m == nil {
   579  		panic(fmt.Errorf("can't set %s on nil %s", "Versions", "LabelKeySet"))
   580  	}
   581  	m.Versions = fv
   582  }
   583  
   584  // A time interval extending just after a start time through an end time.
   585  // If the start time is the same as the end time, then the interval
   586  // represents a single point in time.
   587  type TimeInterval struct {
   588  	state         protoimpl.MessageState
   589  	sizeCache     protoimpl.SizeCache
   590  	unknownFields protoimpl.UnknownFields
   591  	// Optional - end of the time interval. If not provided, current
   592  	// time will be assumed.
   593  	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
   594  	// Required. The beginning of the time interval. The start time must not be
   595  	// later than the end time.
   596  	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
   597  }
   598  
   599  func (m *TimeInterval) Reset() {
   600  	*m = TimeInterval{}
   601  	if protoimpl.UnsafeEnabled {
   602  		mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[6]
   603  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   604  		ms.StoreMessageInfo(mi)
   605  	}
   606  }
   607  
   608  func (m *TimeInterval) String() string {
   609  	return protoimpl.X.MessageStringOf(m)
   610  }
   611  
   612  func (*TimeInterval) ProtoMessage() {}
   613  
   614  func (m *TimeInterval) ProtoReflect() preflect.Message {
   615  	mi := &edgelq_audit_proto_v1alpha2_common_proto_msgTypes[6]
   616  	if protoimpl.UnsafeEnabled && m != nil {
   617  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   618  		if ms.LoadMessageInfo() == nil {
   619  			ms.StoreMessageInfo(mi)
   620  		}
   621  		return ms
   622  	}
   623  	return mi.MessageOf(m)
   624  }
   625  
   626  func (*TimeInterval) GotenMessage() {}
   627  
   628  // Deprecated, Use TimeInterval.ProtoReflect.Descriptor instead.
   629  func (*TimeInterval) Descriptor() ([]byte, []int) {
   630  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP(), []int{6}
   631  }
   632  
   633  func (m *TimeInterval) Unmarshal(b []byte) error {
   634  	return proto.Unmarshal(b, m)
   635  }
   636  
   637  func (m *TimeInterval) Marshal() ([]byte, error) {
   638  	return proto.Marshal(m)
   639  }
   640  
   641  func (m *TimeInterval) MarshalJSON() ([]byte, error) {
   642  	return protojson.MarshalOptions{}.Marshal(m)
   643  }
   644  
   645  func (m *TimeInterval) UnmarshalJSON(data []byte) error {
   646  	return protojson.Unmarshal(data, m)
   647  }
   648  
   649  func (m *TimeInterval) GetEndTime() *timestamppb.Timestamp {
   650  	if m != nil {
   651  		return m.EndTime
   652  	}
   653  	return nil
   654  }
   655  
   656  func (m *TimeInterval) GetStartTime() *timestamppb.Timestamp {
   657  	if m != nil {
   658  		return m.StartTime
   659  	}
   660  	return nil
   661  }
   662  
   663  func (m *TimeInterval) SetEndTime(fv *timestamppb.Timestamp) {
   664  	if m == nil {
   665  		panic(fmt.Errorf("can't set %s on nil %s", "EndTime", "TimeInterval"))
   666  	}
   667  	m.EndTime = fv
   668  }
   669  
   670  func (m *TimeInterval) SetStartTime(fv *timestamppb.Timestamp) {
   671  	if m == nil {
   672  		panic(fmt.Errorf("can't set %s on nil %s", "StartTime", "TimeInterval"))
   673  	}
   674  	m.StartTime = fv
   675  }
   676  
   677  var edgelq_audit_proto_v1alpha2_common_proto preflect.FileDescriptor
   678  
   679  var edgelq_audit_proto_v1alpha2_common_proto_rawDesc = []byte{
   680  	0x0a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x70,
   681  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f,
   682  	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6e, 0x74, 0x74, 0x2e,
   683  	0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x1d,
   684  	0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   685  	0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67,
   686  	0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   687  	0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   688  	0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   689  	0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   690  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
   691  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x0e, 0x41,
   692  	0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a,
   693  	0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   694  	0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70,
   695  	0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
   696  	0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x54, 0x79,
   697  	0x70, 0x65, 0x22, 0x6f, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74,
   698  	0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x70,
   699  	0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
   700  	0x52, 0x12, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
   701  	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x70,
   702  	0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
   703  	0x52, 0x11, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
   704  	0x6f, 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x61,
   705  	0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   706  	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
   707  	0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f,
   708  	0x6e, 0x49, 0x64, 0x22, 0xb7, 0x01, 0x0a, 0x0b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74,
   709  	0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
   710  	0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   711  	0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a,
   712  	0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
   713  	0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   714  	0x61, 0x32, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4c,
   715  	0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
   716  	0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
   717  	0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   718  	0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
   719  	0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a,
   720  	0x0f, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
   721  	0x12, 0x39, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xca,
   722  	0xc6, 0x27, 0x23, 0x2a, 0x21, 0x52, 0x1f, 0x42, 0x1d, 0x5e, 0x5b, 0x5f, 0x41, 0x2d, 0x5a, 0x61,
   723  	0x2d, 0x7a, 0x5d, 0x5b, 0x5f, 0x41, 0x2d, 0x5a, 0x61, 0x2d, 0x7a, 0x30, 0x2d, 0x39, 0x5d, 0x7b,
   724  	0x30, 0x2c, 0x36, 0x33, 0x7d, 0x24, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x76,
   725  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76,
   726  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c,
   727  	0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f,
   728  	0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x62, 0x65,
   729  	0x6c, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   730  	0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   731  	0x73, 0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
   732  	0x61, 0x6c, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,
   733  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
   734  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
   735  	0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x73, 0x74, 0x61,
   736  	0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   737  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   738  	0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62,
   739  	0x02, 0x08, 0x01, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6a,
   740  	0xe8, 0xde, 0x21, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x75,
   741  	0x64, 0x69, 0x74, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42,
   742  	0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a,
   743  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   744  	0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74,
   745  	0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
   746  	0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   747  	0x6f, 0x33,
   748  }
   749  
   750  var (
   751  	edgelq_audit_proto_v1alpha2_common_proto_rawDescOnce sync.Once
   752  	edgelq_audit_proto_v1alpha2_common_proto_rawDescData = edgelq_audit_proto_v1alpha2_common_proto_rawDesc
   753  )
   754  
   755  func edgelq_audit_proto_v1alpha2_common_proto_rawDescGZIP() []byte {
   756  	edgelq_audit_proto_v1alpha2_common_proto_rawDescOnce.Do(func() {
   757  		edgelq_audit_proto_v1alpha2_common_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_audit_proto_v1alpha2_common_proto_rawDescData)
   758  	})
   759  	return edgelq_audit_proto_v1alpha2_common_proto_rawDescData
   760  }
   761  
   762  var edgelq_audit_proto_v1alpha2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   763  var edgelq_audit_proto_v1alpha2_common_proto_goTypes = []interface{}{
   764  	(*Authentication)(nil),        // 0: ntt.audit.v1alpha2.Authentication
   765  	(*Authorization)(nil),         // 1: ntt.audit.v1alpha2.Authorization
   766  	(*ServiceData)(nil),           // 2: ntt.audit.v1alpha2.ServiceData
   767  	(*ObjectState)(nil),           // 3: ntt.audit.v1alpha2.ObjectState
   768  	(*LabelDescriptor)(nil),       // 4: ntt.audit.v1alpha2.LabelDescriptor
   769  	(*LabelKeySet)(nil),           // 5: ntt.audit.v1alpha2.LabelKeySet
   770  	(*TimeInterval)(nil),          // 6: ntt.audit.v1alpha2.TimeInterval
   771  	nil,                           // 7: ntt.audit.v1alpha2.ObjectState.LabelsEntry
   772  	(*anypb.Any)(nil),             // 8: google.protobuf.Any
   773  	(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
   774  }
   775  var edgelq_audit_proto_v1alpha2_common_proto_depIdxs = []int32{
   776  	8, // 0: ntt.audit.v1alpha2.ObjectState.data:type_name -> google.protobuf.Any
   777  	7, // 1: ntt.audit.v1alpha2.ObjectState.labels:type_name -> ntt.audit.v1alpha2.ObjectState.LabelsEntry
   778  	9, // 2: ntt.audit.v1alpha2.TimeInterval.end_time:type_name -> google.protobuf.Timestamp
   779  	9, // 3: ntt.audit.v1alpha2.TimeInterval.start_time:type_name -> google.protobuf.Timestamp
   780  	4, // [4:4] is the sub-list for method output_type
   781  	4, // [4:4] is the sub-list for method input_type
   782  	4, // [4:4] is the sub-list for extension type_name
   783  	4, // [4:4] is the sub-list for extension extendee
   784  	0, // [0:4] is the sub-list for field type_name
   785  }
   786  
   787  func init() { edgelq_audit_proto_v1alpha2_common_proto_init() }
   788  func edgelq_audit_proto_v1alpha2_common_proto_init() {
   789  	if edgelq_audit_proto_v1alpha2_common_proto != nil {
   790  		return
   791  	}
   792  	if !protoimpl.UnsafeEnabled {
   793  
   794  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   795  			switch v := v.(*Authentication); i {
   796  			case 0:
   797  				return &v.state
   798  			case 1:
   799  				return &v.sizeCache
   800  			case 2:
   801  				return &v.unknownFields
   802  			default:
   803  				return nil
   804  			}
   805  		}
   806  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   807  			switch v := v.(*Authorization); i {
   808  			case 0:
   809  				return &v.state
   810  			case 1:
   811  				return &v.sizeCache
   812  			case 2:
   813  				return &v.unknownFields
   814  			default:
   815  				return nil
   816  			}
   817  		}
   818  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   819  			switch v := v.(*ServiceData); i {
   820  			case 0:
   821  				return &v.state
   822  			case 1:
   823  				return &v.sizeCache
   824  			case 2:
   825  				return &v.unknownFields
   826  			default:
   827  				return nil
   828  			}
   829  		}
   830  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   831  			switch v := v.(*ObjectState); i {
   832  			case 0:
   833  				return &v.state
   834  			case 1:
   835  				return &v.sizeCache
   836  			case 2:
   837  				return &v.unknownFields
   838  			default:
   839  				return nil
   840  			}
   841  		}
   842  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   843  			switch v := v.(*LabelDescriptor); i {
   844  			case 0:
   845  				return &v.state
   846  			case 1:
   847  				return &v.sizeCache
   848  			case 2:
   849  				return &v.unknownFields
   850  			default:
   851  				return nil
   852  			}
   853  		}
   854  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   855  			switch v := v.(*LabelKeySet); i {
   856  			case 0:
   857  				return &v.state
   858  			case 1:
   859  				return &v.sizeCache
   860  			case 2:
   861  				return &v.unknownFields
   862  			default:
   863  				return nil
   864  			}
   865  		}
   866  		edgelq_audit_proto_v1alpha2_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   867  			switch v := v.(*TimeInterval); i {
   868  			case 0:
   869  				return &v.state
   870  			case 1:
   871  				return &v.sizeCache
   872  			case 2:
   873  				return &v.unknownFields
   874  			default:
   875  				return nil
   876  			}
   877  		}
   878  	}
   879  
   880  	type x struct{}
   881  	out := protoimpl.TypeBuilder{
   882  		File: protoimpl.DescBuilder{
   883  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   884  			RawDescriptor: edgelq_audit_proto_v1alpha2_common_proto_rawDesc,
   885  			NumEnums:      0,
   886  			NumMessages:   8,
   887  			NumExtensions: 0,
   888  			NumServices:   0,
   889  		},
   890  		GoTypes:           edgelq_audit_proto_v1alpha2_common_proto_goTypes,
   891  		DependencyIndexes: edgelq_audit_proto_v1alpha2_common_proto_depIdxs,
   892  		MessageInfos:      edgelq_audit_proto_v1alpha2_common_proto_msgTypes,
   893  	}.Build()
   894  	edgelq_audit_proto_v1alpha2_common_proto = out.File
   895  	edgelq_audit_proto_v1alpha2_common_proto_rawDesc = nil
   896  	edgelq_audit_proto_v1alpha2_common_proto_goTypes = nil
   897  	edgelq_audit_proto_v1alpha2_common_proto_depIdxs = nil
   898  }