go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/deploy/api/rpcpb/assets.pb.go (about)

     1  // Copyright 2022 The LUCI Authors.
     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.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/deploy/api/rpcpb/assets.proto
    20  
    21  package rpcpb
    22  
    23  import (
    24  	modelpb "go.chromium.org/luci/deploy/api/modelpb"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // GetAssetRequest specifies what asset to fetch.
    39  type GetAssetRequest struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
    45  }
    46  
    47  func (x *GetAssetRequest) Reset() {
    48  	*x = GetAssetRequest{}
    49  	if protoimpl.UnsafeEnabled {
    50  		mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[0]
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		ms.StoreMessageInfo(mi)
    53  	}
    54  }
    55  
    56  func (x *GetAssetRequest) String() string {
    57  	return protoimpl.X.MessageStringOf(x)
    58  }
    59  
    60  func (*GetAssetRequest) ProtoMessage() {}
    61  
    62  func (x *GetAssetRequest) ProtoReflect() protoreflect.Message {
    63  	mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[0]
    64  	if protoimpl.UnsafeEnabled && x != nil {
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		if ms.LoadMessageInfo() == nil {
    67  			ms.StoreMessageInfo(mi)
    68  		}
    69  		return ms
    70  	}
    71  	return mi.MessageOf(x)
    72  }
    73  
    74  // Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.
    75  func (*GetAssetRequest) Descriptor() ([]byte, []int) {
    76  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP(), []int{0}
    77  }
    78  
    79  func (x *GetAssetRequest) GetAssetId() string {
    80  	if x != nil {
    81  		return x.AssetId
    82  	}
    83  	return ""
    84  }
    85  
    86  // ListAssetsRequest specifies what assets to list.
    87  //
    88  // Empty request means to list all available assets.
    89  type ListAssetsRequest struct {
    90  	state         protoimpl.MessageState
    91  	sizeCache     protoimpl.SizeCache
    92  	unknownFields protoimpl.UnknownFields
    93  }
    94  
    95  func (x *ListAssetsRequest) Reset() {
    96  	*x = ListAssetsRequest{}
    97  	if protoimpl.UnsafeEnabled {
    98  		mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[1]
    99  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   100  		ms.StoreMessageInfo(mi)
   101  	}
   102  }
   103  
   104  func (x *ListAssetsRequest) String() string {
   105  	return protoimpl.X.MessageStringOf(x)
   106  }
   107  
   108  func (*ListAssetsRequest) ProtoMessage() {}
   109  
   110  func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message {
   111  	mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[1]
   112  	if protoimpl.UnsafeEnabled && x != nil {
   113  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   114  		if ms.LoadMessageInfo() == nil {
   115  			ms.StoreMessageInfo(mi)
   116  		}
   117  		return ms
   118  	}
   119  	return mi.MessageOf(x)
   120  }
   121  
   122  // Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
   123  func (*ListAssetsRequest) Descriptor() ([]byte, []int) {
   124  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP(), []int{1}
   125  }
   126  
   127  // ListAssetsResponse contains asset listing.
   128  type ListAssetsResponse struct {
   129  	state         protoimpl.MessageState
   130  	sizeCache     protoimpl.SizeCache
   131  	unknownFields protoimpl.UnknownFields
   132  
   133  	// Assets in order of their IDs.
   134  	Assets []*modelpb.Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
   135  }
   136  
   137  func (x *ListAssetsResponse) Reset() {
   138  	*x = ListAssetsResponse{}
   139  	if protoimpl.UnsafeEnabled {
   140  		mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[2]
   141  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   142  		ms.StoreMessageInfo(mi)
   143  	}
   144  }
   145  
   146  func (x *ListAssetsResponse) String() string {
   147  	return protoimpl.X.MessageStringOf(x)
   148  }
   149  
   150  func (*ListAssetsResponse) ProtoMessage() {}
   151  
   152  func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message {
   153  	mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[2]
   154  	if protoimpl.UnsafeEnabled && x != nil {
   155  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   156  		if ms.LoadMessageInfo() == nil {
   157  			ms.StoreMessageInfo(mi)
   158  		}
   159  		return ms
   160  	}
   161  	return mi.MessageOf(x)
   162  }
   163  
   164  // Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
   165  func (*ListAssetsResponse) Descriptor() ([]byte, []int) {
   166  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP(), []int{2}
   167  }
   168  
   169  func (x *ListAssetsResponse) GetAssets() []*modelpb.Asset {
   170  	if x != nil {
   171  		return x.Assets
   172  	}
   173  	return nil
   174  }
   175  
   176  // ListAssetHistoryRequest specifies what historical records to fetch.
   177  //
   178  // AssetHistory records have consecutive integer IDs. Newer entries have larger
   179  // IDs. Oldest entries are periodically trimmed. As a result, possible IDs lie
   180  // in an interval `[oldest_retained_id, last_recorded_id]`, where both ends can
   181  // increase any time when older entries are trimmed and newer entries are
   182  // recorded.
   183  //
   184  // ListAssetHistory fetches entries in reverse chronological order (the most
   185  // recent entries with highest ID come first).
   186  //
   187  // If `latest_history_id` is given, it defines a range of records to fetch as
   188  // `(latest_history_id-limit, latest_history_id]`. The response will contain
   189  // records from intersection of this interval with interval of all possible
   190  // IDs (as defined above).
   191  //
   192  // If `latest_history_id` is absent, it is assumed to be `last_recorded_id`.
   193  //
   194  // If `limit` is absent, it is assumed to be some default page size. It is also
   195  // silently capped by some largish value.
   196  type ListAssetHistoryRequest struct {
   197  	state         protoimpl.MessageState
   198  	sizeCache     protoimpl.SizeCache
   199  	unknownFields protoimpl.UnknownFields
   200  
   201  	// ID of an asset to fetch the history of.
   202  	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
   203  	// ID of the most recent historical entry to fetch (for pagination).
   204  	LatestHistoryId int64 `protobuf:"varint,2,opt,name=latest_history_id,json=latestHistoryId,proto3" json:"latest_history_id,omitempty"`
   205  	// Limit on the number of entries to fetch.
   206  	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
   207  }
   208  
   209  func (x *ListAssetHistoryRequest) Reset() {
   210  	*x = ListAssetHistoryRequest{}
   211  	if protoimpl.UnsafeEnabled {
   212  		mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[3]
   213  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   214  		ms.StoreMessageInfo(mi)
   215  	}
   216  }
   217  
   218  func (x *ListAssetHistoryRequest) String() string {
   219  	return protoimpl.X.MessageStringOf(x)
   220  }
   221  
   222  func (*ListAssetHistoryRequest) ProtoMessage() {}
   223  
   224  func (x *ListAssetHistoryRequest) ProtoReflect() protoreflect.Message {
   225  	mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[3]
   226  	if protoimpl.UnsafeEnabled && x != nil {
   227  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   228  		if ms.LoadMessageInfo() == nil {
   229  			ms.StoreMessageInfo(mi)
   230  		}
   231  		return ms
   232  	}
   233  	return mi.MessageOf(x)
   234  }
   235  
   236  // Deprecated: Use ListAssetHistoryRequest.ProtoReflect.Descriptor instead.
   237  func (*ListAssetHistoryRequest) Descriptor() ([]byte, []int) {
   238  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP(), []int{3}
   239  }
   240  
   241  func (x *ListAssetHistoryRequest) GetAssetId() string {
   242  	if x != nil {
   243  		return x.AssetId
   244  	}
   245  	return ""
   246  }
   247  
   248  func (x *ListAssetHistoryRequest) GetLatestHistoryId() int64 {
   249  	if x != nil {
   250  		return x.LatestHistoryId
   251  	}
   252  	return 0
   253  }
   254  
   255  func (x *ListAssetHistoryRequest) GetLimit() int32 {
   256  	if x != nil {
   257  		return x.Limit
   258  	}
   259  	return 0
   260  }
   261  
   262  // ListAssetHistoryResponse contains an asset and its actuation history.
   263  type ListAssetHistoryResponse struct {
   264  	state         protoimpl.MessageState
   265  	sizeCache     protoimpl.SizeCache
   266  	unknownFields protoimpl.UnknownFields
   267  
   268  	// Asset at its current state.
   269  	Asset *modelpb.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
   270  	// A historical entry being recorded right now, if any.
   271  	Current *modelpb.AssetHistory `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
   272  	// ID of the most recently recorded and committed entry (for pagination back).
   273  	LastRecordedHistoryId int64 `protobuf:"varint,3,opt,name=last_recorded_history_id,json=lastRecordedHistoryId,proto3" json:"last_recorded_history_id,omitempty"`
   274  	// Historical records starting with `latest_history_id`.
   275  	History []*modelpb.AssetHistory `protobuf:"bytes,4,rep,name=history,proto3" json:"history,omitempty"`
   276  }
   277  
   278  func (x *ListAssetHistoryResponse) Reset() {
   279  	*x = ListAssetHistoryResponse{}
   280  	if protoimpl.UnsafeEnabled {
   281  		mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[4]
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		ms.StoreMessageInfo(mi)
   284  	}
   285  }
   286  
   287  func (x *ListAssetHistoryResponse) String() string {
   288  	return protoimpl.X.MessageStringOf(x)
   289  }
   290  
   291  func (*ListAssetHistoryResponse) ProtoMessage() {}
   292  
   293  func (x *ListAssetHistoryResponse) ProtoReflect() protoreflect.Message {
   294  	mi := &file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[4]
   295  	if protoimpl.UnsafeEnabled && x != nil {
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		if ms.LoadMessageInfo() == nil {
   298  			ms.StoreMessageInfo(mi)
   299  		}
   300  		return ms
   301  	}
   302  	return mi.MessageOf(x)
   303  }
   304  
   305  // Deprecated: Use ListAssetHistoryResponse.ProtoReflect.Descriptor instead.
   306  func (*ListAssetHistoryResponse) Descriptor() ([]byte, []int) {
   307  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP(), []int{4}
   308  }
   309  
   310  func (x *ListAssetHistoryResponse) GetAsset() *modelpb.Asset {
   311  	if x != nil {
   312  		return x.Asset
   313  	}
   314  	return nil
   315  }
   316  
   317  func (x *ListAssetHistoryResponse) GetCurrent() *modelpb.AssetHistory {
   318  	if x != nil {
   319  		return x.Current
   320  	}
   321  	return nil
   322  }
   323  
   324  func (x *ListAssetHistoryResponse) GetLastRecordedHistoryId() int64 {
   325  	if x != nil {
   326  		return x.LastRecordedHistoryId
   327  	}
   328  	return 0
   329  }
   330  
   331  func (x *ListAssetHistoryResponse) GetHistory() []*modelpb.AssetHistory {
   332  	if x != nil {
   333  		return x.History
   334  	}
   335  	return nil
   336  }
   337  
   338  var File_go_chromium_org_luci_deploy_api_rpcpb_assets_proto protoreflect.FileDescriptor
   339  
   340  var file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDesc = []byte{
   341  	0x0a, 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   342  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2f, 0x61, 0x70,
   343  	0x69, 0x2f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70,
   344  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
   345  	0x76, 0x69, 0x63, 0x65, 0x1a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
   346  	0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f,
   347  	0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x70, 0x62, 0x2f, 0x61, 0x73,
   348  	0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x0f, 0x47, 0x65, 0x74,
   349  	0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08,
   350  	0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   351  	0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41,
   352  	0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x12,
   353  	0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
   354  	0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
   355  	0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x6d, 0x6f, 0x64, 0x65,
   356  	0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22,
   357  	0x76, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74,
   358  	0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x73,
   359  	0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73,
   360  	0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f,
   361  	0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
   362  	0x52, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49,
   363  	0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
   364  	0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xea, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74,
   365  	0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
   366  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
   367  	0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x6d, 0x6f, 0x64,
   368  	0x65, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12,
   369  	0x34, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   370  	0x32, 0x1a, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e,
   371  	0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x07, 0x63, 0x75,
   372  	0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65,
   373  	0x63, 0x6f, 0x72, 0x64, 0x65, 0x64, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69,
   374  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x63,
   375  	0x6f, 0x72, 0x64, 0x65, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x34,
   376  	0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
   377  	0x1a, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x41,
   378  	0x73, 0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73,
   379  	0x74, 0x6f, 0x72, 0x79, 0x32, 0x86, 0x02, 0x0a, 0x06, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12,
   380  	0x40, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x64, 0x65,
   381  	0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74,
   382  	0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x64,
   383  	0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65,
   384  	0x74, 0x12, 0x53, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12,
   385  	0x21, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   386  	0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
   387  	0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
   388  	0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65,
   389  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73,
   390  	0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x64, 0x65, 0x70,
   391  	0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74,
   392  	0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
   393  	0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
   394  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x69,
   395  	0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a,
   396  	0x25, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67,
   397  	0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69,
   398  	0x2f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   399  }
   400  
   401  var (
   402  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescOnce sync.Once
   403  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescData = file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDesc
   404  )
   405  
   406  func file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescGZIP() []byte {
   407  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescOnce.Do(func() {
   408  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescData)
   409  	})
   410  	return file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDescData
   411  }
   412  
   413  var file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   414  var file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_goTypes = []interface{}{
   415  	(*GetAssetRequest)(nil),          // 0: deploy.service.GetAssetRequest
   416  	(*ListAssetsRequest)(nil),        // 1: deploy.service.ListAssetsRequest
   417  	(*ListAssetsResponse)(nil),       // 2: deploy.service.ListAssetsResponse
   418  	(*ListAssetHistoryRequest)(nil),  // 3: deploy.service.ListAssetHistoryRequest
   419  	(*ListAssetHistoryResponse)(nil), // 4: deploy.service.ListAssetHistoryResponse
   420  	(*modelpb.Asset)(nil),            // 5: deploy.model.Asset
   421  	(*modelpb.AssetHistory)(nil),     // 6: deploy.model.AssetHistory
   422  }
   423  var file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_depIdxs = []int32{
   424  	5, // 0: deploy.service.ListAssetsResponse.assets:type_name -> deploy.model.Asset
   425  	5, // 1: deploy.service.ListAssetHistoryResponse.asset:type_name -> deploy.model.Asset
   426  	6, // 2: deploy.service.ListAssetHistoryResponse.current:type_name -> deploy.model.AssetHistory
   427  	6, // 3: deploy.service.ListAssetHistoryResponse.history:type_name -> deploy.model.AssetHistory
   428  	0, // 4: deploy.service.Assets.GetAsset:input_type -> deploy.service.GetAssetRequest
   429  	1, // 5: deploy.service.Assets.ListAssets:input_type -> deploy.service.ListAssetsRequest
   430  	3, // 6: deploy.service.Assets.ListAssetHistory:input_type -> deploy.service.ListAssetHistoryRequest
   431  	5, // 7: deploy.service.Assets.GetAsset:output_type -> deploy.model.Asset
   432  	2, // 8: deploy.service.Assets.ListAssets:output_type -> deploy.service.ListAssetsResponse
   433  	4, // 9: deploy.service.Assets.ListAssetHistory:output_type -> deploy.service.ListAssetHistoryResponse
   434  	7, // [7:10] is the sub-list for method output_type
   435  	4, // [4:7] is the sub-list for method input_type
   436  	4, // [4:4] is the sub-list for extension type_name
   437  	4, // [4:4] is the sub-list for extension extendee
   438  	0, // [0:4] is the sub-list for field type_name
   439  }
   440  
   441  func init() { file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_init() }
   442  func file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_init() {
   443  	if File_go_chromium_org_luci_deploy_api_rpcpb_assets_proto != nil {
   444  		return
   445  	}
   446  	if !protoimpl.UnsafeEnabled {
   447  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   448  			switch v := v.(*GetAssetRequest); i {
   449  			case 0:
   450  				return &v.state
   451  			case 1:
   452  				return &v.sizeCache
   453  			case 2:
   454  				return &v.unknownFields
   455  			default:
   456  				return nil
   457  			}
   458  		}
   459  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   460  			switch v := v.(*ListAssetsRequest); i {
   461  			case 0:
   462  				return &v.state
   463  			case 1:
   464  				return &v.sizeCache
   465  			case 2:
   466  				return &v.unknownFields
   467  			default:
   468  				return nil
   469  			}
   470  		}
   471  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   472  			switch v := v.(*ListAssetsResponse); i {
   473  			case 0:
   474  				return &v.state
   475  			case 1:
   476  				return &v.sizeCache
   477  			case 2:
   478  				return &v.unknownFields
   479  			default:
   480  				return nil
   481  			}
   482  		}
   483  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   484  			switch v := v.(*ListAssetHistoryRequest); i {
   485  			case 0:
   486  				return &v.state
   487  			case 1:
   488  				return &v.sizeCache
   489  			case 2:
   490  				return &v.unknownFields
   491  			default:
   492  				return nil
   493  			}
   494  		}
   495  		file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   496  			switch v := v.(*ListAssetHistoryResponse); i {
   497  			case 0:
   498  				return &v.state
   499  			case 1:
   500  				return &v.sizeCache
   501  			case 2:
   502  				return &v.unknownFields
   503  			default:
   504  				return nil
   505  			}
   506  		}
   507  	}
   508  	type x struct{}
   509  	out := protoimpl.TypeBuilder{
   510  		File: protoimpl.DescBuilder{
   511  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   512  			RawDescriptor: file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDesc,
   513  			NumEnums:      0,
   514  			NumMessages:   5,
   515  			NumExtensions: 0,
   516  			NumServices:   1,
   517  		},
   518  		GoTypes:           file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_goTypes,
   519  		DependencyIndexes: file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_depIdxs,
   520  		MessageInfos:      file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_msgTypes,
   521  	}.Build()
   522  	File_go_chromium_org_luci_deploy_api_rpcpb_assets_proto = out.File
   523  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_rawDesc = nil
   524  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_goTypes = nil
   525  	file_go_chromium_org_luci_deploy_api_rpcpb_assets_proto_depIdxs = nil
   526  }