Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/build/build/soong/android/team_proto/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 8 kB image not shown  

Quelle  team.pb.go   Sprache: unbekannt

 
Spracherkennung für: .go vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

// 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.30.0
//  protoc        v3.21.12
// source: team.proto

package team_proto

import (
 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 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 Team struct {
 state         protoimpl.MessageState
 sizeCache     protoimpl.SizeCache
 unknownFields protoimpl.UnknownFields

 // REQUIRED: Name of the build target
 TargetName *string `protobuf:"bytes,1,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
 // REQUIRED: Code location of the target.
 // To be used to support legacy/backup systems that use OWNERS file and is
 // also required for our dashboard to support per code location basis UI
 Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
 // REQUIRED: Team ID of the team that owns this target.
 TrendyTeamId *string `protobuf:"bytes,3,opt,name=trendy_team_id,json=trendyTeamId" json:"trendy_team_id,omitempty"`
 // OPTIONAL: Files directly owned by this module.
 File []string `protobuf:"bytes,4,rep,name=file" json:"file,omitempty"`
 // OPTIONAL: Is this a test-only module.
 TestOnly *bool `protobuf:"varint,5,opt,name=test_only,json=testOnly" json:"test_only,omitempty"`
 // OPTIONAL: Is this intended to be run as a test target.
 // This target can be run directly as a test or passed to tradefed.
 TopLevelTarget *bool `protobuf:"varint,6,opt,name=top_level_target,json=topLevelTarget" json:"top_level_target,omitempty"`
 // OPTIONAL: Name of module kind, i.e. java_library
 Kind *string `protobuf:"bytes,7,opt,name=kind" json:"kind,omitempty"`
}

func (x *Team) Reset() {
 *x = Team{}
 if protoimpl.UnsafeEnabled {
  mi := &file_team_proto_msgTypes[0]
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  ms.StoreMessageInfo(mi)
 }
}

func (x *Team) String() string {
 return protoimpl.X.MessageStringOf(x)
}

func (*Team) ProtoMessage() {}

func (x *Team) ProtoReflect() protoreflect.Message {
 mi := &file_team_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 Team.ProtoReflect.Descriptor instead.
func (*Team) Descriptor() ([]byte, []int) {
 return file_team_proto_rawDescGZIP(), []int{0}
}

func (x *Team) GetTargetName() string {
 if x != nil && x.TargetName != nil {
  return *x.TargetName
 }
 return ""
}

func (x *Team) GetPath() string {
 if x != nil && x.Path != nil {
  return *x.Path
 }
 return ""
}

func (x *Team) GetTrendyTeamId() string {
 if x != nil && x.TrendyTeamId != nil {
  return *x.TrendyTeamId
 }
 return ""
}

func (x *Team) GetFile() []string {
 if x != nil {
  return x.File
 }
 return nil
}

func (x *Team) GetTestOnly() bool {
 if x != nil && x.TestOnly != nil {
  return *x.TestOnly
 }
 return false
}

func (x *Team) GetTopLevelTarget() bool {
 if x != nil && x.TopLevelTarget != nil {
  return *x.TopLevelTarget
 }
 return false
}

func (x *Team) GetKind() string {
 if x != nil && x.Kind != nil {
  return *x.Kind
 }
 return ""
}

type AllTeams struct {
 state         protoimpl.MessageState
 sizeCache     protoimpl.SizeCache
 unknownFields protoimpl.UnknownFields

 Teams []*Team `protobuf:"bytes,1,rep,name=teams" json:"teams,omitempty"`
}

func (x *AllTeams) Reset() {
 *x = AllTeams{}
 if protoimpl.UnsafeEnabled {
  mi := &file_team_proto_msgTypes[1]
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  ms.StoreMessageInfo(mi)
 }
}

func (x *AllTeams) String() string {
 return protoimpl.X.MessageStringOf(x)
}

func (*AllTeams) ProtoMessage() {}

func (x *AllTeams) ProtoReflect() protoreflect.Message {
 mi := &file_team_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 AllTeams.ProtoReflect.Descriptor instead.
func (*AllTeams) Descriptor() ([]byte, []int) {
 return file_team_proto_rawDescGZIP(), []int{1}
}

func (x *AllTeams) GetTeams() []*Team {
 if x != nil {
  return x.Teams
 }
 return nil
}

var File_team_proto protoreflect.FileDescriptor

var file_team_proto_rawDesc = []byte{
 0x0a, 0x0a, 0x74, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
 0x61, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x04, 0x54, 0x65, 0x61,
 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61,
 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x79,
 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
 0x74, 0x72, 0x65, 0x6e, 0x64, 0x79, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65,
 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20,
 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x28, 0x0a,
 0x10, 0x74, 0x6f, 0x70, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65,
 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x74, 0x6f, 0x70, 0x4c, 0x65, 0x76, 0x65,
 0x6c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18,
 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x32, 0x0a, 0x08, 0x41,
 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73,
 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x70, 0x72,
 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x42,
 0x22, 0x5a, 0x20, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67,
 0x2f, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x70, 0x72,
 0x6f, 0x74, 0x6f,
}

var (
 file_team_proto_rawDescOnce sync.Once
 file_team_proto_rawDescData = file_team_proto_rawDesc
)

func file_team_proto_rawDescGZIP() []byte {
 file_team_proto_rawDescOnce.Do(func() {
  file_team_proto_rawDescData = protoimpl.X.CompressGZIP(file_team_proto_rawDescData)
 })
 return file_team_proto_rawDescData
}

var file_team_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_team_proto_goTypes = []interface{}{
 (*Team)(nil),     // 0: team_proto.Team
 (*AllTeams)(nil), // 1: team_proto.AllTeams
}
var file_team_proto_depIdxs = []int32{
 0, // 0: team_proto.AllTeams.teams:type_name -> team_proto.Team
 1, // [1:1] is the sub-list for method output_type
 1, // [1:1] is the sub-list for method input_type
 1, // [1:1] is the sub-list for extension type_name
 1, // [1:1] is the sub-list for extension extendee
 0, // [0:1] is the sub-list for field type_name
}

func init() { file_team_proto_init() }
func file_team_proto_init() {
 if File_team_proto != nil {
  return
 }
 if !protoimpl.UnsafeEnabled {
  file_team_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   switch v := v.(*Team); i {
   case 0:
    return &v.state
   case 1:
    return &v.sizeCache
   case 2:
    return &v.unknownFields
   default:
    return nil
   }
  }
  file_team_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   switch v := v.(*AllTeams); 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_team_proto_rawDesc,
   NumEnums:      0,
   NumMessages:   2,
   NumExtensions: 0,
   NumServices:   0,
  },
  GoTypes:           file_team_proto_goTypes,
  DependencyIndexes: file_team_proto_depIdxs,
  MessageInfos:      file_team_proto_msgTypes,
 }.Build()
 File_team_proto = out.File
 file_team_proto_rawDesc = nil
 file_team_proto_goTypes = nil
 file_team_proto_depIdxs = nil
}

[Dauer der Verarbeitung: 0.43 Sekunden, vorverarbeitet 2026-06-28]