blob: 719a1902ece05900ec09e735d48e933ddf17b5ec [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.28.1
// protoc v3.21.7
// 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)
}
type RegisterBuildTaskFieldOption 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 *RegisterBuildTaskFieldOption) Reset() {
*x = RegisterBuildTaskFieldOption{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RegisterBuildTaskFieldOption) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterBuildTaskFieldOption) ProtoMessage() {}
func (x *RegisterBuildTaskFieldOption) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[1]
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 RegisterBuildTaskFieldOption.ProtoReflect.Descriptor instead.
func (*RegisterBuildTaskFieldOption) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_buildbucket_proto_field_option_proto_rawDescGZIP(), []int{1}
}
func (x *RegisterBuildTaskFieldOption) 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: (*RegisterBuildTaskFieldOption)(nil),
Field: 54322,
Name: "buildbucket.v2.register_build_task_field_option",
Tag: "bytes,54322,opt,name=register_build_task_field_option",
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]
// optional buildbucket.v2.RegisterBuildTaskFieldOption register_build_task_field_option = 54322;
E_RegisterBuildTaskFieldOption = &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, 0x22, 0x60, 0x0a, 0x1c, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b, 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, 0x95, 0x01, 0x0a, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x73, 0x6b, 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, 0xb2, 0xa8, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x52,
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b,
0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1c, 0x72, 0x65, 0x67,
0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69,
0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 2)
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_goTypes = []interface{}{
(*CreateBuildFieldOption)(nil), // 0: buildbucket.v2.CreateBuildFieldOption
(*RegisterBuildTaskFieldOption)(nil), // 1: buildbucket.v2.RegisterBuildTaskFieldOption
(annotations.FieldBehavior)(0), // 2: google.api.FieldBehavior
(*descriptorpb.FieldOptions)(nil), // 3: google.protobuf.FieldOptions
}
var file_go_chromium_org_luci_buildbucket_proto_field_option_proto_depIdxs = []int32{
2, // 0: buildbucket.v2.CreateBuildFieldOption.field_behavior:type_name -> google.api.FieldBehavior
2, // 1: buildbucket.v2.RegisterBuildTaskFieldOption.field_behavior:type_name -> google.api.FieldBehavior
3, // 2: buildbucket.v2.create_build_field_option:extendee -> google.protobuf.FieldOptions
3, // 3: buildbucket.v2.register_build_task_field_option:extendee -> google.protobuf.FieldOptions
0, // 4: buildbucket.v2.create_build_field_option:type_name -> buildbucket.v2.CreateBuildFieldOption
1, // 5: buildbucket.v2.register_build_task_field_option:type_name -> buildbucket.v2.RegisterBuildTaskFieldOption
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
4, // [4:6] is the sub-list for extension type_name
2, // [2:4] is the sub-list for extension extendee
0, // [0:2] 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
}
}
file_go_chromium_org_luci_buildbucket_proto_field_option_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RegisterBuildTaskFieldOption); 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: 2,
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
}