Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

2241 lignes
86 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/resultstore/v2/resultstore_download.proto
  3. package resultstore // import "google.golang.org/genproto/googleapis/devtools/resultstore/v2"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. import (
  9. context "golang.org/x/net/context"
  10. grpc "google.golang.org/grpc"
  11. )
  12. // Reference imports to suppress errors if they are not otherwise used.
  13. var _ = proto.Marshal
  14. var _ = fmt.Errorf
  15. var _ = math.Inf
  16. // This is a compile-time assertion to ensure that this generated file
  17. // is compatible with the proto package it is being compiled against.
  18. // A compilation error at this line likely means your copy of the
  19. // proto package needs to be updated.
  20. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  21. // Request passed into GetInvocation
  22. type GetInvocationRequest struct {
  23. // The name of the invocation to retrieve. It must match this format:
  24. // invocations/${INVOCATION_ID}
  25. // where INVOCATION_ID must be an RFC 4122-compliant random UUID.
  26. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *GetInvocationRequest) Reset() { *m = GetInvocationRequest{} }
  32. func (m *GetInvocationRequest) String() string { return proto.CompactTextString(m) }
  33. func (*GetInvocationRequest) ProtoMessage() {}
  34. func (*GetInvocationRequest) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{0}
  36. }
  37. func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error {
  38. return xxx_messageInfo_GetInvocationRequest.Unmarshal(m, b)
  39. }
  40. func (m *GetInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. return xxx_messageInfo_GetInvocationRequest.Marshal(b, m, deterministic)
  42. }
  43. func (dst *GetInvocationRequest) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_GetInvocationRequest.Merge(dst, src)
  45. }
  46. func (m *GetInvocationRequest) XXX_Size() int {
  47. return xxx_messageInfo_GetInvocationRequest.Size(m)
  48. }
  49. func (m *GetInvocationRequest) XXX_DiscardUnknown() {
  50. xxx_messageInfo_GetInvocationRequest.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_GetInvocationRequest proto.InternalMessageInfo
  53. func (m *GetInvocationRequest) GetName() string {
  54. if m != nil {
  55. return m.Name
  56. }
  57. return ""
  58. }
  59. // Request passed into SearchInvocations
  60. type SearchInvocationsRequest struct {
  61. // The maximum number of items to return. Zero means all, but may be capped by
  62. // the server.
  63. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  64. // Options for pagination.
  65. //
  66. // Types that are valid to be assigned to PageStart:
  67. // *SearchInvocationsRequest_PageToken
  68. // *SearchInvocationsRequest_Offset
  69. PageStart isSearchInvocationsRequest_PageStart `protobuf_oneof:"page_start"`
  70. // A filtering query string.
  71. Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
  72. // The project id to search under.
  73. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  74. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  75. XXX_unrecognized []byte `json:"-"`
  76. XXX_sizecache int32 `json:"-"`
  77. }
  78. func (m *SearchInvocationsRequest) Reset() { *m = SearchInvocationsRequest{} }
  79. func (m *SearchInvocationsRequest) String() string { return proto.CompactTextString(m) }
  80. func (*SearchInvocationsRequest) ProtoMessage() {}
  81. func (*SearchInvocationsRequest) Descriptor() ([]byte, []int) {
  82. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{1}
  83. }
  84. func (m *SearchInvocationsRequest) XXX_Unmarshal(b []byte) error {
  85. return xxx_messageInfo_SearchInvocationsRequest.Unmarshal(m, b)
  86. }
  87. func (m *SearchInvocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  88. return xxx_messageInfo_SearchInvocationsRequest.Marshal(b, m, deterministic)
  89. }
  90. func (dst *SearchInvocationsRequest) XXX_Merge(src proto.Message) {
  91. xxx_messageInfo_SearchInvocationsRequest.Merge(dst, src)
  92. }
  93. func (m *SearchInvocationsRequest) XXX_Size() int {
  94. return xxx_messageInfo_SearchInvocationsRequest.Size(m)
  95. }
  96. func (m *SearchInvocationsRequest) XXX_DiscardUnknown() {
  97. xxx_messageInfo_SearchInvocationsRequest.DiscardUnknown(m)
  98. }
  99. var xxx_messageInfo_SearchInvocationsRequest proto.InternalMessageInfo
  100. func (m *SearchInvocationsRequest) GetPageSize() int32 {
  101. if m != nil {
  102. return m.PageSize
  103. }
  104. return 0
  105. }
  106. type isSearchInvocationsRequest_PageStart interface {
  107. isSearchInvocationsRequest_PageStart()
  108. }
  109. type SearchInvocationsRequest_PageToken struct {
  110. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof"`
  111. }
  112. type SearchInvocationsRequest_Offset struct {
  113. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3,oneof"`
  114. }
  115. func (*SearchInvocationsRequest_PageToken) isSearchInvocationsRequest_PageStart() {}
  116. func (*SearchInvocationsRequest_Offset) isSearchInvocationsRequest_PageStart() {}
  117. func (m *SearchInvocationsRequest) GetPageStart() isSearchInvocationsRequest_PageStart {
  118. if m != nil {
  119. return m.PageStart
  120. }
  121. return nil
  122. }
  123. func (m *SearchInvocationsRequest) GetPageToken() string {
  124. if x, ok := m.GetPageStart().(*SearchInvocationsRequest_PageToken); ok {
  125. return x.PageToken
  126. }
  127. return ""
  128. }
  129. func (m *SearchInvocationsRequest) GetOffset() int64 {
  130. if x, ok := m.GetPageStart().(*SearchInvocationsRequest_Offset); ok {
  131. return x.Offset
  132. }
  133. return 0
  134. }
  135. func (m *SearchInvocationsRequest) GetQuery() string {
  136. if m != nil {
  137. return m.Query
  138. }
  139. return ""
  140. }
  141. func (m *SearchInvocationsRequest) GetProjectId() string {
  142. if m != nil {
  143. return m.ProjectId
  144. }
  145. return ""
  146. }
  147. // XXX_OneofFuncs is for the internal use of the proto package.
  148. func (*SearchInvocationsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  149. return _SearchInvocationsRequest_OneofMarshaler, _SearchInvocationsRequest_OneofUnmarshaler, _SearchInvocationsRequest_OneofSizer, []interface{}{
  150. (*SearchInvocationsRequest_PageToken)(nil),
  151. (*SearchInvocationsRequest_Offset)(nil),
  152. }
  153. }
  154. func _SearchInvocationsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  155. m := msg.(*SearchInvocationsRequest)
  156. // page_start
  157. switch x := m.PageStart.(type) {
  158. case *SearchInvocationsRequest_PageToken:
  159. b.EncodeVarint(2<<3 | proto.WireBytes)
  160. b.EncodeStringBytes(x.PageToken)
  161. case *SearchInvocationsRequest_Offset:
  162. b.EncodeVarint(3<<3 | proto.WireVarint)
  163. b.EncodeVarint(uint64(x.Offset))
  164. case nil:
  165. default:
  166. return fmt.Errorf("SearchInvocationsRequest.PageStart has unexpected type %T", x)
  167. }
  168. return nil
  169. }
  170. func _SearchInvocationsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  171. m := msg.(*SearchInvocationsRequest)
  172. switch tag {
  173. case 2: // page_start.page_token
  174. if wire != proto.WireBytes {
  175. return true, proto.ErrInternalBadWireType
  176. }
  177. x, err := b.DecodeStringBytes()
  178. m.PageStart = &SearchInvocationsRequest_PageToken{x}
  179. return true, err
  180. case 3: // page_start.offset
  181. if wire != proto.WireVarint {
  182. return true, proto.ErrInternalBadWireType
  183. }
  184. x, err := b.DecodeVarint()
  185. m.PageStart = &SearchInvocationsRequest_Offset{int64(x)}
  186. return true, err
  187. default:
  188. return false, nil
  189. }
  190. }
  191. func _SearchInvocationsRequest_OneofSizer(msg proto.Message) (n int) {
  192. m := msg.(*SearchInvocationsRequest)
  193. // page_start
  194. switch x := m.PageStart.(type) {
  195. case *SearchInvocationsRequest_PageToken:
  196. n += 1 // tag and wire
  197. n += proto.SizeVarint(uint64(len(x.PageToken)))
  198. n += len(x.PageToken)
  199. case *SearchInvocationsRequest_Offset:
  200. n += 1 // tag and wire
  201. n += proto.SizeVarint(uint64(x.Offset))
  202. case nil:
  203. default:
  204. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  205. }
  206. return n
  207. }
  208. // Response from calling SearchInvocations
  209. type SearchInvocationsResponse struct {
  210. // Invocations matching the search, possibly capped at request.page_size or a
  211. // server limit.
  212. Invocations []*Invocation `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"`
  213. // Token to retrieve the next page of results, or empty if there are no
  214. // more results.
  215. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  216. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  217. XXX_unrecognized []byte `json:"-"`
  218. XXX_sizecache int32 `json:"-"`
  219. }
  220. func (m *SearchInvocationsResponse) Reset() { *m = SearchInvocationsResponse{} }
  221. func (m *SearchInvocationsResponse) String() string { return proto.CompactTextString(m) }
  222. func (*SearchInvocationsResponse) ProtoMessage() {}
  223. func (*SearchInvocationsResponse) Descriptor() ([]byte, []int) {
  224. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{2}
  225. }
  226. func (m *SearchInvocationsResponse) XXX_Unmarshal(b []byte) error {
  227. return xxx_messageInfo_SearchInvocationsResponse.Unmarshal(m, b)
  228. }
  229. func (m *SearchInvocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  230. return xxx_messageInfo_SearchInvocationsResponse.Marshal(b, m, deterministic)
  231. }
  232. func (dst *SearchInvocationsResponse) XXX_Merge(src proto.Message) {
  233. xxx_messageInfo_SearchInvocationsResponse.Merge(dst, src)
  234. }
  235. func (m *SearchInvocationsResponse) XXX_Size() int {
  236. return xxx_messageInfo_SearchInvocationsResponse.Size(m)
  237. }
  238. func (m *SearchInvocationsResponse) XXX_DiscardUnknown() {
  239. xxx_messageInfo_SearchInvocationsResponse.DiscardUnknown(m)
  240. }
  241. var xxx_messageInfo_SearchInvocationsResponse proto.InternalMessageInfo
  242. func (m *SearchInvocationsResponse) GetInvocations() []*Invocation {
  243. if m != nil {
  244. return m.Invocations
  245. }
  246. return nil
  247. }
  248. func (m *SearchInvocationsResponse) GetNextPageToken() string {
  249. if m != nil {
  250. return m.NextPageToken
  251. }
  252. return ""
  253. }
  254. // Request passed into GetConfiguration
  255. type GetConfigurationRequest struct {
  256. // The name of the configuration to retrieve. It must match this format:
  257. // invocations/${INVOCATION_ID}/configs/${CONFIGURATION_ID}
  258. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  259. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  260. XXX_unrecognized []byte `json:"-"`
  261. XXX_sizecache int32 `json:"-"`
  262. }
  263. func (m *GetConfigurationRequest) Reset() { *m = GetConfigurationRequest{} }
  264. func (m *GetConfigurationRequest) String() string { return proto.CompactTextString(m) }
  265. func (*GetConfigurationRequest) ProtoMessage() {}
  266. func (*GetConfigurationRequest) Descriptor() ([]byte, []int) {
  267. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{3}
  268. }
  269. func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error {
  270. return xxx_messageInfo_GetConfigurationRequest.Unmarshal(m, b)
  271. }
  272. func (m *GetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  273. return xxx_messageInfo_GetConfigurationRequest.Marshal(b, m, deterministic)
  274. }
  275. func (dst *GetConfigurationRequest) XXX_Merge(src proto.Message) {
  276. xxx_messageInfo_GetConfigurationRequest.Merge(dst, src)
  277. }
  278. func (m *GetConfigurationRequest) XXX_Size() int {
  279. return xxx_messageInfo_GetConfigurationRequest.Size(m)
  280. }
  281. func (m *GetConfigurationRequest) XXX_DiscardUnknown() {
  282. xxx_messageInfo_GetConfigurationRequest.DiscardUnknown(m)
  283. }
  284. var xxx_messageInfo_GetConfigurationRequest proto.InternalMessageInfo
  285. func (m *GetConfigurationRequest) GetName() string {
  286. if m != nil {
  287. return m.Name
  288. }
  289. return ""
  290. }
  291. // Request passed into ListConfigurations
  292. type ListConfigurationsRequest struct {
  293. // The invocation name of the configurations to retrieve.
  294. // It must match this format: invocations/${INVOCATION_ID}
  295. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  296. // The maximum number of items to return.
  297. // Zero means all, but may be capped by the server.
  298. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  299. // Options for pagination.
  300. //
  301. // Types that are valid to be assigned to PageStart:
  302. // *ListConfigurationsRequest_PageToken
  303. // *ListConfigurationsRequest_Offset
  304. PageStart isListConfigurationsRequest_PageStart `protobuf_oneof:"page_start"`
  305. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  306. XXX_unrecognized []byte `json:"-"`
  307. XXX_sizecache int32 `json:"-"`
  308. }
  309. func (m *ListConfigurationsRequest) Reset() { *m = ListConfigurationsRequest{} }
  310. func (m *ListConfigurationsRequest) String() string { return proto.CompactTextString(m) }
  311. func (*ListConfigurationsRequest) ProtoMessage() {}
  312. func (*ListConfigurationsRequest) Descriptor() ([]byte, []int) {
  313. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{4}
  314. }
  315. func (m *ListConfigurationsRequest) XXX_Unmarshal(b []byte) error {
  316. return xxx_messageInfo_ListConfigurationsRequest.Unmarshal(m, b)
  317. }
  318. func (m *ListConfigurationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  319. return xxx_messageInfo_ListConfigurationsRequest.Marshal(b, m, deterministic)
  320. }
  321. func (dst *ListConfigurationsRequest) XXX_Merge(src proto.Message) {
  322. xxx_messageInfo_ListConfigurationsRequest.Merge(dst, src)
  323. }
  324. func (m *ListConfigurationsRequest) XXX_Size() int {
  325. return xxx_messageInfo_ListConfigurationsRequest.Size(m)
  326. }
  327. func (m *ListConfigurationsRequest) XXX_DiscardUnknown() {
  328. xxx_messageInfo_ListConfigurationsRequest.DiscardUnknown(m)
  329. }
  330. var xxx_messageInfo_ListConfigurationsRequest proto.InternalMessageInfo
  331. func (m *ListConfigurationsRequest) GetParent() string {
  332. if m != nil {
  333. return m.Parent
  334. }
  335. return ""
  336. }
  337. func (m *ListConfigurationsRequest) GetPageSize() int32 {
  338. if m != nil {
  339. return m.PageSize
  340. }
  341. return 0
  342. }
  343. type isListConfigurationsRequest_PageStart interface {
  344. isListConfigurationsRequest_PageStart()
  345. }
  346. type ListConfigurationsRequest_PageToken struct {
  347. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"`
  348. }
  349. type ListConfigurationsRequest_Offset struct {
  350. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
  351. }
  352. func (*ListConfigurationsRequest_PageToken) isListConfigurationsRequest_PageStart() {}
  353. func (*ListConfigurationsRequest_Offset) isListConfigurationsRequest_PageStart() {}
  354. func (m *ListConfigurationsRequest) GetPageStart() isListConfigurationsRequest_PageStart {
  355. if m != nil {
  356. return m.PageStart
  357. }
  358. return nil
  359. }
  360. func (m *ListConfigurationsRequest) GetPageToken() string {
  361. if x, ok := m.GetPageStart().(*ListConfigurationsRequest_PageToken); ok {
  362. return x.PageToken
  363. }
  364. return ""
  365. }
  366. func (m *ListConfigurationsRequest) GetOffset() int64 {
  367. if x, ok := m.GetPageStart().(*ListConfigurationsRequest_Offset); ok {
  368. return x.Offset
  369. }
  370. return 0
  371. }
  372. // XXX_OneofFuncs is for the internal use of the proto package.
  373. func (*ListConfigurationsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  374. return _ListConfigurationsRequest_OneofMarshaler, _ListConfigurationsRequest_OneofUnmarshaler, _ListConfigurationsRequest_OneofSizer, []interface{}{
  375. (*ListConfigurationsRequest_PageToken)(nil),
  376. (*ListConfigurationsRequest_Offset)(nil),
  377. }
  378. }
  379. func _ListConfigurationsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  380. m := msg.(*ListConfigurationsRequest)
  381. // page_start
  382. switch x := m.PageStart.(type) {
  383. case *ListConfigurationsRequest_PageToken:
  384. b.EncodeVarint(3<<3 | proto.WireBytes)
  385. b.EncodeStringBytes(x.PageToken)
  386. case *ListConfigurationsRequest_Offset:
  387. b.EncodeVarint(4<<3 | proto.WireVarint)
  388. b.EncodeVarint(uint64(x.Offset))
  389. case nil:
  390. default:
  391. return fmt.Errorf("ListConfigurationsRequest.PageStart has unexpected type %T", x)
  392. }
  393. return nil
  394. }
  395. func _ListConfigurationsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  396. m := msg.(*ListConfigurationsRequest)
  397. switch tag {
  398. case 3: // page_start.page_token
  399. if wire != proto.WireBytes {
  400. return true, proto.ErrInternalBadWireType
  401. }
  402. x, err := b.DecodeStringBytes()
  403. m.PageStart = &ListConfigurationsRequest_PageToken{x}
  404. return true, err
  405. case 4: // page_start.offset
  406. if wire != proto.WireVarint {
  407. return true, proto.ErrInternalBadWireType
  408. }
  409. x, err := b.DecodeVarint()
  410. m.PageStart = &ListConfigurationsRequest_Offset{int64(x)}
  411. return true, err
  412. default:
  413. return false, nil
  414. }
  415. }
  416. func _ListConfigurationsRequest_OneofSizer(msg proto.Message) (n int) {
  417. m := msg.(*ListConfigurationsRequest)
  418. // page_start
  419. switch x := m.PageStart.(type) {
  420. case *ListConfigurationsRequest_PageToken:
  421. n += 1 // tag and wire
  422. n += proto.SizeVarint(uint64(len(x.PageToken)))
  423. n += len(x.PageToken)
  424. case *ListConfigurationsRequest_Offset:
  425. n += 1 // tag and wire
  426. n += proto.SizeVarint(uint64(x.Offset))
  427. case nil:
  428. default:
  429. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  430. }
  431. return n
  432. }
  433. // Response from calling ListConfigurations
  434. type ListConfigurationsResponse struct {
  435. // Configurations matching the request invocation,
  436. // possibly capped at request.page_size or a server limit.
  437. Configurations []*Configuration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"`
  438. // Token to retrieve the next page of results, or empty if there are no
  439. // more results in the list.
  440. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  441. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  442. XXX_unrecognized []byte `json:"-"`
  443. XXX_sizecache int32 `json:"-"`
  444. }
  445. func (m *ListConfigurationsResponse) Reset() { *m = ListConfigurationsResponse{} }
  446. func (m *ListConfigurationsResponse) String() string { return proto.CompactTextString(m) }
  447. func (*ListConfigurationsResponse) ProtoMessage() {}
  448. func (*ListConfigurationsResponse) Descriptor() ([]byte, []int) {
  449. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{5}
  450. }
  451. func (m *ListConfigurationsResponse) XXX_Unmarshal(b []byte) error {
  452. return xxx_messageInfo_ListConfigurationsResponse.Unmarshal(m, b)
  453. }
  454. func (m *ListConfigurationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  455. return xxx_messageInfo_ListConfigurationsResponse.Marshal(b, m, deterministic)
  456. }
  457. func (dst *ListConfigurationsResponse) XXX_Merge(src proto.Message) {
  458. xxx_messageInfo_ListConfigurationsResponse.Merge(dst, src)
  459. }
  460. func (m *ListConfigurationsResponse) XXX_Size() int {
  461. return xxx_messageInfo_ListConfigurationsResponse.Size(m)
  462. }
  463. func (m *ListConfigurationsResponse) XXX_DiscardUnknown() {
  464. xxx_messageInfo_ListConfigurationsResponse.DiscardUnknown(m)
  465. }
  466. var xxx_messageInfo_ListConfigurationsResponse proto.InternalMessageInfo
  467. func (m *ListConfigurationsResponse) GetConfigurations() []*Configuration {
  468. if m != nil {
  469. return m.Configurations
  470. }
  471. return nil
  472. }
  473. func (m *ListConfigurationsResponse) GetNextPageToken() string {
  474. if m != nil {
  475. return m.NextPageToken
  476. }
  477. return ""
  478. }
  479. // Request passed into GetTarget
  480. type GetTargetRequest struct {
  481. // The name of the target to retrieve. It must match this format:
  482. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}
  483. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  484. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  485. XXX_unrecognized []byte `json:"-"`
  486. XXX_sizecache int32 `json:"-"`
  487. }
  488. func (m *GetTargetRequest) Reset() { *m = GetTargetRequest{} }
  489. func (m *GetTargetRequest) String() string { return proto.CompactTextString(m) }
  490. func (*GetTargetRequest) ProtoMessage() {}
  491. func (*GetTargetRequest) Descriptor() ([]byte, []int) {
  492. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{6}
  493. }
  494. func (m *GetTargetRequest) XXX_Unmarshal(b []byte) error {
  495. return xxx_messageInfo_GetTargetRequest.Unmarshal(m, b)
  496. }
  497. func (m *GetTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  498. return xxx_messageInfo_GetTargetRequest.Marshal(b, m, deterministic)
  499. }
  500. func (dst *GetTargetRequest) XXX_Merge(src proto.Message) {
  501. xxx_messageInfo_GetTargetRequest.Merge(dst, src)
  502. }
  503. func (m *GetTargetRequest) XXX_Size() int {
  504. return xxx_messageInfo_GetTargetRequest.Size(m)
  505. }
  506. func (m *GetTargetRequest) XXX_DiscardUnknown() {
  507. xxx_messageInfo_GetTargetRequest.DiscardUnknown(m)
  508. }
  509. var xxx_messageInfo_GetTargetRequest proto.InternalMessageInfo
  510. func (m *GetTargetRequest) GetName() string {
  511. if m != nil {
  512. return m.Name
  513. }
  514. return ""
  515. }
  516. // Request passed into ListTargets
  517. type ListTargetsRequest struct {
  518. // The invocation name of the targets to retrieve. It must match this format:
  519. // invocations/${INVOCATION_ID}
  520. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  521. // The maximum number of items to return.
  522. // Zero means all, but may be capped by the server.
  523. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  524. // Options for pagination.
  525. //
  526. // Types that are valid to be assigned to PageStart:
  527. // *ListTargetsRequest_PageToken
  528. // *ListTargetsRequest_Offset
  529. PageStart isListTargetsRequest_PageStart `protobuf_oneof:"page_start"`
  530. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  531. XXX_unrecognized []byte `json:"-"`
  532. XXX_sizecache int32 `json:"-"`
  533. }
  534. func (m *ListTargetsRequest) Reset() { *m = ListTargetsRequest{} }
  535. func (m *ListTargetsRequest) String() string { return proto.CompactTextString(m) }
  536. func (*ListTargetsRequest) ProtoMessage() {}
  537. func (*ListTargetsRequest) Descriptor() ([]byte, []int) {
  538. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{7}
  539. }
  540. func (m *ListTargetsRequest) XXX_Unmarshal(b []byte) error {
  541. return xxx_messageInfo_ListTargetsRequest.Unmarshal(m, b)
  542. }
  543. func (m *ListTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  544. return xxx_messageInfo_ListTargetsRequest.Marshal(b, m, deterministic)
  545. }
  546. func (dst *ListTargetsRequest) XXX_Merge(src proto.Message) {
  547. xxx_messageInfo_ListTargetsRequest.Merge(dst, src)
  548. }
  549. func (m *ListTargetsRequest) XXX_Size() int {
  550. return xxx_messageInfo_ListTargetsRequest.Size(m)
  551. }
  552. func (m *ListTargetsRequest) XXX_DiscardUnknown() {
  553. xxx_messageInfo_ListTargetsRequest.DiscardUnknown(m)
  554. }
  555. var xxx_messageInfo_ListTargetsRequest proto.InternalMessageInfo
  556. func (m *ListTargetsRequest) GetParent() string {
  557. if m != nil {
  558. return m.Parent
  559. }
  560. return ""
  561. }
  562. func (m *ListTargetsRequest) GetPageSize() int32 {
  563. if m != nil {
  564. return m.PageSize
  565. }
  566. return 0
  567. }
  568. type isListTargetsRequest_PageStart interface {
  569. isListTargetsRequest_PageStart()
  570. }
  571. type ListTargetsRequest_PageToken struct {
  572. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"`
  573. }
  574. type ListTargetsRequest_Offset struct {
  575. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
  576. }
  577. func (*ListTargetsRequest_PageToken) isListTargetsRequest_PageStart() {}
  578. func (*ListTargetsRequest_Offset) isListTargetsRequest_PageStart() {}
  579. func (m *ListTargetsRequest) GetPageStart() isListTargetsRequest_PageStart {
  580. if m != nil {
  581. return m.PageStart
  582. }
  583. return nil
  584. }
  585. func (m *ListTargetsRequest) GetPageToken() string {
  586. if x, ok := m.GetPageStart().(*ListTargetsRequest_PageToken); ok {
  587. return x.PageToken
  588. }
  589. return ""
  590. }
  591. func (m *ListTargetsRequest) GetOffset() int64 {
  592. if x, ok := m.GetPageStart().(*ListTargetsRequest_Offset); ok {
  593. return x.Offset
  594. }
  595. return 0
  596. }
  597. // XXX_OneofFuncs is for the internal use of the proto package.
  598. func (*ListTargetsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  599. return _ListTargetsRequest_OneofMarshaler, _ListTargetsRequest_OneofUnmarshaler, _ListTargetsRequest_OneofSizer, []interface{}{
  600. (*ListTargetsRequest_PageToken)(nil),
  601. (*ListTargetsRequest_Offset)(nil),
  602. }
  603. }
  604. func _ListTargetsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  605. m := msg.(*ListTargetsRequest)
  606. // page_start
  607. switch x := m.PageStart.(type) {
  608. case *ListTargetsRequest_PageToken:
  609. b.EncodeVarint(3<<3 | proto.WireBytes)
  610. b.EncodeStringBytes(x.PageToken)
  611. case *ListTargetsRequest_Offset:
  612. b.EncodeVarint(4<<3 | proto.WireVarint)
  613. b.EncodeVarint(uint64(x.Offset))
  614. case nil:
  615. default:
  616. return fmt.Errorf("ListTargetsRequest.PageStart has unexpected type %T", x)
  617. }
  618. return nil
  619. }
  620. func _ListTargetsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  621. m := msg.(*ListTargetsRequest)
  622. switch tag {
  623. case 3: // page_start.page_token
  624. if wire != proto.WireBytes {
  625. return true, proto.ErrInternalBadWireType
  626. }
  627. x, err := b.DecodeStringBytes()
  628. m.PageStart = &ListTargetsRequest_PageToken{x}
  629. return true, err
  630. case 4: // page_start.offset
  631. if wire != proto.WireVarint {
  632. return true, proto.ErrInternalBadWireType
  633. }
  634. x, err := b.DecodeVarint()
  635. m.PageStart = &ListTargetsRequest_Offset{int64(x)}
  636. return true, err
  637. default:
  638. return false, nil
  639. }
  640. }
  641. func _ListTargetsRequest_OneofSizer(msg proto.Message) (n int) {
  642. m := msg.(*ListTargetsRequest)
  643. // page_start
  644. switch x := m.PageStart.(type) {
  645. case *ListTargetsRequest_PageToken:
  646. n += 1 // tag and wire
  647. n += proto.SizeVarint(uint64(len(x.PageToken)))
  648. n += len(x.PageToken)
  649. case *ListTargetsRequest_Offset:
  650. n += 1 // tag and wire
  651. n += proto.SizeVarint(uint64(x.Offset))
  652. case nil:
  653. default:
  654. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  655. }
  656. return n
  657. }
  658. // Response from calling ListTargetsResponse
  659. type ListTargetsResponse struct {
  660. // Targets matching the request invocation,
  661. // possibly capped at request.page_size or a server limit.
  662. Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
  663. // Token to retrieve the next page of results, or empty if there are no
  664. // more results in the list.
  665. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  666. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  667. XXX_unrecognized []byte `json:"-"`
  668. XXX_sizecache int32 `json:"-"`
  669. }
  670. func (m *ListTargetsResponse) Reset() { *m = ListTargetsResponse{} }
  671. func (m *ListTargetsResponse) String() string { return proto.CompactTextString(m) }
  672. func (*ListTargetsResponse) ProtoMessage() {}
  673. func (*ListTargetsResponse) Descriptor() ([]byte, []int) {
  674. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{8}
  675. }
  676. func (m *ListTargetsResponse) XXX_Unmarshal(b []byte) error {
  677. return xxx_messageInfo_ListTargetsResponse.Unmarshal(m, b)
  678. }
  679. func (m *ListTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  680. return xxx_messageInfo_ListTargetsResponse.Marshal(b, m, deterministic)
  681. }
  682. func (dst *ListTargetsResponse) XXX_Merge(src proto.Message) {
  683. xxx_messageInfo_ListTargetsResponse.Merge(dst, src)
  684. }
  685. func (m *ListTargetsResponse) XXX_Size() int {
  686. return xxx_messageInfo_ListTargetsResponse.Size(m)
  687. }
  688. func (m *ListTargetsResponse) XXX_DiscardUnknown() {
  689. xxx_messageInfo_ListTargetsResponse.DiscardUnknown(m)
  690. }
  691. var xxx_messageInfo_ListTargetsResponse proto.InternalMessageInfo
  692. func (m *ListTargetsResponse) GetTargets() []*Target {
  693. if m != nil {
  694. return m.Targets
  695. }
  696. return nil
  697. }
  698. func (m *ListTargetsResponse) GetNextPageToken() string {
  699. if m != nil {
  700. return m.NextPageToken
  701. }
  702. return ""
  703. }
  704. // Request passed into GetConfiguredTarget
  705. type GetConfiguredTargetRequest struct {
  706. // The name of the configured target to retrieve. It must match this format:
  707. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIGURATION_ID}
  708. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  709. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  710. XXX_unrecognized []byte `json:"-"`
  711. XXX_sizecache int32 `json:"-"`
  712. }
  713. func (m *GetConfiguredTargetRequest) Reset() { *m = GetConfiguredTargetRequest{} }
  714. func (m *GetConfiguredTargetRequest) String() string { return proto.CompactTextString(m) }
  715. func (*GetConfiguredTargetRequest) ProtoMessage() {}
  716. func (*GetConfiguredTargetRequest) Descriptor() ([]byte, []int) {
  717. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{9}
  718. }
  719. func (m *GetConfiguredTargetRequest) XXX_Unmarshal(b []byte) error {
  720. return xxx_messageInfo_GetConfiguredTargetRequest.Unmarshal(m, b)
  721. }
  722. func (m *GetConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  723. return xxx_messageInfo_GetConfiguredTargetRequest.Marshal(b, m, deterministic)
  724. }
  725. func (dst *GetConfiguredTargetRequest) XXX_Merge(src proto.Message) {
  726. xxx_messageInfo_GetConfiguredTargetRequest.Merge(dst, src)
  727. }
  728. func (m *GetConfiguredTargetRequest) XXX_Size() int {
  729. return xxx_messageInfo_GetConfiguredTargetRequest.Size(m)
  730. }
  731. func (m *GetConfiguredTargetRequest) XXX_DiscardUnknown() {
  732. xxx_messageInfo_GetConfiguredTargetRequest.DiscardUnknown(m)
  733. }
  734. var xxx_messageInfo_GetConfiguredTargetRequest proto.InternalMessageInfo
  735. func (m *GetConfiguredTargetRequest) GetName() string {
  736. if m != nil {
  737. return m.Name
  738. }
  739. return ""
  740. }
  741. // Request passed into ListConfiguredTargets
  742. type ListConfiguredTargetsRequest struct {
  743. // The invocation and target name of the configured targets to retrieve.
  744. // It must match this format:
  745. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}
  746. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  747. // The maximum number of items to return.
  748. // Zero means all, but may be capped by the server.
  749. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  750. // Options for pagination.
  751. //
  752. // Types that are valid to be assigned to PageStart:
  753. // *ListConfiguredTargetsRequest_PageToken
  754. // *ListConfiguredTargetsRequest_Offset
  755. PageStart isListConfiguredTargetsRequest_PageStart `protobuf_oneof:"page_start"`
  756. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  757. XXX_unrecognized []byte `json:"-"`
  758. XXX_sizecache int32 `json:"-"`
  759. }
  760. func (m *ListConfiguredTargetsRequest) Reset() { *m = ListConfiguredTargetsRequest{} }
  761. func (m *ListConfiguredTargetsRequest) String() string { return proto.CompactTextString(m) }
  762. func (*ListConfiguredTargetsRequest) ProtoMessage() {}
  763. func (*ListConfiguredTargetsRequest) Descriptor() ([]byte, []int) {
  764. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{10}
  765. }
  766. func (m *ListConfiguredTargetsRequest) XXX_Unmarshal(b []byte) error {
  767. return xxx_messageInfo_ListConfiguredTargetsRequest.Unmarshal(m, b)
  768. }
  769. func (m *ListConfiguredTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  770. return xxx_messageInfo_ListConfiguredTargetsRequest.Marshal(b, m, deterministic)
  771. }
  772. func (dst *ListConfiguredTargetsRequest) XXX_Merge(src proto.Message) {
  773. xxx_messageInfo_ListConfiguredTargetsRequest.Merge(dst, src)
  774. }
  775. func (m *ListConfiguredTargetsRequest) XXX_Size() int {
  776. return xxx_messageInfo_ListConfiguredTargetsRequest.Size(m)
  777. }
  778. func (m *ListConfiguredTargetsRequest) XXX_DiscardUnknown() {
  779. xxx_messageInfo_ListConfiguredTargetsRequest.DiscardUnknown(m)
  780. }
  781. var xxx_messageInfo_ListConfiguredTargetsRequest proto.InternalMessageInfo
  782. func (m *ListConfiguredTargetsRequest) GetParent() string {
  783. if m != nil {
  784. return m.Parent
  785. }
  786. return ""
  787. }
  788. func (m *ListConfiguredTargetsRequest) GetPageSize() int32 {
  789. if m != nil {
  790. return m.PageSize
  791. }
  792. return 0
  793. }
  794. type isListConfiguredTargetsRequest_PageStart interface {
  795. isListConfiguredTargetsRequest_PageStart()
  796. }
  797. type ListConfiguredTargetsRequest_PageToken struct {
  798. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"`
  799. }
  800. type ListConfiguredTargetsRequest_Offset struct {
  801. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
  802. }
  803. func (*ListConfiguredTargetsRequest_PageToken) isListConfiguredTargetsRequest_PageStart() {}
  804. func (*ListConfiguredTargetsRequest_Offset) isListConfiguredTargetsRequest_PageStart() {}
  805. func (m *ListConfiguredTargetsRequest) GetPageStart() isListConfiguredTargetsRequest_PageStart {
  806. if m != nil {
  807. return m.PageStart
  808. }
  809. return nil
  810. }
  811. func (m *ListConfiguredTargetsRequest) GetPageToken() string {
  812. if x, ok := m.GetPageStart().(*ListConfiguredTargetsRequest_PageToken); ok {
  813. return x.PageToken
  814. }
  815. return ""
  816. }
  817. func (m *ListConfiguredTargetsRequest) GetOffset() int64 {
  818. if x, ok := m.GetPageStart().(*ListConfiguredTargetsRequest_Offset); ok {
  819. return x.Offset
  820. }
  821. return 0
  822. }
  823. // XXX_OneofFuncs is for the internal use of the proto package.
  824. func (*ListConfiguredTargetsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  825. return _ListConfiguredTargetsRequest_OneofMarshaler, _ListConfiguredTargetsRequest_OneofUnmarshaler, _ListConfiguredTargetsRequest_OneofSizer, []interface{}{
  826. (*ListConfiguredTargetsRequest_PageToken)(nil),
  827. (*ListConfiguredTargetsRequest_Offset)(nil),
  828. }
  829. }
  830. func _ListConfiguredTargetsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  831. m := msg.(*ListConfiguredTargetsRequest)
  832. // page_start
  833. switch x := m.PageStart.(type) {
  834. case *ListConfiguredTargetsRequest_PageToken:
  835. b.EncodeVarint(3<<3 | proto.WireBytes)
  836. b.EncodeStringBytes(x.PageToken)
  837. case *ListConfiguredTargetsRequest_Offset:
  838. b.EncodeVarint(4<<3 | proto.WireVarint)
  839. b.EncodeVarint(uint64(x.Offset))
  840. case nil:
  841. default:
  842. return fmt.Errorf("ListConfiguredTargetsRequest.PageStart has unexpected type %T", x)
  843. }
  844. return nil
  845. }
  846. func _ListConfiguredTargetsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  847. m := msg.(*ListConfiguredTargetsRequest)
  848. switch tag {
  849. case 3: // page_start.page_token
  850. if wire != proto.WireBytes {
  851. return true, proto.ErrInternalBadWireType
  852. }
  853. x, err := b.DecodeStringBytes()
  854. m.PageStart = &ListConfiguredTargetsRequest_PageToken{x}
  855. return true, err
  856. case 4: // page_start.offset
  857. if wire != proto.WireVarint {
  858. return true, proto.ErrInternalBadWireType
  859. }
  860. x, err := b.DecodeVarint()
  861. m.PageStart = &ListConfiguredTargetsRequest_Offset{int64(x)}
  862. return true, err
  863. default:
  864. return false, nil
  865. }
  866. }
  867. func _ListConfiguredTargetsRequest_OneofSizer(msg proto.Message) (n int) {
  868. m := msg.(*ListConfiguredTargetsRequest)
  869. // page_start
  870. switch x := m.PageStart.(type) {
  871. case *ListConfiguredTargetsRequest_PageToken:
  872. n += 1 // tag and wire
  873. n += proto.SizeVarint(uint64(len(x.PageToken)))
  874. n += len(x.PageToken)
  875. case *ListConfiguredTargetsRequest_Offset:
  876. n += 1 // tag and wire
  877. n += proto.SizeVarint(uint64(x.Offset))
  878. case nil:
  879. default:
  880. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  881. }
  882. return n
  883. }
  884. // Response from calling ListConfiguredTargets
  885. type ListConfiguredTargetsResponse struct {
  886. // ConfiguredTargets matching the request,
  887. // possibly capped at request.page_size or a server limit.
  888. ConfiguredTargets []*ConfiguredTarget `protobuf:"bytes,1,rep,name=configured_targets,json=configuredTargets,proto3" json:"configured_targets,omitempty"`
  889. // Token to retrieve the next page of results, or empty if there are no
  890. // more results in the list.
  891. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  892. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  893. XXX_unrecognized []byte `json:"-"`
  894. XXX_sizecache int32 `json:"-"`
  895. }
  896. func (m *ListConfiguredTargetsResponse) Reset() { *m = ListConfiguredTargetsResponse{} }
  897. func (m *ListConfiguredTargetsResponse) String() string { return proto.CompactTextString(m) }
  898. func (*ListConfiguredTargetsResponse) ProtoMessage() {}
  899. func (*ListConfiguredTargetsResponse) Descriptor() ([]byte, []int) {
  900. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{11}
  901. }
  902. func (m *ListConfiguredTargetsResponse) XXX_Unmarshal(b []byte) error {
  903. return xxx_messageInfo_ListConfiguredTargetsResponse.Unmarshal(m, b)
  904. }
  905. func (m *ListConfiguredTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  906. return xxx_messageInfo_ListConfiguredTargetsResponse.Marshal(b, m, deterministic)
  907. }
  908. func (dst *ListConfiguredTargetsResponse) XXX_Merge(src proto.Message) {
  909. xxx_messageInfo_ListConfiguredTargetsResponse.Merge(dst, src)
  910. }
  911. func (m *ListConfiguredTargetsResponse) XXX_Size() int {
  912. return xxx_messageInfo_ListConfiguredTargetsResponse.Size(m)
  913. }
  914. func (m *ListConfiguredTargetsResponse) XXX_DiscardUnknown() {
  915. xxx_messageInfo_ListConfiguredTargetsResponse.DiscardUnknown(m)
  916. }
  917. var xxx_messageInfo_ListConfiguredTargetsResponse proto.InternalMessageInfo
  918. func (m *ListConfiguredTargetsResponse) GetConfiguredTargets() []*ConfiguredTarget {
  919. if m != nil {
  920. return m.ConfiguredTargets
  921. }
  922. return nil
  923. }
  924. func (m *ListConfiguredTargetsResponse) GetNextPageToken() string {
  925. if m != nil {
  926. return m.NextPageToken
  927. }
  928. return ""
  929. }
  930. // Request passed into GetAction
  931. type GetActionRequest struct {
  932. // The name of the action to retrieve. It must match this format:
  933. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIGURATION_ID}/actions/${ACTION_ID}
  934. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  935. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  936. XXX_unrecognized []byte `json:"-"`
  937. XXX_sizecache int32 `json:"-"`
  938. }
  939. func (m *GetActionRequest) Reset() { *m = GetActionRequest{} }
  940. func (m *GetActionRequest) String() string { return proto.CompactTextString(m) }
  941. func (*GetActionRequest) ProtoMessage() {}
  942. func (*GetActionRequest) Descriptor() ([]byte, []int) {
  943. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{12}
  944. }
  945. func (m *GetActionRequest) XXX_Unmarshal(b []byte) error {
  946. return xxx_messageInfo_GetActionRequest.Unmarshal(m, b)
  947. }
  948. func (m *GetActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  949. return xxx_messageInfo_GetActionRequest.Marshal(b, m, deterministic)
  950. }
  951. func (dst *GetActionRequest) XXX_Merge(src proto.Message) {
  952. xxx_messageInfo_GetActionRequest.Merge(dst, src)
  953. }
  954. func (m *GetActionRequest) XXX_Size() int {
  955. return xxx_messageInfo_GetActionRequest.Size(m)
  956. }
  957. func (m *GetActionRequest) XXX_DiscardUnknown() {
  958. xxx_messageInfo_GetActionRequest.DiscardUnknown(m)
  959. }
  960. var xxx_messageInfo_GetActionRequest proto.InternalMessageInfo
  961. func (m *GetActionRequest) GetName() string {
  962. if m != nil {
  963. return m.Name
  964. }
  965. return ""
  966. }
  967. // Request passed into ListActions
  968. type ListActionsRequest struct {
  969. // The invocation, target, and configuration name of the action to retrieve.
  970. // It must match this format:
  971. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIGURATION_ID}
  972. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  973. // The maximum number of items to return.
  974. // Zero means all, but may be capped by the server.
  975. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  976. // Options for pagination.
  977. //
  978. // Types that are valid to be assigned to PageStart:
  979. // *ListActionsRequest_PageToken
  980. // *ListActionsRequest_Offset
  981. PageStart isListActionsRequest_PageStart `protobuf_oneof:"page_start"`
  982. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  983. XXX_unrecognized []byte `json:"-"`
  984. XXX_sizecache int32 `json:"-"`
  985. }
  986. func (m *ListActionsRequest) Reset() { *m = ListActionsRequest{} }
  987. func (m *ListActionsRequest) String() string { return proto.CompactTextString(m) }
  988. func (*ListActionsRequest) ProtoMessage() {}
  989. func (*ListActionsRequest) Descriptor() ([]byte, []int) {
  990. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{13}
  991. }
  992. func (m *ListActionsRequest) XXX_Unmarshal(b []byte) error {
  993. return xxx_messageInfo_ListActionsRequest.Unmarshal(m, b)
  994. }
  995. func (m *ListActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  996. return xxx_messageInfo_ListActionsRequest.Marshal(b, m, deterministic)
  997. }
  998. func (dst *ListActionsRequest) XXX_Merge(src proto.Message) {
  999. xxx_messageInfo_ListActionsRequest.Merge(dst, src)
  1000. }
  1001. func (m *ListActionsRequest) XXX_Size() int {
  1002. return xxx_messageInfo_ListActionsRequest.Size(m)
  1003. }
  1004. func (m *ListActionsRequest) XXX_DiscardUnknown() {
  1005. xxx_messageInfo_ListActionsRequest.DiscardUnknown(m)
  1006. }
  1007. var xxx_messageInfo_ListActionsRequest proto.InternalMessageInfo
  1008. func (m *ListActionsRequest) GetParent() string {
  1009. if m != nil {
  1010. return m.Parent
  1011. }
  1012. return ""
  1013. }
  1014. func (m *ListActionsRequest) GetPageSize() int32 {
  1015. if m != nil {
  1016. return m.PageSize
  1017. }
  1018. return 0
  1019. }
  1020. type isListActionsRequest_PageStart interface {
  1021. isListActionsRequest_PageStart()
  1022. }
  1023. type ListActionsRequest_PageToken struct {
  1024. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"`
  1025. }
  1026. type ListActionsRequest_Offset struct {
  1027. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
  1028. }
  1029. func (*ListActionsRequest_PageToken) isListActionsRequest_PageStart() {}
  1030. func (*ListActionsRequest_Offset) isListActionsRequest_PageStart() {}
  1031. func (m *ListActionsRequest) GetPageStart() isListActionsRequest_PageStart {
  1032. if m != nil {
  1033. return m.PageStart
  1034. }
  1035. return nil
  1036. }
  1037. func (m *ListActionsRequest) GetPageToken() string {
  1038. if x, ok := m.GetPageStart().(*ListActionsRequest_PageToken); ok {
  1039. return x.PageToken
  1040. }
  1041. return ""
  1042. }
  1043. func (m *ListActionsRequest) GetOffset() int64 {
  1044. if x, ok := m.GetPageStart().(*ListActionsRequest_Offset); ok {
  1045. return x.Offset
  1046. }
  1047. return 0
  1048. }
  1049. // XXX_OneofFuncs is for the internal use of the proto package.
  1050. func (*ListActionsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1051. return _ListActionsRequest_OneofMarshaler, _ListActionsRequest_OneofUnmarshaler, _ListActionsRequest_OneofSizer, []interface{}{
  1052. (*ListActionsRequest_PageToken)(nil),
  1053. (*ListActionsRequest_Offset)(nil),
  1054. }
  1055. }
  1056. func _ListActionsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1057. m := msg.(*ListActionsRequest)
  1058. // page_start
  1059. switch x := m.PageStart.(type) {
  1060. case *ListActionsRequest_PageToken:
  1061. b.EncodeVarint(3<<3 | proto.WireBytes)
  1062. b.EncodeStringBytes(x.PageToken)
  1063. case *ListActionsRequest_Offset:
  1064. b.EncodeVarint(4<<3 | proto.WireVarint)
  1065. b.EncodeVarint(uint64(x.Offset))
  1066. case nil:
  1067. default:
  1068. return fmt.Errorf("ListActionsRequest.PageStart has unexpected type %T", x)
  1069. }
  1070. return nil
  1071. }
  1072. func _ListActionsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1073. m := msg.(*ListActionsRequest)
  1074. switch tag {
  1075. case 3: // page_start.page_token
  1076. if wire != proto.WireBytes {
  1077. return true, proto.ErrInternalBadWireType
  1078. }
  1079. x, err := b.DecodeStringBytes()
  1080. m.PageStart = &ListActionsRequest_PageToken{x}
  1081. return true, err
  1082. case 4: // page_start.offset
  1083. if wire != proto.WireVarint {
  1084. return true, proto.ErrInternalBadWireType
  1085. }
  1086. x, err := b.DecodeVarint()
  1087. m.PageStart = &ListActionsRequest_Offset{int64(x)}
  1088. return true, err
  1089. default:
  1090. return false, nil
  1091. }
  1092. }
  1093. func _ListActionsRequest_OneofSizer(msg proto.Message) (n int) {
  1094. m := msg.(*ListActionsRequest)
  1095. // page_start
  1096. switch x := m.PageStart.(type) {
  1097. case *ListActionsRequest_PageToken:
  1098. n += 1 // tag and wire
  1099. n += proto.SizeVarint(uint64(len(x.PageToken)))
  1100. n += len(x.PageToken)
  1101. case *ListActionsRequest_Offset:
  1102. n += 1 // tag and wire
  1103. n += proto.SizeVarint(uint64(x.Offset))
  1104. case nil:
  1105. default:
  1106. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1107. }
  1108. return n
  1109. }
  1110. // Response from calling ListActions
  1111. type ListActionsResponse struct {
  1112. // Actions matching the request,
  1113. // possibly capped at request.page_size or a server limit.
  1114. Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
  1115. // Token to retrieve the next page of results, or empty if there are no
  1116. // more results in the list.
  1117. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1118. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1119. XXX_unrecognized []byte `json:"-"`
  1120. XXX_sizecache int32 `json:"-"`
  1121. }
  1122. func (m *ListActionsResponse) Reset() { *m = ListActionsResponse{} }
  1123. func (m *ListActionsResponse) String() string { return proto.CompactTextString(m) }
  1124. func (*ListActionsResponse) ProtoMessage() {}
  1125. func (*ListActionsResponse) Descriptor() ([]byte, []int) {
  1126. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{14}
  1127. }
  1128. func (m *ListActionsResponse) XXX_Unmarshal(b []byte) error {
  1129. return xxx_messageInfo_ListActionsResponse.Unmarshal(m, b)
  1130. }
  1131. func (m *ListActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1132. return xxx_messageInfo_ListActionsResponse.Marshal(b, m, deterministic)
  1133. }
  1134. func (dst *ListActionsResponse) XXX_Merge(src proto.Message) {
  1135. xxx_messageInfo_ListActionsResponse.Merge(dst, src)
  1136. }
  1137. func (m *ListActionsResponse) XXX_Size() int {
  1138. return xxx_messageInfo_ListActionsResponse.Size(m)
  1139. }
  1140. func (m *ListActionsResponse) XXX_DiscardUnknown() {
  1141. xxx_messageInfo_ListActionsResponse.DiscardUnknown(m)
  1142. }
  1143. var xxx_messageInfo_ListActionsResponse proto.InternalMessageInfo
  1144. func (m *ListActionsResponse) GetActions() []*Action {
  1145. if m != nil {
  1146. return m.Actions
  1147. }
  1148. return nil
  1149. }
  1150. func (m *ListActionsResponse) GetNextPageToken() string {
  1151. if m != nil {
  1152. return m.NextPageToken
  1153. }
  1154. return ""
  1155. }
  1156. // Request passed into GetFileSet
  1157. type GetFileSetRequest struct {
  1158. // The name of the file set to retrieve. It must match this format:
  1159. // invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID}
  1160. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1161. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1162. XXX_unrecognized []byte `json:"-"`
  1163. XXX_sizecache int32 `json:"-"`
  1164. }
  1165. func (m *GetFileSetRequest) Reset() { *m = GetFileSetRequest{} }
  1166. func (m *GetFileSetRequest) String() string { return proto.CompactTextString(m) }
  1167. func (*GetFileSetRequest) ProtoMessage() {}
  1168. func (*GetFileSetRequest) Descriptor() ([]byte, []int) {
  1169. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{15}
  1170. }
  1171. func (m *GetFileSetRequest) XXX_Unmarshal(b []byte) error {
  1172. return xxx_messageInfo_GetFileSetRequest.Unmarshal(m, b)
  1173. }
  1174. func (m *GetFileSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1175. return xxx_messageInfo_GetFileSetRequest.Marshal(b, m, deterministic)
  1176. }
  1177. func (dst *GetFileSetRequest) XXX_Merge(src proto.Message) {
  1178. xxx_messageInfo_GetFileSetRequest.Merge(dst, src)
  1179. }
  1180. func (m *GetFileSetRequest) XXX_Size() int {
  1181. return xxx_messageInfo_GetFileSetRequest.Size(m)
  1182. }
  1183. func (m *GetFileSetRequest) XXX_DiscardUnknown() {
  1184. xxx_messageInfo_GetFileSetRequest.DiscardUnknown(m)
  1185. }
  1186. var xxx_messageInfo_GetFileSetRequest proto.InternalMessageInfo
  1187. func (m *GetFileSetRequest) GetName() string {
  1188. if m != nil {
  1189. return m.Name
  1190. }
  1191. return ""
  1192. }
  1193. // Request passed into ListFileSets
  1194. type ListFileSetsRequest struct {
  1195. // The invocation name of the file sets to retrieve.
  1196. // It must match this format: invocations/${INVOCATION_ID}
  1197. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1198. // The maximum number of items to return.
  1199. // Zero means all, but may be capped by the server.
  1200. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1201. // Options for pagination.
  1202. //
  1203. // Types that are valid to be assigned to PageStart:
  1204. // *ListFileSetsRequest_PageToken
  1205. // *ListFileSetsRequest_Offset
  1206. PageStart isListFileSetsRequest_PageStart `protobuf_oneof:"page_start"`
  1207. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1208. XXX_unrecognized []byte `json:"-"`
  1209. XXX_sizecache int32 `json:"-"`
  1210. }
  1211. func (m *ListFileSetsRequest) Reset() { *m = ListFileSetsRequest{} }
  1212. func (m *ListFileSetsRequest) String() string { return proto.CompactTextString(m) }
  1213. func (*ListFileSetsRequest) ProtoMessage() {}
  1214. func (*ListFileSetsRequest) Descriptor() ([]byte, []int) {
  1215. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{16}
  1216. }
  1217. func (m *ListFileSetsRequest) XXX_Unmarshal(b []byte) error {
  1218. return xxx_messageInfo_ListFileSetsRequest.Unmarshal(m, b)
  1219. }
  1220. func (m *ListFileSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1221. return xxx_messageInfo_ListFileSetsRequest.Marshal(b, m, deterministic)
  1222. }
  1223. func (dst *ListFileSetsRequest) XXX_Merge(src proto.Message) {
  1224. xxx_messageInfo_ListFileSetsRequest.Merge(dst, src)
  1225. }
  1226. func (m *ListFileSetsRequest) XXX_Size() int {
  1227. return xxx_messageInfo_ListFileSetsRequest.Size(m)
  1228. }
  1229. func (m *ListFileSetsRequest) XXX_DiscardUnknown() {
  1230. xxx_messageInfo_ListFileSetsRequest.DiscardUnknown(m)
  1231. }
  1232. var xxx_messageInfo_ListFileSetsRequest proto.InternalMessageInfo
  1233. func (m *ListFileSetsRequest) GetParent() string {
  1234. if m != nil {
  1235. return m.Parent
  1236. }
  1237. return ""
  1238. }
  1239. func (m *ListFileSetsRequest) GetPageSize() int32 {
  1240. if m != nil {
  1241. return m.PageSize
  1242. }
  1243. return 0
  1244. }
  1245. type isListFileSetsRequest_PageStart interface {
  1246. isListFileSetsRequest_PageStart()
  1247. }
  1248. type ListFileSetsRequest_PageToken struct {
  1249. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"`
  1250. }
  1251. type ListFileSetsRequest_Offset struct {
  1252. Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"`
  1253. }
  1254. func (*ListFileSetsRequest_PageToken) isListFileSetsRequest_PageStart() {}
  1255. func (*ListFileSetsRequest_Offset) isListFileSetsRequest_PageStart() {}
  1256. func (m *ListFileSetsRequest) GetPageStart() isListFileSetsRequest_PageStart {
  1257. if m != nil {
  1258. return m.PageStart
  1259. }
  1260. return nil
  1261. }
  1262. func (m *ListFileSetsRequest) GetPageToken() string {
  1263. if x, ok := m.GetPageStart().(*ListFileSetsRequest_PageToken); ok {
  1264. return x.PageToken
  1265. }
  1266. return ""
  1267. }
  1268. func (m *ListFileSetsRequest) GetOffset() int64 {
  1269. if x, ok := m.GetPageStart().(*ListFileSetsRequest_Offset); ok {
  1270. return x.Offset
  1271. }
  1272. return 0
  1273. }
  1274. // XXX_OneofFuncs is for the internal use of the proto package.
  1275. func (*ListFileSetsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1276. return _ListFileSetsRequest_OneofMarshaler, _ListFileSetsRequest_OneofUnmarshaler, _ListFileSetsRequest_OneofSizer, []interface{}{
  1277. (*ListFileSetsRequest_PageToken)(nil),
  1278. (*ListFileSetsRequest_Offset)(nil),
  1279. }
  1280. }
  1281. func _ListFileSetsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1282. m := msg.(*ListFileSetsRequest)
  1283. // page_start
  1284. switch x := m.PageStart.(type) {
  1285. case *ListFileSetsRequest_PageToken:
  1286. b.EncodeVarint(3<<3 | proto.WireBytes)
  1287. b.EncodeStringBytes(x.PageToken)
  1288. case *ListFileSetsRequest_Offset:
  1289. b.EncodeVarint(4<<3 | proto.WireVarint)
  1290. b.EncodeVarint(uint64(x.Offset))
  1291. case nil:
  1292. default:
  1293. return fmt.Errorf("ListFileSetsRequest.PageStart has unexpected type %T", x)
  1294. }
  1295. return nil
  1296. }
  1297. func _ListFileSetsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1298. m := msg.(*ListFileSetsRequest)
  1299. switch tag {
  1300. case 3: // page_start.page_token
  1301. if wire != proto.WireBytes {
  1302. return true, proto.ErrInternalBadWireType
  1303. }
  1304. x, err := b.DecodeStringBytes()
  1305. m.PageStart = &ListFileSetsRequest_PageToken{x}
  1306. return true, err
  1307. case 4: // page_start.offset
  1308. if wire != proto.WireVarint {
  1309. return true, proto.ErrInternalBadWireType
  1310. }
  1311. x, err := b.DecodeVarint()
  1312. m.PageStart = &ListFileSetsRequest_Offset{int64(x)}
  1313. return true, err
  1314. default:
  1315. return false, nil
  1316. }
  1317. }
  1318. func _ListFileSetsRequest_OneofSizer(msg proto.Message) (n int) {
  1319. m := msg.(*ListFileSetsRequest)
  1320. // page_start
  1321. switch x := m.PageStart.(type) {
  1322. case *ListFileSetsRequest_PageToken:
  1323. n += 1 // tag and wire
  1324. n += proto.SizeVarint(uint64(len(x.PageToken)))
  1325. n += len(x.PageToken)
  1326. case *ListFileSetsRequest_Offset:
  1327. n += 1 // tag and wire
  1328. n += proto.SizeVarint(uint64(x.Offset))
  1329. case nil:
  1330. default:
  1331. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1332. }
  1333. return n
  1334. }
  1335. // Response from calling ListFileSets
  1336. type ListFileSetsResponse struct {
  1337. // File sets matching the request,
  1338. // possibly capped at request.page_size or a server limit.
  1339. FileSets []*FileSet `protobuf:"bytes,1,rep,name=file_sets,json=fileSets,proto3" json:"file_sets,omitempty"`
  1340. // Token to retrieve the next page of results, or empty if there are no
  1341. // more results in the list.
  1342. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1343. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1344. XXX_unrecognized []byte `json:"-"`
  1345. XXX_sizecache int32 `json:"-"`
  1346. }
  1347. func (m *ListFileSetsResponse) Reset() { *m = ListFileSetsResponse{} }
  1348. func (m *ListFileSetsResponse) String() string { return proto.CompactTextString(m) }
  1349. func (*ListFileSetsResponse) ProtoMessage() {}
  1350. func (*ListFileSetsResponse) Descriptor() ([]byte, []int) {
  1351. return fileDescriptor_resultstore_download_88466e78d28e9257, []int{17}
  1352. }
  1353. func (m *ListFileSetsResponse) XXX_Unmarshal(b []byte) error {
  1354. return xxx_messageInfo_ListFileSetsResponse.Unmarshal(m, b)
  1355. }
  1356. func (m *ListFileSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1357. return xxx_messageInfo_ListFileSetsResponse.Marshal(b, m, deterministic)
  1358. }
  1359. func (dst *ListFileSetsResponse) XXX_Merge(src proto.Message) {
  1360. xxx_messageInfo_ListFileSetsResponse.Merge(dst, src)
  1361. }
  1362. func (m *ListFileSetsResponse) XXX_Size() int {
  1363. return xxx_messageInfo_ListFileSetsResponse.Size(m)
  1364. }
  1365. func (m *ListFileSetsResponse) XXX_DiscardUnknown() {
  1366. xxx_messageInfo_ListFileSetsResponse.DiscardUnknown(m)
  1367. }
  1368. var xxx_messageInfo_ListFileSetsResponse proto.InternalMessageInfo
  1369. func (m *ListFileSetsResponse) GetFileSets() []*FileSet {
  1370. if m != nil {
  1371. return m.FileSets
  1372. }
  1373. return nil
  1374. }
  1375. func (m *ListFileSetsResponse) GetNextPageToken() string {
  1376. if m != nil {
  1377. return m.NextPageToken
  1378. }
  1379. return ""
  1380. }
  1381. func init() {
  1382. proto.RegisterType((*GetInvocationRequest)(nil), "google.devtools.resultstore.v2.GetInvocationRequest")
  1383. proto.RegisterType((*SearchInvocationsRequest)(nil), "google.devtools.resultstore.v2.SearchInvocationsRequest")
  1384. proto.RegisterType((*SearchInvocationsResponse)(nil), "google.devtools.resultstore.v2.SearchInvocationsResponse")
  1385. proto.RegisterType((*GetConfigurationRequest)(nil), "google.devtools.resultstore.v2.GetConfigurationRequest")
  1386. proto.RegisterType((*ListConfigurationsRequest)(nil), "google.devtools.resultstore.v2.ListConfigurationsRequest")
  1387. proto.RegisterType((*ListConfigurationsResponse)(nil), "google.devtools.resultstore.v2.ListConfigurationsResponse")
  1388. proto.RegisterType((*GetTargetRequest)(nil), "google.devtools.resultstore.v2.GetTargetRequest")
  1389. proto.RegisterType((*ListTargetsRequest)(nil), "google.devtools.resultstore.v2.ListTargetsRequest")
  1390. proto.RegisterType((*ListTargetsResponse)(nil), "google.devtools.resultstore.v2.ListTargetsResponse")
  1391. proto.RegisterType((*GetConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.GetConfiguredTargetRequest")
  1392. proto.RegisterType((*ListConfiguredTargetsRequest)(nil), "google.devtools.resultstore.v2.ListConfiguredTargetsRequest")
  1393. proto.RegisterType((*ListConfiguredTargetsResponse)(nil), "google.devtools.resultstore.v2.ListConfiguredTargetsResponse")
  1394. proto.RegisterType((*GetActionRequest)(nil), "google.devtools.resultstore.v2.GetActionRequest")
  1395. proto.RegisterType((*ListActionsRequest)(nil), "google.devtools.resultstore.v2.ListActionsRequest")
  1396. proto.RegisterType((*ListActionsResponse)(nil), "google.devtools.resultstore.v2.ListActionsResponse")
  1397. proto.RegisterType((*GetFileSetRequest)(nil), "google.devtools.resultstore.v2.GetFileSetRequest")
  1398. proto.RegisterType((*ListFileSetsRequest)(nil), "google.devtools.resultstore.v2.ListFileSetsRequest")
  1399. proto.RegisterType((*ListFileSetsResponse)(nil), "google.devtools.resultstore.v2.ListFileSetsResponse")
  1400. }
  1401. // Reference imports to suppress errors if they are not otherwise used.
  1402. var _ context.Context
  1403. var _ grpc.ClientConn
  1404. // This is a compile-time assertion to ensure that this generated file
  1405. // is compatible with the grpc package it is being compiled against.
  1406. const _ = grpc.SupportPackageIsVersion4
  1407. // ResultStoreDownloadClient is the client API for ResultStoreDownload service.
  1408. //
  1409. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1410. type ResultStoreDownloadClient interface {
  1411. // Retrieves the invocation with the given name.
  1412. //
  1413. // An error will be reported in the following cases:
  1414. // - If the invocation is not found.
  1415. // - If the given invocation name is badly formatted.
  1416. // - If no field mask was given.
  1417. GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error)
  1418. // Searches for invocations matching the given query parameters.
  1419. //
  1420. //
  1421. // An error will be reported in the following cases:
  1422. // - If a query string is not provided
  1423. // - If no field mask was given.
  1424. SearchInvocations(ctx context.Context, in *SearchInvocationsRequest, opts ...grpc.CallOption) (*SearchInvocationsResponse, error)
  1425. // Retrieves the configuration with the given name.
  1426. //
  1427. // An error will be reported in the following cases:
  1428. // - If the configuration or its parent invocation is not found.
  1429. // - If the given configuration name is badly formatted.
  1430. // - If no field mask was given.
  1431. GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error)
  1432. // Retrieves all configurations for a parent invocation.
  1433. // This might be limited by user or server,
  1434. // in which case a continuation token is provided.
  1435. //
  1436. // An error will be reported in the following cases:
  1437. // - If the parent invocation is not found.
  1438. // - If the given parent invocation name is badly formatted.
  1439. // - If no field mask was given.
  1440. ListConfigurations(ctx context.Context, in *ListConfigurationsRequest, opts ...grpc.CallOption) (*ListConfigurationsResponse, error)
  1441. // Retrieves the target with the given name.
  1442. //
  1443. // An error will be reported in the following cases:
  1444. // - If the target or its parent invocation is not found.
  1445. // - If the given target name is badly formatted.
  1446. // - If no field mask was given.
  1447. GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error)
  1448. // Retrieves all targets for a parent invocation. This might be limited by
  1449. // user or server, in which case a continuation token is provided.
  1450. //
  1451. // An error will be reported in the following cases:
  1452. // - If the parent is not found.
  1453. // - If the given parent name is badly formatted.
  1454. // - If no field mask was given.
  1455. ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error)
  1456. // Retrieves the configured target with the given name.
  1457. //
  1458. // An error will be reported in the following cases:
  1459. // - If the configured target is not found.
  1460. // - If the given name is badly formatted.
  1461. // - If no field mask was given.
  1462. GetConfiguredTarget(ctx context.Context, in *GetConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error)
  1463. // Retrieves all configured targets for a parent invocation/target.
  1464. // This might be limited by user or server, in which case a continuation
  1465. // token is provided. Supports '-' for targetId meaning all targets.
  1466. //
  1467. // An error will be reported in the following cases:
  1468. // - If the parent is not found.
  1469. // - If the given parent name is badly formatted.
  1470. // - If no field mask was given.
  1471. ListConfiguredTargets(ctx context.Context, in *ListConfiguredTargetsRequest, opts ...grpc.CallOption) (*ListConfiguredTargetsResponse, error)
  1472. // Retrieves the action with the given name.
  1473. //
  1474. // An error will be reported in the following cases:
  1475. // - If the action is not found.
  1476. // - If the given name is badly formatted.
  1477. // - If no field mask was given.
  1478. GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*Action, error)
  1479. // Retrieves all actions for a parent invocation/target/configuration.
  1480. // This might be limited by user or server, in which case a continuation
  1481. // token is provided. Supports '-' for configurationId to mean all
  1482. // actions for all configurations for a target, or '-' for targetId and
  1483. // configurationId to mean all actions for all configurations and all targets.
  1484. // Does not support targetId '-' with a specified configuration.
  1485. //
  1486. // An error will be reported in the following cases:
  1487. // - If the parent is not found.
  1488. // - If the given parent name is badly formatted.
  1489. // - If no field mask was given.
  1490. ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error)
  1491. // Retrieves the file set with the given name.
  1492. //
  1493. // An error will be reported in the following cases:
  1494. // - If the file set or its parent invocation is not found.
  1495. // - If the given file set name is badly formatted.
  1496. // - If no field mask was given.
  1497. GetFileSet(ctx context.Context, in *GetFileSetRequest, opts ...grpc.CallOption) (*FileSet, error)
  1498. // Retrieves all file sets for a parent invocation.
  1499. // This might be limited by user or server,
  1500. // in which case a continuation token is provided.
  1501. //
  1502. // An error will be reported in the following cases:
  1503. // - If the parent invocation is not found.
  1504. // - If the given parent invocation name is badly formatted.
  1505. // - If no field mask was given.
  1506. ListFileSets(ctx context.Context, in *ListFileSetsRequest, opts ...grpc.CallOption) (*ListFileSetsResponse, error)
  1507. }
  1508. type resultStoreDownloadClient struct {
  1509. cc *grpc.ClientConn
  1510. }
  1511. func NewResultStoreDownloadClient(cc *grpc.ClientConn) ResultStoreDownloadClient {
  1512. return &resultStoreDownloadClient{cc}
  1513. }
  1514. func (c *resultStoreDownloadClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) {
  1515. out := new(Invocation)
  1516. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocation", in, out, opts...)
  1517. if err != nil {
  1518. return nil, err
  1519. }
  1520. return out, nil
  1521. }
  1522. func (c *resultStoreDownloadClient) SearchInvocations(ctx context.Context, in *SearchInvocationsRequest, opts ...grpc.CallOption) (*SearchInvocationsResponse, error) {
  1523. out := new(SearchInvocationsResponse)
  1524. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/SearchInvocations", in, out, opts...)
  1525. if err != nil {
  1526. return nil, err
  1527. }
  1528. return out, nil
  1529. }
  1530. func (c *resultStoreDownloadClient) GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) {
  1531. out := new(Configuration)
  1532. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguration", in, out, opts...)
  1533. if err != nil {
  1534. return nil, err
  1535. }
  1536. return out, nil
  1537. }
  1538. func (c *resultStoreDownloadClient) ListConfigurations(ctx context.Context, in *ListConfigurationsRequest, opts ...grpc.CallOption) (*ListConfigurationsResponse, error) {
  1539. out := new(ListConfigurationsResponse)
  1540. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfigurations", in, out, opts...)
  1541. if err != nil {
  1542. return nil, err
  1543. }
  1544. return out, nil
  1545. }
  1546. func (c *resultStoreDownloadClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error) {
  1547. out := new(Target)
  1548. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetTarget", in, out, opts...)
  1549. if err != nil {
  1550. return nil, err
  1551. }
  1552. return out, nil
  1553. }
  1554. func (c *resultStoreDownloadClient) ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error) {
  1555. out := new(ListTargetsResponse)
  1556. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListTargets", in, out, opts...)
  1557. if err != nil {
  1558. return nil, err
  1559. }
  1560. return out, nil
  1561. }
  1562. func (c *resultStoreDownloadClient) GetConfiguredTarget(ctx context.Context, in *GetConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) {
  1563. out := new(ConfiguredTarget)
  1564. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguredTarget", in, out, opts...)
  1565. if err != nil {
  1566. return nil, err
  1567. }
  1568. return out, nil
  1569. }
  1570. func (c *resultStoreDownloadClient) ListConfiguredTargets(ctx context.Context, in *ListConfiguredTargetsRequest, opts ...grpc.CallOption) (*ListConfiguredTargetsResponse, error) {
  1571. out := new(ListConfiguredTargetsResponse)
  1572. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfiguredTargets", in, out, opts...)
  1573. if err != nil {
  1574. return nil, err
  1575. }
  1576. return out, nil
  1577. }
  1578. func (c *resultStoreDownloadClient) GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*Action, error) {
  1579. out := new(Action)
  1580. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetAction", in, out, opts...)
  1581. if err != nil {
  1582. return nil, err
  1583. }
  1584. return out, nil
  1585. }
  1586. func (c *resultStoreDownloadClient) ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) {
  1587. out := new(ListActionsResponse)
  1588. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListActions", in, out, opts...)
  1589. if err != nil {
  1590. return nil, err
  1591. }
  1592. return out, nil
  1593. }
  1594. func (c *resultStoreDownloadClient) GetFileSet(ctx context.Context, in *GetFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) {
  1595. out := new(FileSet)
  1596. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetFileSet", in, out, opts...)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return out, nil
  1601. }
  1602. func (c *resultStoreDownloadClient) ListFileSets(ctx context.Context, in *ListFileSetsRequest, opts ...grpc.CallOption) (*ListFileSetsResponse, error) {
  1603. out := new(ListFileSetsResponse)
  1604. err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListFileSets", in, out, opts...)
  1605. if err != nil {
  1606. return nil, err
  1607. }
  1608. return out, nil
  1609. }
  1610. // ResultStoreDownloadServer is the server API for ResultStoreDownload service.
  1611. type ResultStoreDownloadServer interface {
  1612. // Retrieves the invocation with the given name.
  1613. //
  1614. // An error will be reported in the following cases:
  1615. // - If the invocation is not found.
  1616. // - If the given invocation name is badly formatted.
  1617. // - If no field mask was given.
  1618. GetInvocation(context.Context, *GetInvocationRequest) (*Invocation, error)
  1619. // Searches for invocations matching the given query parameters.
  1620. //
  1621. //
  1622. // An error will be reported in the following cases:
  1623. // - If a query string is not provided
  1624. // - If no field mask was given.
  1625. SearchInvocations(context.Context, *SearchInvocationsRequest) (*SearchInvocationsResponse, error)
  1626. // Retrieves the configuration with the given name.
  1627. //
  1628. // An error will be reported in the following cases:
  1629. // - If the configuration or its parent invocation is not found.
  1630. // - If the given configuration name is badly formatted.
  1631. // - If no field mask was given.
  1632. GetConfiguration(context.Context, *GetConfigurationRequest) (*Configuration, error)
  1633. // Retrieves all configurations for a parent invocation.
  1634. // This might be limited by user or server,
  1635. // in which case a continuation token is provided.
  1636. //
  1637. // An error will be reported in the following cases:
  1638. // - If the parent invocation is not found.
  1639. // - If the given parent invocation name is badly formatted.
  1640. // - If no field mask was given.
  1641. ListConfigurations(context.Context, *ListConfigurationsRequest) (*ListConfigurationsResponse, error)
  1642. // Retrieves the target with the given name.
  1643. //
  1644. // An error will be reported in the following cases:
  1645. // - If the target or its parent invocation is not found.
  1646. // - If the given target name is badly formatted.
  1647. // - If no field mask was given.
  1648. GetTarget(context.Context, *GetTargetRequest) (*Target, error)
  1649. // Retrieves all targets for a parent invocation. This might be limited by
  1650. // user or server, in which case a continuation token is provided.
  1651. //
  1652. // An error will be reported in the following cases:
  1653. // - If the parent is not found.
  1654. // - If the given parent name is badly formatted.
  1655. // - If no field mask was given.
  1656. ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error)
  1657. // Retrieves the configured target with the given name.
  1658. //
  1659. // An error will be reported in the following cases:
  1660. // - If the configured target is not found.
  1661. // - If the given name is badly formatted.
  1662. // - If no field mask was given.
  1663. GetConfiguredTarget(context.Context, *GetConfiguredTargetRequest) (*ConfiguredTarget, error)
  1664. // Retrieves all configured targets for a parent invocation/target.
  1665. // This might be limited by user or server, in which case a continuation
  1666. // token is provided. Supports '-' for targetId meaning all targets.
  1667. //
  1668. // An error will be reported in the following cases:
  1669. // - If the parent is not found.
  1670. // - If the given parent name is badly formatted.
  1671. // - If no field mask was given.
  1672. ListConfiguredTargets(context.Context, *ListConfiguredTargetsRequest) (*ListConfiguredTargetsResponse, error)
  1673. // Retrieves the action with the given name.
  1674. //
  1675. // An error will be reported in the following cases:
  1676. // - If the action is not found.
  1677. // - If the given name is badly formatted.
  1678. // - If no field mask was given.
  1679. GetAction(context.Context, *GetActionRequest) (*Action, error)
  1680. // Retrieves all actions for a parent invocation/target/configuration.
  1681. // This might be limited by user or server, in which case a continuation
  1682. // token is provided. Supports '-' for configurationId to mean all
  1683. // actions for all configurations for a target, or '-' for targetId and
  1684. // configurationId to mean all actions for all configurations and all targets.
  1685. // Does not support targetId '-' with a specified configuration.
  1686. //
  1687. // An error will be reported in the following cases:
  1688. // - If the parent is not found.
  1689. // - If the given parent name is badly formatted.
  1690. // - If no field mask was given.
  1691. ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error)
  1692. // Retrieves the file set with the given name.
  1693. //
  1694. // An error will be reported in the following cases:
  1695. // - If the file set or its parent invocation is not found.
  1696. // - If the given file set name is badly formatted.
  1697. // - If no field mask was given.
  1698. GetFileSet(context.Context, *GetFileSetRequest) (*FileSet, error)
  1699. // Retrieves all file sets for a parent invocation.
  1700. // This might be limited by user or server,
  1701. // in which case a continuation token is provided.
  1702. //
  1703. // An error will be reported in the following cases:
  1704. // - If the parent invocation is not found.
  1705. // - If the given parent invocation name is badly formatted.
  1706. // - If no field mask was given.
  1707. ListFileSets(context.Context, *ListFileSetsRequest) (*ListFileSetsResponse, error)
  1708. }
  1709. func RegisterResultStoreDownloadServer(s *grpc.Server, srv ResultStoreDownloadServer) {
  1710. s.RegisterService(&_ResultStoreDownload_serviceDesc, srv)
  1711. }
  1712. func _ResultStoreDownload_GetInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1713. in := new(GetInvocationRequest)
  1714. if err := dec(in); err != nil {
  1715. return nil, err
  1716. }
  1717. if interceptor == nil {
  1718. return srv.(ResultStoreDownloadServer).GetInvocation(ctx, in)
  1719. }
  1720. info := &grpc.UnaryServerInfo{
  1721. Server: srv,
  1722. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocation",
  1723. }
  1724. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1725. return srv.(ResultStoreDownloadServer).GetInvocation(ctx, req.(*GetInvocationRequest))
  1726. }
  1727. return interceptor(ctx, in, info, handler)
  1728. }
  1729. func _ResultStoreDownload_SearchInvocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1730. in := new(SearchInvocationsRequest)
  1731. if err := dec(in); err != nil {
  1732. return nil, err
  1733. }
  1734. if interceptor == nil {
  1735. return srv.(ResultStoreDownloadServer).SearchInvocations(ctx, in)
  1736. }
  1737. info := &grpc.UnaryServerInfo{
  1738. Server: srv,
  1739. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/SearchInvocations",
  1740. }
  1741. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1742. return srv.(ResultStoreDownloadServer).SearchInvocations(ctx, req.(*SearchInvocationsRequest))
  1743. }
  1744. return interceptor(ctx, in, info, handler)
  1745. }
  1746. func _ResultStoreDownload_GetConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1747. in := new(GetConfigurationRequest)
  1748. if err := dec(in); err != nil {
  1749. return nil, err
  1750. }
  1751. if interceptor == nil {
  1752. return srv.(ResultStoreDownloadServer).GetConfiguration(ctx, in)
  1753. }
  1754. info := &grpc.UnaryServerInfo{
  1755. Server: srv,
  1756. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguration",
  1757. }
  1758. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1759. return srv.(ResultStoreDownloadServer).GetConfiguration(ctx, req.(*GetConfigurationRequest))
  1760. }
  1761. return interceptor(ctx, in, info, handler)
  1762. }
  1763. func _ResultStoreDownload_ListConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1764. in := new(ListConfigurationsRequest)
  1765. if err := dec(in); err != nil {
  1766. return nil, err
  1767. }
  1768. if interceptor == nil {
  1769. return srv.(ResultStoreDownloadServer).ListConfigurations(ctx, in)
  1770. }
  1771. info := &grpc.UnaryServerInfo{
  1772. Server: srv,
  1773. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfigurations",
  1774. }
  1775. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1776. return srv.(ResultStoreDownloadServer).ListConfigurations(ctx, req.(*ListConfigurationsRequest))
  1777. }
  1778. return interceptor(ctx, in, info, handler)
  1779. }
  1780. func _ResultStoreDownload_GetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1781. in := new(GetTargetRequest)
  1782. if err := dec(in); err != nil {
  1783. return nil, err
  1784. }
  1785. if interceptor == nil {
  1786. return srv.(ResultStoreDownloadServer).GetTarget(ctx, in)
  1787. }
  1788. info := &grpc.UnaryServerInfo{
  1789. Server: srv,
  1790. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetTarget",
  1791. }
  1792. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1793. return srv.(ResultStoreDownloadServer).GetTarget(ctx, req.(*GetTargetRequest))
  1794. }
  1795. return interceptor(ctx, in, info, handler)
  1796. }
  1797. func _ResultStoreDownload_ListTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1798. in := new(ListTargetsRequest)
  1799. if err := dec(in); err != nil {
  1800. return nil, err
  1801. }
  1802. if interceptor == nil {
  1803. return srv.(ResultStoreDownloadServer).ListTargets(ctx, in)
  1804. }
  1805. info := &grpc.UnaryServerInfo{
  1806. Server: srv,
  1807. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListTargets",
  1808. }
  1809. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1810. return srv.(ResultStoreDownloadServer).ListTargets(ctx, req.(*ListTargetsRequest))
  1811. }
  1812. return interceptor(ctx, in, info, handler)
  1813. }
  1814. func _ResultStoreDownload_GetConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1815. in := new(GetConfiguredTargetRequest)
  1816. if err := dec(in); err != nil {
  1817. return nil, err
  1818. }
  1819. if interceptor == nil {
  1820. return srv.(ResultStoreDownloadServer).GetConfiguredTarget(ctx, in)
  1821. }
  1822. info := &grpc.UnaryServerInfo{
  1823. Server: srv,
  1824. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguredTarget",
  1825. }
  1826. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1827. return srv.(ResultStoreDownloadServer).GetConfiguredTarget(ctx, req.(*GetConfiguredTargetRequest))
  1828. }
  1829. return interceptor(ctx, in, info, handler)
  1830. }
  1831. func _ResultStoreDownload_ListConfiguredTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1832. in := new(ListConfiguredTargetsRequest)
  1833. if err := dec(in); err != nil {
  1834. return nil, err
  1835. }
  1836. if interceptor == nil {
  1837. return srv.(ResultStoreDownloadServer).ListConfiguredTargets(ctx, in)
  1838. }
  1839. info := &grpc.UnaryServerInfo{
  1840. Server: srv,
  1841. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfiguredTargets",
  1842. }
  1843. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1844. return srv.(ResultStoreDownloadServer).ListConfiguredTargets(ctx, req.(*ListConfiguredTargetsRequest))
  1845. }
  1846. return interceptor(ctx, in, info, handler)
  1847. }
  1848. func _ResultStoreDownload_GetAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1849. in := new(GetActionRequest)
  1850. if err := dec(in); err != nil {
  1851. return nil, err
  1852. }
  1853. if interceptor == nil {
  1854. return srv.(ResultStoreDownloadServer).GetAction(ctx, in)
  1855. }
  1856. info := &grpc.UnaryServerInfo{
  1857. Server: srv,
  1858. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetAction",
  1859. }
  1860. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1861. return srv.(ResultStoreDownloadServer).GetAction(ctx, req.(*GetActionRequest))
  1862. }
  1863. return interceptor(ctx, in, info, handler)
  1864. }
  1865. func _ResultStoreDownload_ListActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1866. in := new(ListActionsRequest)
  1867. if err := dec(in); err != nil {
  1868. return nil, err
  1869. }
  1870. if interceptor == nil {
  1871. return srv.(ResultStoreDownloadServer).ListActions(ctx, in)
  1872. }
  1873. info := &grpc.UnaryServerInfo{
  1874. Server: srv,
  1875. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListActions",
  1876. }
  1877. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1878. return srv.(ResultStoreDownloadServer).ListActions(ctx, req.(*ListActionsRequest))
  1879. }
  1880. return interceptor(ctx, in, info, handler)
  1881. }
  1882. func _ResultStoreDownload_GetFileSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1883. in := new(GetFileSetRequest)
  1884. if err := dec(in); err != nil {
  1885. return nil, err
  1886. }
  1887. if interceptor == nil {
  1888. return srv.(ResultStoreDownloadServer).GetFileSet(ctx, in)
  1889. }
  1890. info := &grpc.UnaryServerInfo{
  1891. Server: srv,
  1892. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetFileSet",
  1893. }
  1894. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1895. return srv.(ResultStoreDownloadServer).GetFileSet(ctx, req.(*GetFileSetRequest))
  1896. }
  1897. return interceptor(ctx, in, info, handler)
  1898. }
  1899. func _ResultStoreDownload_ListFileSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1900. in := new(ListFileSetsRequest)
  1901. if err := dec(in); err != nil {
  1902. return nil, err
  1903. }
  1904. if interceptor == nil {
  1905. return srv.(ResultStoreDownloadServer).ListFileSets(ctx, in)
  1906. }
  1907. info := &grpc.UnaryServerInfo{
  1908. Server: srv,
  1909. FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListFileSets",
  1910. }
  1911. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1912. return srv.(ResultStoreDownloadServer).ListFileSets(ctx, req.(*ListFileSetsRequest))
  1913. }
  1914. return interceptor(ctx, in, info, handler)
  1915. }
  1916. var _ResultStoreDownload_serviceDesc = grpc.ServiceDesc{
  1917. ServiceName: "google.devtools.resultstore.v2.ResultStoreDownload",
  1918. HandlerType: (*ResultStoreDownloadServer)(nil),
  1919. Methods: []grpc.MethodDesc{
  1920. {
  1921. MethodName: "GetInvocation",
  1922. Handler: _ResultStoreDownload_GetInvocation_Handler,
  1923. },
  1924. {
  1925. MethodName: "SearchInvocations",
  1926. Handler: _ResultStoreDownload_SearchInvocations_Handler,
  1927. },
  1928. {
  1929. MethodName: "GetConfiguration",
  1930. Handler: _ResultStoreDownload_GetConfiguration_Handler,
  1931. },
  1932. {
  1933. MethodName: "ListConfigurations",
  1934. Handler: _ResultStoreDownload_ListConfigurations_Handler,
  1935. },
  1936. {
  1937. MethodName: "GetTarget",
  1938. Handler: _ResultStoreDownload_GetTarget_Handler,
  1939. },
  1940. {
  1941. MethodName: "ListTargets",
  1942. Handler: _ResultStoreDownload_ListTargets_Handler,
  1943. },
  1944. {
  1945. MethodName: "GetConfiguredTarget",
  1946. Handler: _ResultStoreDownload_GetConfiguredTarget_Handler,
  1947. },
  1948. {
  1949. MethodName: "ListConfiguredTargets",
  1950. Handler: _ResultStoreDownload_ListConfiguredTargets_Handler,
  1951. },
  1952. {
  1953. MethodName: "GetAction",
  1954. Handler: _ResultStoreDownload_GetAction_Handler,
  1955. },
  1956. {
  1957. MethodName: "ListActions",
  1958. Handler: _ResultStoreDownload_ListActions_Handler,
  1959. },
  1960. {
  1961. MethodName: "GetFileSet",
  1962. Handler: _ResultStoreDownload_GetFileSet_Handler,
  1963. },
  1964. {
  1965. MethodName: "ListFileSets",
  1966. Handler: _ResultStoreDownload_ListFileSets_Handler,
  1967. },
  1968. },
  1969. Streams: []grpc.StreamDesc{},
  1970. Metadata: "google/devtools/resultstore/v2/resultstore_download.proto",
  1971. }
  1972. func init() {
  1973. proto.RegisterFile("google/devtools/resultstore/v2/resultstore_download.proto", fileDescriptor_resultstore_download_88466e78d28e9257)
  1974. }
  1975. var fileDescriptor_resultstore_download_88466e78d28e9257 = []byte{
  1976. // 1043 bytes of a gzipped FileDescriptorProto
  1977. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcf, 0x6f, 0xdc, 0x44,
  1978. 0x14, 0xc7, 0x3b, 0xf9, 0x45, 0xf7, 0xa5, 0x85, 0xe6, 0x25, 0x14, 0xd7, 0xb4, 0x25, 0x32, 0x90,
  1979. 0x46, 0xa9, 0xb2, 0x1b, 0xb6, 0x55, 0x69, 0x03, 0x45, 0x25, 0x54, 0x24, 0x91, 0x7a, 0xa8, 0x36,
  1980. 0xe5, 0xc2, 0x65, 0x65, 0x76, 0x67, 0x8d, 0x61, 0xe3, 0xd9, 0x78, 0x26, 0x01, 0x8a, 0x10, 0x12,
  1981. 0xe2, 0x1f, 0x28, 0x11, 0x07, 0x04, 0x27, 0x0e, 0x55, 0x6e, 0x9c, 0x10, 0x57, 0x24, 0xc4, 0x5f,
  1982. 0x00, 0x7f, 0x02, 0x7f, 0x08, 0xf2, 0x78, 0x66, 0xe3, 0x71, 0xbc, 0xeb, 0x71, 0x4e, 0xb9, 0xc5,
  1983. 0xde, 0xf7, 0x9d, 0x79, 0xef, 0x33, 0x5f, 0xfb, 0xbd, 0x18, 0xee, 0x05, 0x8c, 0x05, 0x7d, 0xda,
  1984. 0xe8, 0xd2, 0x03, 0xc1, 0x58, 0x9f, 0x37, 0x62, 0xca, 0xf7, 0xfb, 0x82, 0x0b, 0x16, 0xd3, 0xc6,
  1985. 0x41, 0x33, 0x7b, 0xd9, 0xee, 0xb2, 0x2f, 0xa2, 0x3e, 0xf3, 0xbb, 0xf5, 0x41, 0xcc, 0x04, 0xc3,
  1986. 0xeb, 0xa9, 0xb4, 0xae, 0xa5, 0xf5, 0x4c, 0x6c, 0xfd, 0xa0, 0xe9, 0x5e, 0x55, 0x4b, 0xfb, 0x83,
  1987. 0xb0, 0xe1, 0x47, 0x11, 0x13, 0xbe, 0x08, 0x59, 0xc4, 0x53, 0xb5, 0x7b, 0xb3, 0x64, 0x63, 0xbf,
  1988. 0x93, 0x44, 0x5b, 0x06, 0x77, 0xd8, 0xee, 0xee, 0x30, 0xb8, 0x59, 0x1a, 0x1c, 0xf5, 0xc2, 0x60,
  1989. 0x3f, 0xf6, 0x33, 0x1b, 0xdc, 0xb1, 0xd4, 0xd0, 0x6e, 0x5b, 0xf8, 0x71, 0x40, 0x85, 0xd2, 0xad,
  1990. 0x96, 0xe8, 0x7a, 0x61, 0x9f, 0xb6, 0xf9, 0x30, 0xbc, 0x51, 0x12, 0x1e, 0x46, 0x07, 0xac, 0xe3,
  1991. 0x57, 0x28, 0x3c, 0x9b, 0x8c, 0xb7, 0x02, 0x0b, 0x9b, 0x54, 0x6c, 0x0f, 0xd7, 0x68, 0xd1, 0xbd,
  1992. 0x7d, 0xca, 0x05, 0x22, 0x4c, 0x45, 0xfe, 0x2e, 0x75, 0xc8, 0x22, 0x59, 0xae, 0xb5, 0xe4, 0xdf,
  1993. 0xde, 0xef, 0x04, 0x9c, 0x1d, 0xea, 0xc7, 0x9d, 0x4f, 0x8f, 0xe3, 0xb9, 0x16, 0xbc, 0x0a, 0xb5,
  1994. 0x81, 0x1f, 0xd0, 0x36, 0x0f, 0x9f, 0xa6, 0xaa, 0xe9, 0xd6, 0xf9, 0xe4, 0xc6, 0x4e, 0xf8, 0x94,
  1995. 0xe2, 0x6b, 0x00, 0xf2, 0x47, 0xc1, 0x3e, 0xa7, 0x91, 0x33, 0x91, 0xac, 0xb9, 0x75, 0xae, 0x25,
  1996. 0x05, 0x4f, 0x92, 0x5b, 0xe8, 0xc0, 0x0c, 0xeb, 0xf5, 0x38, 0x15, 0xce, 0xe4, 0x22, 0x59, 0x9e,
  1997. 0xdc, 0x3a, 0xd7, 0x52, 0xd7, 0xb8, 0x00, 0xd3, 0x7b, 0xfb, 0x34, 0xfe, 0xca, 0x99, 0x92, 0x99,
  1998. 0xa4, 0x17, 0x78, 0x0d, 0x60, 0x10, 0xb3, 0xcf, 0x68, 0x47, 0xb4, 0xc3, 0xae, 0x33, 0x2d, 0x7f,
  1999. 0xaa, 0xa9, 0x3b, 0xdb, 0xdd, 0x8d, 0x0b, 0x6a, 0x3f, 0x2e, 0xfc, 0x58, 0x78, 0xcf, 0x08, 0x5c,
  2000. 0x29, 0xc8, 0x9b, 0x0f, 0x58, 0xc4, 0x29, 0x3e, 0x82, 0xd9, 0x63, 0x84, 0xdc, 0x21, 0x8b, 0x93,
  2001. 0xcb, 0xb3, 0xcd, 0x95, 0xfa, 0x78, 0xa3, 0xd6, 0x33, 0xc4, 0xb2, 0x72, 0x5c, 0x82, 0x97, 0x22,
  2002. 0xfa, 0xa5, 0x68, 0xe7, 0xcb, 0x6d, 0x5d, 0x4c, 0x6e, 0x3f, 0xd6, 0x05, 0x7b, 0xab, 0xf0, 0xca,
  2003. 0x26, 0x15, 0x1f, 0x64, 0x6d, 0x35, 0x0e, 0xfd, 0x4f, 0x04, 0xae, 0x3c, 0x0a, 0xb9, 0x29, 0x18,
  2004. 0xb2, 0xbf, 0x0c, 0x33, 0x03, 0x3f, 0xa6, 0x91, 0x50, 0x1a, 0x75, 0x65, 0x9e, 0xc9, 0xc4, 0xd8,
  2005. 0x33, 0x99, 0x1c, 0x77, 0x26, 0x53, 0xe6, 0x99, 0xe4, 0xf0, 0xfe, 0x4c, 0xc0, 0x2d, 0xca, 0x4d,
  2006. 0xf1, 0xfd, 0x08, 0x5e, 0x34, 0x9e, 0x1e, 0x8d, 0x78, 0xb5, 0x0c, 0xb1, 0x09, 0x27, 0xb7, 0x88,
  2007. 0x35, 0xe8, 0x25, 0xb8, 0xb4, 0x49, 0xc5, 0x13, 0xe9, 0xf9, 0x71, 0x84, 0x7f, 0x20, 0x80, 0x49,
  2008. 0x15, 0x69, 0xe4, 0x19, 0x41, 0xfb, 0x2d, 0xcc, 0x1b, 0x39, 0x29, 0xa4, 0x0f, 0xe0, 0x85, 0xf4,
  2009. 0x21, 0xd6, 0x2c, 0x97, 0xca, 0x58, 0xaa, 0xfa, 0xb5, 0xcc, 0x9a, 0xde, 0x1a, 0xb8, 0x19, 0x9b,
  2010. 0xd2, 0x6e, 0x39, 0xc7, 0x5f, 0x08, 0x5c, 0xcd, 0xba, 0x41, 0x6b, 0xce, 0x08, 0xd1, 0x23, 0x02,
  2011. 0xd7, 0x46, 0xa4, 0xa7, 0xe0, 0xb6, 0x01, 0x4f, 0xbc, 0xb9, 0x35, 0xe7, 0x35, 0x5b, 0xcf, 0x0e,
  2012. 0x49, 0xcd, 0x75, 0xf2, 0x1b, 0x55, 0x74, 0xee, 0xfb, 0x9d, 0xb2, 0x77, 0x83, 0x76, 0x6e, 0x1a,
  2013. 0x79, 0xb6, 0x9c, 0x3b, 0xcc, 0xe9, 0xd8, 0xb9, 0x69, 0x93, 0xb6, 0x76, 0xae, 0xaa, 0x5f, 0xcb,
  2014. 0xac, 0xe9, 0xdd, 0x80, 0xb9, 0x4d, 0x2a, 0x3e, 0x0c, 0xfb, 0x74, 0x67, 0xbc, 0x61, 0x0f, 0x49,
  2015. 0x9a, 0xaa, 0x0a, 0x3d, 0x23, 0xfc, 0xbe, 0x27, 0xb0, 0x60, 0x66, 0xa5, 0x08, 0x3e, 0x84, 0x9a,
  2016. 0x1e, 0x10, 0x34, 0xc3, 0x1b, 0x65, 0x0c, 0x35, 0x85, 0xf3, 0x3d, 0xb5, 0x9a, 0x2d, 0xc5, 0xe6,
  2017. 0xdf, 0x97, 0x60, 0xbe, 0x25, 0x17, 0xdb, 0x49, 0x16, 0x7b, 0xa8, 0xa6, 0x39, 0x3c, 0x24, 0x70,
  2018. 0xd1, 0x98, 0x1b, 0xf0, 0x76, 0x59, 0x12, 0x45, 0x63, 0x86, 0x5b, 0xa1, 0xcf, 0x7a, 0x8b, 0xdf,
  2019. 0xfd, 0xf3, 0xdf, 0xe1, 0x84, 0x8b, 0x4e, 0x32, 0xc4, 0x7c, 0x9d, 0x9c, 0xdd, 0xfd, 0x4c, 0xe7,
  2020. 0x6d, 0xac, 0x7c, 0x83, 0x47, 0x04, 0xe6, 0x4e, 0x34, 0x7a, 0xbc, 0x5b, 0xb6, 0xc7, 0xa8, 0x99,
  2021. 0xc6, 0xbd, 0x77, 0x0a, 0x65, 0x7a, 0x4c, 0xde, 0x75, 0x99, 0xac, 0x83, 0x97, 0xcd, 0x11, 0x8d,
  2022. 0xaf, 0x73, 0x29, 0xc1, 0xe7, 0x44, 0x3e, 0xdd, 0x46, 0x8f, 0xc3, 0xb7, 0x2d, 0x18, 0x16, 0x8d,
  2023. 0x0c, 0x6e, 0xb5, 0x5e, 0xea, 0xad, 0xc8, 0xe4, 0xde, 0x40, 0x6f, 0x04, 0x49, 0x35, 0xba, 0x4a,
  2024. 0xa6, 0x7f, 0xa8, 0xb7, 0x8b, 0xd9, 0xdd, 0xb1, 0x14, 0xcd, 0xc8, 0x69, 0xc5, 0x5d, 0x3f, 0x8d,
  2025. 0x54, 0x61, 0x35, 0x33, 0x4f, 0x9f, 0xc8, 0x9c, 0x0b, 0x74, 0xf2, 0xf8, 0x8c, 0x40, 0x6d, 0xd8,
  2026. 0xfa, 0x71, 0xcd, 0x82, 0xad, 0xd1, 0xdd, 0x5c, 0xcb, 0xa6, 0x5a, 0x4e, 0x53, 0xf5, 0x90, 0x84,
  2027. 0xe6, 0xaf, 0x04, 0x66, 0x33, 0x1d, 0x1d, 0x9b, 0x36, 0x2c, 0xcc, 0x06, 0xea, 0xde, 0xaa, 0xa4,
  2028. 0xa9, 0x00, 0x4e, 0x0f, 0x07, 0x7f, 0x11, 0x98, 0x2f, 0xe8, 0xfa, 0xb8, 0x5e, 0xc1, 0x9e, 0xb9,
  2029. 0x51, 0xc1, 0xad, 0xdc, 0x39, 0xbd, 0xf7, 0x64, 0xc6, 0x77, 0xf1, 0x4e, 0x29, 0xd6, 0xc6, 0x89,
  2030. 0x1e, 0x9b, 0xa0, 0xfe, 0x97, 0xc0, 0xcb, 0x85, 0x9d, 0x1e, 0xdf, 0xad, 0x62, 0xc0, 0xfc, 0xfc,
  2031. 0xe2, 0xde, 0x3f, 0xa5, 0x5a, 0x1d, 0x84, 0x59, 0x56, 0xd1, 0x41, 0x64, 0xfc, 0x72, 0xb2, 0x32,
  2032. 0xfc, 0x2d, 0x75, 0x75, 0xda, 0x16, 0xad, 0x5c, 0x6d, 0x4c, 0x10, 0xae, 0x65, 0xc3, 0xf5, 0xb6,
  2033. 0x64, 0x9e, 0x1b, 0xf8, 0xe0, 0x54, 0xf8, 0xd5, 0xbf, 0xe2, 0xf2, 0x20, 0xfe, 0x54, 0x9e, 0x57,
  2034. 0xb3, 0x80, 0x9d, 0xe7, 0xcd, 0x61, 0xc6, 0xce, 0xf3, 0xb9, 0x61, 0x23, 0x57, 0xc2, 0x78, 0xd4,
  2035. 0x85, 0x1e, 0xd2, 0x55, 0xe0, 0x8f, 0x04, 0xe0, 0x78, 0x9a, 0xc0, 0xb7, 0x2c, 0xa8, 0x9b, 0x93,
  2036. 0x87, 0x6b, 0xdb, 0xa3, 0xbd, 0x9b, 0x32, 0xe9, 0x37, 0xf1, 0xf5, 0x51, 0xdc, 0x75, 0x0f, 0x4f,
  2037. 0xd0, 0x3e, 0x27, 0x70, 0x21, 0x3b, 0x25, 0xa0, 0x15, 0xa7, 0xdc, 0xa4, 0xe3, 0xde, 0xae, 0x26,
  2038. 0x52, 0x74, 0xcd, 0x44, 0x8b, 0xdf, 0x28, 0x3a, 0xd7, 0x8d, 0x3d, 0xf0, 0x3a, 0x6c, 0xb7, 0x64,
  2039. 0x9f, 0xc7, 0xe4, 0xe3, 0x6d, 0x15, 0x11, 0xb0, 0xbe, 0x1f, 0x05, 0x75, 0x16, 0x07, 0x8d, 0x80,
  2040. 0x46, 0xf2, 0x53, 0x85, 0xfa, 0x0e, 0xe2, 0x0f, 0x42, 0x3e, 0xea, 0xd3, 0xc6, 0x3b, 0x99, 0xcb,
  2041. 0x4f, 0x66, 0xa4, 0xea, 0xd6, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69, 0xe0, 0x2a, 0x9a, 0xae,
  2042. 0x12, 0x00, 0x00,
  2043. }