...

Source file src/cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb/version.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/version.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  	structpb "google.golang.org/protobuf/types/known/structpb"
    31  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // The view, which determines what version information is returned in a
    42  // response.
    43  type VersionView int32
    44  
    45  const (
    46  	// The default / unset value.
    47  	// The API will default to the BASIC view.
    48  	VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0
    49  	// Includes basic information about the version, but not any related tags.
    50  	VersionView_BASIC VersionView = 1
    51  	// Include everything.
    52  	VersionView_FULL VersionView = 2
    53  )
    54  
    55  // Enum value maps for VersionView.
    56  var (
    57  	VersionView_name = map[int32]string{
    58  		0: "VERSION_VIEW_UNSPECIFIED",
    59  		1: "BASIC",
    60  		2: "FULL",
    61  	}
    62  	VersionView_value = map[string]int32{
    63  		"VERSION_VIEW_UNSPECIFIED": 0,
    64  		"BASIC":                    1,
    65  		"FULL":                     2,
    66  	}
    67  )
    68  
    69  func (x VersionView) Enum() *VersionView {
    70  	p := new(VersionView)
    71  	*p = x
    72  	return p
    73  }
    74  
    75  func (x VersionView) String() string {
    76  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    77  }
    78  
    79  func (VersionView) Descriptor() protoreflect.EnumDescriptor {
    80  	return file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes[0].Descriptor()
    81  }
    82  
    83  func (VersionView) Type() protoreflect.EnumType {
    84  	return &file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes[0]
    85  }
    86  
    87  func (x VersionView) Number() protoreflect.EnumNumber {
    88  	return protoreflect.EnumNumber(x)
    89  }
    90  
    91  // Deprecated: Use VersionView.Descriptor instead.
    92  func (VersionView) EnumDescriptor() ([]byte, []int) {
    93  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{0}
    94  }
    95  
    96  // The body of a version resource. A version resource represents a
    97  // collection of components, such as files and other data. This may correspond
    98  // to a version in many package management schemes.
    99  type Version struct {
   100  	state         protoimpl.MessageState
   101  	sizeCache     protoimpl.SizeCache
   102  	unknownFields protoimpl.UnknownFields
   103  
   104  	// The name of the version, for example:
   105  	// "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
   106  	// If the package or version ID parts contain slashes, the slashes are
   107  	// escaped.
   108  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   109  	// Optional. Description of the version, as specified in its metadata.
   110  	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
   111  	// The time when the version was created.
   112  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   113  	// The time when the version was last updated.
   114  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
   115  	// Output only. A list of related tags. Will contain up to 100 tags that
   116  	// reference this version.
   117  	RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"`
   118  	// Output only. Repository-specific Metadata stored against this version.
   119  	// The fields returned are defined by the underlying repository-specific
   120  	// resource. Currently, the only resource in use is
   121  	// [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
   122  	Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
   123  }
   124  
   125  func (x *Version) Reset() {
   126  	*x = Version{}
   127  	if protoimpl.UnsafeEnabled {
   128  		mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[0]
   129  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   130  		ms.StoreMessageInfo(mi)
   131  	}
   132  }
   133  
   134  func (x *Version) String() string {
   135  	return protoimpl.X.MessageStringOf(x)
   136  }
   137  
   138  func (*Version) ProtoMessage() {}
   139  
   140  func (x *Version) ProtoReflect() protoreflect.Message {
   141  	mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[0]
   142  	if protoimpl.UnsafeEnabled && x != nil {
   143  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   144  		if ms.LoadMessageInfo() == nil {
   145  			ms.StoreMessageInfo(mi)
   146  		}
   147  		return ms
   148  	}
   149  	return mi.MessageOf(x)
   150  }
   151  
   152  // Deprecated: Use Version.ProtoReflect.Descriptor instead.
   153  func (*Version) Descriptor() ([]byte, []int) {
   154  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{0}
   155  }
   156  
   157  func (x *Version) GetName() string {
   158  	if x != nil {
   159  		return x.Name
   160  	}
   161  	return ""
   162  }
   163  
   164  func (x *Version) GetDescription() string {
   165  	if x != nil {
   166  		return x.Description
   167  	}
   168  	return ""
   169  }
   170  
   171  func (x *Version) GetCreateTime() *timestamppb.Timestamp {
   172  	if x != nil {
   173  		return x.CreateTime
   174  	}
   175  	return nil
   176  }
   177  
   178  func (x *Version) GetUpdateTime() *timestamppb.Timestamp {
   179  	if x != nil {
   180  		return x.UpdateTime
   181  	}
   182  	return nil
   183  }
   184  
   185  func (x *Version) GetRelatedTags() []*Tag {
   186  	if x != nil {
   187  		return x.RelatedTags
   188  	}
   189  	return nil
   190  }
   191  
   192  func (x *Version) GetMetadata() *structpb.Struct {
   193  	if x != nil {
   194  		return x.Metadata
   195  	}
   196  	return nil
   197  }
   198  
   199  // The request to list versions.
   200  type ListVersionsRequest struct {
   201  	state         protoimpl.MessageState
   202  	sizeCache     protoimpl.SizeCache
   203  	unknownFields protoimpl.UnknownFields
   204  
   205  	// The name of the parent resource whose versions will be listed.
   206  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
   207  	// The maximum number of versions to return. Maximum page size is 1,000.
   208  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
   209  	// The next_page_token value returned from a previous list request, if any.
   210  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
   211  	// The view that should be returned in the response.
   212  	View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"`
   213  	// Optional. The field to order the results by.
   214  	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
   215  }
   216  
   217  func (x *ListVersionsRequest) Reset() {
   218  	*x = ListVersionsRequest{}
   219  	if protoimpl.UnsafeEnabled {
   220  		mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[1]
   221  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   222  		ms.StoreMessageInfo(mi)
   223  	}
   224  }
   225  
   226  func (x *ListVersionsRequest) String() string {
   227  	return protoimpl.X.MessageStringOf(x)
   228  }
   229  
   230  func (*ListVersionsRequest) ProtoMessage() {}
   231  
   232  func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message {
   233  	mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[1]
   234  	if protoimpl.UnsafeEnabled && x != nil {
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		if ms.LoadMessageInfo() == nil {
   237  			ms.StoreMessageInfo(mi)
   238  		}
   239  		return ms
   240  	}
   241  	return mi.MessageOf(x)
   242  }
   243  
   244  // Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
   245  func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
   246  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{1}
   247  }
   248  
   249  func (x *ListVersionsRequest) GetParent() string {
   250  	if x != nil {
   251  		return x.Parent
   252  	}
   253  	return ""
   254  }
   255  
   256  func (x *ListVersionsRequest) GetPageSize() int32 {
   257  	if x != nil {
   258  		return x.PageSize
   259  	}
   260  	return 0
   261  }
   262  
   263  func (x *ListVersionsRequest) GetPageToken() string {
   264  	if x != nil {
   265  		return x.PageToken
   266  	}
   267  	return ""
   268  }
   269  
   270  func (x *ListVersionsRequest) GetView() VersionView {
   271  	if x != nil {
   272  		return x.View
   273  	}
   274  	return VersionView_VERSION_VIEW_UNSPECIFIED
   275  }
   276  
   277  func (x *ListVersionsRequest) GetOrderBy() string {
   278  	if x != nil {
   279  		return x.OrderBy
   280  	}
   281  	return ""
   282  }
   283  
   284  // The response from listing versions.
   285  type ListVersionsResponse struct {
   286  	state         protoimpl.MessageState
   287  	sizeCache     protoimpl.SizeCache
   288  	unknownFields protoimpl.UnknownFields
   289  
   290  	// The versions returned.
   291  	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
   292  	// The token to retrieve the next page of versions, or empty if there are no
   293  	// more versions to return.
   294  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   295  }
   296  
   297  func (x *ListVersionsResponse) Reset() {
   298  	*x = ListVersionsResponse{}
   299  	if protoimpl.UnsafeEnabled {
   300  		mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[2]
   301  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   302  		ms.StoreMessageInfo(mi)
   303  	}
   304  }
   305  
   306  func (x *ListVersionsResponse) String() string {
   307  	return protoimpl.X.MessageStringOf(x)
   308  }
   309  
   310  func (*ListVersionsResponse) ProtoMessage() {}
   311  
   312  func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message {
   313  	mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[2]
   314  	if protoimpl.UnsafeEnabled && x != nil {
   315  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   316  		if ms.LoadMessageInfo() == nil {
   317  			ms.StoreMessageInfo(mi)
   318  		}
   319  		return ms
   320  	}
   321  	return mi.MessageOf(x)
   322  }
   323  
   324  // Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
   325  func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
   326  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{2}
   327  }
   328  
   329  func (x *ListVersionsResponse) GetVersions() []*Version {
   330  	if x != nil {
   331  		return x.Versions
   332  	}
   333  	return nil
   334  }
   335  
   336  func (x *ListVersionsResponse) GetNextPageToken() string {
   337  	if x != nil {
   338  		return x.NextPageToken
   339  	}
   340  	return ""
   341  }
   342  
   343  // The request to retrieve a version.
   344  type GetVersionRequest struct {
   345  	state         protoimpl.MessageState
   346  	sizeCache     protoimpl.SizeCache
   347  	unknownFields protoimpl.UnknownFields
   348  
   349  	// The name of the version to retrieve.
   350  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   351  	// The view that should be returned in the response.
   352  	View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"`
   353  }
   354  
   355  func (x *GetVersionRequest) Reset() {
   356  	*x = GetVersionRequest{}
   357  	if protoimpl.UnsafeEnabled {
   358  		mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[3]
   359  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   360  		ms.StoreMessageInfo(mi)
   361  	}
   362  }
   363  
   364  func (x *GetVersionRequest) String() string {
   365  	return protoimpl.X.MessageStringOf(x)
   366  }
   367  
   368  func (*GetVersionRequest) ProtoMessage() {}
   369  
   370  func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
   371  	mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[3]
   372  	if protoimpl.UnsafeEnabled && x != nil {
   373  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   374  		if ms.LoadMessageInfo() == nil {
   375  			ms.StoreMessageInfo(mi)
   376  		}
   377  		return ms
   378  	}
   379  	return mi.MessageOf(x)
   380  }
   381  
   382  // Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
   383  func (*GetVersionRequest) Descriptor() ([]byte, []int) {
   384  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{3}
   385  }
   386  
   387  func (x *GetVersionRequest) GetName() string {
   388  	if x != nil {
   389  		return x.Name
   390  	}
   391  	return ""
   392  }
   393  
   394  func (x *GetVersionRequest) GetView() VersionView {
   395  	if x != nil {
   396  		return x.View
   397  	}
   398  	return VersionView_VERSION_VIEW_UNSPECIFIED
   399  }
   400  
   401  // The request to delete a version.
   402  type DeleteVersionRequest struct {
   403  	state         protoimpl.MessageState
   404  	sizeCache     protoimpl.SizeCache
   405  	unknownFields protoimpl.UnknownFields
   406  
   407  	// The name of the version to delete.
   408  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   409  	// By default, a version that is tagged may not be deleted. If force=true, the
   410  	// version and any tags pointing to the version are deleted.
   411  	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
   412  }
   413  
   414  func (x *DeleteVersionRequest) Reset() {
   415  	*x = DeleteVersionRequest{}
   416  	if protoimpl.UnsafeEnabled {
   417  		mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[4]
   418  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   419  		ms.StoreMessageInfo(mi)
   420  	}
   421  }
   422  
   423  func (x *DeleteVersionRequest) String() string {
   424  	return protoimpl.X.MessageStringOf(x)
   425  }
   426  
   427  func (*DeleteVersionRequest) ProtoMessage() {}
   428  
   429  func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message {
   430  	mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[4]
   431  	if protoimpl.UnsafeEnabled && x != nil {
   432  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   433  		if ms.LoadMessageInfo() == nil {
   434  			ms.StoreMessageInfo(mi)
   435  		}
   436  		return ms
   437  	}
   438  	return mi.MessageOf(x)
   439  }
   440  
   441  // Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
   442  func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
   443  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{4}
   444  }
   445  
   446  func (x *DeleteVersionRequest) GetName() string {
   447  	if x != nil {
   448  		return x.Name
   449  	}
   450  	return ""
   451  }
   452  
   453  func (x *DeleteVersionRequest) GetForce() bool {
   454  	if x != nil {
   455  		return x.Force
   456  	}
   457  	return false
   458  }
   459  
   460  var File_google_devtools_artifactregistry_v1beta2_version_proto protoreflect.FileDescriptor
   461  
   462  var file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc = []byte{
   463  	0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   464  	0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   465  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69,
   466  	0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   467  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   468  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   469  	0x61, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
   470  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   471  	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
   472  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
   473  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f,
   474  	0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   475  	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f,
   476  	0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   477  	0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   478  	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   479  	0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   480  	0x6f, 0x22, 0xde, 0x03, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
   481  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   482  	0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
   483  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
   484  	0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
   485  	0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   486  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
   487  	0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
   488  	0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   489  	0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   490  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   491  	0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a,
   492  	0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20,
   493  	0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
   494  	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
   495  	0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54,
   496  	0x61, 0x67, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12,
   497  	0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
   498  	0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   499  	0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   500  	0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x96, 0x01, 0xea, 0x41, 0x92, 0x01,
   501  	0x0a, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   502  	0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
   503  	0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   504  	0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
   505  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
   506  	0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f,
   507  	0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x70, 0x61, 0x63,
   508  	0x6b, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x7d, 0x2f,
   509  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
   510  	0x6e, 0x7d, 0x22, 0xd4, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
   511  	0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,
   512  	0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
   513  	0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
   514  	0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
   515  	0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
   516  	0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x49,
   517  	0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67,
   518  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61,
   519  	0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e,
   520  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56,
   521  	0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64,
   522  	0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
   523  	0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x4c, 0x69,
   524  	0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
   525  	0x73, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
   526  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
   527  	0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
   528  	0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
   529  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   530  	0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
   531  	0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
   532  	0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x72, 0x0a, 0x11, 0x47, 0x65, 0x74,
   533  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
   534  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
   535  	0x6d, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
   536  	0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
   537  	0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
   538  	0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x73,
   539  	0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x40, 0x0a,
   540  	0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
   541  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   542  	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72,
   543  	0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x2a,
   544  	0x40, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1c,
   545  	0x0a, 0x18, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55,
   546  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
   547  	0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10,
   548  	0x02, 0x42, 0x90, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   549  	0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
   550  	0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   551  	0x61, 0x32, 0x42, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   552  	0x50, 0x01, 0x5a, 0x55, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   553  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
   554  	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65,
   555  	0x74, 0x61, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
   556  	0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
   557  	0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67,
   558  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
   559  	0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61,
   560  	0x32, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
   561  	0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
   562  	0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
   563  	0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66,
   564  	0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62,
   565  	0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   566  }
   567  
   568  var (
   569  	file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescOnce sync.Once
   570  	file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc
   571  )
   572  
   573  func file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP() []byte {
   574  	file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescOnce.Do(func() {
   575  		file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData)
   576  	})
   577  	return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData
   578  }
   579  
   580  var file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   581  var file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   582  var file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes = []interface{}{
   583  	(VersionView)(0),              // 0: google.devtools.artifactregistry.v1beta2.VersionView
   584  	(*Version)(nil),               // 1: google.devtools.artifactregistry.v1beta2.Version
   585  	(*ListVersionsRequest)(nil),   // 2: google.devtools.artifactregistry.v1beta2.ListVersionsRequest
   586  	(*ListVersionsResponse)(nil),  // 3: google.devtools.artifactregistry.v1beta2.ListVersionsResponse
   587  	(*GetVersionRequest)(nil),     // 4: google.devtools.artifactregistry.v1beta2.GetVersionRequest
   588  	(*DeleteVersionRequest)(nil),  // 5: google.devtools.artifactregistry.v1beta2.DeleteVersionRequest
   589  	(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
   590  	(*Tag)(nil),                   // 7: google.devtools.artifactregistry.v1beta2.Tag
   591  	(*structpb.Struct)(nil),       // 8: google.protobuf.Struct
   592  }
   593  var file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs = []int32{
   594  	6, // 0: google.devtools.artifactregistry.v1beta2.Version.create_time:type_name -> google.protobuf.Timestamp
   595  	6, // 1: google.devtools.artifactregistry.v1beta2.Version.update_time:type_name -> google.protobuf.Timestamp
   596  	7, // 2: google.devtools.artifactregistry.v1beta2.Version.related_tags:type_name -> google.devtools.artifactregistry.v1beta2.Tag
   597  	8, // 3: google.devtools.artifactregistry.v1beta2.Version.metadata:type_name -> google.protobuf.Struct
   598  	0, // 4: google.devtools.artifactregistry.v1beta2.ListVersionsRequest.view:type_name -> google.devtools.artifactregistry.v1beta2.VersionView
   599  	1, // 5: google.devtools.artifactregistry.v1beta2.ListVersionsResponse.versions:type_name -> google.devtools.artifactregistry.v1beta2.Version
   600  	0, // 6: google.devtools.artifactregistry.v1beta2.GetVersionRequest.view:type_name -> google.devtools.artifactregistry.v1beta2.VersionView
   601  	7, // [7:7] is the sub-list for method output_type
   602  	7, // [7:7] is the sub-list for method input_type
   603  	7, // [7:7] is the sub-list for extension type_name
   604  	7, // [7:7] is the sub-list for extension extendee
   605  	0, // [0:7] is the sub-list for field type_name
   606  }
   607  
   608  func init() { file_google_devtools_artifactregistry_v1beta2_version_proto_init() }
   609  func file_google_devtools_artifactregistry_v1beta2_version_proto_init() {
   610  	if File_google_devtools_artifactregistry_v1beta2_version_proto != nil {
   611  		return
   612  	}
   613  	file_google_devtools_artifactregistry_v1beta2_tag_proto_init()
   614  	if !protoimpl.UnsafeEnabled {
   615  		file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   616  			switch v := v.(*Version); i {
   617  			case 0:
   618  				return &v.state
   619  			case 1:
   620  				return &v.sizeCache
   621  			case 2:
   622  				return &v.unknownFields
   623  			default:
   624  				return nil
   625  			}
   626  		}
   627  		file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   628  			switch v := v.(*ListVersionsRequest); i {
   629  			case 0:
   630  				return &v.state
   631  			case 1:
   632  				return &v.sizeCache
   633  			case 2:
   634  				return &v.unknownFields
   635  			default:
   636  				return nil
   637  			}
   638  		}
   639  		file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   640  			switch v := v.(*ListVersionsResponse); i {
   641  			case 0:
   642  				return &v.state
   643  			case 1:
   644  				return &v.sizeCache
   645  			case 2:
   646  				return &v.unknownFields
   647  			default:
   648  				return nil
   649  			}
   650  		}
   651  		file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   652  			switch v := v.(*GetVersionRequest); i {
   653  			case 0:
   654  				return &v.state
   655  			case 1:
   656  				return &v.sizeCache
   657  			case 2:
   658  				return &v.unknownFields
   659  			default:
   660  				return nil
   661  			}
   662  		}
   663  		file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   664  			switch v := v.(*DeleteVersionRequest); i {
   665  			case 0:
   666  				return &v.state
   667  			case 1:
   668  				return &v.sizeCache
   669  			case 2:
   670  				return &v.unknownFields
   671  			default:
   672  				return nil
   673  			}
   674  		}
   675  	}
   676  	type x struct{}
   677  	out := protoimpl.TypeBuilder{
   678  		File: protoimpl.DescBuilder{
   679  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   680  			RawDescriptor: file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc,
   681  			NumEnums:      1,
   682  			NumMessages:   5,
   683  			NumExtensions: 0,
   684  			NumServices:   0,
   685  		},
   686  		GoTypes:           file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes,
   687  		DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs,
   688  		EnumInfos:         file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes,
   689  		MessageInfos:      file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes,
   690  	}.Build()
   691  	File_google_devtools_artifactregistry_v1beta2_version_proto = out.File
   692  	file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc = nil
   693  	file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes = nil
   694  	file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs = nil
   695  }
   696  

View as plain text