kythe.io@v0.0.68-0.20240422202219-7225dbc01741/third_party/bazel/invocation_policy_go_proto/invocation_policy.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.25.2
     5  // source: third_party/bazel/src/main/protobuf/invocation_policy.proto
     6  
     7  package invocation_policy_go_proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type SetValue_Behavior int32
    24  
    25  const (
    26  	SetValue_UNDEFINED                    SetValue_Behavior = 0
    27  	SetValue_ALLOW_OVERRIDES              SetValue_Behavior = 1
    28  	SetValue_APPEND                       SetValue_Behavior = 2
    29  	SetValue_FINAL_VALUE_IGNORE_OVERRIDES SetValue_Behavior = 3
    30  )
    31  
    32  // Enum value maps for SetValue_Behavior.
    33  var (
    34  	SetValue_Behavior_name = map[int32]string{
    35  		0: "UNDEFINED",
    36  		1: "ALLOW_OVERRIDES",
    37  		2: "APPEND",
    38  		3: "FINAL_VALUE_IGNORE_OVERRIDES",
    39  	}
    40  	SetValue_Behavior_value = map[string]int32{
    41  		"UNDEFINED":                    0,
    42  		"ALLOW_OVERRIDES":              1,
    43  		"APPEND":                       2,
    44  		"FINAL_VALUE_IGNORE_OVERRIDES": 3,
    45  	}
    46  )
    47  
    48  func (x SetValue_Behavior) Enum() *SetValue_Behavior {
    49  	p := new(SetValue_Behavior)
    50  	*p = x
    51  	return p
    52  }
    53  
    54  func (x SetValue_Behavior) String() string {
    55  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    56  }
    57  
    58  func (SetValue_Behavior) Descriptor() protoreflect.EnumDescriptor {
    59  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_enumTypes[0].Descriptor()
    60  }
    61  
    62  func (SetValue_Behavior) Type() protoreflect.EnumType {
    63  	return &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_enumTypes[0]
    64  }
    65  
    66  func (x SetValue_Behavior) Number() protoreflect.EnumNumber {
    67  	return protoreflect.EnumNumber(x)
    68  }
    69  
    70  // Deprecated: Do not use.
    71  func (x *SetValue_Behavior) UnmarshalJSON(b []byte) error {
    72  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    73  	if err != nil {
    74  		return err
    75  	}
    76  	*x = SetValue_Behavior(num)
    77  	return nil
    78  }
    79  
    80  // Deprecated: Use SetValue_Behavior.Descriptor instead.
    81  func (SetValue_Behavior) EnumDescriptor() ([]byte, []int) {
    82  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{2, 0}
    83  }
    84  
    85  type InvocationPolicy struct {
    86  	state         protoimpl.MessageState
    87  	sizeCache     protoimpl.SizeCache
    88  	unknownFields protoimpl.UnknownFields
    89  
    90  	FlagPolicies []*FlagPolicy `protobuf:"bytes,1,rep,name=flag_policies,json=flagPolicies" json:"flag_policies,omitempty"`
    91  }
    92  
    93  func (x *InvocationPolicy) Reset() {
    94  	*x = InvocationPolicy{}
    95  	if protoimpl.UnsafeEnabled {
    96  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[0]
    97  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    98  		ms.StoreMessageInfo(mi)
    99  	}
   100  }
   101  
   102  func (x *InvocationPolicy) String() string {
   103  	return protoimpl.X.MessageStringOf(x)
   104  }
   105  
   106  func (*InvocationPolicy) ProtoMessage() {}
   107  
   108  func (x *InvocationPolicy) ProtoReflect() protoreflect.Message {
   109  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[0]
   110  	if protoimpl.UnsafeEnabled && x != nil {
   111  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   112  		if ms.LoadMessageInfo() == nil {
   113  			ms.StoreMessageInfo(mi)
   114  		}
   115  		return ms
   116  	}
   117  	return mi.MessageOf(x)
   118  }
   119  
   120  // Deprecated: Use InvocationPolicy.ProtoReflect.Descriptor instead.
   121  func (*InvocationPolicy) Descriptor() ([]byte, []int) {
   122  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{0}
   123  }
   124  
   125  func (x *InvocationPolicy) GetFlagPolicies() []*FlagPolicy {
   126  	if x != nil {
   127  		return x.FlagPolicies
   128  	}
   129  	return nil
   130  }
   131  
   132  type FlagPolicy struct {
   133  	state         protoimpl.MessageState
   134  	sizeCache     protoimpl.SizeCache
   135  	unknownFields protoimpl.UnknownFields
   136  
   137  	FlagName *string  `protobuf:"bytes,1,opt,name=flag_name,json=flagName" json:"flag_name,omitempty"`
   138  	Commands []string `protobuf:"bytes,2,rep,name=commands" json:"commands,omitempty"`
   139  	// Types that are assignable to Operation:
   140  	//
   141  	//	*FlagPolicy_SetValue
   142  	//	*FlagPolicy_UseDefault
   143  	//	*FlagPolicy_DisallowValues
   144  	//	*FlagPolicy_AllowValues
   145  	Operation isFlagPolicy_Operation `protobuf_oneof:"operation"`
   146  }
   147  
   148  func (x *FlagPolicy) Reset() {
   149  	*x = FlagPolicy{}
   150  	if protoimpl.UnsafeEnabled {
   151  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[1]
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		ms.StoreMessageInfo(mi)
   154  	}
   155  }
   156  
   157  func (x *FlagPolicy) String() string {
   158  	return protoimpl.X.MessageStringOf(x)
   159  }
   160  
   161  func (*FlagPolicy) ProtoMessage() {}
   162  
   163  func (x *FlagPolicy) ProtoReflect() protoreflect.Message {
   164  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[1]
   165  	if protoimpl.UnsafeEnabled && x != nil {
   166  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   167  		if ms.LoadMessageInfo() == nil {
   168  			ms.StoreMessageInfo(mi)
   169  		}
   170  		return ms
   171  	}
   172  	return mi.MessageOf(x)
   173  }
   174  
   175  // Deprecated: Use FlagPolicy.ProtoReflect.Descriptor instead.
   176  func (*FlagPolicy) Descriptor() ([]byte, []int) {
   177  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{1}
   178  }
   179  
   180  func (x *FlagPolicy) GetFlagName() string {
   181  	if x != nil && x.FlagName != nil {
   182  		return *x.FlagName
   183  	}
   184  	return ""
   185  }
   186  
   187  func (x *FlagPolicy) GetCommands() []string {
   188  	if x != nil {
   189  		return x.Commands
   190  	}
   191  	return nil
   192  }
   193  
   194  func (m *FlagPolicy) GetOperation() isFlagPolicy_Operation {
   195  	if m != nil {
   196  		return m.Operation
   197  	}
   198  	return nil
   199  }
   200  
   201  func (x *FlagPolicy) GetSetValue() *SetValue {
   202  	if x, ok := x.GetOperation().(*FlagPolicy_SetValue); ok {
   203  		return x.SetValue
   204  	}
   205  	return nil
   206  }
   207  
   208  func (x *FlagPolicy) GetUseDefault() *UseDefault {
   209  	if x, ok := x.GetOperation().(*FlagPolicy_UseDefault); ok {
   210  		return x.UseDefault
   211  	}
   212  	return nil
   213  }
   214  
   215  func (x *FlagPolicy) GetDisallowValues() *DisallowValues {
   216  	if x, ok := x.GetOperation().(*FlagPolicy_DisallowValues); ok {
   217  		return x.DisallowValues
   218  	}
   219  	return nil
   220  }
   221  
   222  func (x *FlagPolicy) GetAllowValues() *AllowValues {
   223  	if x, ok := x.GetOperation().(*FlagPolicy_AllowValues); ok {
   224  		return x.AllowValues
   225  	}
   226  	return nil
   227  }
   228  
   229  type isFlagPolicy_Operation interface {
   230  	isFlagPolicy_Operation()
   231  }
   232  
   233  type FlagPolicy_SetValue struct {
   234  	SetValue *SetValue `protobuf:"bytes,3,opt,name=set_value,json=setValue,oneof"`
   235  }
   236  
   237  type FlagPolicy_UseDefault struct {
   238  	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
   239  }
   240  
   241  type FlagPolicy_DisallowValues struct {
   242  	DisallowValues *DisallowValues `protobuf:"bytes,5,opt,name=disallow_values,json=disallowValues,oneof"`
   243  }
   244  
   245  type FlagPolicy_AllowValues struct {
   246  	AllowValues *AllowValues `protobuf:"bytes,6,opt,name=allow_values,json=allowValues,oneof"`
   247  }
   248  
   249  func (*FlagPolicy_SetValue) isFlagPolicy_Operation() {}
   250  
   251  func (*FlagPolicy_UseDefault) isFlagPolicy_Operation() {}
   252  
   253  func (*FlagPolicy_DisallowValues) isFlagPolicy_Operation() {}
   254  
   255  func (*FlagPolicy_AllowValues) isFlagPolicy_Operation() {}
   256  
   257  type SetValue struct {
   258  	state         protoimpl.MessageState
   259  	sizeCache     protoimpl.SizeCache
   260  	unknownFields protoimpl.UnknownFields
   261  
   262  	FlagValue []string           `protobuf:"bytes,1,rep,name=flag_value,json=flagValue" json:"flag_value,omitempty"`
   263  	Behavior  *SetValue_Behavior `protobuf:"varint,4,opt,name=behavior,enum=blaze.invocation_policy.SetValue_Behavior" json:"behavior,omitempty"`
   264  }
   265  
   266  func (x *SetValue) Reset() {
   267  	*x = SetValue{}
   268  	if protoimpl.UnsafeEnabled {
   269  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[2]
   270  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   271  		ms.StoreMessageInfo(mi)
   272  	}
   273  }
   274  
   275  func (x *SetValue) String() string {
   276  	return protoimpl.X.MessageStringOf(x)
   277  }
   278  
   279  func (*SetValue) ProtoMessage() {}
   280  
   281  func (x *SetValue) ProtoReflect() protoreflect.Message {
   282  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[2]
   283  	if protoimpl.UnsafeEnabled && x != nil {
   284  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   285  		if ms.LoadMessageInfo() == nil {
   286  			ms.StoreMessageInfo(mi)
   287  		}
   288  		return ms
   289  	}
   290  	return mi.MessageOf(x)
   291  }
   292  
   293  // Deprecated: Use SetValue.ProtoReflect.Descriptor instead.
   294  func (*SetValue) Descriptor() ([]byte, []int) {
   295  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{2}
   296  }
   297  
   298  func (x *SetValue) GetFlagValue() []string {
   299  	if x != nil {
   300  		return x.FlagValue
   301  	}
   302  	return nil
   303  }
   304  
   305  func (x *SetValue) GetBehavior() SetValue_Behavior {
   306  	if x != nil && x.Behavior != nil {
   307  		return *x.Behavior
   308  	}
   309  	return SetValue_UNDEFINED
   310  }
   311  
   312  type UseDefault struct {
   313  	state         protoimpl.MessageState
   314  	sizeCache     protoimpl.SizeCache
   315  	unknownFields protoimpl.UnknownFields
   316  }
   317  
   318  func (x *UseDefault) Reset() {
   319  	*x = UseDefault{}
   320  	if protoimpl.UnsafeEnabled {
   321  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[3]
   322  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   323  		ms.StoreMessageInfo(mi)
   324  	}
   325  }
   326  
   327  func (x *UseDefault) String() string {
   328  	return protoimpl.X.MessageStringOf(x)
   329  }
   330  
   331  func (*UseDefault) ProtoMessage() {}
   332  
   333  func (x *UseDefault) ProtoReflect() protoreflect.Message {
   334  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[3]
   335  	if protoimpl.UnsafeEnabled && x != nil {
   336  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   337  		if ms.LoadMessageInfo() == nil {
   338  			ms.StoreMessageInfo(mi)
   339  		}
   340  		return ms
   341  	}
   342  	return mi.MessageOf(x)
   343  }
   344  
   345  // Deprecated: Use UseDefault.ProtoReflect.Descriptor instead.
   346  func (*UseDefault) Descriptor() ([]byte, []int) {
   347  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{3}
   348  }
   349  
   350  type DisallowValues struct {
   351  	state         protoimpl.MessageState
   352  	sizeCache     protoimpl.SizeCache
   353  	unknownFields protoimpl.UnknownFields
   354  
   355  	DisallowedValues []string `protobuf:"bytes,1,rep,name=disallowed_values,json=disallowedValues" json:"disallowed_values,omitempty"`
   356  	// Types that are assignable to ReplacementValue:
   357  	//
   358  	//	*DisallowValues_NewValue
   359  	//	*DisallowValues_UseDefault
   360  	ReplacementValue isDisallowValues_ReplacementValue `protobuf_oneof:"replacement_value"`
   361  }
   362  
   363  func (x *DisallowValues) Reset() {
   364  	*x = DisallowValues{}
   365  	if protoimpl.UnsafeEnabled {
   366  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[4]
   367  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   368  		ms.StoreMessageInfo(mi)
   369  	}
   370  }
   371  
   372  func (x *DisallowValues) String() string {
   373  	return protoimpl.X.MessageStringOf(x)
   374  }
   375  
   376  func (*DisallowValues) ProtoMessage() {}
   377  
   378  func (x *DisallowValues) ProtoReflect() protoreflect.Message {
   379  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[4]
   380  	if protoimpl.UnsafeEnabled && x != nil {
   381  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   382  		if ms.LoadMessageInfo() == nil {
   383  			ms.StoreMessageInfo(mi)
   384  		}
   385  		return ms
   386  	}
   387  	return mi.MessageOf(x)
   388  }
   389  
   390  // Deprecated: Use DisallowValues.ProtoReflect.Descriptor instead.
   391  func (*DisallowValues) Descriptor() ([]byte, []int) {
   392  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{4}
   393  }
   394  
   395  func (x *DisallowValues) GetDisallowedValues() []string {
   396  	if x != nil {
   397  		return x.DisallowedValues
   398  	}
   399  	return nil
   400  }
   401  
   402  func (m *DisallowValues) GetReplacementValue() isDisallowValues_ReplacementValue {
   403  	if m != nil {
   404  		return m.ReplacementValue
   405  	}
   406  	return nil
   407  }
   408  
   409  func (x *DisallowValues) GetNewValue() string {
   410  	if x, ok := x.GetReplacementValue().(*DisallowValues_NewValue); ok {
   411  		return x.NewValue
   412  	}
   413  	return ""
   414  }
   415  
   416  func (x *DisallowValues) GetUseDefault() *UseDefault {
   417  	if x, ok := x.GetReplacementValue().(*DisallowValues_UseDefault); ok {
   418  		return x.UseDefault
   419  	}
   420  	return nil
   421  }
   422  
   423  type isDisallowValues_ReplacementValue interface {
   424  	isDisallowValues_ReplacementValue()
   425  }
   426  
   427  type DisallowValues_NewValue struct {
   428  	NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,oneof"`
   429  }
   430  
   431  type DisallowValues_UseDefault struct {
   432  	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
   433  }
   434  
   435  func (*DisallowValues_NewValue) isDisallowValues_ReplacementValue() {}
   436  
   437  func (*DisallowValues_UseDefault) isDisallowValues_ReplacementValue() {}
   438  
   439  type AllowValues struct {
   440  	state         protoimpl.MessageState
   441  	sizeCache     protoimpl.SizeCache
   442  	unknownFields protoimpl.UnknownFields
   443  
   444  	AllowedValues []string `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues" json:"allowed_values,omitempty"`
   445  	// Types that are assignable to ReplacementValue:
   446  	//
   447  	//	*AllowValues_NewValue
   448  	//	*AllowValues_UseDefault
   449  	ReplacementValue isAllowValues_ReplacementValue `protobuf_oneof:"replacement_value"`
   450  }
   451  
   452  func (x *AllowValues) Reset() {
   453  	*x = AllowValues{}
   454  	if protoimpl.UnsafeEnabled {
   455  		mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[5]
   456  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   457  		ms.StoreMessageInfo(mi)
   458  	}
   459  }
   460  
   461  func (x *AllowValues) String() string {
   462  	return protoimpl.X.MessageStringOf(x)
   463  }
   464  
   465  func (*AllowValues) ProtoMessage() {}
   466  
   467  func (x *AllowValues) ProtoReflect() protoreflect.Message {
   468  	mi := &file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[5]
   469  	if protoimpl.UnsafeEnabled && x != nil {
   470  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   471  		if ms.LoadMessageInfo() == nil {
   472  			ms.StoreMessageInfo(mi)
   473  		}
   474  		return ms
   475  	}
   476  	return mi.MessageOf(x)
   477  }
   478  
   479  // Deprecated: Use AllowValues.ProtoReflect.Descriptor instead.
   480  func (*AllowValues) Descriptor() ([]byte, []int) {
   481  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP(), []int{5}
   482  }
   483  
   484  func (x *AllowValues) GetAllowedValues() []string {
   485  	if x != nil {
   486  		return x.AllowedValues
   487  	}
   488  	return nil
   489  }
   490  
   491  func (m *AllowValues) GetReplacementValue() isAllowValues_ReplacementValue {
   492  	if m != nil {
   493  		return m.ReplacementValue
   494  	}
   495  	return nil
   496  }
   497  
   498  func (x *AllowValues) GetNewValue() string {
   499  	if x, ok := x.GetReplacementValue().(*AllowValues_NewValue); ok {
   500  		return x.NewValue
   501  	}
   502  	return ""
   503  }
   504  
   505  func (x *AllowValues) GetUseDefault() *UseDefault {
   506  	if x, ok := x.GetReplacementValue().(*AllowValues_UseDefault); ok {
   507  		return x.UseDefault
   508  	}
   509  	return nil
   510  }
   511  
   512  type isAllowValues_ReplacementValue interface {
   513  	isAllowValues_ReplacementValue()
   514  }
   515  
   516  type AllowValues_NewValue struct {
   517  	NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,oneof"`
   518  }
   519  
   520  type AllowValues_UseDefault struct {
   521  	UseDefault *UseDefault `protobuf:"bytes,4,opt,name=use_default,json=useDefault,oneof"`
   522  }
   523  
   524  func (*AllowValues_NewValue) isAllowValues_ReplacementValue() {}
   525  
   526  func (*AllowValues_UseDefault) isAllowValues_ReplacementValue() {}
   527  
   528  var File_third_party_bazel_src_main_protobuf_invocation_policy_proto protoreflect.FileDescriptor
   529  
   530  var file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDesc = []byte{
   531  	0x0a, 0x3b, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x62, 0x61,
   532  	0x7a, 0x65, 0x6c, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
   533  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   534  	0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x62,
   535  	0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
   536  	0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5c, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61,
   537  	0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x48, 0x0a, 0x0d, 0x66, 0x6c,
   538  	0x61, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   539  	0x0b, 0x32, 0x23, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61,
   540  	0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x46, 0x6c, 0x61, 0x67,
   541  	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x66, 0x6c, 0x61, 0x67, 0x50, 0x6f, 0x6c, 0x69,
   542  	0x63, 0x69, 0x65, 0x73, 0x22, 0xfb, 0x02, 0x0a, 0x0a, 0x46, 0x6c, 0x61, 0x67, 0x50, 0x6f, 0x6c,
   543  	0x69, 0x63, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
   544  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6c, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65,
   545  	0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03,
   546  	0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x40, 0x0a, 0x09,
   547  	0x73, 0x65, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
   548  	0x21, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69,
   549  	0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c,
   550  	0x75, 0x65, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46,
   551  	0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20,
   552  	0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f,
   553  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x55, 0x73,
   554  	0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44,
   555  	0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x52, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c,
   556  	0x6f, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
   557  	0x27, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69,
   558  	0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x6c, 0x6c,
   559  	0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61,
   560  	0x6c, 0x6c, 0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x6c,
   561  	0x6c, 0x6f, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
   562  	0x32, 0x24, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74,
   563  	0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77,
   564  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x56,
   565  	0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
   566  	0x6f, 0x6e, 0x22, 0xdb, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
   567  	0x1d, 0x0a, 0x0a, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
   568  	0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x6c, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46,
   569  	0x0a, 0x08, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
   570  	0x32, 0x2a, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74,
   571  	0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x56, 0x61,
   572  	0x6c, 0x75, 0x65, 0x2e, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, 0x08, 0x62, 0x65,
   573  	0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0x5c, 0x0a, 0x08, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69,
   574  	0x6f, 0x72, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10,
   575  	0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52,
   576  	0x49, 0x44, 0x45, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44,
   577  	0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55,
   578  	0x45, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52, 0x49, 0x44,
   579  	0x45, 0x53, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04,
   580  	0x22, 0x0c, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0xbf,
   581  	0x01, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65,
   582  	0x73, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f,
   583  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x64, 0x69,
   584  	0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d,
   585  	0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
   586  	0x09, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a,
   587  	0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01,
   588  	0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63,
   589  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x55, 0x73, 0x65,
   590  	0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65,
   591  	0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
   592  	0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03,
   593  	0x22, 0xb6, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
   594  	0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75,
   595  	0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
   596  	0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76,
   597  	0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x65,
   598  	0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65,
   599  	0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x6c,
   600  	0x61, 0x7a, 0x65, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
   601  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
   602  	0x48, 0x00, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x13,
   603  	0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61,
   604  	0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x42, 0x2d, 0x0a, 0x2b, 0x63, 0x6f, 0x6d,
   605  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
   606  	0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69,
   607  	0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   608  }
   609  
   610  var (
   611  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescOnce sync.Once
   612  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescData = file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDesc
   613  )
   614  
   615  func file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescGZIP() []byte {
   616  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescOnce.Do(func() {
   617  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescData)
   618  	})
   619  	return file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDescData
   620  }
   621  
   622  var file_third_party_bazel_src_main_protobuf_invocation_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   623  var file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   624  var file_third_party_bazel_src_main_protobuf_invocation_policy_proto_goTypes = []interface{}{
   625  	(SetValue_Behavior)(0),   // 0: blaze.invocation_policy.SetValue.Behavior
   626  	(*InvocationPolicy)(nil), // 1: blaze.invocation_policy.InvocationPolicy
   627  	(*FlagPolicy)(nil),       // 2: blaze.invocation_policy.FlagPolicy
   628  	(*SetValue)(nil),         // 3: blaze.invocation_policy.SetValue
   629  	(*UseDefault)(nil),       // 4: blaze.invocation_policy.UseDefault
   630  	(*DisallowValues)(nil),   // 5: blaze.invocation_policy.DisallowValues
   631  	(*AllowValues)(nil),      // 6: blaze.invocation_policy.AllowValues
   632  }
   633  var file_third_party_bazel_src_main_protobuf_invocation_policy_proto_depIdxs = []int32{
   634  	2, // 0: blaze.invocation_policy.InvocationPolicy.flag_policies:type_name -> blaze.invocation_policy.FlagPolicy
   635  	3, // 1: blaze.invocation_policy.FlagPolicy.set_value:type_name -> blaze.invocation_policy.SetValue
   636  	4, // 2: blaze.invocation_policy.FlagPolicy.use_default:type_name -> blaze.invocation_policy.UseDefault
   637  	5, // 3: blaze.invocation_policy.FlagPolicy.disallow_values:type_name -> blaze.invocation_policy.DisallowValues
   638  	6, // 4: blaze.invocation_policy.FlagPolicy.allow_values:type_name -> blaze.invocation_policy.AllowValues
   639  	0, // 5: blaze.invocation_policy.SetValue.behavior:type_name -> blaze.invocation_policy.SetValue.Behavior
   640  	4, // 6: blaze.invocation_policy.DisallowValues.use_default:type_name -> blaze.invocation_policy.UseDefault
   641  	4, // 7: blaze.invocation_policy.AllowValues.use_default:type_name -> blaze.invocation_policy.UseDefault
   642  	8, // [8:8] is the sub-list for method output_type
   643  	8, // [8:8] is the sub-list for method input_type
   644  	8, // [8:8] is the sub-list for extension type_name
   645  	8, // [8:8] is the sub-list for extension extendee
   646  	0, // [0:8] is the sub-list for field type_name
   647  }
   648  
   649  func init() { file_third_party_bazel_src_main_protobuf_invocation_policy_proto_init() }
   650  func file_third_party_bazel_src_main_protobuf_invocation_policy_proto_init() {
   651  	if File_third_party_bazel_src_main_protobuf_invocation_policy_proto != nil {
   652  		return
   653  	}
   654  	if !protoimpl.UnsafeEnabled {
   655  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   656  			switch v := v.(*InvocationPolicy); i {
   657  			case 0:
   658  				return &v.state
   659  			case 1:
   660  				return &v.sizeCache
   661  			case 2:
   662  				return &v.unknownFields
   663  			default:
   664  				return nil
   665  			}
   666  		}
   667  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   668  			switch v := v.(*FlagPolicy); i {
   669  			case 0:
   670  				return &v.state
   671  			case 1:
   672  				return &v.sizeCache
   673  			case 2:
   674  				return &v.unknownFields
   675  			default:
   676  				return nil
   677  			}
   678  		}
   679  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   680  			switch v := v.(*SetValue); i {
   681  			case 0:
   682  				return &v.state
   683  			case 1:
   684  				return &v.sizeCache
   685  			case 2:
   686  				return &v.unknownFields
   687  			default:
   688  				return nil
   689  			}
   690  		}
   691  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   692  			switch v := v.(*UseDefault); i {
   693  			case 0:
   694  				return &v.state
   695  			case 1:
   696  				return &v.sizeCache
   697  			case 2:
   698  				return &v.unknownFields
   699  			default:
   700  				return nil
   701  			}
   702  		}
   703  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   704  			switch v := v.(*DisallowValues); i {
   705  			case 0:
   706  				return &v.state
   707  			case 1:
   708  				return &v.sizeCache
   709  			case 2:
   710  				return &v.unknownFields
   711  			default:
   712  				return nil
   713  			}
   714  		}
   715  		file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   716  			switch v := v.(*AllowValues); i {
   717  			case 0:
   718  				return &v.state
   719  			case 1:
   720  				return &v.sizeCache
   721  			case 2:
   722  				return &v.unknownFields
   723  			default:
   724  				return nil
   725  			}
   726  		}
   727  	}
   728  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[1].OneofWrappers = []interface{}{
   729  		(*FlagPolicy_SetValue)(nil),
   730  		(*FlagPolicy_UseDefault)(nil),
   731  		(*FlagPolicy_DisallowValues)(nil),
   732  		(*FlagPolicy_AllowValues)(nil),
   733  	}
   734  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[4].OneofWrappers = []interface{}{
   735  		(*DisallowValues_NewValue)(nil),
   736  		(*DisallowValues_UseDefault)(nil),
   737  	}
   738  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes[5].OneofWrappers = []interface{}{
   739  		(*AllowValues_NewValue)(nil),
   740  		(*AllowValues_UseDefault)(nil),
   741  	}
   742  	type x struct{}
   743  	out := protoimpl.TypeBuilder{
   744  		File: protoimpl.DescBuilder{
   745  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   746  			RawDescriptor: file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDesc,
   747  			NumEnums:      1,
   748  			NumMessages:   6,
   749  			NumExtensions: 0,
   750  			NumServices:   0,
   751  		},
   752  		GoTypes:           file_third_party_bazel_src_main_protobuf_invocation_policy_proto_goTypes,
   753  		DependencyIndexes: file_third_party_bazel_src_main_protobuf_invocation_policy_proto_depIdxs,
   754  		EnumInfos:         file_third_party_bazel_src_main_protobuf_invocation_policy_proto_enumTypes,
   755  		MessageInfos:      file_third_party_bazel_src_main_protobuf_invocation_policy_proto_msgTypes,
   756  	}.Build()
   757  	File_third_party_bazel_src_main_protobuf_invocation_policy_proto = out.File
   758  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_rawDesc = nil
   759  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_goTypes = nil
   760  	file_third_party_bazel_src_main_protobuf_invocation_policy_proto_depIdxs = nil
   761  }