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

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/iam/proto/v1/condition.proto
     3  // DO NOT EDIT!!!
     4  
     5  package condition
     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  	attestation_domain "github.com/cloudwan/edgelq-sdk/iam/resources/v1/attestation_domain"
    21  	organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization"
    22  	permission "github.com/cloudwan/edgelq-sdk/iam/resources/v1/permission"
    23  	project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project"
    24  	meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service"
    25  	meta "github.com/cloudwan/goten-sdk/types/meta"
    26  	structpb "google.golang.org/protobuf/types/known/structpb"
    27  )
    28  
    29  // Reference imports to suppress errors if they are not otherwise used.
    30  var (
    31  	_ = fmt.Errorf
    32  	_ = reflect.Method{}
    33  	_ = sync.Once{}
    34  
    35  	_ = protojson.MarshalOptions{}
    36  	_ = proto.MarshalOptions{}
    37  	_ = preflect.Value{}
    38  	_ = protoimpl.DescBuilder{}
    39  )
    40  
    41  // make sure we're using proto imports
    42  var (
    43  	_ = &attestation_domain.AttestationDomain{}
    44  	_ = &organization.Organization{}
    45  	_ = &permission.Permission{}
    46  	_ = &project.Project{}
    47  	_ = &structpb.Struct{}
    48  	_ = &meta_service.Service{}
    49  	_ = &meta.Meta{}
    50  )
    51  
    52  const (
    53  	// Verify that this generated code is sufficiently up-to-date.
    54  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    55  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    56  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    57  )
    58  
    59  // Parameter Type.
    60  type Condition_ParameterType int32
    61  
    62  const (
    63  	Condition_TYPE_UNSPECIFIED Condition_ParameterType = 0
    64  	Condition_STRING           Condition_ParameterType = 1
    65  	Condition_INT64            Condition_ParameterType = 2
    66  	Condition_DOUBLE           Condition_ParameterType = 3
    67  	Condition_BOOL             Condition_ParameterType = 4
    68  	Condition_STRING_ARRAY     Condition_ParameterType = 5
    69  	Condition_INT64_ARRAY      Condition_ParameterType = 6
    70  	Condition_DOUBLE_ARRAY     Condition_ParameterType = 7
    71  	Condition_BOOL_ARRAY       Condition_ParameterType = 8
    72  	Condition_OBJECT           Condition_ParameterType = 9
    73  )
    74  
    75  var (
    76  	Condition_ParameterType_name = map[int32]string{
    77  		0: "TYPE_UNSPECIFIED",
    78  		1: "STRING",
    79  		2: "INT64",
    80  		3: "DOUBLE",
    81  		4: "BOOL",
    82  		5: "STRING_ARRAY",
    83  		6: "INT64_ARRAY",
    84  		7: "DOUBLE_ARRAY",
    85  		8: "BOOL_ARRAY",
    86  		9: "OBJECT",
    87  	}
    88  
    89  	Condition_ParameterType_value = map[string]int32{
    90  		"TYPE_UNSPECIFIED": 0,
    91  		"STRING":           1,
    92  		"INT64":            2,
    93  		"DOUBLE":           3,
    94  		"BOOL":             4,
    95  		"STRING_ARRAY":     5,
    96  		"INT64_ARRAY":      6,
    97  		"DOUBLE_ARRAY":     7,
    98  		"BOOL_ARRAY":       8,
    99  		"OBJECT":           9,
   100  	}
   101  )
   102  
   103  func (x Condition_ParameterType) Enum() *Condition_ParameterType {
   104  	p := new(Condition_ParameterType)
   105  	*p = x
   106  	return p
   107  }
   108  
   109  func (x Condition_ParameterType) String() string {
   110  	return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
   111  }
   112  
   113  func (Condition_ParameterType) Descriptor() preflect.EnumDescriptor {
   114  	return edgelq_iam_proto_v1_condition_proto_enumTypes[0].Descriptor()
   115  }
   116  
   117  func (Condition_ParameterType) Type() preflect.EnumType {
   118  	return &edgelq_iam_proto_v1_condition_proto_enumTypes[0]
   119  }
   120  
   121  func (x Condition_ParameterType) Number() preflect.EnumNumber {
   122  	return preflect.EnumNumber(x)
   123  }
   124  
   125  // Deprecated, Use Condition_ParameterType.ProtoReflect.Descriptor instead.
   126  func (Condition_ParameterType) EnumDescriptor() ([]byte, []int) {
   127  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{0, 0}
   128  }
   129  
   130  // Condition Resource represents additional that is not
   131  // built-in into the role. It can be attached to role grant
   132  // or RoleBinding (applies to all grants then).
   133  type Condition struct {
   134  	state         protoimpl.MessageState
   135  	sizeCache     protoimpl.SizeCache
   136  	unknownFields protoimpl.UnknownFields
   137  	// Name of Condition
   138  	// When creating a new instance, this field is optional and if not provided,
   139  	// it will be generated automatically. Last ID segment must conform to the
   140  	// following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
   141  	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   142  	// Metadata is an object with information like create, update and delete time
   143  	// (for async deleted resources), has user labels/annotations, sharding
   144  	// information, multi-region syncing information and may have non-schema
   145  	// owners (useful for taking ownership of resources belonging to lower level
   146  	// services by higher ones).
   147  	Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
   148  	// Display Name
   149  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
   150  	// Description
   151  	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
   152  	// Condition expression in [Google
   153  	// CEL](https://github.com/google/cel-spec/blob/v0.4.0/doc/intro.md), syntax,
   154  	// e.g. `resource.name == "projects/xyz/instances/abc"`
   155  	//
   156  	// Accessible parameters:
   157  	// | variable | type | description | examples |
   158  	// |-|-|-|-|
   159  	// | `resource.body` | `string` | Resource type | `"iam.edgelq.com/Condition"`
   160  	// | | `request.action` | `string` | Action verb | `"create"`, `"batchGet"` |
   161  	// | `request.body` | `dyn` | Request body (in native format). |
   162  	// request.body.page_size | | `parameters` | `map(string, dyn)` | Bound
   163  	// parameters. | `parameters.minSeverity` | | `attest.policy` | `string` |
   164  	// Name of attestation policy attested with by the atestee; empty string if
   165  	// none. | `""`, `"projects/myProj/AttestationPolicies/myPol"` |
   166  	//
   167  	// Extension:
   168  	//
   169  	// Some
   170  	//
   171  	// Filter.`satisfies(other)`
   172  	//
   173  	// Access is determined by the return value. Return `true` to grant access or
   174  	// `false` to deny. Any execution error results in access denied.
   175  	// DEPRECATED: This should not be actually used at all, as CEL conditions
   176  	// are obsolete.
   177  	Expression string `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"`
   178  	// Typed parameters declarations. When binding a Condition passed parameters
   179  	// must correspond to declarations.
   180  	// DEPRECATED: Along with expression, CEL conditions are gone.
   181  	ParameterDeclarations []*Condition_ParameterDeclaration `protobuf:"bytes,5,rep,name=parameter_declarations,json=parameterDeclarations,proto3" json:"parameter_declarations,omitempty"`
   182  	// Types that are valid to be assigned to Condition:
   183  	//	*Condition_IpCondition_
   184  	//	*Condition_AttestationCondition_
   185  	Condition isCondition_Condition `protobuf_oneof:"condition"`
   186  }
   187  
   188  func (m *Condition) Reset() {
   189  	*m = Condition{}
   190  	if protoimpl.UnsafeEnabled {
   191  		mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[0]
   192  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   193  		ms.StoreMessageInfo(mi)
   194  	}
   195  }
   196  
   197  func (m *Condition) String() string {
   198  	return protoimpl.X.MessageStringOf(m)
   199  }
   200  
   201  func (*Condition) ProtoMessage() {}
   202  
   203  func (m *Condition) ProtoReflect() preflect.Message {
   204  	mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[0]
   205  	if protoimpl.UnsafeEnabled && m != nil {
   206  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   207  		if ms.LoadMessageInfo() == nil {
   208  			ms.StoreMessageInfo(mi)
   209  		}
   210  		return ms
   211  	}
   212  	return mi.MessageOf(m)
   213  }
   214  
   215  func (*Condition) GotenMessage() {}
   216  
   217  // Deprecated, Use Condition.ProtoReflect.Descriptor instead.
   218  func (*Condition) Descriptor() ([]byte, []int) {
   219  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{0}
   220  }
   221  
   222  func (m *Condition) Unmarshal(b []byte) error {
   223  	return proto.Unmarshal(b, m)
   224  }
   225  
   226  func (m *Condition) Marshal() ([]byte, error) {
   227  	return proto.Marshal(m)
   228  }
   229  
   230  func (m *Condition) MarshalJSON() ([]byte, error) {
   231  	return protojson.MarshalOptions{}.Marshal(m)
   232  }
   233  
   234  func (m *Condition) UnmarshalJSON(data []byte) error {
   235  	return protojson.Unmarshal(data, m)
   236  }
   237  
   238  type isCondition_Condition interface {
   239  	isCondition_Condition()
   240  }
   241  
   242  type Condition_IpCondition_ struct {
   243  	IpCondition *Condition_IpCondition `protobuf:"bytes,7,opt,name=ip_condition,json=ipCondition,proto3,oneof"`
   244  }
   245  type Condition_AttestationCondition_ struct {
   246  	AttestationCondition *Condition_AttestationCondition `protobuf:"bytes,8,opt,name=attestation_condition,json=attestationCondition,proto3,oneof"`
   247  }
   248  
   249  func (*Condition_IpCondition_) isCondition_Condition()          {}
   250  func (*Condition_AttestationCondition_) isCondition_Condition() {}
   251  func (m *Condition) GetName() *Name {
   252  	if m != nil {
   253  		return m.Name
   254  	}
   255  	return nil
   256  }
   257  
   258  func (m *Condition) GetMetadata() *meta.Meta {
   259  	if m != nil {
   260  		return m.Metadata
   261  	}
   262  	return nil
   263  }
   264  
   265  func (m *Condition) GetDisplayName() string {
   266  	if m != nil {
   267  		return m.DisplayName
   268  	}
   269  	return ""
   270  }
   271  
   272  func (m *Condition) GetDescription() string {
   273  	if m != nil {
   274  		return m.Description
   275  	}
   276  	return ""
   277  }
   278  
   279  func (m *Condition) GetExpression() string {
   280  	if m != nil {
   281  		return m.Expression
   282  	}
   283  	return ""
   284  }
   285  
   286  func (m *Condition) GetParameterDeclarations() []*Condition_ParameterDeclaration {
   287  	if m != nil {
   288  		return m.ParameterDeclarations
   289  	}
   290  	return nil
   291  }
   292  
   293  func (m *Condition) GetCondition() isCondition_Condition {
   294  	if m != nil {
   295  		return m.Condition
   296  	}
   297  	return nil
   298  }
   299  func (m *Condition) GetIpCondition() *Condition_IpCondition {
   300  	if x, ok := m.GetCondition().(*Condition_IpCondition_); ok {
   301  		return x.IpCondition
   302  	}
   303  	return nil
   304  }
   305  func (m *Condition) GetAttestationCondition() *Condition_AttestationCondition {
   306  	if x, ok := m.GetCondition().(*Condition_AttestationCondition_); ok {
   307  		return x.AttestationCondition
   308  	}
   309  	return nil
   310  }
   311  func (m *Condition) SetName(fv *Name) {
   312  	if m == nil {
   313  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "Condition"))
   314  	}
   315  	m.Name = fv
   316  }
   317  
   318  func (m *Condition) SetMetadata(fv *meta.Meta) {
   319  	if m == nil {
   320  		panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Condition"))
   321  	}
   322  	m.Metadata = fv
   323  }
   324  
   325  func (m *Condition) SetDisplayName(fv string) {
   326  	if m == nil {
   327  		panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "Condition"))
   328  	}
   329  	m.DisplayName = fv
   330  }
   331  
   332  func (m *Condition) SetDescription(fv string) {
   333  	if m == nil {
   334  		panic(fmt.Errorf("can't set %s on nil %s", "Description", "Condition"))
   335  	}
   336  	m.Description = fv
   337  }
   338  
   339  func (m *Condition) SetExpression(fv string) {
   340  	if m == nil {
   341  		panic(fmt.Errorf("can't set %s on nil %s", "Expression", "Condition"))
   342  	}
   343  	m.Expression = fv
   344  }
   345  
   346  func (m *Condition) SetParameterDeclarations(fv []*Condition_ParameterDeclaration) {
   347  	if m == nil {
   348  		panic(fmt.Errorf("can't set %s on nil %s", "ParameterDeclarations", "Condition"))
   349  	}
   350  	m.ParameterDeclarations = fv
   351  }
   352  
   353  func (m *Condition) SetCondition(ofv isCondition_Condition) {
   354  	if m == nil {
   355  		panic(fmt.Errorf("can't set %s on nil %s", "isCondition_Condition", "Condition"))
   356  	}
   357  	m.Condition = ofv
   358  }
   359  func (m *Condition) SetIpCondition(fv *Condition_IpCondition) {
   360  	m.SetCondition(&Condition_IpCondition_{IpCondition: fv})
   361  }
   362  func (m *Condition) SetAttestationCondition(fv *Condition_AttestationCondition) {
   363  	m.SetCondition(&Condition_AttestationCondition_{AttestationCondition: fv})
   364  }
   365  
   366  // ExecutableCondition represents instantiation of condition with params,
   367  // in other words: Executable condition, that is used in Role bindings.
   368  type ExecutableCondition struct {
   369  	state         protoimpl.MessageState
   370  	sizeCache     protoimpl.SizeCache
   371  	unknownFields protoimpl.UnknownFields
   372  	// Reference to Condition which may also be parameterized
   373  	Condition *Reference `protobuf:"bytes,1,opt,customtype=Reference,name=condition,proto3" json:"condition,omitempty"`
   374  	// Parameters in string form. Parameters must match
   375  	// [declarations][ntt.iam.v1.Condition.parameter_declarations]
   376  	// TODO: Only used by deprecated CEL conditions.
   377  	Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
   378  }
   379  
   380  func (m *ExecutableCondition) Reset() {
   381  	*m = ExecutableCondition{}
   382  	if protoimpl.UnsafeEnabled {
   383  		mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[1]
   384  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   385  		ms.StoreMessageInfo(mi)
   386  	}
   387  }
   388  
   389  func (m *ExecutableCondition) String() string {
   390  	return protoimpl.X.MessageStringOf(m)
   391  }
   392  
   393  func (*ExecutableCondition) ProtoMessage() {}
   394  
   395  func (m *ExecutableCondition) ProtoReflect() preflect.Message {
   396  	mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[1]
   397  	if protoimpl.UnsafeEnabled && m != nil {
   398  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   399  		if ms.LoadMessageInfo() == nil {
   400  			ms.StoreMessageInfo(mi)
   401  		}
   402  		return ms
   403  	}
   404  	return mi.MessageOf(m)
   405  }
   406  
   407  func (*ExecutableCondition) GotenMessage() {}
   408  
   409  // Deprecated, Use ExecutableCondition.ProtoReflect.Descriptor instead.
   410  func (*ExecutableCondition) Descriptor() ([]byte, []int) {
   411  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{1}
   412  }
   413  
   414  func (m *ExecutableCondition) Unmarshal(b []byte) error {
   415  	return proto.Unmarshal(b, m)
   416  }
   417  
   418  func (m *ExecutableCondition) Marshal() ([]byte, error) {
   419  	return proto.Marshal(m)
   420  }
   421  
   422  func (m *ExecutableCondition) MarshalJSON() ([]byte, error) {
   423  	return protojson.MarshalOptions{}.Marshal(m)
   424  }
   425  
   426  func (m *ExecutableCondition) UnmarshalJSON(data []byte) error {
   427  	return protojson.Unmarshal(data, m)
   428  }
   429  
   430  func (m *ExecutableCondition) GetCondition() *Reference {
   431  	if m != nil {
   432  		return m.Condition
   433  	}
   434  	return nil
   435  }
   436  
   437  func (m *ExecutableCondition) GetParams() *structpb.Struct {
   438  	if m != nil {
   439  		return m.Params
   440  	}
   441  	return nil
   442  }
   443  
   444  func (m *ExecutableCondition) SetCondition(fv *Reference) {
   445  	if m == nil {
   446  		panic(fmt.Errorf("can't set %s on nil %s", "Condition", "ExecutableCondition"))
   447  	}
   448  	m.Condition = fv
   449  }
   450  
   451  func (m *ExecutableCondition) SetParams(fv *structpb.Struct) {
   452  	if m == nil {
   453  		panic(fmt.Errorf("can't set %s on nil %s", "Params", "ExecutableCondition"))
   454  	}
   455  	m.Params = fv
   456  }
   457  
   458  // Parameter Declarations used
   459  type Condition_ParameterDeclaration struct {
   460  	state         protoimpl.MessageState
   461  	sizeCache     protoimpl.SizeCache
   462  	unknownFields protoimpl.UnknownFields
   463  	// Parameter Key - must be unique within condition. Defined parameter
   464  	// variables are accessible in condition expression via `parameters.<key>`,
   465  	// e.g.`parameters.projectId`
   466  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   467  	// Parameter value type
   468  	Type Condition_ParameterType `protobuf:"varint,2,opt,name=type,proto3,enum=ntt.iam.v1.Condition_ParameterType" json:"type,omitempty"`
   469  }
   470  
   471  func (m *Condition_ParameterDeclaration) Reset() {
   472  	*m = Condition_ParameterDeclaration{}
   473  	if protoimpl.UnsafeEnabled {
   474  		mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[2]
   475  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   476  		ms.StoreMessageInfo(mi)
   477  	}
   478  }
   479  
   480  func (m *Condition_ParameterDeclaration) String() string {
   481  	return protoimpl.X.MessageStringOf(m)
   482  }
   483  
   484  func (*Condition_ParameterDeclaration) ProtoMessage() {}
   485  
   486  func (m *Condition_ParameterDeclaration) ProtoReflect() preflect.Message {
   487  	mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[2]
   488  	if protoimpl.UnsafeEnabled && m != nil {
   489  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   490  		if ms.LoadMessageInfo() == nil {
   491  			ms.StoreMessageInfo(mi)
   492  		}
   493  		return ms
   494  	}
   495  	return mi.MessageOf(m)
   496  }
   497  
   498  func (*Condition_ParameterDeclaration) GotenMessage() {}
   499  
   500  // Deprecated, Use Condition_ParameterDeclaration.ProtoReflect.Descriptor instead.
   501  func (*Condition_ParameterDeclaration) Descriptor() ([]byte, []int) {
   502  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{0, 0}
   503  }
   504  
   505  func (m *Condition_ParameterDeclaration) Unmarshal(b []byte) error {
   506  	return proto.Unmarshal(b, m)
   507  }
   508  
   509  func (m *Condition_ParameterDeclaration) Marshal() ([]byte, error) {
   510  	return proto.Marshal(m)
   511  }
   512  
   513  func (m *Condition_ParameterDeclaration) MarshalJSON() ([]byte, error) {
   514  	return protojson.MarshalOptions{}.Marshal(m)
   515  }
   516  
   517  func (m *Condition_ParameterDeclaration) UnmarshalJSON(data []byte) error {
   518  	return protojson.Unmarshal(data, m)
   519  }
   520  
   521  func (m *Condition_ParameterDeclaration) GetKey() string {
   522  	if m != nil {
   523  		return m.Key
   524  	}
   525  	return ""
   526  }
   527  
   528  func (m *Condition_ParameterDeclaration) GetType() Condition_ParameterType {
   529  	if m != nil {
   530  		return m.Type
   531  	}
   532  	return Condition_TYPE_UNSPECIFIED
   533  }
   534  
   535  func (m *Condition_ParameterDeclaration) SetKey(fv string) {
   536  	if m == nil {
   537  		panic(fmt.Errorf("can't set %s on nil %s", "Key", "Condition_ParameterDeclaration"))
   538  	}
   539  	m.Key = fv
   540  }
   541  
   542  func (m *Condition_ParameterDeclaration) SetType(fv Condition_ParameterType) {
   543  	if m == nil {
   544  		panic(fmt.Errorf("can't set %s on nil %s", "Type", "Condition_ParameterDeclaration"))
   545  	}
   546  	m.Type = fv
   547  }
   548  
   549  // IpCondition presents list of allowed/disallowed source IP
   550  // addresses.
   551  type Condition_IpCondition struct {
   552  	state         protoimpl.MessageState
   553  	sizeCache     protoimpl.SizeCache
   554  	unknownFields protoimpl.UnknownFields
   555  	// Allowed IP cidrs in v4 or v6 format.
   556  	// If specified, at least one must be satisfied during execution.
   557  	AllowedCidrs []string `protobuf:"bytes,1,rep,name=allowed_cidrs,json=allowedCidrs,proto3" json:"allowed_cidrs,omitempty"`
   558  	// Disallowed IP cidrs in v4 or v6 format.
   559  	// If specified, client IP must not be in any specified range.
   560  	DisabledCidrs []string `protobuf:"bytes,2,rep,name=disabled_cidrs,json=disabledCidrs,proto3" json:"disabled_cidrs,omitempty"`
   561  }
   562  
   563  func (m *Condition_IpCondition) Reset() {
   564  	*m = Condition_IpCondition{}
   565  	if protoimpl.UnsafeEnabled {
   566  		mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[3]
   567  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   568  		ms.StoreMessageInfo(mi)
   569  	}
   570  }
   571  
   572  func (m *Condition_IpCondition) String() string {
   573  	return protoimpl.X.MessageStringOf(m)
   574  }
   575  
   576  func (*Condition_IpCondition) ProtoMessage() {}
   577  
   578  func (m *Condition_IpCondition) ProtoReflect() preflect.Message {
   579  	mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[3]
   580  	if protoimpl.UnsafeEnabled && m != nil {
   581  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   582  		if ms.LoadMessageInfo() == nil {
   583  			ms.StoreMessageInfo(mi)
   584  		}
   585  		return ms
   586  	}
   587  	return mi.MessageOf(m)
   588  }
   589  
   590  func (*Condition_IpCondition) GotenMessage() {}
   591  
   592  // Deprecated, Use Condition_IpCondition.ProtoReflect.Descriptor instead.
   593  func (*Condition_IpCondition) Descriptor() ([]byte, []int) {
   594  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{0, 1}
   595  }
   596  
   597  func (m *Condition_IpCondition) Unmarshal(b []byte) error {
   598  	return proto.Unmarshal(b, m)
   599  }
   600  
   601  func (m *Condition_IpCondition) Marshal() ([]byte, error) {
   602  	return proto.Marshal(m)
   603  }
   604  
   605  func (m *Condition_IpCondition) MarshalJSON() ([]byte, error) {
   606  	return protojson.MarshalOptions{}.Marshal(m)
   607  }
   608  
   609  func (m *Condition_IpCondition) UnmarshalJSON(data []byte) error {
   610  	return protojson.Unmarshal(data, m)
   611  }
   612  
   613  func (m *Condition_IpCondition) GetAllowedCidrs() []string {
   614  	if m != nil {
   615  		return m.AllowedCidrs
   616  	}
   617  	return nil
   618  }
   619  
   620  func (m *Condition_IpCondition) GetDisabledCidrs() []string {
   621  	if m != nil {
   622  		return m.DisabledCidrs
   623  	}
   624  	return nil
   625  }
   626  
   627  func (m *Condition_IpCondition) SetAllowedCidrs(fv []string) {
   628  	if m == nil {
   629  		panic(fmt.Errorf("can't set %s on nil %s", "AllowedCidrs", "Condition_IpCondition"))
   630  	}
   631  	m.AllowedCidrs = fv
   632  }
   633  
   634  func (m *Condition_IpCondition) SetDisabledCidrs(fv []string) {
   635  	if m == nil {
   636  		panic(fmt.Errorf("can't set %s on nil %s", "DisabledCidrs", "Condition_IpCondition"))
   637  	}
   638  	m.DisabledCidrs = fv
   639  }
   640  
   641  // AttestationCondition requires that associated roles/grants
   642  // are authorized only if caller attaches proper attestation token
   643  // next to authorization one.
   644  type Condition_AttestationCondition struct {
   645  	state         protoimpl.MessageState
   646  	sizeCache     protoimpl.SizeCache
   647  	unknownFields protoimpl.UnknownFields
   648  	// Domain name that must be present in attestation token.
   649  	Domain *attestation_domain.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=domain,proto3" json:"domain,omitempty"`
   650  	// List of permissions excepted from this condition.
   651  	// By default, it contains:
   652  	// * services/iam.edgelq.com/permissions/attestationDomains.get
   653  	// * services/iam.edgelq.com/permissions/attestationDomains.verify
   654  	// * services/iam.edgelq.com/permissions/serviceAccounts.get
   655  	// * services/iam.edgelq.com/permissions/serviceAccountKeys.get
   656  	// * services/devices.edgelq.com/permissions/devices.list
   657  	// * services/devices.edgelq.com/permissions/provisioningPolicies.list
   658  	// * services/devices.edgelq.com/permissions/provisioningPolicies.provisionDeviceViaPolicy
   659  	// * services/devices.edgelq.com/permissions/provisioningPolicies.requestProvisioningApproval
   660  	// Those are necessary to obtain attestation token in the first
   661  	// place.
   662  	ExceptPermissions []*permission.Reference `protobuf:"bytes,2,rep,customtype=Reference,name=except_permissions,json=exceptPermissions,proto3" json:"except_permissions,omitempty"`
   663  }
   664  
   665  func (m *Condition_AttestationCondition) Reset() {
   666  	*m = Condition_AttestationCondition{}
   667  	if protoimpl.UnsafeEnabled {
   668  		mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[4]
   669  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   670  		ms.StoreMessageInfo(mi)
   671  	}
   672  }
   673  
   674  func (m *Condition_AttestationCondition) String() string {
   675  	return protoimpl.X.MessageStringOf(m)
   676  }
   677  
   678  func (*Condition_AttestationCondition) ProtoMessage() {}
   679  
   680  func (m *Condition_AttestationCondition) ProtoReflect() preflect.Message {
   681  	mi := &edgelq_iam_proto_v1_condition_proto_msgTypes[4]
   682  	if protoimpl.UnsafeEnabled && m != nil {
   683  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   684  		if ms.LoadMessageInfo() == nil {
   685  			ms.StoreMessageInfo(mi)
   686  		}
   687  		return ms
   688  	}
   689  	return mi.MessageOf(m)
   690  }
   691  
   692  func (*Condition_AttestationCondition) GotenMessage() {}
   693  
   694  // Deprecated, Use Condition_AttestationCondition.ProtoReflect.Descriptor instead.
   695  func (*Condition_AttestationCondition) Descriptor() ([]byte, []int) {
   696  	return edgelq_iam_proto_v1_condition_proto_rawDescGZIP(), []int{0, 2}
   697  }
   698  
   699  func (m *Condition_AttestationCondition) Unmarshal(b []byte) error {
   700  	return proto.Unmarshal(b, m)
   701  }
   702  
   703  func (m *Condition_AttestationCondition) Marshal() ([]byte, error) {
   704  	return proto.Marshal(m)
   705  }
   706  
   707  func (m *Condition_AttestationCondition) MarshalJSON() ([]byte, error) {
   708  	return protojson.MarshalOptions{}.Marshal(m)
   709  }
   710  
   711  func (m *Condition_AttestationCondition) UnmarshalJSON(data []byte) error {
   712  	return protojson.Unmarshal(data, m)
   713  }
   714  
   715  func (m *Condition_AttestationCondition) GetDomain() *attestation_domain.Reference {
   716  	if m != nil {
   717  		return m.Domain
   718  	}
   719  	return nil
   720  }
   721  
   722  func (m *Condition_AttestationCondition) GetExceptPermissions() []*permission.Reference {
   723  	if m != nil {
   724  		return m.ExceptPermissions
   725  	}
   726  	return nil
   727  }
   728  
   729  func (m *Condition_AttestationCondition) SetDomain(fv *attestation_domain.Reference) {
   730  	if m == nil {
   731  		panic(fmt.Errorf("can't set %s on nil %s", "Domain", "Condition_AttestationCondition"))
   732  	}
   733  	m.Domain = fv
   734  }
   735  
   736  func (m *Condition_AttestationCondition) SetExceptPermissions(fv []*permission.Reference) {
   737  	if m == nil {
   738  		panic(fmt.Errorf("can't set %s on nil %s", "ExceptPermissions", "Condition_AttestationCondition"))
   739  	}
   740  	m.ExceptPermissions = fv
   741  }
   742  
   743  var edgelq_iam_proto_v1_condition_proto preflect.FileDescriptor
   744  
   745  var edgelq_iam_proto_v1_condition_proto_rawDesc = []byte{
   746  	0x0a, 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f,
   747  	0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
   748  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
   749  	0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65,
   750  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f,
   751  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74,
   752  	0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65,
   753  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61,
   754  	0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f,
   755  	0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   756  	0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74,
   757  	0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72,
   758  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67,
   759  	0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   760  	0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
   761  	0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   762  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67,
   763  	0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   764  	0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
   765  	0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
   766  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   767  	0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61,
   768  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74,
   769  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79,
   770  	0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda,
   771  	0x0b, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x04,
   772  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 0x21, 0x0d,
   773  	0x0a, 0x0b, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e,
   774  	0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
   775  	0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79,
   776  	0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
   777  	0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
   778  	0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05,
   779  	0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
   780  	0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   781  	0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22,
   782  	0x03, 0x08, 0x80, 0x08, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   783  	0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x69, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
   784  	0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61,
   785  	0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49,
   786  	0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x70,
   787  	0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x15, 0x61, 0x74, 0x74,
   788  	0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
   789  	0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69,
   790  	0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
   791  	0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69,
   792  	0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74,
   793  	0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0a,
   794  	0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   795  	0x42, 0x04, 0xd0, 0xd5, 0x22, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
   796  	0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f,
   797  	0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03,
   798  	0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
   799  	0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
   800  	0x74, 0x65, 0x72, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15,
   801  	0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61,
   802  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x75, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
   803  	0x65, 0x72, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a,
   804  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04,
   805  	0x2a, 0x02, 0x68, 0x01, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x04, 0x74, 0x79, 0x70,
   806  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61,
   807  	0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50,
   808  	0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xca, 0xc6,
   809  	0x27, 0x04, 0x3a, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x59, 0x0a, 0x0b,
   810  	0x49, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61,
   811  	0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
   812  	0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x69, 0x64, 0x72, 0x73,
   813  	0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x63, 0x69, 0x64,
   814  	0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
   815  	0x65, 0x64, 0x43, 0x69, 0x64, 0x72, 0x73, 0x1a, 0x90, 0x01, 0x0a, 0x14, 0x41, 0x74, 0x74, 0x65,
   816  	0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
   817  	0x12, 0x33, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   818  	0x42, 0x1b, 0xb2, 0xda, 0x21, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74,
   819  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x01, 0x52, 0x06, 0x64,
   820  	0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f,
   821  	0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   822  	0x09, 0x42, 0x14, 0xb2, 0xda, 0x21, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69,
   823  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0x04, 0x52, 0x11, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x50,
   824  	0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0d, 0x50,
   825  	0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
   826  	0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
   827  	0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09,
   828  	0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55,
   829  	0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x12,
   830  	0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10,
   831  	0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x5f, 0x41, 0x52, 0x52, 0x41, 0x59,
   832  	0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x5f, 0x41, 0x52, 0x52,
   833  	0x41, 0x59, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x42, 0x4f, 0x4f, 0x4c, 0x5f, 0x41, 0x52, 0x52,
   834  	0x41, 0x59, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x09,
   835  	0x3a, 0xcb, 0x03, 0xea, 0x41, 0xbd, 0x01, 0x0a, 0x18, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67,
   836  	0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
   837  	0x6e, 0x12, 0x16, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63,
   838  	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x29, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   839  	0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6f,
   840  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   841  	0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x33, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
   842  	0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
   843  	0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63,
   844  	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x29, 0x73, 0x65, 0x72, 0x76, 0x69,
   845  	0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x6f,
   846  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   847  	0x69, 0x6f, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x7c, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   848  	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   849  	0x1a, 0x12, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   850  	0x4e, 0x6f, 0x6e, 0x65, 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c, 0x4f,
   851  	0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x6d, 0x65, 0x74,
   852  	0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76,
   853  	0x69, 0x63, 0x65, 0x2a, 0x1d, 0x5b, 0x61, 0x2d, 0x7a, 0x5d, 0x5b, 0x61, 0x2d, 0x7a, 0x30, 0x2d,
   854  	0x39, 0x5c, 0x2d, 0x5d, 0x7b, 0x30, 0x2c, 0x37, 0x32, 0x7d, 0x5b, 0x61, 0x2d, 0x7a, 0x30, 0x2d,
   855  	0x39, 0x5d, 0x38, 0x05, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   856  	0xe2, 0xde, 0x21, 0x02, 0x08, 0x01, 0xc2, 0x85, 0x2c, 0x74, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   857  	0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0b,
   858  	0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x0a, 0x65, 0x78, 0x70,
   859  	0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x16, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
   860  	0x65, 0x72, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
   861  	0x0c, 0x69, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x15, 0x61,
   862  	0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
   863  	0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0b,
   864  	0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x13, 0x45,
   865  	0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
   866  	0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
   867  	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x12, 0x0d, 0x0a, 0x09, 0x43,
   868  	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x01, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64,
   869  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18,
   870  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   871  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06,
   872  	0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x42, 0xfe, 0x01, 0xe8,
   873  	0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x44, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   874  	0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75,
   875  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65,
   876  	0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f,
   877  	0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xa2, 0x80, 0xd1, 0x02,
   878  	0x46, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x63, 0x63,
   879  	0x65, 0x73, 0x73, 0x12, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   880  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f,
   881  	0x69, 0x61, 0x6d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
   882  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74,
   883  	0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x6f, 0x6e, 0x64,
   884  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69,
   885  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61,
   886  	0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73,
   887  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   888  	0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70,
   889  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   890  }
   891  
   892  var (
   893  	edgelq_iam_proto_v1_condition_proto_rawDescOnce sync.Once
   894  	edgelq_iam_proto_v1_condition_proto_rawDescData = edgelq_iam_proto_v1_condition_proto_rawDesc
   895  )
   896  
   897  func edgelq_iam_proto_v1_condition_proto_rawDescGZIP() []byte {
   898  	edgelq_iam_proto_v1_condition_proto_rawDescOnce.Do(func() {
   899  		edgelq_iam_proto_v1_condition_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_condition_proto_rawDescData)
   900  	})
   901  	return edgelq_iam_proto_v1_condition_proto_rawDescData
   902  }
   903  
   904  var edgelq_iam_proto_v1_condition_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   905  var edgelq_iam_proto_v1_condition_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   906  var edgelq_iam_proto_v1_condition_proto_goTypes = []interface{}{
   907  	(Condition_ParameterType)(0),           // 0: ntt.iam.v1.Condition_ParameterType
   908  	(*Condition)(nil),                      // 1: ntt.iam.v1.Condition
   909  	(*ExecutableCondition)(nil),            // 2: ntt.iam.v1.ExecutableCondition
   910  	(*Condition_ParameterDeclaration)(nil), // 3: ntt.iam.v1.Condition.ParameterDeclaration
   911  	(*Condition_IpCondition)(nil),          // 4: ntt.iam.v1.Condition.IpCondition
   912  	(*Condition_AttestationCondition)(nil), // 5: ntt.iam.v1.Condition.AttestationCondition
   913  	(*meta.Meta)(nil),                      // 6: goten.types.Meta
   914  	(*structpb.Struct)(nil),                // 7: google.protobuf.Struct
   915  }
   916  var edgelq_iam_proto_v1_condition_proto_depIdxs = []int32{
   917  	6, // 0: ntt.iam.v1.Condition.metadata:type_name -> goten.types.Meta
   918  	4, // 1: ntt.iam.v1.Condition.ip_condition:type_name -> ntt.iam.v1.Condition.IpCondition
   919  	5, // 2: ntt.iam.v1.Condition.attestation_condition:type_name -> ntt.iam.v1.Condition.AttestationCondition
   920  	3, // 3: ntt.iam.v1.Condition.parameter_declarations:type_name -> ntt.iam.v1.Condition.ParameterDeclaration
   921  	7, // 4: ntt.iam.v1.ExecutableCondition.params:type_name -> google.protobuf.Struct
   922  	0, // 5: ntt.iam.v1.Condition.ParameterDeclaration.type:type_name -> ntt.iam.v1.Condition_ParameterType
   923  	6, // [6:6] is the sub-list for method output_type
   924  	6, // [6:6] is the sub-list for method input_type
   925  	6, // [6:6] is the sub-list for extension type_name
   926  	6, // [6:6] is the sub-list for extension extendee
   927  	0, // [0:6] is the sub-list for field type_name
   928  }
   929  
   930  func init() { edgelq_iam_proto_v1_condition_proto_init() }
   931  func edgelq_iam_proto_v1_condition_proto_init() {
   932  	if edgelq_iam_proto_v1_condition_proto != nil {
   933  		return
   934  	}
   935  	if !protoimpl.UnsafeEnabled {
   936  
   937  		edgelq_iam_proto_v1_condition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   938  			switch v := v.(*Condition); i {
   939  			case 0:
   940  				return &v.state
   941  			case 1:
   942  				return &v.sizeCache
   943  			case 2:
   944  				return &v.unknownFields
   945  			default:
   946  				return nil
   947  			}
   948  		}
   949  		edgelq_iam_proto_v1_condition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   950  			switch v := v.(*ExecutableCondition); i {
   951  			case 0:
   952  				return &v.state
   953  			case 1:
   954  				return &v.sizeCache
   955  			case 2:
   956  				return &v.unknownFields
   957  			default:
   958  				return nil
   959  			}
   960  		}
   961  		edgelq_iam_proto_v1_condition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   962  			switch v := v.(*Condition_ParameterDeclaration); i {
   963  			case 0:
   964  				return &v.state
   965  			case 1:
   966  				return &v.sizeCache
   967  			case 2:
   968  				return &v.unknownFields
   969  			default:
   970  				return nil
   971  			}
   972  		}
   973  		edgelq_iam_proto_v1_condition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   974  			switch v := v.(*Condition_IpCondition); i {
   975  			case 0:
   976  				return &v.state
   977  			case 1:
   978  				return &v.sizeCache
   979  			case 2:
   980  				return &v.unknownFields
   981  			default:
   982  				return nil
   983  			}
   984  		}
   985  		edgelq_iam_proto_v1_condition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   986  			switch v := v.(*Condition_AttestationCondition); i {
   987  			case 0:
   988  				return &v.state
   989  			case 1:
   990  				return &v.sizeCache
   991  			case 2:
   992  				return &v.unknownFields
   993  			default:
   994  				return nil
   995  			}
   996  		}
   997  	}
   998  
   999  	edgelq_iam_proto_v1_condition_proto_msgTypes[0].OneofWrappers = []interface{}{
  1000  		(*Condition_IpCondition_)(nil),
  1001  		(*Condition_AttestationCondition_)(nil),
  1002  	}
  1003  	type x struct{}
  1004  	out := protoimpl.TypeBuilder{
  1005  		File: protoimpl.DescBuilder{
  1006  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1007  			RawDescriptor: edgelq_iam_proto_v1_condition_proto_rawDesc,
  1008  			NumEnums:      1,
  1009  			NumMessages:   5,
  1010  			NumExtensions: 0,
  1011  			NumServices:   0,
  1012  		},
  1013  		GoTypes:           edgelq_iam_proto_v1_condition_proto_goTypes,
  1014  		DependencyIndexes: edgelq_iam_proto_v1_condition_proto_depIdxs,
  1015  		EnumInfos:         edgelq_iam_proto_v1_condition_proto_enumTypes,
  1016  		MessageInfos:      edgelq_iam_proto_v1_condition_proto_msgTypes,
  1017  	}.Build()
  1018  	edgelq_iam_proto_v1_condition_proto = out.File
  1019  	edgelq_iam_proto_v1_condition_proto_rawDesc = nil
  1020  	edgelq_iam_proto_v1_condition_proto_goTypes = nil
  1021  	edgelq_iam_proto_v1_condition_proto_depIdxs = nil
  1022  }