blob: 4ec1ca4671488286f234f1b124d3a2f3d68af877 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Custom option defs must be proto2 syntax.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromite/api/build_api.proto
package api
import (
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)
)
// Config to allow chroot assertions to be made via service/method options.
type ChrootAssertion int32
const (
ChrootAssertion_NO_ASSERTION ChrootAssertion = 0
ChrootAssertion_INSIDE ChrootAssertion = 1
ChrootAssertion_OUTSIDE ChrootAssertion = 2
)
// Enum value maps for ChrootAssertion.
var (
ChrootAssertion_name = map[int32]string{
0: "NO_ASSERTION",
1: "INSIDE",
2: "OUTSIDE",
}
ChrootAssertion_value = map[string]int32{
"NO_ASSERTION": 0,
"INSIDE": 1,
"OUTSIDE": 2,
}
)
func (x ChrootAssertion) Enum() *ChrootAssertion {
p := new(ChrootAssertion)
*p = x
return p
}
func (x ChrootAssertion) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChrootAssertion) Descriptor() protoreflect.EnumDescriptor {
return file_chromite_api_build_api_proto_enumTypes[0].Descriptor()
}
func (ChrootAssertion) Type() protoreflect.EnumType {
return &file_chromite_api_build_api_proto_enumTypes[0]
}
func (x ChrootAssertion) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ChrootAssertion) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ChrootAssertion(num)
return nil
}
// Deprecated: Use ChrootAssertion.Descriptor instead.
func (ChrootAssertion) EnumDescriptor() ([]byte, []int) {
return file_chromite_api_build_api_proto_rawDescGZIP(), []int{0}
}
// Allows setting services or endpoints to invisible in the methods listing.
// Services/endpoints that are hidden can still be called, they just won't
// appear in MethodService/Get. This can be convenient for endpoints in
// development, allowing them to be committed in progress then enabled when
// completed, i.e. making them still invisible on branches that may have been
// cut during that time.
type ListVisibility int32
const (
ListVisibility_LV_NOT_SPECIFIED ListVisibility = 0
ListVisibility_LV_VISIBLE ListVisibility = 1
ListVisibility_LV_HIDDEN ListVisibility = 2
)
// Enum value maps for ListVisibility.
var (
ListVisibility_name = map[int32]string{
0: "LV_NOT_SPECIFIED",
1: "LV_VISIBLE",
2: "LV_HIDDEN",
}
ListVisibility_value = map[string]int32{
"LV_NOT_SPECIFIED": 0,
"LV_VISIBLE": 1,
"LV_HIDDEN": 2,
}
)
func (x ListVisibility) Enum() *ListVisibility {
p := new(ListVisibility)
*p = x
return p
}
func (x ListVisibility) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ListVisibility) Descriptor() protoreflect.EnumDescriptor {
return file_chromite_api_build_api_proto_enumTypes[1].Descriptor()
}
func (ListVisibility) Type() protoreflect.EnumType {
return &file_chromite_api_build_api_proto_enumTypes[1]
}
func (x ListVisibility) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *ListVisibility) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = ListVisibility(num)
return nil
}
// Deprecated: Use ListVisibility.Descriptor instead.
func (ListVisibility) EnumDescriptor() ([]byte, []int) {
return file_chromite_api_build_api_proto_rawDescGZIP(), []int{1}
}
// Allow specifying whether the ToT or branched BAPI should execute the call.
// Defaults to branched.
type BranchedExecution int32
const (
BranchedExecution_EXECUTE_NOT_SPECIFIED BranchedExecution = 0
BranchedExecution_EXECUTE_BRANCHED BranchedExecution = 1
BranchedExecution_EXECUTE_TOT BranchedExecution = 2
)
// Enum value maps for BranchedExecution.
var (
BranchedExecution_name = map[int32]string{
0: "EXECUTE_NOT_SPECIFIED",
1: "EXECUTE_BRANCHED",
2: "EXECUTE_TOT",
}
BranchedExecution_value = map[string]int32{
"EXECUTE_NOT_SPECIFIED": 0,
"EXECUTE_BRANCHED": 1,
"EXECUTE_TOT": 2,
}
)
func (x BranchedExecution) Enum() *BranchedExecution {
p := new(BranchedExecution)
*p = x
return p
}
func (x BranchedExecution) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BranchedExecution) Descriptor() protoreflect.EnumDescriptor {
return file_chromite_api_build_api_proto_enumTypes[2].Descriptor()
}
func (BranchedExecution) Type() protoreflect.EnumType {
return &file_chromite_api_build_api_proto_enumTypes[2]
}
func (x BranchedExecution) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *BranchedExecution) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = BranchedExecution(num)
return nil
}
// Deprecated: Use BranchedExecution.Descriptor instead.
func (BranchedExecution) EnumDescriptor() ([]byte, []int) {
return file_chromite_api_build_api_proto_rawDescGZIP(), []int{2}
}
// Custom Service options.
type BuildApiServiceOptions struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the controller module implementing the service.
Module *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"`
// Assert any methods in the service are run inside/outside the chroot when
// specified, unless overridden by the method config.
ServiceChrootAssert *ChrootAssertion `protobuf:"varint,2,opt,name=service_chroot_assert,json=serviceChrootAssert,enum=chromite.api.ChrootAssertion" json:"service_chroot_assert,omitempty"`
// Set to LV_INVISIBLE to hide the entire service from the methods listing.
ServiceVisibility *ListVisibility `protobuf:"varint,3,opt,name=service_visibility,json=serviceVisibility,enum=chromite.api.ListVisibility" json:"service_visibility,omitempty"`
// Set to EXECUTE_TOT to have all methods execute in the ToT BAPI by default.
ServiceBranchedExecution *BranchedExecution `protobuf:"varint,4,opt,name=service_branched_execution,json=serviceBranchedExecution,enum=chromite.api.BranchedExecution" json:"service_branched_execution,omitempty"`
}
func (x *BuildApiServiceOptions) Reset() {
*x = BuildApiServiceOptions{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_build_api_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildApiServiceOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildApiServiceOptions) ProtoMessage() {}
func (x *BuildApiServiceOptions) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_build_api_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 BuildApiServiceOptions.ProtoReflect.Descriptor instead.
func (*BuildApiServiceOptions) Descriptor() ([]byte, []int) {
return file_chromite_api_build_api_proto_rawDescGZIP(), []int{0}
}
func (x *BuildApiServiceOptions) GetModule() string {
if x != nil && x.Module != nil {
return *x.Module
}
return ""
}
func (x *BuildApiServiceOptions) GetServiceChrootAssert() ChrootAssertion {
if x != nil && x.ServiceChrootAssert != nil {
return *x.ServiceChrootAssert
}
return ChrootAssertion_NO_ASSERTION
}
func (x *BuildApiServiceOptions) GetServiceVisibility() ListVisibility {
if x != nil && x.ServiceVisibility != nil {
return *x.ServiceVisibility
}
return ListVisibility_LV_NOT_SPECIFIED
}
func (x *BuildApiServiceOptions) GetServiceBranchedExecution() BranchedExecution {
if x != nil && x.ServiceBranchedExecution != nil {
return *x.ServiceBranchedExecution
}
return BranchedExecution_EXECUTE_NOT_SPECIFIED
}
// Custom Method options.
type BuildApiMethodOptions struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the function implementing the method if different than the
// method name defined in the .proto.
ImplementationName *string `protobuf:"bytes,1,opt,name=implementation_name,json=implementationName" json:"implementation_name,omitempty"`
// Assert the method is run inside/outside the chroot when specified,
// overriding the service config when set.
MethodChrootAssert *ChrootAssertion `protobuf:"varint,2,opt,name=method_chroot_assert,json=methodChrootAssert,enum=chromite.api.ChrootAssertion" json:"method_chroot_assert,omitempty"`
// Set to LV_INVISIBLE to hide the method from the methods listing.
MethodVisibility *ListVisibility `protobuf:"varint,3,opt,name=method_visibility,json=methodVisibility,enum=chromite.api.ListVisibility" json:"method_visibility,omitempty"`
// Set to EXECUTE_TOT to have the method execute in the ToT BAPI.
MethodBranchedExecution *BranchedExecution `protobuf:"varint,4,opt,name=method_branched_execution,json=methodBranchedExecution,enum=chromite.api.BranchedExecution" json:"method_branched_execution,omitempty"`
}
func (x *BuildApiMethodOptions) Reset() {
*x = BuildApiMethodOptions{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_build_api_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildApiMethodOptions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildApiMethodOptions) ProtoMessage() {}
func (x *BuildApiMethodOptions) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_build_api_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 BuildApiMethodOptions.ProtoReflect.Descriptor instead.
func (*BuildApiMethodOptions) Descriptor() ([]byte, []int) {
return file_chromite_api_build_api_proto_rawDescGZIP(), []int{1}
}
func (x *BuildApiMethodOptions) GetImplementationName() string {
if x != nil && x.ImplementationName != nil {
return *x.ImplementationName
}
return ""
}
func (x *BuildApiMethodOptions) GetMethodChrootAssert() ChrootAssertion {
if x != nil && x.MethodChrootAssert != nil {
return *x.MethodChrootAssert
}
return ChrootAssertion_NO_ASSERTION
}
func (x *BuildApiMethodOptions) GetMethodVisibility() ListVisibility {
if x != nil && x.MethodVisibility != nil {
return *x.MethodVisibility
}
return ListVisibility_LV_NOT_SPECIFIED
}
func (x *BuildApiMethodOptions) GetMethodBranchedExecution() BranchedExecution {
if x != nil && x.MethodBranchedExecution != nil {
return *x.MethodBranchedExecution
}
return BranchedExecution_EXECUTE_NOT_SPECIFIED
}
var file_chromite_api_build_api_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.ServiceOptions)(nil),
ExtensionType: (*BuildApiServiceOptions)(nil),
Field: 55000,
Name: "chromite.api.service_options",
Tag: "bytes,55000,opt,name=service_options",
Filename: "chromite/api/build_api.proto",
},
{
ExtendedType: (*descriptorpb.MethodOptions)(nil),
ExtensionType: (*BuildApiMethodOptions)(nil),
Field: 55000,
Name: "chromite.api.method_options",
Tag: "bytes,55000,opt,name=method_options",
Filename: "chromite/api/build_api.proto",
},
}
// Extension fields to descriptorpb.ServiceOptions.
var (
// optional chromite.api.BuildApiServiceOptions service_options = 55000;
E_ServiceOptions = &file_chromite_api_build_api_proto_extTypes[0]
)
// Extension fields to descriptorpb.MethodOptions.
var (
// optional chromite.api.BuildApiMethodOptions method_options = 55000;
E_MethodOptions = &file_chromite_api_build_api_proto_extTypes[1]
)
var File_chromite_api_build_api_proto protoreflect.FileDescriptor
var file_chromite_api_build_api_proto_rawDesc = []byte{
0x0a, 0x1c, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 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, 0x22, 0xaf,
0x02, 0x0a, 0x16, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64,
0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x12, 0x51, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x72,
0x6f, 0x6f, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x41, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x41, 0x73,
0x73, 0x65, 0x72, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x1c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x11,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74,
0x79, 0x12, 0x5d, 0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61,
0x6e, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x45, 0x78, 0x65,
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42,
0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0xc1, 0x02, 0x0a, 0x15, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x70, 0x69, 0x4d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x69, 0x6d,
0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x14, 0x6d,
0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x61, 0x73, 0x73,
0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x41,
0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x41, 0x73, 0x73, 0x65, 0x72, 0x74, 0x12, 0x49, 0x0a, 0x11,
0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74,
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62,
0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x56, 0x69, 0x73,
0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x5b, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x68, 0x6f,
0x64, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75,
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
0x65, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x17, 0x6d, 0x65, 0x74,
0x68, 0x6f, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75,
0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x3c, 0x0a, 0x0f, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x41, 0x73,
0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x5f, 0x41, 0x53,
0x53, 0x45, 0x52, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x53,
0x49, 0x44, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x55, 0x54, 0x53, 0x49, 0x44, 0x45,
0x10, 0x02, 0x2a, 0x45, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69,
0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x56, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53,
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x56,
0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x56,
0x5f, 0x48, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x02, 0x2a, 0x55, 0x0a, 0x11, 0x42, 0x72, 0x61,
0x6e, 0x63, 0x68, 0x65, 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19,
0x0a, 0x15, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x50,
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x45,
0x43, 0x55, 0x54, 0x45, 0x5f, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12,
0x0f, 0x0a, 0x0b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x4f, 0x54, 0x10, 0x02,
0x3a, 0x70, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd8, 0xad, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c,
0x64, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x3a, 0x6c, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd8, 0xad, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c,
0x64, 0x41, 0x70, 0x69, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e,
0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x69,
0x6e, 0x66, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69,
}
var (
file_chromite_api_build_api_proto_rawDescOnce sync.Once
file_chromite_api_build_api_proto_rawDescData = file_chromite_api_build_api_proto_rawDesc
)
func file_chromite_api_build_api_proto_rawDescGZIP() []byte {
file_chromite_api_build_api_proto_rawDescOnce.Do(func() {
file_chromite_api_build_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_build_api_proto_rawDescData)
})
return file_chromite_api_build_api_proto_rawDescData
}
var file_chromite_api_build_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_chromite_api_build_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_chromite_api_build_api_proto_goTypes = []interface{}{
(ChrootAssertion)(0), // 0: chromite.api.ChrootAssertion
(ListVisibility)(0), // 1: chromite.api.ListVisibility
(BranchedExecution)(0), // 2: chromite.api.BranchedExecution
(*BuildApiServiceOptions)(nil), // 3: chromite.api.BuildApiServiceOptions
(*BuildApiMethodOptions)(nil), // 4: chromite.api.BuildApiMethodOptions
(*descriptorpb.ServiceOptions)(nil), // 5: google.protobuf.ServiceOptions
(*descriptorpb.MethodOptions)(nil), // 6: google.protobuf.MethodOptions
}
var file_chromite_api_build_api_proto_depIdxs = []int32{
0, // 0: chromite.api.BuildApiServiceOptions.service_chroot_assert:type_name -> chromite.api.ChrootAssertion
1, // 1: chromite.api.BuildApiServiceOptions.service_visibility:type_name -> chromite.api.ListVisibility
2, // 2: chromite.api.BuildApiServiceOptions.service_branched_execution:type_name -> chromite.api.BranchedExecution
0, // 3: chromite.api.BuildApiMethodOptions.method_chroot_assert:type_name -> chromite.api.ChrootAssertion
1, // 4: chromite.api.BuildApiMethodOptions.method_visibility:type_name -> chromite.api.ListVisibility
2, // 5: chromite.api.BuildApiMethodOptions.method_branched_execution:type_name -> chromite.api.BranchedExecution
5, // 6: chromite.api.service_options:extendee -> google.protobuf.ServiceOptions
6, // 7: chromite.api.method_options:extendee -> google.protobuf.MethodOptions
3, // 8: chromite.api.service_options:type_name -> chromite.api.BuildApiServiceOptions
4, // 9: chromite.api.method_options:type_name -> chromite.api.BuildApiMethodOptions
10, // [10:10] is the sub-list for method output_type
10, // [10:10] is the sub-list for method input_type
8, // [8:10] is the sub-list for extension type_name
6, // [6:8] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_chromite_api_build_api_proto_init() }
func file_chromite_api_build_api_proto_init() {
if File_chromite_api_build_api_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromite_api_build_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildApiServiceOptions); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_build_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildApiMethodOptions); 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_chromite_api_build_api_proto_rawDesc,
NumEnums: 3,
NumMessages: 2,
NumExtensions: 2,
NumServices: 0,
},
GoTypes: file_chromite_api_build_api_proto_goTypes,
DependencyIndexes: file_chromite_api_build_api_proto_depIdxs,
EnumInfos: file_chromite_api_build_api_proto_enumTypes,
MessageInfos: file_chromite_api_build_api_proto_msgTypes,
ExtensionInfos: file_chromite_api_build_api_proto_extTypes,
}.Build()
File_chromite_api_build_api_proto = out.File
file_chromite_api_build_api_proto_rawDesc = nil
file_chromite_api_build_api_proto_goTypes = nil
file_chromite_api_build_api_proto_depIdxs = nil
}