blob: 044d5c64c3a0e668fcddf88d0790aff2d40e9beb [file] [log] [blame]
// Copyright 2022 The LUCI Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v5.26.1
// source: go.chromium.org/luci/buildbucket/proto/field_option.proto
package buildbucketpb
import (
annotations "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type CreateBuildFieldOption struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FieldBehavior annotations.FieldBehavior `protobuf:"varint,1,opt,name=field_behavior,json=fieldBehavior,proto3,enum=google.api.FieldBehavior" json:"field_behavior,omitempty"`
}
func (x *CreateBuildFieldOption) Reset() {
*x = CreateBuildFieldOption{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateBuildFieldOption) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBuildFieldOption) ProtoMessage() {}
func (x *CreateBuildFieldOption) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBuildFieldOption.ProtoReflect.Descriptor instead.
func (*CreateBuildFieldOption) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescGZIP(), []int{0}
}
func (x *CreateBuildFieldOption) GetFieldBehavior() annotations.FieldBehavior {
if x != nil {
return x.FieldBehavior
}
return annotations.FieldBehavior(0)
}
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*CreateBuildFieldOption)(nil),
Field: 54321,
Name: "buildbucket.v2.create_build_field_option",
Tag: "bytes,54321,opt,name=create_build_field_option",
Filename: "go.chromium.org/luci/buildbucket/proto/field_option.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: ([]string)(nil),
Field: 54323,
Name: "buildbucket.v2.required_by_rpc",
Tag: "bytes,54323,rep,name=required_by_rpc",
Filename: "go.chromium.org/luci/buildbucket/proto/field_option.proto",
},
}
// Extension fields to descriptorpb.FieldOptions.
var (
// optional buildbucket.v2.CreateBuildFieldOption create_build_field_option = 54321;
E_CreateBuildFieldOption = &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes[0]
// Custom repeatable field option that allows user to require some fields for
// a specific rpc. Set this value equal to RPC when using protowalk Field
// Processor.
//
// repeated string required_by_rpc = 54323;
E_RequiredByRpc = &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes[1]
)
var File_go_chromium_org_luci_buildbucket_proto_field_option_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDesc = []byte{
0x0a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b,
0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a,
0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x65,
0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0e, 0x66, 0x69, 0x65, 0x6c,
0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69,
0x65, 0x6c, 0x64, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, 0x0d, 0x66, 0x69, 0x65,
0x6c, 0x64, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x3a, 0x82, 0x01, 0x0a, 0x19, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c,
0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xb1, 0xa8, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x26, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32,
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x65, 0x6c,
0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42,
0x75, 0x69, 0x6c, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a,
0x47, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x72,
0x70, 0x63, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x18, 0xb3, 0xa8, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x69,
0x72, 0x65, 0x64, 0x42, 0x79, 0x52, 0x70, 0x63, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69,
0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x3b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescData = file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDesc
)
func file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescData)
})
return file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescData
}
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_goTypes = []interface{}{
(*CreateBuildFieldOption)(nil), // 0: buildbucket.v2.CreateBuildFieldOption
(annotations.FieldBehavior)(0), // 1: google.api.FieldBehavior
(*descriptorpb.FieldOptions)(nil), // 2: google.protobuf.FieldOptions
}
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_depIdxs = []int32{
1, // 0: buildbucket.v2.CreateBuildFieldOption.field_behavior:type_name -> google.api.FieldBehavior
2, // 1: buildbucket.v2.create_build_field_option:extendee -> google.protobuf.FieldOptions
2, // 2: buildbucket.v2.required_by_rpc:extendee -> google.protobuf.FieldOptions
0, // 3: buildbucket.v2.create_build_field_option:type_name -> buildbucket.v2.CreateBuildFieldOption
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
3, // [3:4] is the sub-list for extension type_name
1, // [1:3] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_go_chromium_org_luci_buildbucket_proto_field_option_proto_init() }
func file_go_chromium_org_luci_buildbucket_proto_field_option_proto_init() {
if File_go_chromium_org_luci_buildbucket_proto_field_option_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateBuildFieldOption); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 2,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_buildbucket_proto_field_option_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_buildbucket_proto_field_option_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes,
ExtensionInfos: file_go_chromium_org_luci_buildbucket_proto_field_option_proto_extTypes,
}.Build()
File_go_chromium_org_luci_buildbucket_proto_field_option_proto = out.File
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDesc = nil
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_goTypes = nil
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_depIdxs = nil
}