...

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

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

     1  // Copyright 2020 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/v1beta2/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_v1beta2_file_proto_enumTypes[0].Descriptor()
    78  }
    79  
    80  func (Hash_HashType) Type() protoreflect.EnumType {
    81  	return &file_google_devtools_artifactregistry_v1beta2_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_v1beta2_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.v1beta2.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_v1beta2_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_v1beta2_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_v1beta2_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  	// 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  	// 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  }
   172  
   173  func (x *File) Reset() {
   174  	*x = File{}
   175  	if protoimpl.UnsafeEnabled {
   176  		mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[1]
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		ms.StoreMessageInfo(mi)
   179  	}
   180  }
   181  
   182  func (x *File) String() string {
   183  	return protoimpl.X.MessageStringOf(x)
   184  }
   185  
   186  func (*File) ProtoMessage() {}
   187  
   188  func (x *File) ProtoReflect() protoreflect.Message {
   189  	mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[1]
   190  	if protoimpl.UnsafeEnabled && x != nil {
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		if ms.LoadMessageInfo() == nil {
   193  			ms.StoreMessageInfo(mi)
   194  		}
   195  		return ms
   196  	}
   197  	return mi.MessageOf(x)
   198  }
   199  
   200  // Deprecated: Use File.ProtoReflect.Descriptor instead.
   201  func (*File) Descriptor() ([]byte, []int) {
   202  	return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{1}
   203  }
   204  
   205  func (x *File) GetName() string {
   206  	if x != nil {
   207  		return x.Name
   208  	}
   209  	return ""
   210  }
   211  
   212  func (x *File) GetSizeBytes() int64 {
   213  	if x != nil {
   214  		return x.SizeBytes
   215  	}
   216  	return 0
   217  }
   218  
   219  func (x *File) GetHashes() []*Hash {
   220  	if x != nil {
   221  		return x.Hashes
   222  	}
   223  	return nil
   224  }
   225  
   226  func (x *File) GetCreateTime() *timestamppb.Timestamp {
   227  	if x != nil {
   228  		return x.CreateTime
   229  	}
   230  	return nil
   231  }
   232  
   233  func (x *File) GetUpdateTime() *timestamppb.Timestamp {
   234  	if x != nil {
   235  		return x.UpdateTime
   236  	}
   237  	return nil
   238  }
   239  
   240  func (x *File) GetOwner() string {
   241  	if x != nil {
   242  		return x.Owner
   243  	}
   244  	return ""
   245  }
   246  
   247  // The request to list files.
   248  type ListFilesRequest struct {
   249  	state         protoimpl.MessageState
   250  	sizeCache     protoimpl.SizeCache
   251  	unknownFields protoimpl.UnknownFields
   252  
   253  	// The name of the repository whose files will be listed. For example:
   254  	// "projects/p1/locations/us-central1/repositories/repo1
   255  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   256  	// An expression for filtering the results of the request. Filter rules are
   257  	// case insensitive. The fields eligible for filtering are:
   258  	//
   259  	//   - `name`
   260  	//
   261  	//   - `owner`
   262  	//
   263  	//     An example of using a filter:
   264  	//
   265  	//   - `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
   266  	//     ID starting with "a/b/".
   267  	//
   268  	//   - `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
   269  	//     Files owned by the version `1.0` in package `pkg1`.
   270  	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
   271  	// The maximum number of files to return.
   272  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   273  	// The next_page_token value returned from a previous list request, if any.
   274  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   275  }
   276  
   277  func (x *ListFilesRequest) Reset() {
   278  	*x = ListFilesRequest{}
   279  	if protoimpl.UnsafeEnabled {
   280  		mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[2]
   281  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   282  		ms.StoreMessageInfo(mi)
   283  	}
   284  }
   285  
   286  func (x *ListFilesRequest) String() string {
   287  	return protoimpl.X.MessageStringOf(x)
   288  }
   289  
   290  func (*ListFilesRequest) ProtoMessage() {}
   291  
   292  func (x *ListFilesRequest) ProtoReflect() protoreflect.Message {
   293  	mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[2]
   294  	if protoimpl.UnsafeEnabled && x != nil {
   295  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   296  		if ms.LoadMessageInfo() == nil {
   297  			ms.StoreMessageInfo(mi)
   298  		}
   299  		return ms
   300  	}
   301  	return mi.MessageOf(x)
   302  }
   303  
   304  // Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
   305  func (*ListFilesRequest) Descriptor() ([]byte, []int) {
   306  	return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{2}
   307  }
   308  
   309  func (x *ListFilesRequest) GetParent() string {
   310  	if x != nil {
   311  		return x.Parent
   312  	}
   313  	return ""
   314  }
   315  
   316  func (x *ListFilesRequest) GetFilter() string {
   317  	if x != nil {
   318  		return x.Filter
   319  	}
   320  	return ""
   321  }
   322  
   323  func (x *ListFilesRequest) GetPageSize() int32 {
   324  	if x != nil {
   325  		return x.PageSize
   326  	}
   327  	return 0
   328  }
   329  
   330  func (x *ListFilesRequest) GetPageToken() string {
   331  	if x != nil {
   332  		return x.PageToken
   333  	}
   334  	return ""
   335  }
   336  
   337  // The response from listing files.
   338  type ListFilesResponse struct {
   339  	state         protoimpl.MessageState
   340  	sizeCache     protoimpl.SizeCache
   341  	unknownFields protoimpl.UnknownFields
   342  
   343  	// The files returned.
   344  	Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
   345  	// The token to retrieve the next page of files, or empty if there are no
   346  	// more files to return.
   347  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   348  }
   349  
   350  func (x *ListFilesResponse) Reset() {
   351  	*x = ListFilesResponse{}
   352  	if protoimpl.UnsafeEnabled {
   353  		mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[3]
   354  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   355  		ms.StoreMessageInfo(mi)
   356  	}
   357  }
   358  
   359  func (x *ListFilesResponse) String() string {
   360  	return protoimpl.X.MessageStringOf(x)
   361  }
   362  
   363  func (*ListFilesResponse) ProtoMessage() {}
   364  
   365  func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
   366  	mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[3]
   367  	if protoimpl.UnsafeEnabled && x != nil {
   368  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   369  		if ms.LoadMessageInfo() == nil {
   370  			ms.StoreMessageInfo(mi)
   371  		}
   372  		return ms
   373  	}
   374  	return mi.MessageOf(x)
   375  }
   376  
   377  // Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
   378  func (*ListFilesResponse) Descriptor() ([]byte, []int) {
   379  	return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{3}
   380  }
   381  
   382  func (x *ListFilesResponse) GetFiles() []*File {
   383  	if x != nil {
   384  		return x.Files
   385  	}
   386  	return nil
   387  }
   388  
   389  func (x *ListFilesResponse) GetNextPageToken() string {
   390  	if x != nil {
   391  		return x.NextPageToken
   392  	}
   393  	return ""
   394  }
   395  
   396  // The request to retrieve a file.
   397  type GetFileRequest struct {
   398  	state         protoimpl.MessageState
   399  	sizeCache     protoimpl.SizeCache
   400  	unknownFields protoimpl.UnknownFields
   401  
   402  	// The name of the file to retrieve.
   403  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   404  }
   405  
   406  func (x *GetFileRequest) Reset() {
   407  	*x = GetFileRequest{}
   408  	if protoimpl.UnsafeEnabled {
   409  		mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[4]
   410  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   411  		ms.StoreMessageInfo(mi)
   412  	}
   413  }
   414  
   415  func (x *GetFileRequest) String() string {
   416  	return protoimpl.X.MessageStringOf(x)
   417  }
   418  
   419  func (*GetFileRequest) ProtoMessage() {}
   420  
   421  func (x *GetFileRequest) ProtoReflect() protoreflect.Message {
   422  	mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[4]
   423  	if protoimpl.UnsafeEnabled && x != nil {
   424  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   425  		if ms.LoadMessageInfo() == nil {
   426  			ms.StoreMessageInfo(mi)
   427  		}
   428  		return ms
   429  	}
   430  	return mi.MessageOf(x)
   431  }
   432  
   433  // Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
   434  func (*GetFileRequest) Descriptor() ([]byte, []int) {
   435  	return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{4}
   436  }
   437  
   438  func (x *GetFileRequest) GetName() string {
   439  	if x != nil {
   440  		return x.Name
   441  	}
   442  	return ""
   443  }
   444  
   445  var File_google_devtools_artifactregistry_v1beta2_file_proto protoreflect.FileDescriptor
   446  
   447  var file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc = []byte{
   448  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   449  	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   450  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e,
   451  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
   452  	0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
   453  	0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a,
   454  	0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
   455  	0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   456  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
   457  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x04,
   458  	0x48, 0x61, 0x73, 0x68, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
   459  	0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
   460  	0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
   461  	0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x48, 0x61,
   462  	0x73, 0x68, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
   463  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
   464  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x54,
   465  	0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45,
   466  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a,
   467  	0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x44,
   468  	0x35, 0x10, 0x02, 0x22, 0x8c, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
   469  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   470  	0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03,
   471  	0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
   472  	0x46, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
   473  	0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   474  	0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   475  	0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52,
   476  	0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
   477  	0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
   478  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
   479  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
   480  	0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
   481  	0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   482  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   483  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
   484  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
   485  	0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 0x24, 0x61, 0x72,
   486  	0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67,
   487  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69,
   488  	0x6c, 0x65, 0x12, 0x4e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
   489  	0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   490  	0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f,
   491  	0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
   492  	0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6c,
   493  	0x65, 0x7d, 0x22, 0x7e, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52,
   494  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
   495  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16,
   496  	0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
   497  	0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
   498  	0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
   499  	0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
   500  	0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
   501  	0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73,
   502  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65,
   503  	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   504  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   505  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   506  	0x61, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x26,
   507  	0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
   508  	0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,
   509  	0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c,
   510  	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   511  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x8d, 0x02, 0x0a,
   512  	0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
   513  	0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
   514  	0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x09, 0x46,
   515  	0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x63, 0x6c, 0x6f, 0x75,
   516  	0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
   517  	0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   518  	0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69,
   519  	0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61,
   520  	0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70,
   521  	0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
   522  	0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
   523  	0x79, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67,
   524  	0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
   525  	0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
   526  	0x32, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
   527  	0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73,
   528  	0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72,
   529  	0x6f, 0x74, 0x6f, 0x33,
   530  }
   531  
   532  var (
   533  	file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescOnce sync.Once
   534  	file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc
   535  )
   536  
   537  func file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP() []byte {
   538  	file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescOnce.Do(func() {
   539  		file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData)
   540  	})
   541  	return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData
   542  }
   543  
   544  var file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   545  var file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   546  var file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes = []interface{}{
   547  	(Hash_HashType)(0),            // 0: google.devtools.artifactregistry.v1beta2.Hash.HashType
   548  	(*Hash)(nil),                  // 1: google.devtools.artifactregistry.v1beta2.Hash
   549  	(*File)(nil),                  // 2: google.devtools.artifactregistry.v1beta2.File
   550  	(*ListFilesRequest)(nil),      // 3: google.devtools.artifactregistry.v1beta2.ListFilesRequest
   551  	(*ListFilesResponse)(nil),     // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse
   552  	(*GetFileRequest)(nil),        // 5: google.devtools.artifactregistry.v1beta2.GetFileRequest
   553  	(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
   554  }
   555  var file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs = []int32{
   556  	0, // 0: google.devtools.artifactregistry.v1beta2.Hash.type:type_name -> google.devtools.artifactregistry.v1beta2.Hash.HashType
   557  	1, // 1: google.devtools.artifactregistry.v1beta2.File.hashes:type_name -> google.devtools.artifactregistry.v1beta2.Hash
   558  	6, // 2: google.devtools.artifactregistry.v1beta2.File.create_time:type_name -> google.protobuf.Timestamp
   559  	6, // 3: google.devtools.artifactregistry.v1beta2.File.update_time:type_name -> google.protobuf.Timestamp
   560  	2, // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse.files:type_name -> google.devtools.artifactregistry.v1beta2.File
   561  	5, // [5:5] is the sub-list for method output_type
   562  	5, // [5:5] is the sub-list for method input_type
   563  	5, // [5:5] is the sub-list for extension type_name
   564  	5, // [5:5] is the sub-list for extension extendee
   565  	0, // [0:5] is the sub-list for field type_name
   566  }
   567  
   568  func init() { file_google_devtools_artifactregistry_v1beta2_file_proto_init() }
   569  func file_google_devtools_artifactregistry_v1beta2_file_proto_init() {
   570  	if File_google_devtools_artifactregistry_v1beta2_file_proto != nil {
   571  		return
   572  	}
   573  	if !protoimpl.UnsafeEnabled {
   574  		file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   575  			switch v := v.(*Hash); i {
   576  			case 0:
   577  				return &v.state
   578  			case 1:
   579  				return &v.sizeCache
   580  			case 2:
   581  				return &v.unknownFields
   582  			default:
   583  				return nil
   584  			}
   585  		}
   586  		file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   587  			switch v := v.(*File); i {
   588  			case 0:
   589  				return &v.state
   590  			case 1:
   591  				return &v.sizeCache
   592  			case 2:
   593  				return &v.unknownFields
   594  			default:
   595  				return nil
   596  			}
   597  		}
   598  		file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   599  			switch v := v.(*ListFilesRequest); i {
   600  			case 0:
   601  				return &v.state
   602  			case 1:
   603  				return &v.sizeCache
   604  			case 2:
   605  				return &v.unknownFields
   606  			default:
   607  				return nil
   608  			}
   609  		}
   610  		file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   611  			switch v := v.(*ListFilesResponse); i {
   612  			case 0:
   613  				return &v.state
   614  			case 1:
   615  				return &v.sizeCache
   616  			case 2:
   617  				return &v.unknownFields
   618  			default:
   619  				return nil
   620  			}
   621  		}
   622  		file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   623  			switch v := v.(*GetFileRequest); i {
   624  			case 0:
   625  				return &v.state
   626  			case 1:
   627  				return &v.sizeCache
   628  			case 2:
   629  				return &v.unknownFields
   630  			default:
   631  				return nil
   632  			}
   633  		}
   634  	}
   635  	type x struct{}
   636  	out := protoimpl.TypeBuilder{
   637  		File: protoimpl.DescBuilder{
   638  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   639  			RawDescriptor: file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc,
   640  			NumEnums:      1,
   641  			NumMessages:   5,
   642  			NumExtensions: 0,
   643  			NumServices:   0,
   644  		},
   645  		GoTypes:           file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes,
   646  		DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs,
   647  		EnumInfos:         file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes,
   648  		MessageInfos:      file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes,
   649  	}.Build()
   650  	File_google_devtools_artifactregistry_v1beta2_file_proto = out.File
   651  	file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc = nil
   652  	file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes = nil
   653  	file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs = nil
   654  }
   655  

View as plain text