1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/devtools/resultstore/v2/file_set.proto 3 4package resultstore 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11) 12 13// Reference imports to suppress errors if they are not otherwise used. 14var _ = proto.Marshal 15var _ = fmt.Errorf 16var _ = math.Inf 17 18// This is a compile-time assertion to ensure that this generated file 19// is compatible with the proto package it is being compiled against. 20// A compilation error at this line likely means your copy of the 21// proto package needs to be updated. 22const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24// This resource represents a set of Files and other (nested) FileSets. 25// A FileSet is a node in the graph, and the file_sets field represents the 26// outgoing edges. A resource may reference various nodes in the graph to 27// represent the transitive closure of all files from those nodes. 28// The FileSets must form a directed acyclic graph. The Upload API is unable to 29// enforce that the graph is acyclic at write time, and if cycles are written, 30// it may cause issues at read time. 31// 32// A FileSet may be referenced by other resources in conjunction with Files. A 33// File is preferred for something that can only be ever referenced by one 34// resource, and a FileSet is preferred if it can be reference by multiple 35// resources. 36type FileSet struct { 37 // The format of this FileSet resource name must be: 38 // invocations/${INVOCATION_ID}/fileSets/${url_encode(FILE_SET_ID)} 39 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 40 // The resource ID components that identify the file set. They must match the 41 // resource name after proper encoding. 42 Id *FileSet_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 43 // List of names of other file sets that are referenced from this one. 44 // Each name must point to a file set under the same invocation. The name 45 // format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID} 46 FileSets []string `protobuf:"bytes,3,rep,name=file_sets,json=fileSets,proto3" json:"file_sets,omitempty"` 47 // Files that are contained within this file set. 48 // The uid field in the file should be unique for the Invocation. 49 Files []*File `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` 50 XXX_NoUnkeyedLiteral struct{} `json:"-"` 51 XXX_unrecognized []byte `json:"-"` 52 XXX_sizecache int32 `json:"-"` 53} 54 55func (m *FileSet) Reset() { *m = FileSet{} } 56func (m *FileSet) String() string { return proto.CompactTextString(m) } 57func (*FileSet) ProtoMessage() {} 58func (*FileSet) Descriptor() ([]byte, []int) { 59 return fileDescriptor_ca8d86e03917a704, []int{0} 60} 61 62func (m *FileSet) XXX_Unmarshal(b []byte) error { 63 return xxx_messageInfo_FileSet.Unmarshal(m, b) 64} 65func (m *FileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 66 return xxx_messageInfo_FileSet.Marshal(b, m, deterministic) 67} 68func (m *FileSet) XXX_Merge(src proto.Message) { 69 xxx_messageInfo_FileSet.Merge(m, src) 70} 71func (m *FileSet) XXX_Size() int { 72 return xxx_messageInfo_FileSet.Size(m) 73} 74func (m *FileSet) XXX_DiscardUnknown() { 75 xxx_messageInfo_FileSet.DiscardUnknown(m) 76} 77 78var xxx_messageInfo_FileSet proto.InternalMessageInfo 79 80func (m *FileSet) GetName() string { 81 if m != nil { 82 return m.Name 83 } 84 return "" 85} 86 87func (m *FileSet) GetId() *FileSet_Id { 88 if m != nil { 89 return m.Id 90 } 91 return nil 92} 93 94func (m *FileSet) GetFileSets() []string { 95 if m != nil { 96 return m.FileSets 97 } 98 return nil 99} 100 101func (m *FileSet) GetFiles() []*File { 102 if m != nil { 103 return m.Files 104 } 105 return nil 106} 107 108// The resource ID components that identify the FileSet. 109type FileSet_Id struct { 110 // The Invocation ID. 111 InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` 112 // The FileSet ID. 113 FileSetId string `protobuf:"bytes,2,opt,name=file_set_id,json=fileSetId,proto3" json:"file_set_id,omitempty"` 114 XXX_NoUnkeyedLiteral struct{} `json:"-"` 115 XXX_unrecognized []byte `json:"-"` 116 XXX_sizecache int32 `json:"-"` 117} 118 119func (m *FileSet_Id) Reset() { *m = FileSet_Id{} } 120func (m *FileSet_Id) String() string { return proto.CompactTextString(m) } 121func (*FileSet_Id) ProtoMessage() {} 122func (*FileSet_Id) Descriptor() ([]byte, []int) { 123 return fileDescriptor_ca8d86e03917a704, []int{0, 0} 124} 125 126func (m *FileSet_Id) XXX_Unmarshal(b []byte) error { 127 return xxx_messageInfo_FileSet_Id.Unmarshal(m, b) 128} 129func (m *FileSet_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 130 return xxx_messageInfo_FileSet_Id.Marshal(b, m, deterministic) 131} 132func (m *FileSet_Id) XXX_Merge(src proto.Message) { 133 xxx_messageInfo_FileSet_Id.Merge(m, src) 134} 135func (m *FileSet_Id) XXX_Size() int { 136 return xxx_messageInfo_FileSet_Id.Size(m) 137} 138func (m *FileSet_Id) XXX_DiscardUnknown() { 139 xxx_messageInfo_FileSet_Id.DiscardUnknown(m) 140} 141 142var xxx_messageInfo_FileSet_Id proto.InternalMessageInfo 143 144func (m *FileSet_Id) GetInvocationId() string { 145 if m != nil { 146 return m.InvocationId 147 } 148 return "" 149} 150 151func (m *FileSet_Id) GetFileSetId() string { 152 if m != nil { 153 return m.FileSetId 154 } 155 return "" 156} 157 158func init() { 159 proto.RegisterType((*FileSet)(nil), "google.devtools.resultstore.v2.FileSet") 160 proto.RegisterType((*FileSet_Id)(nil), "google.devtools.resultstore.v2.FileSet.Id") 161} 162 163func init() { 164 proto.RegisterFile("google/devtools/resultstore/v2/file_set.proto", fileDescriptor_ca8d86e03917a704) 165} 166 167var fileDescriptor_ca8d86e03917a704 = []byte{ 168 // 271 bytes of a gzipped FileDescriptorProto 169 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xbb, 0x4f, 0xc3, 0x30, 170 0x10, 0x87, 0x95, 0xa4, 0x3c, 0x72, 0x81, 0xc5, 0x53, 0x54, 0xa4, 0x2a, 0x2a, 0x0c, 0x01, 0x09, 171 0x5b, 0x0a, 0x5b, 0xd9, 0x18, 0x90, 0xbc, 0xa1, 0xb0, 0xb1, 0x44, 0xa1, 0xbe, 0x5a, 0x96, 0xdc, 172 0x5c, 0x89, 0x4d, 0xfe, 0x7b, 0x24, 0x44, 0x1e, 0xa2, 0x0b, 0xb4, 0xdb, 0xd9, 0xfe, 0xee, 0x77, 173 0x9f, 0x0f, 0xee, 0x35, 0x91, 0xb6, 0x28, 0x14, 0x76, 0x9e, 0xc8, 0x3a, 0xd1, 0xa2, 0xfb, 0xb4, 174 0xde, 0x79, 0x6a, 0x51, 0x74, 0x85, 0xd8, 0x18, 0x8b, 0x95, 0x43, 0xcf, 0x77, 0x2d, 0x79, 0x62, 175 0x8b, 0x01, 0xe7, 0x13, 0xce, 0xf7, 0x70, 0xde, 0x15, 0xf3, 0xdb, 0x23, 0xe2, 0x86, 0xa8, 0xe5, 176 0x57, 0x00, 0x67, 0xcf, 0xc6, 0xe2, 0x2b, 0x7a, 0xc6, 0x60, 0xd6, 0xd4, 0x5b, 0x4c, 0x83, 0x2c, 177 0xc8, 0xe3, 0xb2, 0xaf, 0xd9, 0x0a, 0x42, 0xa3, 0xd2, 0x30, 0x0b, 0xf2, 0xa4, 0xb8, 0xe3, 0xff, 178 0xcf, 0xe5, 0x63, 0x10, 0x97, 0xaa, 0x0c, 0x8d, 0x62, 0x57, 0x10, 0x4f, 0xe2, 0x2e, 0x8d, 0xb2, 179 0x28, 0x8f, 0xcb, 0xf3, 0xcd, 0x80, 0x38, 0xb6, 0x82, 0x93, 0x9f, 0xda, 0xa5, 0xb3, 0x2c, 0xca, 180 0x93, 0xe2, 0xe6, 0x98, 0xec, 0x72, 0x68, 0x99, 0x4b, 0x08, 0xa5, 0x62, 0xd7, 0x70, 0x69, 0x9a, 181 0x8e, 0xd6, 0xb5, 0x37, 0xd4, 0x54, 0x46, 0x8d, 0xde, 0x17, 0xbf, 0x97, 0x52, 0xb1, 0x05, 0x24, 182 0x93, 0x43, 0x35, 0x7e, 0x24, 0x2e, 0xe3, 0xd1, 0x42, 0xaa, 0xa7, 0x0f, 0x58, 0xae, 0x69, 0x7b, 183 0x60, 0xf8, 0x4b, 0xf0, 0x26, 0x47, 0x42, 0x93, 0xad, 0x1b, 0xcd, 0xa9, 0xd5, 0x42, 0x63, 0xd3, 184 0xef, 0x50, 0x0c, 0x4f, 0xf5, 0xce, 0xb8, 0xbf, 0x36, 0xfe, 0xb8, 0x77, 0x7c, 0x3f, 0xed, 0xbb, 185 0x1e, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x67, 0xbb, 0x64, 0xf5, 0x01, 0x00, 0x00, 186} 187