...

Source file src/cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb/file.pb.go

Documentation: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb

     1  // Copyright 2023 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.33.0
    18  // 	protoc        v4.25.3
    19  // source: google/devtools/artifactregistry/v1/file.proto
    20  
    21  package artifactregistrypb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // The algorithm used to compute the hash.
    41  type Hash_HashType int32
    42  
    43  const (
    44  	// Unspecified.
    45  	Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0
    46  	// SHA256 hash.
    47  	Hash_SHA256 Hash_HashType = 1
    48  	// MD5 hash.
    49  	Hash_MD5 Hash_HashType = 2
    50  )
    51  
    52  // Enum value maps for Hash_HashType.
    53  var (
    54  	Hash_HashType_name = map[int32]string{
    55  		0: "HASH_TYPE_UNSPECIFIED",
    56  		1: "SHA256",
    57  		2: "MD5",
    58  	}
    59  	Hash_HashType_value = map[string]int32{
    60  		"HASH_TYPE_UNSPECIFIED": 0,
    61  		"SHA256":                1,
    62  		"MD5":                   2,
    63  	}
    64  )
    65  
    66  func (x Hash_HashType) Enum() *Hash_HashType {
    67  	p := new(Hash_HashType)
    68  	*p = x
    69  	return p
    70  }
    71  
    72  func (x Hash_HashType) String() string {
    73  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    74  }
    75  
    76  func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor {
    77  	return file_google_devtools_artifactregistry_v1_file_proto_enumTypes[0].Descriptor()
    78  }
    79  
    80  func (Hash_HashType) Type() protoreflect.EnumType {
    81  	return &file_google_devtools_artifactregistry_v1_file_proto_enumTypes[0]
    82  }
    83  
    84  func (x Hash_HashType) Number() protoreflect.EnumNumber {
    85  	return protoreflect.EnumNumber(x)
    86  }
    87  
    88  // Deprecated: Use Hash_HashType.Descriptor instead.
    89  func (Hash_HashType) EnumDescriptor() ([]byte, []int) {
    90  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{0, 0}
    91  }
    92  
    93  // A hash of file content.
    94  type Hash struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	// The algorithm used to compute the hash value.
   100  	Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.artifactregistry.v1.Hash_HashType" json:"type,omitempty"`
   101  	// The hash value.
   102  	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   103  }
   104  
   105  func (x *Hash) Reset() {
   106  	*x = Hash{}
   107  	if protoimpl.UnsafeEnabled {
   108  		mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[0]
   109  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   110  		ms.StoreMessageInfo(mi)
   111  	}
   112  }
   113  
   114  func (x *Hash) String() string {
   115  	return protoimpl.X.MessageStringOf(x)
   116  }
   117  
   118  func (*Hash) ProtoMessage() {}
   119  
   120  func (x *Hash) ProtoReflect() protoreflect.Message {
   121  	mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[0]
   122  	if protoimpl.UnsafeEnabled && x != nil {
   123  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   124  		if ms.LoadMessageInfo() == nil {
   125  			ms.StoreMessageInfo(mi)
   126  		}
   127  		return ms
   128  	}
   129  	return mi.MessageOf(x)
   130  }
   131  
   132  // Deprecated: Use Hash.ProtoReflect.Descriptor instead.
   133  func (*Hash) Descriptor() ([]byte, []int) {
   134  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{0}
   135  }
   136  
   137  func (x *Hash) GetType() Hash_HashType {
   138  	if x != nil {
   139  		return x.Type
   140  	}
   141  	return Hash_HASH_TYPE_UNSPECIFIED
   142  }
   143  
   144  func (x *Hash) GetValue() []byte {
   145  	if x != nil {
   146  		return x.Value
   147  	}
   148  	return nil
   149  }
   150  
   151  // Files store content that is potentially associated with Packages or Versions.
   152  type File struct {
   153  	state         protoimpl.MessageState
   154  	sizeCache     protoimpl.SizeCache
   155  	unknownFields protoimpl.UnknownFields
   156  
   157  	// The name of the file, for example:
   158  	// "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
   159  	// If the file ID part contains slashes, they are escaped.
   160  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   161  	// The size of the File in bytes.
   162  	SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
   163  	// The hashes of the file content.
   164  	Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"`
   165  	// Output only. The time when the File was created.
   166  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   167  	// Output only. The time when the File was last updated.
   168  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
   169  	// The name of the Package or Version that owns this file, if any.
   170  	Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
   171  	// Output only. The time when the last attempt to refresh the file's data was
   172  	// made. Only set when the repository is remote.
   173  	FetchTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=fetch_time,json=fetchTime,proto3" json:"fetch_time,omitempty"`
   174  }
   175  
   176  func (x *File) Reset() {
   177  	*x = File{}
   178  	if protoimpl.UnsafeEnabled {
   179  		mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[1]
   180  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   181  		ms.StoreMessageInfo(mi)
   182  	}
   183  }
   184  
   185  func (x *File) String() string {
   186  	return protoimpl.X.MessageStringOf(x)
   187  }
   188  
   189  func (*File) ProtoMessage() {}
   190  
   191  func (x *File) ProtoReflect() protoreflect.Message {
   192  	mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[1]
   193  	if protoimpl.UnsafeEnabled && x != nil {
   194  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   195  		if ms.LoadMessageInfo() == nil {
   196  			ms.StoreMessageInfo(mi)
   197  		}
   198  		return ms
   199  	}
   200  	return mi.MessageOf(x)
   201  }
   202  
   203  // Deprecated: Use File.ProtoReflect.Descriptor instead.
   204  func (*File) Descriptor() ([]byte, []int) {
   205  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{1}
   206  }
   207  
   208  func (x *File) GetName() string {
   209  	if x != nil {
   210  		return x.Name
   211  	}
   212  	return ""
   213  }
   214  
   215  func (x *File) GetSizeBytes() int64 {
   216  	if x != nil {
   217  		return x.SizeBytes
   218  	}
   219  	return 0
   220  }
   221  
   222  func (x *File) GetHashes() []*Hash {
   223  	if x != nil {
   224  		return x.Hashes
   225  	}
   226  	return nil
   227  }
   228  
   229  func (x *File) GetCreateTime() *timestamppb.Timestamp {
   230  	if x != nil {
   231  		return x.CreateTime
   232  	}
   233  	return nil
   234  }
   235  
   236  func (x *File) GetUpdateTime() *timestamppb.Timestamp {
   237  	if x != nil {
   238  		return x.UpdateTime
   239  	}
   240  	return nil
   241  }
   242  
   243  func (x *File) GetOwner() string {
   244  	if x != nil {
   245  		return x.Owner
   246  	}
   247  	return ""
   248  }
   249  
   250  func (x *File) GetFetchTime() *timestamppb.Timestamp {
   251  	if x != nil {
   252  		return x.FetchTime
   253  	}
   254  	return nil
   255  }
   256  
   257  // The request to list files.
   258  type ListFilesRequest struct {
   259  	state         protoimpl.MessageState
   260  	sizeCache     protoimpl.SizeCache
   261  	unknownFields protoimpl.UnknownFields
   262  
   263  	// Required. The name of the repository whose files will be listed. For
   264  	// example: "projects/p1/locations/us-central1/repositories/repo1
   265  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   266  	// An expression for filtering the results of the request. Filter rules are
   267  	// case insensitive. The fields eligible for filtering are:
   268  	//
   269  	//   - `name`
   270  	//
   271  	//   - `owner`
   272  	//
   273  	//     An example of using a filter:
   274  	//
   275  	//   - `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
   276  	//     ID starting with "a/b/".
   277  	//
   278  	//   - `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
   279  	//     Files owned by the version `1.0` in package `pkg1`.
   280  	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
   281  	// The maximum number of files to return.
   282  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   283  	// The next_page_token value returned from a previous list request, if any.
   284  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   285  	// The field to order the results by.
   286  	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
   287  }
   288  
   289  func (x *ListFilesRequest) Reset() {
   290  	*x = ListFilesRequest{}
   291  	if protoimpl.UnsafeEnabled {
   292  		mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[2]
   293  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   294  		ms.StoreMessageInfo(mi)
   295  	}
   296  }
   297  
   298  func (x *ListFilesRequest) String() string {
   299  	return protoimpl.X.MessageStringOf(x)
   300  }
   301  
   302  func (*ListFilesRequest) ProtoMessage() {}
   303  
   304  func (x *ListFilesRequest) ProtoReflect() protoreflect.Message {
   305  	mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[2]
   306  	if protoimpl.UnsafeEnabled && x != nil {
   307  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   308  		if ms.LoadMessageInfo() == nil {
   309  			ms.StoreMessageInfo(mi)
   310  		}
   311  		return ms
   312  	}
   313  	return mi.MessageOf(x)
   314  }
   315  
   316  // Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
   317  func (*ListFilesRequest) Descriptor() ([]byte, []int) {
   318  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{2}
   319  }
   320  
   321  func (x *ListFilesRequest) GetParent() string {
   322  	if x != nil {
   323  		return x.Parent
   324  	}
   325  	return ""
   326  }
   327  
   328  func (x *ListFilesRequest) GetFilter() string {
   329  	if x != nil {
   330  		return x.Filter
   331  	}
   332  	return ""
   333  }
   334  
   335  func (x *ListFilesRequest) GetPageSize() int32 {
   336  	if x != nil {
   337  		return x.PageSize
   338  	}
   339  	return 0
   340  }
   341  
   342  func (x *ListFilesRequest) GetPageToken() string {
   343  	if x != nil {
   344  		return x.PageToken
   345  	}
   346  	return ""
   347  }
   348  
   349  func (x *ListFilesRequest) GetOrderBy() string {
   350  	if x != nil {
   351  		return x.OrderBy
   352  	}
   353  	return ""
   354  }
   355  
   356  // The response from listing files.
   357  type ListFilesResponse struct {
   358  	state         protoimpl.MessageState
   359  	sizeCache     protoimpl.SizeCache
   360  	unknownFields protoimpl.UnknownFields
   361  
   362  	// The files returned.
   363  	Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
   364  	// The token to retrieve the next page of files, or empty if there are no
   365  	// more files to return.
   366  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   367  }
   368  
   369  func (x *ListFilesResponse) Reset() {
   370  	*x = ListFilesResponse{}
   371  	if protoimpl.UnsafeEnabled {
   372  		mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[3]
   373  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   374  		ms.StoreMessageInfo(mi)
   375  	}
   376  }
   377  
   378  func (x *ListFilesResponse) String() string {
   379  	return protoimpl.X.MessageStringOf(x)
   380  }
   381  
   382  func (*ListFilesResponse) ProtoMessage() {}
   383  
   384  func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
   385  	mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[3]
   386  	if protoimpl.UnsafeEnabled && x != nil {
   387  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   388  		if ms.LoadMessageInfo() == nil {
   389  			ms.StoreMessageInfo(mi)
   390  		}
   391  		return ms
   392  	}
   393  	return mi.MessageOf(x)
   394  }
   395  
   396  // Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
   397  func (*ListFilesResponse) Descriptor() ([]byte, []int) {
   398  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{3}
   399  }
   400  
   401  func (x *ListFilesResponse) GetFiles() []*File {
   402  	if x != nil {
   403  		return x.Files
   404  	}
   405  	return nil
   406  }
   407  
   408  func (x *ListFilesResponse) GetNextPageToken() string {
   409  	if x != nil {
   410  		return x.NextPageToken
   411  	}
   412  	return ""
   413  }
   414  
   415  // The request to retrieve a file.
   416  type GetFileRequest struct {
   417  	state         protoimpl.MessageState
   418  	sizeCache     protoimpl.SizeCache
   419  	unknownFields protoimpl.UnknownFields
   420  
   421  	// Required. The name of the file to retrieve.
   422  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   423  }
   424  
   425  func (x *GetFileRequest) Reset() {
   426  	*x = GetFileRequest{}
   427  	if protoimpl.UnsafeEnabled {
   428  		mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[4]
   429  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   430  		ms.StoreMessageInfo(mi)
   431  	}
   432  }
   433  
   434  func (x *GetFileRequest) String() string {
   435  	return protoimpl.X.MessageStringOf(x)
   436  }
   437  
   438  func (*GetFileRequest) ProtoMessage() {}
   439  
   440  func (x *GetFileRequest) ProtoReflect() protoreflect.Message {
   441  	mi := &file_google_devtools_artifactregistry_v1_file_proto_msgTypes[4]
   442  	if protoimpl.UnsafeEnabled && x != nil {
   443  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   444  		if ms.LoadMessageInfo() == nil {
   445  			ms.StoreMessageInfo(mi)
   446  		}
   447  		return ms
   448  	}
   449  	return mi.MessageOf(x)
   450  }
   451  
   452  // Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
   453  func (*GetFileRequest) Descriptor() ([]byte, []int) {
   454  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP(), []int{4}
   455  }
   456  
   457  func (x *GetFileRequest) GetName() string {
   458  	if x != nil {
   459  		return x.Name
   460  	}
   461  	return ""
   462  }
   463  
   464  var File_google_devtools_artifactregistry_v1_file_proto protoreflect.FileDescriptor
   465  
   466  var file_google_devtools_artifactregistry_v1_file_proto_rawDesc = []byte{
   467  	0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   468  	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   469  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   470  	0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   471  	0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   472  	0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
   473  	0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
   474  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
   475  	0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   476  	0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   477  	0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
   478  	0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x46, 0x0a, 0x04, 0x74,
   479  	0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   480  	0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69,
   481  	0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e,
   482  	0x48, 0x61, 0x73, 0x68, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
   483  	0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
   484  	0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x0a, 0x08, 0x48, 0x61, 0x73,
   485  	0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x54, 0x59,
   486  	0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
   487  	0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03,
   488  	0x4d, 0x44, 0x35, 0x10, 0x02, 0x22, 0xd1, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12,
   489  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
   490  	0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
   491  	0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65,
   492  	0x73, 0x12, 0x41, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
   493  	0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
   494  	0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
   495  	0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x68, 0x61,
   496  	0x73, 0x68, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
   497  	0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   498  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   499  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
   500  	0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
   501  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   502  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
   503  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70,
   504  	0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65,
   505  	0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3e,
   506  	0x0a, 0x0a, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
   507  	0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   508  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
   509  	0xe0, 0x41, 0x03, 0x52, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x79,
   510  	0xea, 0x41, 0x76, 0x0a, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
   511  	0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   512  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4e, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   513  	0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
   514  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
   515  	0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f,
   516  	0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x66, 0x69, 0x6c,
   517  	0x65, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6c, 0x65, 0x7d, 0x22, 0xc7, 0x01, 0x0a, 0x10, 0x4c, 0x69,
   518  	0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44,
   519  	0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c,
   520  	0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x12, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   521  	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   522  	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x06, 0x70, 0x61,
   523  	0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04,
   524  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09,
   525  	0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
   526  	0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67,
   527  	0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
   528  	0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65,
   529  	0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65,
   530  	0x72, 0x42, 0x79, 0x22, 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73,
   531  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65,
   532  	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   533  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   534  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69,
   535  	0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
   536  	0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
   537  	0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
   538  	0x6e, 0x22, 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
   539  	0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   540  	0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66,
   541  	0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   542  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x52,
   543  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xf4, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   544  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72,
   545  	0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76,
   546  	0x31, 0x42, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50,
   547  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
   548  	0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
   549  	0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66,
   550  	0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72,
   551  	0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62,
   552  	0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   553  	0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   554  	0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
   555  	0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73,
   556  	0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
   557  	0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   558  	0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
   559  	0x6f, 0x74, 0x6f, 0x33,
   560  }
   561  
   562  var (
   563  	file_google_devtools_artifactregistry_v1_file_proto_rawDescOnce sync.Once
   564  	file_google_devtools_artifactregistry_v1_file_proto_rawDescData = file_google_devtools_artifactregistry_v1_file_proto_rawDesc
   565  )
   566  
   567  func file_google_devtools_artifactregistry_v1_file_proto_rawDescGZIP() []byte {
   568  	file_google_devtools_artifactregistry_v1_file_proto_rawDescOnce.Do(func() {
   569  		file_google_devtools_artifactregistry_v1_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_file_proto_rawDescData)
   570  	})
   571  	return file_google_devtools_artifactregistry_v1_file_proto_rawDescData
   572  }
   573  
   574  var file_google_devtools_artifactregistry_v1_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   575  var file_google_devtools_artifactregistry_v1_file_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   576  var file_google_devtools_artifactregistry_v1_file_proto_goTypes = []interface{}{
   577  	(Hash_HashType)(0),            // 0: google.devtools.artifactregistry.v1.Hash.HashType
   578  	(*Hash)(nil),                  // 1: google.devtools.artifactregistry.v1.Hash
   579  	(*File)(nil),                  // 2: google.devtools.artifactregistry.v1.File
   580  	(*ListFilesRequest)(nil),      // 3: google.devtools.artifactregistry.v1.ListFilesRequest
   581  	(*ListFilesResponse)(nil),     // 4: google.devtools.artifactregistry.v1.ListFilesResponse
   582  	(*GetFileRequest)(nil),        // 5: google.devtools.artifactregistry.v1.GetFileRequest
   583  	(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
   584  }
   585  var file_google_devtools_artifactregistry_v1_file_proto_depIdxs = []int32{
   586  	0, // 0: google.devtools.artifactregistry.v1.Hash.type:type_name -> google.devtools.artifactregistry.v1.Hash.HashType
   587  	1, // 1: google.devtools.artifactregistry.v1.File.hashes:type_name -> google.devtools.artifactregistry.v1.Hash
   588  	6, // 2: google.devtools.artifactregistry.v1.File.create_time:type_name -> google.protobuf.Timestamp
   589  	6, // 3: google.devtools.artifactregistry.v1.File.update_time:type_name -> google.protobuf.Timestamp
   590  	6, // 4: google.devtools.artifactregistry.v1.File.fetch_time:type_name -> google.protobuf.Timestamp
   591  	2, // 5: google.devtools.artifactregistry.v1.ListFilesResponse.files:type_name -> google.devtools.artifactregistry.v1.File
   592  	6, // [6:6] is the sub-list for method output_type
   593  	6, // [6:6] is the sub-list for method input_type
   594  	6, // [6:6] is the sub-list for extension type_name
   595  	6, // [6:6] is the sub-list for extension extendee
   596  	0, // [0:6] is the sub-list for field type_name
   597  }
   598  
   599  func init() { file_google_devtools_artifactregistry_v1_file_proto_init() }
   600  func file_google_devtools_artifactregistry_v1_file_proto_init() {
   601  	if File_google_devtools_artifactregistry_v1_file_proto != nil {
   602  		return
   603  	}
   604  	if !protoimpl.UnsafeEnabled {
   605  		file_google_devtools_artifactregistry_v1_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   606  			switch v := v.(*Hash); i {
   607  			case 0:
   608  				return &v.state
   609  			case 1:
   610  				return &v.sizeCache
   611  			case 2:
   612  				return &v.unknownFields
   613  			default:
   614  				return nil
   615  			}
   616  		}
   617  		file_google_devtools_artifactregistry_v1_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   618  			switch v := v.(*File); i {
   619  			case 0:
   620  				return &v.state
   621  			case 1:
   622  				return &v.sizeCache
   623  			case 2:
   624  				return &v.unknownFields
   625  			default:
   626  				return nil
   627  			}
   628  		}
   629  		file_google_devtools_artifactregistry_v1_file_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   630  			switch v := v.(*ListFilesRequest); i {
   631  			case 0:
   632  				return &v.state
   633  			case 1:
   634  				return &v.sizeCache
   635  			case 2:
   636  				return &v.unknownFields
   637  			default:
   638  				return nil
   639  			}
   640  		}
   641  		file_google_devtools_artifactregistry_v1_file_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   642  			switch v := v.(*ListFilesResponse); i {
   643  			case 0:
   644  				return &v.state
   645  			case 1:
   646  				return &v.sizeCache
   647  			case 2:
   648  				return &v.unknownFields
   649  			default:
   650  				return nil
   651  			}
   652  		}
   653  		file_google_devtools_artifactregistry_v1_file_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   654  			switch v := v.(*GetFileRequest); i {
   655  			case 0:
   656  				return &v.state
   657  			case 1:
   658  				return &v.sizeCache
   659  			case 2:
   660  				return &v.unknownFields
   661  			default:
   662  				return nil
   663  			}
   664  		}
   665  	}
   666  	type x struct{}
   667  	out := protoimpl.TypeBuilder{
   668  		File: protoimpl.DescBuilder{
   669  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   670  			RawDescriptor: file_google_devtools_artifactregistry_v1_file_proto_rawDesc,
   671  			NumEnums:      1,
   672  			NumMessages:   5,
   673  			NumExtensions: 0,
   674  			NumServices:   0,
   675  		},
   676  		GoTypes:           file_google_devtools_artifactregistry_v1_file_proto_goTypes,
   677  		DependencyIndexes: file_google_devtools_artifactregistry_v1_file_proto_depIdxs,
   678  		EnumInfos:         file_google_devtools_artifactregistry_v1_file_proto_enumTypes,
   679  		MessageInfos:      file_google_devtools_artifactregistry_v1_file_proto_msgTypes,
   680  	}.Build()
   681  	File_google_devtools_artifactregistry_v1_file_proto = out.File
   682  	file_google_devtools_artifactregistry_v1_file_proto_rawDesc = nil
   683  	file_google_devtools_artifactregistry_v1_file_proto_goTypes = nil
   684  	file_google_devtools_artifactregistry_v1_file_proto_depIdxs = nil
   685  }
   686  

View as plain text