You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

3634 lines
137 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/cloudbuild/v1/cloudbuild.proto
  3. package cloudbuild // import "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import duration "github.com/golang/protobuf/ptypes/duration"
  8. import empty "github.com/golang/protobuf/ptypes/empty"
  9. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  10. import _ "google.golang.org/genproto/googleapis/api/annotations"
  11. import _ "google.golang.org/genproto/googleapis/api/httpbody"
  12. import _ "google.golang.org/genproto/googleapis/cloud/audit"
  13. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  14. import _ "google.golang.org/genproto/protobuf/field_mask"
  15. import (
  16. context "golang.org/x/net/context"
  17. grpc "google.golang.org/grpc"
  18. )
  19. // Reference imports to suppress errors if they are not otherwise used.
  20. var _ = proto.Marshal
  21. var _ = fmt.Errorf
  22. var _ = math.Inf
  23. // This is a compile-time assertion to ensure that this generated file
  24. // is compatible with the proto package it is being compiled against.
  25. // A compilation error at this line likely means your copy of the
  26. // proto package needs to be updated.
  27. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  28. // Possible status of a build or build step.
  29. type Build_Status int32
  30. const (
  31. // Status of the build is unknown.
  32. Build_STATUS_UNKNOWN Build_Status = 0
  33. // Build or step is queued; work has not yet begun.
  34. Build_QUEUED Build_Status = 1
  35. // Build or step is being executed.
  36. Build_WORKING Build_Status = 2
  37. // Build or step finished successfully.
  38. Build_SUCCESS Build_Status = 3
  39. // Build or step failed to complete successfully.
  40. Build_FAILURE Build_Status = 4
  41. // Build or step failed due to an internal cause.
  42. Build_INTERNAL_ERROR Build_Status = 5
  43. // Build or step took longer than was allowed.
  44. Build_TIMEOUT Build_Status = 6
  45. // Build or step was canceled by a user.
  46. Build_CANCELLED Build_Status = 7
  47. )
  48. var Build_Status_name = map[int32]string{
  49. 0: "STATUS_UNKNOWN",
  50. 1: "QUEUED",
  51. 2: "WORKING",
  52. 3: "SUCCESS",
  53. 4: "FAILURE",
  54. 5: "INTERNAL_ERROR",
  55. 6: "TIMEOUT",
  56. 7: "CANCELLED",
  57. }
  58. var Build_Status_value = map[string]int32{
  59. "STATUS_UNKNOWN": 0,
  60. "QUEUED": 1,
  61. "WORKING": 2,
  62. "SUCCESS": 3,
  63. "FAILURE": 4,
  64. "INTERNAL_ERROR": 5,
  65. "TIMEOUT": 6,
  66. "CANCELLED": 7,
  67. }
  68. func (x Build_Status) String() string {
  69. return proto.EnumName(Build_Status_name, int32(x))
  70. }
  71. func (Build_Status) EnumDescriptor() ([]byte, []int) {
  72. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{10, 0}
  73. }
  74. // Specifies the hash algorithm, if any.
  75. type Hash_HashType int32
  76. const (
  77. // No hash requested.
  78. Hash_NONE Hash_HashType = 0
  79. // Use a sha256 hash.
  80. Hash_SHA256 Hash_HashType = 1
  81. // Use a md5 hash.
  82. Hash_MD5 Hash_HashType = 2
  83. )
  84. var Hash_HashType_name = map[int32]string{
  85. 0: "NONE",
  86. 1: "SHA256",
  87. 2: "MD5",
  88. }
  89. var Hash_HashType_value = map[string]int32{
  90. "NONE": 0,
  91. "SHA256": 1,
  92. "MD5": 2,
  93. }
  94. func (x Hash_HashType) String() string {
  95. return proto.EnumName(Hash_HashType_name, int32(x))
  96. }
  97. func (Hash_HashType) EnumDescriptor() ([]byte, []int) {
  98. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{16, 0}
  99. }
  100. // Specifies the manner in which the build should be verified, if at all.
  101. type BuildOptions_VerifyOption int32
  102. const (
  103. // Not a verifiable build. (default)
  104. BuildOptions_NOT_VERIFIED BuildOptions_VerifyOption = 0
  105. // Verified build.
  106. BuildOptions_VERIFIED BuildOptions_VerifyOption = 1
  107. )
  108. var BuildOptions_VerifyOption_name = map[int32]string{
  109. 0: "NOT_VERIFIED",
  110. 1: "VERIFIED",
  111. }
  112. var BuildOptions_VerifyOption_value = map[string]int32{
  113. "NOT_VERIFIED": 0,
  114. "VERIFIED": 1,
  115. }
  116. func (x BuildOptions_VerifyOption) String() string {
  117. return proto.EnumName(BuildOptions_VerifyOption_name, int32(x))
  118. }
  119. func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int) {
  120. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 0}
  121. }
  122. // Supported VM sizes.
  123. type BuildOptions_MachineType int32
  124. const (
  125. // Standard machine type.
  126. BuildOptions_UNSPECIFIED BuildOptions_MachineType = 0
  127. // Highcpu machine with 8 CPUs.
  128. BuildOptions_N1_HIGHCPU_8 BuildOptions_MachineType = 1
  129. // Highcpu machine with 32 CPUs.
  130. BuildOptions_N1_HIGHCPU_32 BuildOptions_MachineType = 2
  131. )
  132. var BuildOptions_MachineType_name = map[int32]string{
  133. 0: "UNSPECIFIED",
  134. 1: "N1_HIGHCPU_8",
  135. 2: "N1_HIGHCPU_32",
  136. }
  137. var BuildOptions_MachineType_value = map[string]int32{
  138. "UNSPECIFIED": 0,
  139. "N1_HIGHCPU_8": 1,
  140. "N1_HIGHCPU_32": 2,
  141. }
  142. func (x BuildOptions_MachineType) String() string {
  143. return proto.EnumName(BuildOptions_MachineType_name, int32(x))
  144. }
  145. func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int) {
  146. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 1}
  147. }
  148. // Specifies the behavior when there is an error in the substitution checks.
  149. type BuildOptions_SubstitutionOption int32
  150. const (
  151. // Fails the build if error in substitutions checks, like missing
  152. // a substitution in the template or in the map.
  153. BuildOptions_MUST_MATCH BuildOptions_SubstitutionOption = 0
  154. // Do not fail the build if error in substitutions checks.
  155. BuildOptions_ALLOW_LOOSE BuildOptions_SubstitutionOption = 1
  156. )
  157. var BuildOptions_SubstitutionOption_name = map[int32]string{
  158. 0: "MUST_MATCH",
  159. 1: "ALLOW_LOOSE",
  160. }
  161. var BuildOptions_SubstitutionOption_value = map[string]int32{
  162. "MUST_MATCH": 0,
  163. "ALLOW_LOOSE": 1,
  164. }
  165. func (x BuildOptions_SubstitutionOption) String() string {
  166. return proto.EnumName(BuildOptions_SubstitutionOption_name, int32(x))
  167. }
  168. func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int) {
  169. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 2}
  170. }
  171. // Specifies the behavior when writing build logs to Google Cloud Storage.
  172. type BuildOptions_LogStreamingOption int32
  173. const (
  174. // Service may automatically determine build log streaming behavior.
  175. BuildOptions_STREAM_DEFAULT BuildOptions_LogStreamingOption = 0
  176. // Build logs should be streamed to Google Cloud Storage.
  177. BuildOptions_STREAM_ON BuildOptions_LogStreamingOption = 1
  178. // Build logs should not be streamed to Google Cloud Storage; they will be
  179. // written when the build is completed.
  180. BuildOptions_STREAM_OFF BuildOptions_LogStreamingOption = 2
  181. )
  182. var BuildOptions_LogStreamingOption_name = map[int32]string{
  183. 0: "STREAM_DEFAULT",
  184. 1: "STREAM_ON",
  185. 2: "STREAM_OFF",
  186. }
  187. var BuildOptions_LogStreamingOption_value = map[string]int32{
  188. "STREAM_DEFAULT": 0,
  189. "STREAM_ON": 1,
  190. "STREAM_OFF": 2,
  191. }
  192. func (x BuildOptions_LogStreamingOption) String() string {
  193. return proto.EnumName(BuildOptions_LogStreamingOption_name, int32(x))
  194. }
  195. func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int) {
  196. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 3}
  197. }
  198. // Specifies the logging mode.
  199. type BuildOptions_LoggingMode int32
  200. const (
  201. // The service determines the logging mode. The default is `LEGACY`. Do not
  202. // rely on the default logging behavior as it may change in the future.
  203. BuildOptions_LOGGING_UNSPECIFIED BuildOptions_LoggingMode = 0
  204. // Stackdriver logging and Cloud Storage logging are enabled.
  205. BuildOptions_LEGACY BuildOptions_LoggingMode = 1
  206. // Only Cloud Storage logging is enabled.
  207. BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2
  208. )
  209. var BuildOptions_LoggingMode_name = map[int32]string{
  210. 0: "LOGGING_UNSPECIFIED",
  211. 1: "LEGACY",
  212. 2: "GCS_ONLY",
  213. }
  214. var BuildOptions_LoggingMode_value = map[string]int32{
  215. "LOGGING_UNSPECIFIED": 0,
  216. "LEGACY": 1,
  217. "GCS_ONLY": 2,
  218. }
  219. func (x BuildOptions_LoggingMode) String() string {
  220. return proto.EnumName(BuildOptions_LoggingMode_name, int32(x))
  221. }
  222. func (BuildOptions_LoggingMode) EnumDescriptor() ([]byte, []int) {
  223. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30, 4}
  224. }
  225. // Specifies a build to retry.
  226. type RetryBuildRequest struct {
  227. // ID of the project.
  228. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  229. // Build ID of the original build.
  230. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  231. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  232. XXX_unrecognized []byte `json:"-"`
  233. XXX_sizecache int32 `json:"-"`
  234. }
  235. func (m *RetryBuildRequest) Reset() { *m = RetryBuildRequest{} }
  236. func (m *RetryBuildRequest) String() string { return proto.CompactTextString(m) }
  237. func (*RetryBuildRequest) ProtoMessage() {}
  238. func (*RetryBuildRequest) Descriptor() ([]byte, []int) {
  239. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{0}
  240. }
  241. func (m *RetryBuildRequest) XXX_Unmarshal(b []byte) error {
  242. return xxx_messageInfo_RetryBuildRequest.Unmarshal(m, b)
  243. }
  244. func (m *RetryBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  245. return xxx_messageInfo_RetryBuildRequest.Marshal(b, m, deterministic)
  246. }
  247. func (dst *RetryBuildRequest) XXX_Merge(src proto.Message) {
  248. xxx_messageInfo_RetryBuildRequest.Merge(dst, src)
  249. }
  250. func (m *RetryBuildRequest) XXX_Size() int {
  251. return xxx_messageInfo_RetryBuildRequest.Size(m)
  252. }
  253. func (m *RetryBuildRequest) XXX_DiscardUnknown() {
  254. xxx_messageInfo_RetryBuildRequest.DiscardUnknown(m)
  255. }
  256. var xxx_messageInfo_RetryBuildRequest proto.InternalMessageInfo
  257. func (m *RetryBuildRequest) GetProjectId() string {
  258. if m != nil {
  259. return m.ProjectId
  260. }
  261. return ""
  262. }
  263. func (m *RetryBuildRequest) GetId() string {
  264. if m != nil {
  265. return m.Id
  266. }
  267. return ""
  268. }
  269. // Specifies a build trigger to run and the source to use.
  270. type RunBuildTriggerRequest struct {
  271. // ID of the project.
  272. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  273. // ID of the trigger.
  274. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
  275. // Source to build against this trigger.
  276. Source *RepoSource `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
  277. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  278. XXX_unrecognized []byte `json:"-"`
  279. XXX_sizecache int32 `json:"-"`
  280. }
  281. func (m *RunBuildTriggerRequest) Reset() { *m = RunBuildTriggerRequest{} }
  282. func (m *RunBuildTriggerRequest) String() string { return proto.CompactTextString(m) }
  283. func (*RunBuildTriggerRequest) ProtoMessage() {}
  284. func (*RunBuildTriggerRequest) Descriptor() ([]byte, []int) {
  285. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{1}
  286. }
  287. func (m *RunBuildTriggerRequest) XXX_Unmarshal(b []byte) error {
  288. return xxx_messageInfo_RunBuildTriggerRequest.Unmarshal(m, b)
  289. }
  290. func (m *RunBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  291. return xxx_messageInfo_RunBuildTriggerRequest.Marshal(b, m, deterministic)
  292. }
  293. func (dst *RunBuildTriggerRequest) XXX_Merge(src proto.Message) {
  294. xxx_messageInfo_RunBuildTriggerRequest.Merge(dst, src)
  295. }
  296. func (m *RunBuildTriggerRequest) XXX_Size() int {
  297. return xxx_messageInfo_RunBuildTriggerRequest.Size(m)
  298. }
  299. func (m *RunBuildTriggerRequest) XXX_DiscardUnknown() {
  300. xxx_messageInfo_RunBuildTriggerRequest.DiscardUnknown(m)
  301. }
  302. var xxx_messageInfo_RunBuildTriggerRequest proto.InternalMessageInfo
  303. func (m *RunBuildTriggerRequest) GetProjectId() string {
  304. if m != nil {
  305. return m.ProjectId
  306. }
  307. return ""
  308. }
  309. func (m *RunBuildTriggerRequest) GetTriggerId() string {
  310. if m != nil {
  311. return m.TriggerId
  312. }
  313. return ""
  314. }
  315. func (m *RunBuildTriggerRequest) GetSource() *RepoSource {
  316. if m != nil {
  317. return m.Source
  318. }
  319. return nil
  320. }
  321. // Location of the source in an archive file in Google Cloud Storage.
  322. type StorageSource struct {
  323. // Google Cloud Storage bucket containing the source (see
  324. // [Bucket Name
  325. // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
  326. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
  327. // Google Cloud Storage object containing the source.
  328. //
  329. // This object must be a gzipped archive file (`.tar.gz`) containing source to
  330. // build.
  331. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
  332. // Google Cloud Storage generation for the object. If the generation is
  333. // omitted, the latest generation will be used.
  334. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
  335. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  336. XXX_unrecognized []byte `json:"-"`
  337. XXX_sizecache int32 `json:"-"`
  338. }
  339. func (m *StorageSource) Reset() { *m = StorageSource{} }
  340. func (m *StorageSource) String() string { return proto.CompactTextString(m) }
  341. func (*StorageSource) ProtoMessage() {}
  342. func (*StorageSource) Descriptor() ([]byte, []int) {
  343. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{2}
  344. }
  345. func (m *StorageSource) XXX_Unmarshal(b []byte) error {
  346. return xxx_messageInfo_StorageSource.Unmarshal(m, b)
  347. }
  348. func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  349. return xxx_messageInfo_StorageSource.Marshal(b, m, deterministic)
  350. }
  351. func (dst *StorageSource) XXX_Merge(src proto.Message) {
  352. xxx_messageInfo_StorageSource.Merge(dst, src)
  353. }
  354. func (m *StorageSource) XXX_Size() int {
  355. return xxx_messageInfo_StorageSource.Size(m)
  356. }
  357. func (m *StorageSource) XXX_DiscardUnknown() {
  358. xxx_messageInfo_StorageSource.DiscardUnknown(m)
  359. }
  360. var xxx_messageInfo_StorageSource proto.InternalMessageInfo
  361. func (m *StorageSource) GetBucket() string {
  362. if m != nil {
  363. return m.Bucket
  364. }
  365. return ""
  366. }
  367. func (m *StorageSource) GetObject() string {
  368. if m != nil {
  369. return m.Object
  370. }
  371. return ""
  372. }
  373. func (m *StorageSource) GetGeneration() int64 {
  374. if m != nil {
  375. return m.Generation
  376. }
  377. return 0
  378. }
  379. // Location of the source in a Google Cloud Source Repository.
  380. type RepoSource struct {
  381. // ID of the project that owns the Cloud Source Repository. If omitted, the
  382. // project ID requesting the build is assumed.
  383. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  384. // Name of the Cloud Source Repository. If omitted, the name "default" is
  385. // assumed.
  386. RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
  387. // A revision within the Cloud Source Repository must be specified in
  388. // one of these ways.
  389. //
  390. // Types that are valid to be assigned to Revision:
  391. // *RepoSource_BranchName
  392. // *RepoSource_TagName
  393. // *RepoSource_CommitSha
  394. Revision isRepoSource_Revision `protobuf_oneof:"revision"`
  395. // Directory, relative to the source root, in which to run the build.
  396. //
  397. // This must be a relative path. If a step's `dir` is specified and is an
  398. // absolute path, this value is ignored for that step's execution.
  399. Dir string `protobuf:"bytes,7,opt,name=dir,proto3" json:"dir,omitempty"`
  400. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  401. XXX_unrecognized []byte `json:"-"`
  402. XXX_sizecache int32 `json:"-"`
  403. }
  404. func (m *RepoSource) Reset() { *m = RepoSource{} }
  405. func (m *RepoSource) String() string { return proto.CompactTextString(m) }
  406. func (*RepoSource) ProtoMessage() {}
  407. func (*RepoSource) Descriptor() ([]byte, []int) {
  408. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{3}
  409. }
  410. func (m *RepoSource) XXX_Unmarshal(b []byte) error {
  411. return xxx_messageInfo_RepoSource.Unmarshal(m, b)
  412. }
  413. func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  414. return xxx_messageInfo_RepoSource.Marshal(b, m, deterministic)
  415. }
  416. func (dst *RepoSource) XXX_Merge(src proto.Message) {
  417. xxx_messageInfo_RepoSource.Merge(dst, src)
  418. }
  419. func (m *RepoSource) XXX_Size() int {
  420. return xxx_messageInfo_RepoSource.Size(m)
  421. }
  422. func (m *RepoSource) XXX_DiscardUnknown() {
  423. xxx_messageInfo_RepoSource.DiscardUnknown(m)
  424. }
  425. var xxx_messageInfo_RepoSource proto.InternalMessageInfo
  426. func (m *RepoSource) GetProjectId() string {
  427. if m != nil {
  428. return m.ProjectId
  429. }
  430. return ""
  431. }
  432. func (m *RepoSource) GetRepoName() string {
  433. if m != nil {
  434. return m.RepoName
  435. }
  436. return ""
  437. }
  438. type isRepoSource_Revision interface {
  439. isRepoSource_Revision()
  440. }
  441. type RepoSource_BranchName struct {
  442. BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
  443. }
  444. type RepoSource_TagName struct {
  445. TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
  446. }
  447. type RepoSource_CommitSha struct {
  448. CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"`
  449. }
  450. func (*RepoSource_BranchName) isRepoSource_Revision() {}
  451. func (*RepoSource_TagName) isRepoSource_Revision() {}
  452. func (*RepoSource_CommitSha) isRepoSource_Revision() {}
  453. func (m *RepoSource) GetRevision() isRepoSource_Revision {
  454. if m != nil {
  455. return m.Revision
  456. }
  457. return nil
  458. }
  459. func (m *RepoSource) GetBranchName() string {
  460. if x, ok := m.GetRevision().(*RepoSource_BranchName); ok {
  461. return x.BranchName
  462. }
  463. return ""
  464. }
  465. func (m *RepoSource) GetTagName() string {
  466. if x, ok := m.GetRevision().(*RepoSource_TagName); ok {
  467. return x.TagName
  468. }
  469. return ""
  470. }
  471. func (m *RepoSource) GetCommitSha() string {
  472. if x, ok := m.GetRevision().(*RepoSource_CommitSha); ok {
  473. return x.CommitSha
  474. }
  475. return ""
  476. }
  477. func (m *RepoSource) GetDir() string {
  478. if m != nil {
  479. return m.Dir
  480. }
  481. return ""
  482. }
  483. // XXX_OneofFuncs is for the internal use of the proto package.
  484. func (*RepoSource) 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{}) {
  485. return _RepoSource_OneofMarshaler, _RepoSource_OneofUnmarshaler, _RepoSource_OneofSizer, []interface{}{
  486. (*RepoSource_BranchName)(nil),
  487. (*RepoSource_TagName)(nil),
  488. (*RepoSource_CommitSha)(nil),
  489. }
  490. }
  491. func _RepoSource_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  492. m := msg.(*RepoSource)
  493. // revision
  494. switch x := m.Revision.(type) {
  495. case *RepoSource_BranchName:
  496. b.EncodeVarint(3<<3 | proto.WireBytes)
  497. b.EncodeStringBytes(x.BranchName)
  498. case *RepoSource_TagName:
  499. b.EncodeVarint(4<<3 | proto.WireBytes)
  500. b.EncodeStringBytes(x.TagName)
  501. case *RepoSource_CommitSha:
  502. b.EncodeVarint(5<<3 | proto.WireBytes)
  503. b.EncodeStringBytes(x.CommitSha)
  504. case nil:
  505. default:
  506. return fmt.Errorf("RepoSource.Revision has unexpected type %T", x)
  507. }
  508. return nil
  509. }
  510. func _RepoSource_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  511. m := msg.(*RepoSource)
  512. switch tag {
  513. case 3: // revision.branch_name
  514. if wire != proto.WireBytes {
  515. return true, proto.ErrInternalBadWireType
  516. }
  517. x, err := b.DecodeStringBytes()
  518. m.Revision = &RepoSource_BranchName{x}
  519. return true, err
  520. case 4: // revision.tag_name
  521. if wire != proto.WireBytes {
  522. return true, proto.ErrInternalBadWireType
  523. }
  524. x, err := b.DecodeStringBytes()
  525. m.Revision = &RepoSource_TagName{x}
  526. return true, err
  527. case 5: // revision.commit_sha
  528. if wire != proto.WireBytes {
  529. return true, proto.ErrInternalBadWireType
  530. }
  531. x, err := b.DecodeStringBytes()
  532. m.Revision = &RepoSource_CommitSha{x}
  533. return true, err
  534. default:
  535. return false, nil
  536. }
  537. }
  538. func _RepoSource_OneofSizer(msg proto.Message) (n int) {
  539. m := msg.(*RepoSource)
  540. // revision
  541. switch x := m.Revision.(type) {
  542. case *RepoSource_BranchName:
  543. n += 1 // tag and wire
  544. n += proto.SizeVarint(uint64(len(x.BranchName)))
  545. n += len(x.BranchName)
  546. case *RepoSource_TagName:
  547. n += 1 // tag and wire
  548. n += proto.SizeVarint(uint64(len(x.TagName)))
  549. n += len(x.TagName)
  550. case *RepoSource_CommitSha:
  551. n += 1 // tag and wire
  552. n += proto.SizeVarint(uint64(len(x.CommitSha)))
  553. n += len(x.CommitSha)
  554. case nil:
  555. default:
  556. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  557. }
  558. return n
  559. }
  560. // Location of the source in a supported storage service.
  561. type Source struct {
  562. // Location of source.
  563. //
  564. // Types that are valid to be assigned to Source:
  565. // *Source_StorageSource
  566. // *Source_RepoSource
  567. Source isSource_Source `protobuf_oneof:"source"`
  568. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  569. XXX_unrecognized []byte `json:"-"`
  570. XXX_sizecache int32 `json:"-"`
  571. }
  572. func (m *Source) Reset() { *m = Source{} }
  573. func (m *Source) String() string { return proto.CompactTextString(m) }
  574. func (*Source) ProtoMessage() {}
  575. func (*Source) Descriptor() ([]byte, []int) {
  576. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{4}
  577. }
  578. func (m *Source) XXX_Unmarshal(b []byte) error {
  579. return xxx_messageInfo_Source.Unmarshal(m, b)
  580. }
  581. func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  582. return xxx_messageInfo_Source.Marshal(b, m, deterministic)
  583. }
  584. func (dst *Source) XXX_Merge(src proto.Message) {
  585. xxx_messageInfo_Source.Merge(dst, src)
  586. }
  587. func (m *Source) XXX_Size() int {
  588. return xxx_messageInfo_Source.Size(m)
  589. }
  590. func (m *Source) XXX_DiscardUnknown() {
  591. xxx_messageInfo_Source.DiscardUnknown(m)
  592. }
  593. var xxx_messageInfo_Source proto.InternalMessageInfo
  594. type isSource_Source interface {
  595. isSource_Source()
  596. }
  597. type Source_StorageSource struct {
  598. StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3,oneof"`
  599. }
  600. type Source_RepoSource struct {
  601. RepoSource *RepoSource `protobuf:"bytes,3,opt,name=repo_source,json=repoSource,proto3,oneof"`
  602. }
  603. func (*Source_StorageSource) isSource_Source() {}
  604. func (*Source_RepoSource) isSource_Source() {}
  605. func (m *Source) GetSource() isSource_Source {
  606. if m != nil {
  607. return m.Source
  608. }
  609. return nil
  610. }
  611. func (m *Source) GetStorageSource() *StorageSource {
  612. if x, ok := m.GetSource().(*Source_StorageSource); ok {
  613. return x.StorageSource
  614. }
  615. return nil
  616. }
  617. func (m *Source) GetRepoSource() *RepoSource {
  618. if x, ok := m.GetSource().(*Source_RepoSource); ok {
  619. return x.RepoSource
  620. }
  621. return nil
  622. }
  623. // XXX_OneofFuncs is for the internal use of the proto package.
  624. func (*Source) 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{}) {
  625. return _Source_OneofMarshaler, _Source_OneofUnmarshaler, _Source_OneofSizer, []interface{}{
  626. (*Source_StorageSource)(nil),
  627. (*Source_RepoSource)(nil),
  628. }
  629. }
  630. func _Source_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  631. m := msg.(*Source)
  632. // source
  633. switch x := m.Source.(type) {
  634. case *Source_StorageSource:
  635. b.EncodeVarint(2<<3 | proto.WireBytes)
  636. if err := b.EncodeMessage(x.StorageSource); err != nil {
  637. return err
  638. }
  639. case *Source_RepoSource:
  640. b.EncodeVarint(3<<3 | proto.WireBytes)
  641. if err := b.EncodeMessage(x.RepoSource); err != nil {
  642. return err
  643. }
  644. case nil:
  645. default:
  646. return fmt.Errorf("Source.Source has unexpected type %T", x)
  647. }
  648. return nil
  649. }
  650. func _Source_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  651. m := msg.(*Source)
  652. switch tag {
  653. case 2: // source.storage_source
  654. if wire != proto.WireBytes {
  655. return true, proto.ErrInternalBadWireType
  656. }
  657. msg := new(StorageSource)
  658. err := b.DecodeMessage(msg)
  659. m.Source = &Source_StorageSource{msg}
  660. return true, err
  661. case 3: // source.repo_source
  662. if wire != proto.WireBytes {
  663. return true, proto.ErrInternalBadWireType
  664. }
  665. msg := new(RepoSource)
  666. err := b.DecodeMessage(msg)
  667. m.Source = &Source_RepoSource{msg}
  668. return true, err
  669. default:
  670. return false, nil
  671. }
  672. }
  673. func _Source_OneofSizer(msg proto.Message) (n int) {
  674. m := msg.(*Source)
  675. // source
  676. switch x := m.Source.(type) {
  677. case *Source_StorageSource:
  678. s := proto.Size(x.StorageSource)
  679. n += 1 // tag and wire
  680. n += proto.SizeVarint(uint64(s))
  681. n += s
  682. case *Source_RepoSource:
  683. s := proto.Size(x.RepoSource)
  684. n += 1 // tag and wire
  685. n += proto.SizeVarint(uint64(s))
  686. n += s
  687. case nil:
  688. default:
  689. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  690. }
  691. return n
  692. }
  693. // An image built by the pipeline.
  694. type BuiltImage struct {
  695. // Name used to push the container image to Google Container Registry, as
  696. // presented to `docker push`.
  697. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  698. // Docker Registry 2.0 digest.
  699. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
  700. // Output only. Stores timing information for pushing the specified image.
  701. PushTiming *TimeSpan `protobuf:"bytes,4,opt,name=push_timing,json=pushTiming,proto3" json:"push_timing,omitempty"`
  702. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  703. XXX_unrecognized []byte `json:"-"`
  704. XXX_sizecache int32 `json:"-"`
  705. }
  706. func (m *BuiltImage) Reset() { *m = BuiltImage{} }
  707. func (m *BuiltImage) String() string { return proto.CompactTextString(m) }
  708. func (*BuiltImage) ProtoMessage() {}
  709. func (*BuiltImage) Descriptor() ([]byte, []int) {
  710. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{5}
  711. }
  712. func (m *BuiltImage) XXX_Unmarshal(b []byte) error {
  713. return xxx_messageInfo_BuiltImage.Unmarshal(m, b)
  714. }
  715. func (m *BuiltImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  716. return xxx_messageInfo_BuiltImage.Marshal(b, m, deterministic)
  717. }
  718. func (dst *BuiltImage) XXX_Merge(src proto.Message) {
  719. xxx_messageInfo_BuiltImage.Merge(dst, src)
  720. }
  721. func (m *BuiltImage) XXX_Size() int {
  722. return xxx_messageInfo_BuiltImage.Size(m)
  723. }
  724. func (m *BuiltImage) XXX_DiscardUnknown() {
  725. xxx_messageInfo_BuiltImage.DiscardUnknown(m)
  726. }
  727. var xxx_messageInfo_BuiltImage proto.InternalMessageInfo
  728. func (m *BuiltImage) GetName() string {
  729. if m != nil {
  730. return m.Name
  731. }
  732. return ""
  733. }
  734. func (m *BuiltImage) GetDigest() string {
  735. if m != nil {
  736. return m.Digest
  737. }
  738. return ""
  739. }
  740. func (m *BuiltImage) GetPushTiming() *TimeSpan {
  741. if m != nil {
  742. return m.PushTiming
  743. }
  744. return nil
  745. }
  746. // A step in the build pipeline.
  747. type BuildStep struct {
  748. // Required. The name of the container image that will run this particular
  749. // build step.
  750. //
  751. // If the image is available in the host's Docker daemon's cache, it
  752. // will be run directly. If not, the host will attempt to pull the image
  753. // first, using the builder service account's credentials if necessary.
  754. //
  755. // The Docker daemon's cache will already have the latest versions of all of
  756. // the officially supported build steps
  757. // ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).
  758. // The Docker daemon will also have cached many of the layers for some popular
  759. // images, like "ubuntu", "debian", but they will be refreshed at the time you
  760. // attempt to use them.
  761. //
  762. // If you built an image in a previous build step, it will be stored in the
  763. // host's Docker daemon's cache and is available to use as the name for a
  764. // later build step.
  765. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  766. // A list of environment variable definitions to be used when running a step.
  767. //
  768. // The elements are of the form "KEY=VALUE" for the environment variable "KEY"
  769. // being given the value "VALUE".
  770. Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
  771. // A list of arguments that will be presented to the step when it is started.
  772. //
  773. // If the image used to run the step's container has an entrypoint, the `args`
  774. // are used as arguments to that entrypoint. If the image does not define
  775. // an entrypoint, the first element in args is used as the entrypoint,
  776. // and the remainder will be used as arguments.
  777. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
  778. // Working directory to use when running this step's container.
  779. //
  780. // If this value is a relative path, it is relative to the build's working
  781. // directory. If this value is absolute, it may be outside the build's working
  782. // directory, in which case the contents of the path may not be persisted
  783. // across build step executions, unless a `volume` for that path is specified.
  784. //
  785. // If the build specifies a `RepoSource` with `dir` and a step with a `dir`,
  786. // which specifies an absolute path, the `RepoSource` `dir` is ignored for
  787. // the step's execution.
  788. Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"`
  789. // Unique identifier for this build step, used in `wait_for` to
  790. // reference this build step as a dependency.
  791. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
  792. // The ID(s) of the step(s) that this build step depends on.
  793. // This build step will not start until all the build steps in `wait_for`
  794. // have completed successfully. If `wait_for` is empty, this build step will
  795. // start when all previous build steps in the `Build.Steps` list have
  796. // completed successfully.
  797. WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"`
  798. // Entrypoint to be used instead of the build step image's default entrypoint.
  799. // If unset, the image's default entrypoint is used.
  800. Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
  801. // A list of environment variables which are encrypted using a Cloud Key
  802. // Management Service crypto key. These values must be specified in the
  803. // build's `Secret`.
  804. SecretEnv []string `protobuf:"bytes,8,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"`
  805. // List of volumes to mount into the build step.
  806. //
  807. // Each volume is created as an empty volume prior to execution of the
  808. // build step. Upon completion of the build, volumes and their contents are
  809. // discarded.
  810. //
  811. // Using a named volume in only one step is not valid as it is indicative
  812. // of a build request with an incorrect configuration.
  813. Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"`
  814. // Output only. Stores timing information for executing this build step.
  815. Timing *TimeSpan `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"`
  816. // Output only. Stores timing information for pulling this build step's
  817. // builder image only.
  818. PullTiming *TimeSpan `protobuf:"bytes,13,opt,name=pull_timing,json=pullTiming,proto3" json:"pull_timing,omitempty"`
  819. // Time limit for executing this build step. If not defined, the step has no
  820. // time limit and will be allowed to continue to run until either it completes
  821. // or the build itself times out.
  822. Timeout *duration.Duration `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout,omitempty"`
  823. // Output only. Status of the build step. At this time, build step status is
  824. // only updated on build completion; step status is not updated in real-time
  825. // as the build progresses.
  826. Status Build_Status `protobuf:"varint,12,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`
  827. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  828. XXX_unrecognized []byte `json:"-"`
  829. XXX_sizecache int32 `json:"-"`
  830. }
  831. func (m *BuildStep) Reset() { *m = BuildStep{} }
  832. func (m *BuildStep) String() string { return proto.CompactTextString(m) }
  833. func (*BuildStep) ProtoMessage() {}
  834. func (*BuildStep) Descriptor() ([]byte, []int) {
  835. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{6}
  836. }
  837. func (m *BuildStep) XXX_Unmarshal(b []byte) error {
  838. return xxx_messageInfo_BuildStep.Unmarshal(m, b)
  839. }
  840. func (m *BuildStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  841. return xxx_messageInfo_BuildStep.Marshal(b, m, deterministic)
  842. }
  843. func (dst *BuildStep) XXX_Merge(src proto.Message) {
  844. xxx_messageInfo_BuildStep.Merge(dst, src)
  845. }
  846. func (m *BuildStep) XXX_Size() int {
  847. return xxx_messageInfo_BuildStep.Size(m)
  848. }
  849. func (m *BuildStep) XXX_DiscardUnknown() {
  850. xxx_messageInfo_BuildStep.DiscardUnknown(m)
  851. }
  852. var xxx_messageInfo_BuildStep proto.InternalMessageInfo
  853. func (m *BuildStep) GetName() string {
  854. if m != nil {
  855. return m.Name
  856. }
  857. return ""
  858. }
  859. func (m *BuildStep) GetEnv() []string {
  860. if m != nil {
  861. return m.Env
  862. }
  863. return nil
  864. }
  865. func (m *BuildStep) GetArgs() []string {
  866. if m != nil {
  867. return m.Args
  868. }
  869. return nil
  870. }
  871. func (m *BuildStep) GetDir() string {
  872. if m != nil {
  873. return m.Dir
  874. }
  875. return ""
  876. }
  877. func (m *BuildStep) GetId() string {
  878. if m != nil {
  879. return m.Id
  880. }
  881. return ""
  882. }
  883. func (m *BuildStep) GetWaitFor() []string {
  884. if m != nil {
  885. return m.WaitFor
  886. }
  887. return nil
  888. }
  889. func (m *BuildStep) GetEntrypoint() string {
  890. if m != nil {
  891. return m.Entrypoint
  892. }
  893. return ""
  894. }
  895. func (m *BuildStep) GetSecretEnv() []string {
  896. if m != nil {
  897. return m.SecretEnv
  898. }
  899. return nil
  900. }
  901. func (m *BuildStep) GetVolumes() []*Volume {
  902. if m != nil {
  903. return m.Volumes
  904. }
  905. return nil
  906. }
  907. func (m *BuildStep) GetTiming() *TimeSpan {
  908. if m != nil {
  909. return m.Timing
  910. }
  911. return nil
  912. }
  913. func (m *BuildStep) GetPullTiming() *TimeSpan {
  914. if m != nil {
  915. return m.PullTiming
  916. }
  917. return nil
  918. }
  919. func (m *BuildStep) GetTimeout() *duration.Duration {
  920. if m != nil {
  921. return m.Timeout
  922. }
  923. return nil
  924. }
  925. func (m *BuildStep) GetStatus() Build_Status {
  926. if m != nil {
  927. return m.Status
  928. }
  929. return Build_STATUS_UNKNOWN
  930. }
  931. // Volume describes a Docker container volume which is mounted into build steps
  932. // in order to persist files across build step execution.
  933. type Volume struct {
  934. // Name of the volume to mount.
  935. //
  936. // Volume names must be unique per build step and must be valid names for
  937. // Docker volumes. Each named volume must be used by at least two build steps.
  938. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  939. // Path at which to mount the volume.
  940. //
  941. // Paths must be absolute and cannot conflict with other volume paths on the
  942. // same build step or with certain reserved volume paths.
  943. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
  944. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  945. XXX_unrecognized []byte `json:"-"`
  946. XXX_sizecache int32 `json:"-"`
  947. }
  948. func (m *Volume) Reset() { *m = Volume{} }
  949. func (m *Volume) String() string { return proto.CompactTextString(m) }
  950. func (*Volume) ProtoMessage() {}
  951. func (*Volume) Descriptor() ([]byte, []int) {
  952. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{7}
  953. }
  954. func (m *Volume) XXX_Unmarshal(b []byte) error {
  955. return xxx_messageInfo_Volume.Unmarshal(m, b)
  956. }
  957. func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  958. return xxx_messageInfo_Volume.Marshal(b, m, deterministic)
  959. }
  960. func (dst *Volume) XXX_Merge(src proto.Message) {
  961. xxx_messageInfo_Volume.Merge(dst, src)
  962. }
  963. func (m *Volume) XXX_Size() int {
  964. return xxx_messageInfo_Volume.Size(m)
  965. }
  966. func (m *Volume) XXX_DiscardUnknown() {
  967. xxx_messageInfo_Volume.DiscardUnknown(m)
  968. }
  969. var xxx_messageInfo_Volume proto.InternalMessageInfo
  970. func (m *Volume) GetName() string {
  971. if m != nil {
  972. return m.Name
  973. }
  974. return ""
  975. }
  976. func (m *Volume) GetPath() string {
  977. if m != nil {
  978. return m.Path
  979. }
  980. return ""
  981. }
  982. // Artifacts created by the build pipeline.
  983. type Results struct {
  984. // Container images that were built as a part of the build.
  985. Images []*BuiltImage `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"`
  986. // List of build step digests, in the order corresponding to build step
  987. // indices.
  988. BuildStepImages []string `protobuf:"bytes,3,rep,name=build_step_images,json=buildStepImages,proto3" json:"build_step_images,omitempty"`
  989. // Path to the artifact manifest. Only populated when artifacts are uploaded.
  990. ArtifactManifest string `protobuf:"bytes,4,opt,name=artifact_manifest,json=artifactManifest,proto3" json:"artifact_manifest,omitempty"`
  991. // Number of artifacts uploaded. Only populated when artifacts are uploaded.
  992. NumArtifacts int64 `protobuf:"varint,5,opt,name=num_artifacts,json=numArtifacts,proto3" json:"num_artifacts,omitempty"`
  993. // List of build step outputs, produced by builder images, in the order
  994. // corresponding to build step indices.
  995. //
  996. // [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
  997. // can produce this output by writing to `$BUILDER_OUTPUT/output`.
  998. // Only the first 4KB of data is stored.
  999. BuildStepOutputs [][]byte `protobuf:"bytes,6,rep,name=build_step_outputs,json=buildStepOutputs,proto3" json:"build_step_outputs,omitempty"`
  1000. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1001. XXX_unrecognized []byte `json:"-"`
  1002. XXX_sizecache int32 `json:"-"`
  1003. }
  1004. func (m *Results) Reset() { *m = Results{} }
  1005. func (m *Results) String() string { return proto.CompactTextString(m) }
  1006. func (*Results) ProtoMessage() {}
  1007. func (*Results) Descriptor() ([]byte, []int) {
  1008. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{8}
  1009. }
  1010. func (m *Results) XXX_Unmarshal(b []byte) error {
  1011. return xxx_messageInfo_Results.Unmarshal(m, b)
  1012. }
  1013. func (m *Results) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1014. return xxx_messageInfo_Results.Marshal(b, m, deterministic)
  1015. }
  1016. func (dst *Results) XXX_Merge(src proto.Message) {
  1017. xxx_messageInfo_Results.Merge(dst, src)
  1018. }
  1019. func (m *Results) XXX_Size() int {
  1020. return xxx_messageInfo_Results.Size(m)
  1021. }
  1022. func (m *Results) XXX_DiscardUnknown() {
  1023. xxx_messageInfo_Results.DiscardUnknown(m)
  1024. }
  1025. var xxx_messageInfo_Results proto.InternalMessageInfo
  1026. func (m *Results) GetImages() []*BuiltImage {
  1027. if m != nil {
  1028. return m.Images
  1029. }
  1030. return nil
  1031. }
  1032. func (m *Results) GetBuildStepImages() []string {
  1033. if m != nil {
  1034. return m.BuildStepImages
  1035. }
  1036. return nil
  1037. }
  1038. func (m *Results) GetArtifactManifest() string {
  1039. if m != nil {
  1040. return m.ArtifactManifest
  1041. }
  1042. return ""
  1043. }
  1044. func (m *Results) GetNumArtifacts() int64 {
  1045. if m != nil {
  1046. return m.NumArtifacts
  1047. }
  1048. return 0
  1049. }
  1050. func (m *Results) GetBuildStepOutputs() [][]byte {
  1051. if m != nil {
  1052. return m.BuildStepOutputs
  1053. }
  1054. return nil
  1055. }
  1056. // An artifact that was uploaded during a build. This
  1057. // is a single record in the artifact manifest JSON file.
  1058. type ArtifactResult struct {
  1059. // The path of an artifact in a Google Cloud Storage bucket, with the
  1060. // generation number. For example,
  1061. // `gs://mybucket/path/to/output.jar#generation`.
  1062. Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
  1063. // The file hash of the artifact.
  1064. FileHash []*FileHashes `protobuf:"bytes,2,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
  1065. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1066. XXX_unrecognized []byte `json:"-"`
  1067. XXX_sizecache int32 `json:"-"`
  1068. }
  1069. func (m *ArtifactResult) Reset() { *m = ArtifactResult{} }
  1070. func (m *ArtifactResult) String() string { return proto.CompactTextString(m) }
  1071. func (*ArtifactResult) ProtoMessage() {}
  1072. func (*ArtifactResult) Descriptor() ([]byte, []int) {
  1073. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{9}
  1074. }
  1075. func (m *ArtifactResult) XXX_Unmarshal(b []byte) error {
  1076. return xxx_messageInfo_ArtifactResult.Unmarshal(m, b)
  1077. }
  1078. func (m *ArtifactResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1079. return xxx_messageInfo_ArtifactResult.Marshal(b, m, deterministic)
  1080. }
  1081. func (dst *ArtifactResult) XXX_Merge(src proto.Message) {
  1082. xxx_messageInfo_ArtifactResult.Merge(dst, src)
  1083. }
  1084. func (m *ArtifactResult) XXX_Size() int {
  1085. return xxx_messageInfo_ArtifactResult.Size(m)
  1086. }
  1087. func (m *ArtifactResult) XXX_DiscardUnknown() {
  1088. xxx_messageInfo_ArtifactResult.DiscardUnknown(m)
  1089. }
  1090. var xxx_messageInfo_ArtifactResult proto.InternalMessageInfo
  1091. func (m *ArtifactResult) GetLocation() string {
  1092. if m != nil {
  1093. return m.Location
  1094. }
  1095. return ""
  1096. }
  1097. func (m *ArtifactResult) GetFileHash() []*FileHashes {
  1098. if m != nil {
  1099. return m.FileHash
  1100. }
  1101. return nil
  1102. }
  1103. // A build resource in the Cloud Build API.
  1104. //
  1105. // At a high level, a `Build` describes where to find source code, how to build
  1106. // it (for example, the builder image to run on the source), and where to store
  1107. // the built artifacts.
  1108. //
  1109. // Fields can include the following variables, which will be expanded when the
  1110. // build is created:
  1111. //
  1112. // - $PROJECT_ID: the project ID of the build.
  1113. // - $BUILD_ID: the autogenerated ID of the build.
  1114. // - $REPO_NAME: the source repository name specified by RepoSource.
  1115. // - $BRANCH_NAME: the branch name specified by RepoSource.
  1116. // - $TAG_NAME: the tag name specified by RepoSource.
  1117. // - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
  1118. // resolved from the specified branch or tag.
  1119. // - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
  1120. type Build struct {
  1121. // Output only. Unique identifier of the build.
  1122. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1123. // Output only. ID of the project.
  1124. ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1125. // Output only. Status of the build.
  1126. Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"`
  1127. // Output only. Customer-readable message about the current status.
  1128. StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
  1129. // The location of the source files to build.
  1130. Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
  1131. // Required. The operations to be performed on the workspace.
  1132. Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"`
  1133. // Output only. Results of the build.
  1134. Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"`
  1135. // Output only. Time at which the request to create the build was received.
  1136. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  1137. // Output only. Time at which execution of the build was started.
  1138. StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  1139. // Output only. Time at which execution of the build was finished.
  1140. //
  1141. // The difference between finish_time and start_time is the duration of the
  1142. // build's execution.
  1143. FinishTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
  1144. // Amount of time that this build should be allowed to run, to second
  1145. // granularity. If this amount of time elapses, work on the build will cease
  1146. // and the build status will be `TIMEOUT`.
  1147. //
  1148. // Default time is ten minutes.
  1149. Timeout *duration.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"`
  1150. // A list of images to be pushed upon the successful completion of all build
  1151. // steps.
  1152. //
  1153. // The images are pushed using the builder service account's credentials.
  1154. //
  1155. // The digests of the pushed images will be stored in the `Build` resource's
  1156. // results field.
  1157. //
  1158. // If any of the images fail to be pushed, the build status is marked
  1159. // `FAILURE`.
  1160. Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"`
  1161. // Artifacts produced by the build that should be uploaded upon
  1162. // successful completion of all build steps.
  1163. Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,omitempty"`
  1164. // Google Cloud Storage bucket where logs should be written (see
  1165. // [Bucket Name
  1166. // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
  1167. // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.
  1168. LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"`
  1169. // Output only. A permanent fixed identifier for source.
  1170. SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`
  1171. // Output only. The ID of the `BuildTrigger` that triggered this build, if it
  1172. // was triggered automatically.
  1173. BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"`
  1174. // Special options for this build.
  1175. Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"`
  1176. // Output only. URL to logs for this build in Google Cloud Console.
  1177. LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"`
  1178. // Substitutions data for `Build` resource.
  1179. Substitutions map[string]string `protobuf:"bytes,29,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1180. // Tags for annotation of a `Build`. These are not docker tags.
  1181. Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"`
  1182. // Secrets to decrypt using Cloud Key Management Service.
  1183. Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"`
  1184. // Output only. Stores timing information for phases of the build. Valid keys
  1185. // are:
  1186. //
  1187. // * BUILD: time to execute all build steps
  1188. // * PUSH: time to push all specified images.
  1189. // * FETCHSOURCE: time to fetch source.
  1190. //
  1191. // If the build does not specify source or images,
  1192. // these keys will not be included.
  1193. Timing map[string]*TimeSpan `protobuf:"bytes,33,rep,name=timing,proto3" json:"timing,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1194. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1195. XXX_unrecognized []byte `json:"-"`
  1196. XXX_sizecache int32 `json:"-"`
  1197. }
  1198. func (m *Build) Reset() { *m = Build{} }
  1199. func (m *Build) String() string { return proto.CompactTextString(m) }
  1200. func (*Build) ProtoMessage() {}
  1201. func (*Build) Descriptor() ([]byte, []int) {
  1202. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{10}
  1203. }
  1204. func (m *Build) XXX_Unmarshal(b []byte) error {
  1205. return xxx_messageInfo_Build.Unmarshal(m, b)
  1206. }
  1207. func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1208. return xxx_messageInfo_Build.Marshal(b, m, deterministic)
  1209. }
  1210. func (dst *Build) XXX_Merge(src proto.Message) {
  1211. xxx_messageInfo_Build.Merge(dst, src)
  1212. }
  1213. func (m *Build) XXX_Size() int {
  1214. return xxx_messageInfo_Build.Size(m)
  1215. }
  1216. func (m *Build) XXX_DiscardUnknown() {
  1217. xxx_messageInfo_Build.DiscardUnknown(m)
  1218. }
  1219. var xxx_messageInfo_Build proto.InternalMessageInfo
  1220. func (m *Build) GetId() string {
  1221. if m != nil {
  1222. return m.Id
  1223. }
  1224. return ""
  1225. }
  1226. func (m *Build) GetProjectId() string {
  1227. if m != nil {
  1228. return m.ProjectId
  1229. }
  1230. return ""
  1231. }
  1232. func (m *Build) GetStatus() Build_Status {
  1233. if m != nil {
  1234. return m.Status
  1235. }
  1236. return Build_STATUS_UNKNOWN
  1237. }
  1238. func (m *Build) GetStatusDetail() string {
  1239. if m != nil {
  1240. return m.StatusDetail
  1241. }
  1242. return ""
  1243. }
  1244. func (m *Build) GetSource() *Source {
  1245. if m != nil {
  1246. return m.Source
  1247. }
  1248. return nil
  1249. }
  1250. func (m *Build) GetSteps() []*BuildStep {
  1251. if m != nil {
  1252. return m.Steps
  1253. }
  1254. return nil
  1255. }
  1256. func (m *Build) GetResults() *Results {
  1257. if m != nil {
  1258. return m.Results
  1259. }
  1260. return nil
  1261. }
  1262. func (m *Build) GetCreateTime() *timestamp.Timestamp {
  1263. if m != nil {
  1264. return m.CreateTime
  1265. }
  1266. return nil
  1267. }
  1268. func (m *Build) GetStartTime() *timestamp.Timestamp {
  1269. if m != nil {
  1270. return m.StartTime
  1271. }
  1272. return nil
  1273. }
  1274. func (m *Build) GetFinishTime() *timestamp.Timestamp {
  1275. if m != nil {
  1276. return m.FinishTime
  1277. }
  1278. return nil
  1279. }
  1280. func (m *Build) GetTimeout() *duration.Duration {
  1281. if m != nil {
  1282. return m.Timeout
  1283. }
  1284. return nil
  1285. }
  1286. func (m *Build) GetImages() []string {
  1287. if m != nil {
  1288. return m.Images
  1289. }
  1290. return nil
  1291. }
  1292. func (m *Build) GetArtifacts() *Artifacts {
  1293. if m != nil {
  1294. return m.Artifacts
  1295. }
  1296. return nil
  1297. }
  1298. func (m *Build) GetLogsBucket() string {
  1299. if m != nil {
  1300. return m.LogsBucket
  1301. }
  1302. return ""
  1303. }
  1304. func (m *Build) GetSourceProvenance() *SourceProvenance {
  1305. if m != nil {
  1306. return m.SourceProvenance
  1307. }
  1308. return nil
  1309. }
  1310. func (m *Build) GetBuildTriggerId() string {
  1311. if m != nil {
  1312. return m.BuildTriggerId
  1313. }
  1314. return ""
  1315. }
  1316. func (m *Build) GetOptions() *BuildOptions {
  1317. if m != nil {
  1318. return m.Options
  1319. }
  1320. return nil
  1321. }
  1322. func (m *Build) GetLogUrl() string {
  1323. if m != nil {
  1324. return m.LogUrl
  1325. }
  1326. return ""
  1327. }
  1328. func (m *Build) GetSubstitutions() map[string]string {
  1329. if m != nil {
  1330. return m.Substitutions
  1331. }
  1332. return nil
  1333. }
  1334. func (m *Build) GetTags() []string {
  1335. if m != nil {
  1336. return m.Tags
  1337. }
  1338. return nil
  1339. }
  1340. func (m *Build) GetSecrets() []*Secret {
  1341. if m != nil {
  1342. return m.Secrets
  1343. }
  1344. return nil
  1345. }
  1346. func (m *Build) GetTiming() map[string]*TimeSpan {
  1347. if m != nil {
  1348. return m.Timing
  1349. }
  1350. return nil
  1351. }
  1352. // Artifacts produced by a build that should be uploaded upon
  1353. // successful completion of all build steps.
  1354. type Artifacts struct {
  1355. // A list of images to be pushed upon the successful completion of all build
  1356. // steps.
  1357. //
  1358. // The images will be pushed using the builder service account's credentials.
  1359. //
  1360. // The digests of the pushed images will be stored in the Build resource's
  1361. // results field.
  1362. //
  1363. // If any of the images fail to be pushed, the build is marked FAILURE.
  1364. Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
  1365. // A list of objects to be uploaded to Cloud Storage upon successful
  1366. // completion of all build steps.
  1367. //
  1368. // Files in the workspace matching specified paths globs will be uploaded to
  1369. // the specified Cloud Storage location using the builder service account's
  1370. // credentials.
  1371. //
  1372. // The location and generation of the uploaded objects will be stored in the
  1373. // Build resource's results field.
  1374. //
  1375. // If any objects fail to be pushed, the build is marked FAILURE.
  1376. Objects *Artifacts_ArtifactObjects `protobuf:"bytes,2,opt,name=objects,proto3" json:"objects,omitempty"`
  1377. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1378. XXX_unrecognized []byte `json:"-"`
  1379. XXX_sizecache int32 `json:"-"`
  1380. }
  1381. func (m *Artifacts) Reset() { *m = Artifacts{} }
  1382. func (m *Artifacts) String() string { return proto.CompactTextString(m) }
  1383. func (*Artifacts) ProtoMessage() {}
  1384. func (*Artifacts) Descriptor() ([]byte, []int) {
  1385. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{11}
  1386. }
  1387. func (m *Artifacts) XXX_Unmarshal(b []byte) error {
  1388. return xxx_messageInfo_Artifacts.Unmarshal(m, b)
  1389. }
  1390. func (m *Artifacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1391. return xxx_messageInfo_Artifacts.Marshal(b, m, deterministic)
  1392. }
  1393. func (dst *Artifacts) XXX_Merge(src proto.Message) {
  1394. xxx_messageInfo_Artifacts.Merge(dst, src)
  1395. }
  1396. func (m *Artifacts) XXX_Size() int {
  1397. return xxx_messageInfo_Artifacts.Size(m)
  1398. }
  1399. func (m *Artifacts) XXX_DiscardUnknown() {
  1400. xxx_messageInfo_Artifacts.DiscardUnknown(m)
  1401. }
  1402. var xxx_messageInfo_Artifacts proto.InternalMessageInfo
  1403. func (m *Artifacts) GetImages() []string {
  1404. if m != nil {
  1405. return m.Images
  1406. }
  1407. return nil
  1408. }
  1409. func (m *Artifacts) GetObjects() *Artifacts_ArtifactObjects {
  1410. if m != nil {
  1411. return m.Objects
  1412. }
  1413. return nil
  1414. }
  1415. // Files in the workspace to upload to Cloud Storage upon successful
  1416. // completion of all build steps.
  1417. type Artifacts_ArtifactObjects struct {
  1418. // Cloud Storage bucket and optional object path, in the form
  1419. // "gs://bucket/path/to/somewhere/". (see [Bucket Name
  1420. // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
  1421. //
  1422. // Files in the workspace matching any path pattern will be uploaded to
  1423. // Cloud Storage with this location as a prefix.
  1424. Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
  1425. // Path globs used to match files in the build's workspace.
  1426. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
  1427. // Output only. Stores timing information for pushing all artifact objects.
  1428. Timing *TimeSpan `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"`
  1429. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1430. XXX_unrecognized []byte `json:"-"`
  1431. XXX_sizecache int32 `json:"-"`
  1432. }
  1433. func (m *Artifacts_ArtifactObjects) Reset() { *m = Artifacts_ArtifactObjects{} }
  1434. func (m *Artifacts_ArtifactObjects) String() string { return proto.CompactTextString(m) }
  1435. func (*Artifacts_ArtifactObjects) ProtoMessage() {}
  1436. func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int) {
  1437. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{11, 0}
  1438. }
  1439. func (m *Artifacts_ArtifactObjects) XXX_Unmarshal(b []byte) error {
  1440. return xxx_messageInfo_Artifacts_ArtifactObjects.Unmarshal(m, b)
  1441. }
  1442. func (m *Artifacts_ArtifactObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1443. return xxx_messageInfo_Artifacts_ArtifactObjects.Marshal(b, m, deterministic)
  1444. }
  1445. func (dst *Artifacts_ArtifactObjects) XXX_Merge(src proto.Message) {
  1446. xxx_messageInfo_Artifacts_ArtifactObjects.Merge(dst, src)
  1447. }
  1448. func (m *Artifacts_ArtifactObjects) XXX_Size() int {
  1449. return xxx_messageInfo_Artifacts_ArtifactObjects.Size(m)
  1450. }
  1451. func (m *Artifacts_ArtifactObjects) XXX_DiscardUnknown() {
  1452. xxx_messageInfo_Artifacts_ArtifactObjects.DiscardUnknown(m)
  1453. }
  1454. var xxx_messageInfo_Artifacts_ArtifactObjects proto.InternalMessageInfo
  1455. func (m *Artifacts_ArtifactObjects) GetLocation() string {
  1456. if m != nil {
  1457. return m.Location
  1458. }
  1459. return ""
  1460. }
  1461. func (m *Artifacts_ArtifactObjects) GetPaths() []string {
  1462. if m != nil {
  1463. return m.Paths
  1464. }
  1465. return nil
  1466. }
  1467. func (m *Artifacts_ArtifactObjects) GetTiming() *TimeSpan {
  1468. if m != nil {
  1469. return m.Timing
  1470. }
  1471. return nil
  1472. }
  1473. // Start and end times for a build execution phase.
  1474. type TimeSpan struct {
  1475. // Start of time span.
  1476. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  1477. // End of time span.
  1478. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  1479. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1480. XXX_unrecognized []byte `json:"-"`
  1481. XXX_sizecache int32 `json:"-"`
  1482. }
  1483. func (m *TimeSpan) Reset() { *m = TimeSpan{} }
  1484. func (m *TimeSpan) String() string { return proto.CompactTextString(m) }
  1485. func (*TimeSpan) ProtoMessage() {}
  1486. func (*TimeSpan) Descriptor() ([]byte, []int) {
  1487. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{12}
  1488. }
  1489. func (m *TimeSpan) XXX_Unmarshal(b []byte) error {
  1490. return xxx_messageInfo_TimeSpan.Unmarshal(m, b)
  1491. }
  1492. func (m *TimeSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1493. return xxx_messageInfo_TimeSpan.Marshal(b, m, deterministic)
  1494. }
  1495. func (dst *TimeSpan) XXX_Merge(src proto.Message) {
  1496. xxx_messageInfo_TimeSpan.Merge(dst, src)
  1497. }
  1498. func (m *TimeSpan) XXX_Size() int {
  1499. return xxx_messageInfo_TimeSpan.Size(m)
  1500. }
  1501. func (m *TimeSpan) XXX_DiscardUnknown() {
  1502. xxx_messageInfo_TimeSpan.DiscardUnknown(m)
  1503. }
  1504. var xxx_messageInfo_TimeSpan proto.InternalMessageInfo
  1505. func (m *TimeSpan) GetStartTime() *timestamp.Timestamp {
  1506. if m != nil {
  1507. return m.StartTime
  1508. }
  1509. return nil
  1510. }
  1511. func (m *TimeSpan) GetEndTime() *timestamp.Timestamp {
  1512. if m != nil {
  1513. return m.EndTime
  1514. }
  1515. return nil
  1516. }
  1517. // Metadata for build operations.
  1518. type BuildOperationMetadata struct {
  1519. // The build that the operation is tracking.
  1520. Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
  1521. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1522. XXX_unrecognized []byte `json:"-"`
  1523. XXX_sizecache int32 `json:"-"`
  1524. }
  1525. func (m *BuildOperationMetadata) Reset() { *m = BuildOperationMetadata{} }
  1526. func (m *BuildOperationMetadata) String() string { return proto.CompactTextString(m) }
  1527. func (*BuildOperationMetadata) ProtoMessage() {}
  1528. func (*BuildOperationMetadata) Descriptor() ([]byte, []int) {
  1529. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{13}
  1530. }
  1531. func (m *BuildOperationMetadata) XXX_Unmarshal(b []byte) error {
  1532. return xxx_messageInfo_BuildOperationMetadata.Unmarshal(m, b)
  1533. }
  1534. func (m *BuildOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1535. return xxx_messageInfo_BuildOperationMetadata.Marshal(b, m, deterministic)
  1536. }
  1537. func (dst *BuildOperationMetadata) XXX_Merge(src proto.Message) {
  1538. xxx_messageInfo_BuildOperationMetadata.Merge(dst, src)
  1539. }
  1540. func (m *BuildOperationMetadata) XXX_Size() int {
  1541. return xxx_messageInfo_BuildOperationMetadata.Size(m)
  1542. }
  1543. func (m *BuildOperationMetadata) XXX_DiscardUnknown() {
  1544. xxx_messageInfo_BuildOperationMetadata.DiscardUnknown(m)
  1545. }
  1546. var xxx_messageInfo_BuildOperationMetadata proto.InternalMessageInfo
  1547. func (m *BuildOperationMetadata) GetBuild() *Build {
  1548. if m != nil {
  1549. return m.Build
  1550. }
  1551. return nil
  1552. }
  1553. // Provenance of the source. Ways to find the original source, or verify that
  1554. // some source was used for this build.
  1555. type SourceProvenance struct {
  1556. // A copy of the build's `source.storage_source`, if exists, with any
  1557. // generations resolved.
  1558. ResolvedStorageSource *StorageSource `protobuf:"bytes,3,opt,name=resolved_storage_source,json=resolvedStorageSource,proto3" json:"resolved_storage_source,omitempty"`
  1559. // A copy of the build's `source.repo_source`, if exists, with any
  1560. // revisions resolved.
  1561. ResolvedRepoSource *RepoSource `protobuf:"bytes,6,opt,name=resolved_repo_source,json=resolvedRepoSource,proto3" json:"resolved_repo_source,omitempty"`
  1562. // Output only. Hash(es) of the build source, which can be used to verify that
  1563. // the originalsource integrity was maintained in the build. Note that
  1564. // `FileHashes` willonly be populated if `BuildOptions` has requested a
  1565. // `SourceProvenanceHash`.
  1566. //
  1567. // The keys to this map are file paths used as build source and the values
  1568. // contain the hash values for those files.
  1569. //
  1570. // If the build source came in a single package such as a gzipped tarfile
  1571. // (`.tar.gz`), the `FileHash` will be for the single path to that file.
  1572. FileHashes map[string]*FileHashes `protobuf:"bytes,4,rep,name=file_hashes,json=fileHashes,proto3" json:"file_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1573. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1574. XXX_unrecognized []byte `json:"-"`
  1575. XXX_sizecache int32 `json:"-"`
  1576. }
  1577. func (m *SourceProvenance) Reset() { *m = SourceProvenance{} }
  1578. func (m *SourceProvenance) String() string { return proto.CompactTextString(m) }
  1579. func (*SourceProvenance) ProtoMessage() {}
  1580. func (*SourceProvenance) Descriptor() ([]byte, []int) {
  1581. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{14}
  1582. }
  1583. func (m *SourceProvenance) XXX_Unmarshal(b []byte) error {
  1584. return xxx_messageInfo_SourceProvenance.Unmarshal(m, b)
  1585. }
  1586. func (m *SourceProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1587. return xxx_messageInfo_SourceProvenance.Marshal(b, m, deterministic)
  1588. }
  1589. func (dst *SourceProvenance) XXX_Merge(src proto.Message) {
  1590. xxx_messageInfo_SourceProvenance.Merge(dst, src)
  1591. }
  1592. func (m *SourceProvenance) XXX_Size() int {
  1593. return xxx_messageInfo_SourceProvenance.Size(m)
  1594. }
  1595. func (m *SourceProvenance) XXX_DiscardUnknown() {
  1596. xxx_messageInfo_SourceProvenance.DiscardUnknown(m)
  1597. }
  1598. var xxx_messageInfo_SourceProvenance proto.InternalMessageInfo
  1599. func (m *SourceProvenance) GetResolvedStorageSource() *StorageSource {
  1600. if m != nil {
  1601. return m.ResolvedStorageSource
  1602. }
  1603. return nil
  1604. }
  1605. func (m *SourceProvenance) GetResolvedRepoSource() *RepoSource {
  1606. if m != nil {
  1607. return m.ResolvedRepoSource
  1608. }
  1609. return nil
  1610. }
  1611. func (m *SourceProvenance) GetFileHashes() map[string]*FileHashes {
  1612. if m != nil {
  1613. return m.FileHashes
  1614. }
  1615. return nil
  1616. }
  1617. // Container message for hashes of byte content of files, used in
  1618. // SourceProvenance messages to verify integrity of source input to the build.
  1619. type FileHashes struct {
  1620. // Collection of file hashes.
  1621. FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"`
  1622. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1623. XXX_unrecognized []byte `json:"-"`
  1624. XXX_sizecache int32 `json:"-"`
  1625. }
  1626. func (m *FileHashes) Reset() { *m = FileHashes{} }
  1627. func (m *FileHashes) String() string { return proto.CompactTextString(m) }
  1628. func (*FileHashes) ProtoMessage() {}
  1629. func (*FileHashes) Descriptor() ([]byte, []int) {
  1630. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{15}
  1631. }
  1632. func (m *FileHashes) XXX_Unmarshal(b []byte) error {
  1633. return xxx_messageInfo_FileHashes.Unmarshal(m, b)
  1634. }
  1635. func (m *FileHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1636. return xxx_messageInfo_FileHashes.Marshal(b, m, deterministic)
  1637. }
  1638. func (dst *FileHashes) XXX_Merge(src proto.Message) {
  1639. xxx_messageInfo_FileHashes.Merge(dst, src)
  1640. }
  1641. func (m *FileHashes) XXX_Size() int {
  1642. return xxx_messageInfo_FileHashes.Size(m)
  1643. }
  1644. func (m *FileHashes) XXX_DiscardUnknown() {
  1645. xxx_messageInfo_FileHashes.DiscardUnknown(m)
  1646. }
  1647. var xxx_messageInfo_FileHashes proto.InternalMessageInfo
  1648. func (m *FileHashes) GetFileHash() []*Hash {
  1649. if m != nil {
  1650. return m.FileHash
  1651. }
  1652. return nil
  1653. }
  1654. // Container message for hash values.
  1655. type Hash struct {
  1656. // The type of hash that was performed.
  1657. Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"type,omitempty"`
  1658. // The hash value.
  1659. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1660. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1661. XXX_unrecognized []byte `json:"-"`
  1662. XXX_sizecache int32 `json:"-"`
  1663. }
  1664. func (m *Hash) Reset() { *m = Hash{} }
  1665. func (m *Hash) String() string { return proto.CompactTextString(m) }
  1666. func (*Hash) ProtoMessage() {}
  1667. func (*Hash) Descriptor() ([]byte, []int) {
  1668. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{16}
  1669. }
  1670. func (m *Hash) XXX_Unmarshal(b []byte) error {
  1671. return xxx_messageInfo_Hash.Unmarshal(m, b)
  1672. }
  1673. func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1674. return xxx_messageInfo_Hash.Marshal(b, m, deterministic)
  1675. }
  1676. func (dst *Hash) XXX_Merge(src proto.Message) {
  1677. xxx_messageInfo_Hash.Merge(dst, src)
  1678. }
  1679. func (m *Hash) XXX_Size() int {
  1680. return xxx_messageInfo_Hash.Size(m)
  1681. }
  1682. func (m *Hash) XXX_DiscardUnknown() {
  1683. xxx_messageInfo_Hash.DiscardUnknown(m)
  1684. }
  1685. var xxx_messageInfo_Hash proto.InternalMessageInfo
  1686. func (m *Hash) GetType() Hash_HashType {
  1687. if m != nil {
  1688. return m.Type
  1689. }
  1690. return Hash_NONE
  1691. }
  1692. func (m *Hash) GetValue() []byte {
  1693. if m != nil {
  1694. return m.Value
  1695. }
  1696. return nil
  1697. }
  1698. // Pairs a set of secret environment variables containing encrypted
  1699. // values with the Cloud KMS key to use to decrypt the value.
  1700. type Secret struct {
  1701. // Cloud KMS key name to use to decrypt these envs.
  1702. KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
  1703. // Map of environment variable name to its encrypted value.
  1704. //
  1705. // Secret environment variables must be unique across all of a build's
  1706. // secrets, and must be used by at least one build step. Values can be at most
  1707. // 64 KB in size. There can be at most 100 secret values across all of a
  1708. // build's secrets.
  1709. SecretEnv map[string][]byte `protobuf:"bytes,3,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1710. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1711. XXX_unrecognized []byte `json:"-"`
  1712. XXX_sizecache int32 `json:"-"`
  1713. }
  1714. func (m *Secret) Reset() { *m = Secret{} }
  1715. func (m *Secret) String() string { return proto.CompactTextString(m) }
  1716. func (*Secret) ProtoMessage() {}
  1717. func (*Secret) Descriptor() ([]byte, []int) {
  1718. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{17}
  1719. }
  1720. func (m *Secret) XXX_Unmarshal(b []byte) error {
  1721. return xxx_messageInfo_Secret.Unmarshal(m, b)
  1722. }
  1723. func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1724. return xxx_messageInfo_Secret.Marshal(b, m, deterministic)
  1725. }
  1726. func (dst *Secret) XXX_Merge(src proto.Message) {
  1727. xxx_messageInfo_Secret.Merge(dst, src)
  1728. }
  1729. func (m *Secret) XXX_Size() int {
  1730. return xxx_messageInfo_Secret.Size(m)
  1731. }
  1732. func (m *Secret) XXX_DiscardUnknown() {
  1733. xxx_messageInfo_Secret.DiscardUnknown(m)
  1734. }
  1735. var xxx_messageInfo_Secret proto.InternalMessageInfo
  1736. func (m *Secret) GetKmsKeyName() string {
  1737. if m != nil {
  1738. return m.KmsKeyName
  1739. }
  1740. return ""
  1741. }
  1742. func (m *Secret) GetSecretEnv() map[string][]byte {
  1743. if m != nil {
  1744. return m.SecretEnv
  1745. }
  1746. return nil
  1747. }
  1748. // Request to create a new build.
  1749. type CreateBuildRequest struct {
  1750. // ID of the project.
  1751. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1752. // Build resource to create.
  1753. Build *Build `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"`
  1754. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1755. XXX_unrecognized []byte `json:"-"`
  1756. XXX_sizecache int32 `json:"-"`
  1757. }
  1758. func (m *CreateBuildRequest) Reset() { *m = CreateBuildRequest{} }
  1759. func (m *CreateBuildRequest) String() string { return proto.CompactTextString(m) }
  1760. func (*CreateBuildRequest) ProtoMessage() {}
  1761. func (*CreateBuildRequest) Descriptor() ([]byte, []int) {
  1762. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{18}
  1763. }
  1764. func (m *CreateBuildRequest) XXX_Unmarshal(b []byte) error {
  1765. return xxx_messageInfo_CreateBuildRequest.Unmarshal(m, b)
  1766. }
  1767. func (m *CreateBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1768. return xxx_messageInfo_CreateBuildRequest.Marshal(b, m, deterministic)
  1769. }
  1770. func (dst *CreateBuildRequest) XXX_Merge(src proto.Message) {
  1771. xxx_messageInfo_CreateBuildRequest.Merge(dst, src)
  1772. }
  1773. func (m *CreateBuildRequest) XXX_Size() int {
  1774. return xxx_messageInfo_CreateBuildRequest.Size(m)
  1775. }
  1776. func (m *CreateBuildRequest) XXX_DiscardUnknown() {
  1777. xxx_messageInfo_CreateBuildRequest.DiscardUnknown(m)
  1778. }
  1779. var xxx_messageInfo_CreateBuildRequest proto.InternalMessageInfo
  1780. func (m *CreateBuildRequest) GetProjectId() string {
  1781. if m != nil {
  1782. return m.ProjectId
  1783. }
  1784. return ""
  1785. }
  1786. func (m *CreateBuildRequest) GetBuild() *Build {
  1787. if m != nil {
  1788. return m.Build
  1789. }
  1790. return nil
  1791. }
  1792. // Request to get a build.
  1793. type GetBuildRequest struct {
  1794. // ID of the project.
  1795. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1796. // ID of the build.
  1797. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  1798. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1799. XXX_unrecognized []byte `json:"-"`
  1800. XXX_sizecache int32 `json:"-"`
  1801. }
  1802. func (m *GetBuildRequest) Reset() { *m = GetBuildRequest{} }
  1803. func (m *GetBuildRequest) String() string { return proto.CompactTextString(m) }
  1804. func (*GetBuildRequest) ProtoMessage() {}
  1805. func (*GetBuildRequest) Descriptor() ([]byte, []int) {
  1806. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{19}
  1807. }
  1808. func (m *GetBuildRequest) XXX_Unmarshal(b []byte) error {
  1809. return xxx_messageInfo_GetBuildRequest.Unmarshal(m, b)
  1810. }
  1811. func (m *GetBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1812. return xxx_messageInfo_GetBuildRequest.Marshal(b, m, deterministic)
  1813. }
  1814. func (dst *GetBuildRequest) XXX_Merge(src proto.Message) {
  1815. xxx_messageInfo_GetBuildRequest.Merge(dst, src)
  1816. }
  1817. func (m *GetBuildRequest) XXX_Size() int {
  1818. return xxx_messageInfo_GetBuildRequest.Size(m)
  1819. }
  1820. func (m *GetBuildRequest) XXX_DiscardUnknown() {
  1821. xxx_messageInfo_GetBuildRequest.DiscardUnknown(m)
  1822. }
  1823. var xxx_messageInfo_GetBuildRequest proto.InternalMessageInfo
  1824. func (m *GetBuildRequest) GetProjectId() string {
  1825. if m != nil {
  1826. return m.ProjectId
  1827. }
  1828. return ""
  1829. }
  1830. func (m *GetBuildRequest) GetId() string {
  1831. if m != nil {
  1832. return m.Id
  1833. }
  1834. return ""
  1835. }
  1836. // Request to list builds.
  1837. type ListBuildsRequest struct {
  1838. // ID of the project.
  1839. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1840. // Number of results to return in the list.
  1841. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1842. // Token to provide to skip to a particular spot in the list.
  1843. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  1844. // The raw filter text to constrain the results.
  1845. Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
  1846. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1847. XXX_unrecognized []byte `json:"-"`
  1848. XXX_sizecache int32 `json:"-"`
  1849. }
  1850. func (m *ListBuildsRequest) Reset() { *m = ListBuildsRequest{} }
  1851. func (m *ListBuildsRequest) String() string { return proto.CompactTextString(m) }
  1852. func (*ListBuildsRequest) ProtoMessage() {}
  1853. func (*ListBuildsRequest) Descriptor() ([]byte, []int) {
  1854. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{20}
  1855. }
  1856. func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error {
  1857. return xxx_messageInfo_ListBuildsRequest.Unmarshal(m, b)
  1858. }
  1859. func (m *ListBuildsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1860. return xxx_messageInfo_ListBuildsRequest.Marshal(b, m, deterministic)
  1861. }
  1862. func (dst *ListBuildsRequest) XXX_Merge(src proto.Message) {
  1863. xxx_messageInfo_ListBuildsRequest.Merge(dst, src)
  1864. }
  1865. func (m *ListBuildsRequest) XXX_Size() int {
  1866. return xxx_messageInfo_ListBuildsRequest.Size(m)
  1867. }
  1868. func (m *ListBuildsRequest) XXX_DiscardUnknown() {
  1869. xxx_messageInfo_ListBuildsRequest.DiscardUnknown(m)
  1870. }
  1871. var xxx_messageInfo_ListBuildsRequest proto.InternalMessageInfo
  1872. func (m *ListBuildsRequest) GetProjectId() string {
  1873. if m != nil {
  1874. return m.ProjectId
  1875. }
  1876. return ""
  1877. }
  1878. func (m *ListBuildsRequest) GetPageSize() int32 {
  1879. if m != nil {
  1880. return m.PageSize
  1881. }
  1882. return 0
  1883. }
  1884. func (m *ListBuildsRequest) GetPageToken() string {
  1885. if m != nil {
  1886. return m.PageToken
  1887. }
  1888. return ""
  1889. }
  1890. func (m *ListBuildsRequest) GetFilter() string {
  1891. if m != nil {
  1892. return m.Filter
  1893. }
  1894. return ""
  1895. }
  1896. // Response including listed builds.
  1897. type ListBuildsResponse struct {
  1898. // Builds will be sorted by `create_time`, descending.
  1899. Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
  1900. // Token to receive the next page of results.
  1901. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1902. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1903. XXX_unrecognized []byte `json:"-"`
  1904. XXX_sizecache int32 `json:"-"`
  1905. }
  1906. func (m *ListBuildsResponse) Reset() { *m = ListBuildsResponse{} }
  1907. func (m *ListBuildsResponse) String() string { return proto.CompactTextString(m) }
  1908. func (*ListBuildsResponse) ProtoMessage() {}
  1909. func (*ListBuildsResponse) Descriptor() ([]byte, []int) {
  1910. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{21}
  1911. }
  1912. func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error {
  1913. return xxx_messageInfo_ListBuildsResponse.Unmarshal(m, b)
  1914. }
  1915. func (m *ListBuildsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1916. return xxx_messageInfo_ListBuildsResponse.Marshal(b, m, deterministic)
  1917. }
  1918. func (dst *ListBuildsResponse) XXX_Merge(src proto.Message) {
  1919. xxx_messageInfo_ListBuildsResponse.Merge(dst, src)
  1920. }
  1921. func (m *ListBuildsResponse) XXX_Size() int {
  1922. return xxx_messageInfo_ListBuildsResponse.Size(m)
  1923. }
  1924. func (m *ListBuildsResponse) XXX_DiscardUnknown() {
  1925. xxx_messageInfo_ListBuildsResponse.DiscardUnknown(m)
  1926. }
  1927. var xxx_messageInfo_ListBuildsResponse proto.InternalMessageInfo
  1928. func (m *ListBuildsResponse) GetBuilds() []*Build {
  1929. if m != nil {
  1930. return m.Builds
  1931. }
  1932. return nil
  1933. }
  1934. func (m *ListBuildsResponse) GetNextPageToken() string {
  1935. if m != nil {
  1936. return m.NextPageToken
  1937. }
  1938. return ""
  1939. }
  1940. // Request to cancel an ongoing build.
  1941. type CancelBuildRequest struct {
  1942. // ID of the project.
  1943. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1944. // ID of the build.
  1945. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  1946. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1947. XXX_unrecognized []byte `json:"-"`
  1948. XXX_sizecache int32 `json:"-"`
  1949. }
  1950. func (m *CancelBuildRequest) Reset() { *m = CancelBuildRequest{} }
  1951. func (m *CancelBuildRequest) String() string { return proto.CompactTextString(m) }
  1952. func (*CancelBuildRequest) ProtoMessage() {}
  1953. func (*CancelBuildRequest) Descriptor() ([]byte, []int) {
  1954. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{22}
  1955. }
  1956. func (m *CancelBuildRequest) XXX_Unmarshal(b []byte) error {
  1957. return xxx_messageInfo_CancelBuildRequest.Unmarshal(m, b)
  1958. }
  1959. func (m *CancelBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1960. return xxx_messageInfo_CancelBuildRequest.Marshal(b, m, deterministic)
  1961. }
  1962. func (dst *CancelBuildRequest) XXX_Merge(src proto.Message) {
  1963. xxx_messageInfo_CancelBuildRequest.Merge(dst, src)
  1964. }
  1965. func (m *CancelBuildRequest) XXX_Size() int {
  1966. return xxx_messageInfo_CancelBuildRequest.Size(m)
  1967. }
  1968. func (m *CancelBuildRequest) XXX_DiscardUnknown() {
  1969. xxx_messageInfo_CancelBuildRequest.DiscardUnknown(m)
  1970. }
  1971. var xxx_messageInfo_CancelBuildRequest proto.InternalMessageInfo
  1972. func (m *CancelBuildRequest) GetProjectId() string {
  1973. if m != nil {
  1974. return m.ProjectId
  1975. }
  1976. return ""
  1977. }
  1978. func (m *CancelBuildRequest) GetId() string {
  1979. if m != nil {
  1980. return m.Id
  1981. }
  1982. return ""
  1983. }
  1984. // Configuration for an automated build in response to source repository
  1985. // changes.
  1986. type BuildTrigger struct {
  1987. // Output only. Unique identifier of the trigger.
  1988. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1989. // Human-readable description of this trigger.
  1990. Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
  1991. // Template describing the types of source changes to trigger a build.
  1992. //
  1993. // Branch and tag names in trigger templates are interpreted as regular
  1994. // expressions. Any branch or tag change that matches that regular expression
  1995. // will trigger a build.
  1996. TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"`
  1997. // Template describing the Build request to make when the trigger is matched.
  1998. //
  1999. // Types that are valid to be assigned to BuildTemplate:
  2000. // *BuildTrigger_Build
  2001. // *BuildTrigger_Filename
  2002. BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"`
  2003. // Output only. Time when the trigger was created.
  2004. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  2005. // If true, the trigger will never result in a build.
  2006. Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"`
  2007. // Substitutions data for Build resource.
  2008. Substitutions map[string]string `protobuf:"bytes,11,rep,name=substitutions,proto3" json:"substitutions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  2009. // ignored_files and included_files are file glob matches using
  2010. // http://godoc/pkg/path/filepath#Match extended with support for "**".
  2011. //
  2012. // If ignored_files and changed files are both empty, then they are
  2013. // not used to determine whether or not to trigger a build.
  2014. //
  2015. // If ignored_files is not empty, then we ignore any files that match
  2016. // any of the ignored_file globs. If the change has no files that are
  2017. // outside of the ignored_files globs, then we do not trigger a build.
  2018. IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"`
  2019. // If any of the files altered in the commit pass the ignored_files
  2020. // filter and included_files is empty, then as far as this filter is
  2021. // concerned, we should trigger the build.
  2022. //
  2023. // If any of the files altered in the commit pass the ignored_files
  2024. // filter and included_files is not empty, then we make sure that at
  2025. // least one of those files matches a included_files glob. If not,
  2026. // then we do not trigger a build.
  2027. IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"`
  2028. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2029. XXX_unrecognized []byte `json:"-"`
  2030. XXX_sizecache int32 `json:"-"`
  2031. }
  2032. func (m *BuildTrigger) Reset() { *m = BuildTrigger{} }
  2033. func (m *BuildTrigger) String() string { return proto.CompactTextString(m) }
  2034. func (*BuildTrigger) ProtoMessage() {}
  2035. func (*BuildTrigger) Descriptor() ([]byte, []int) {
  2036. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{23}
  2037. }
  2038. func (m *BuildTrigger) XXX_Unmarshal(b []byte) error {
  2039. return xxx_messageInfo_BuildTrigger.Unmarshal(m, b)
  2040. }
  2041. func (m *BuildTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2042. return xxx_messageInfo_BuildTrigger.Marshal(b, m, deterministic)
  2043. }
  2044. func (dst *BuildTrigger) XXX_Merge(src proto.Message) {
  2045. xxx_messageInfo_BuildTrigger.Merge(dst, src)
  2046. }
  2047. func (m *BuildTrigger) XXX_Size() int {
  2048. return xxx_messageInfo_BuildTrigger.Size(m)
  2049. }
  2050. func (m *BuildTrigger) XXX_DiscardUnknown() {
  2051. xxx_messageInfo_BuildTrigger.DiscardUnknown(m)
  2052. }
  2053. var xxx_messageInfo_BuildTrigger proto.InternalMessageInfo
  2054. func (m *BuildTrigger) GetId() string {
  2055. if m != nil {
  2056. return m.Id
  2057. }
  2058. return ""
  2059. }
  2060. func (m *BuildTrigger) GetDescription() string {
  2061. if m != nil {
  2062. return m.Description
  2063. }
  2064. return ""
  2065. }
  2066. func (m *BuildTrigger) GetTriggerTemplate() *RepoSource {
  2067. if m != nil {
  2068. return m.TriggerTemplate
  2069. }
  2070. return nil
  2071. }
  2072. type isBuildTrigger_BuildTemplate interface {
  2073. isBuildTrigger_BuildTemplate()
  2074. }
  2075. type BuildTrigger_Build struct {
  2076. Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"`
  2077. }
  2078. type BuildTrigger_Filename struct {
  2079. Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"`
  2080. }
  2081. func (*BuildTrigger_Build) isBuildTrigger_BuildTemplate() {}
  2082. func (*BuildTrigger_Filename) isBuildTrigger_BuildTemplate() {}
  2083. func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate {
  2084. if m != nil {
  2085. return m.BuildTemplate
  2086. }
  2087. return nil
  2088. }
  2089. func (m *BuildTrigger) GetBuild() *Build {
  2090. if x, ok := m.GetBuildTemplate().(*BuildTrigger_Build); ok {
  2091. return x.Build
  2092. }
  2093. return nil
  2094. }
  2095. func (m *BuildTrigger) GetFilename() string {
  2096. if x, ok := m.GetBuildTemplate().(*BuildTrigger_Filename); ok {
  2097. return x.Filename
  2098. }
  2099. return ""
  2100. }
  2101. func (m *BuildTrigger) GetCreateTime() *timestamp.Timestamp {
  2102. if m != nil {
  2103. return m.CreateTime
  2104. }
  2105. return nil
  2106. }
  2107. func (m *BuildTrigger) GetDisabled() bool {
  2108. if m != nil {
  2109. return m.Disabled
  2110. }
  2111. return false
  2112. }
  2113. func (m *BuildTrigger) GetSubstitutions() map[string]string {
  2114. if m != nil {
  2115. return m.Substitutions
  2116. }
  2117. return nil
  2118. }
  2119. func (m *BuildTrigger) GetIgnoredFiles() []string {
  2120. if m != nil {
  2121. return m.IgnoredFiles
  2122. }
  2123. return nil
  2124. }
  2125. func (m *BuildTrigger) GetIncludedFiles() []string {
  2126. if m != nil {
  2127. return m.IncludedFiles
  2128. }
  2129. return nil
  2130. }
  2131. // XXX_OneofFuncs is for the internal use of the proto package.
  2132. func (*BuildTrigger) 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{}) {
  2133. return _BuildTrigger_OneofMarshaler, _BuildTrigger_OneofUnmarshaler, _BuildTrigger_OneofSizer, []interface{}{
  2134. (*BuildTrigger_Build)(nil),
  2135. (*BuildTrigger_Filename)(nil),
  2136. }
  2137. }
  2138. func _BuildTrigger_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  2139. m := msg.(*BuildTrigger)
  2140. // build_template
  2141. switch x := m.BuildTemplate.(type) {
  2142. case *BuildTrigger_Build:
  2143. b.EncodeVarint(4<<3 | proto.WireBytes)
  2144. if err := b.EncodeMessage(x.Build); err != nil {
  2145. return err
  2146. }
  2147. case *BuildTrigger_Filename:
  2148. b.EncodeVarint(8<<3 | proto.WireBytes)
  2149. b.EncodeStringBytes(x.Filename)
  2150. case nil:
  2151. default:
  2152. return fmt.Errorf("BuildTrigger.BuildTemplate has unexpected type %T", x)
  2153. }
  2154. return nil
  2155. }
  2156. func _BuildTrigger_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  2157. m := msg.(*BuildTrigger)
  2158. switch tag {
  2159. case 4: // build_template.build
  2160. if wire != proto.WireBytes {
  2161. return true, proto.ErrInternalBadWireType
  2162. }
  2163. msg := new(Build)
  2164. err := b.DecodeMessage(msg)
  2165. m.BuildTemplate = &BuildTrigger_Build{msg}
  2166. return true, err
  2167. case 8: // build_template.filename
  2168. if wire != proto.WireBytes {
  2169. return true, proto.ErrInternalBadWireType
  2170. }
  2171. x, err := b.DecodeStringBytes()
  2172. m.BuildTemplate = &BuildTrigger_Filename{x}
  2173. return true, err
  2174. default:
  2175. return false, nil
  2176. }
  2177. }
  2178. func _BuildTrigger_OneofSizer(msg proto.Message) (n int) {
  2179. m := msg.(*BuildTrigger)
  2180. // build_template
  2181. switch x := m.BuildTemplate.(type) {
  2182. case *BuildTrigger_Build:
  2183. s := proto.Size(x.Build)
  2184. n += 1 // tag and wire
  2185. n += proto.SizeVarint(uint64(s))
  2186. n += s
  2187. case *BuildTrigger_Filename:
  2188. n += 1 // tag and wire
  2189. n += proto.SizeVarint(uint64(len(x.Filename)))
  2190. n += len(x.Filename)
  2191. case nil:
  2192. default:
  2193. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  2194. }
  2195. return n
  2196. }
  2197. // Request to create a new `BuildTrigger`.
  2198. type CreateBuildTriggerRequest struct {
  2199. // ID of the project for which to configure automatic builds.
  2200. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  2201. // `BuildTrigger` to create.
  2202. Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"`
  2203. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2204. XXX_unrecognized []byte `json:"-"`
  2205. XXX_sizecache int32 `json:"-"`
  2206. }
  2207. func (m *CreateBuildTriggerRequest) Reset() { *m = CreateBuildTriggerRequest{} }
  2208. func (m *CreateBuildTriggerRequest) String() string { return proto.CompactTextString(m) }
  2209. func (*CreateBuildTriggerRequest) ProtoMessage() {}
  2210. func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int) {
  2211. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{24}
  2212. }
  2213. func (m *CreateBuildTriggerRequest) XXX_Unmarshal(b []byte) error {
  2214. return xxx_messageInfo_CreateBuildTriggerRequest.Unmarshal(m, b)
  2215. }
  2216. func (m *CreateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2217. return xxx_messageInfo_CreateBuildTriggerRequest.Marshal(b, m, deterministic)
  2218. }
  2219. func (dst *CreateBuildTriggerRequest) XXX_Merge(src proto.Message) {
  2220. xxx_messageInfo_CreateBuildTriggerRequest.Merge(dst, src)
  2221. }
  2222. func (m *CreateBuildTriggerRequest) XXX_Size() int {
  2223. return xxx_messageInfo_CreateBuildTriggerRequest.Size(m)
  2224. }
  2225. func (m *CreateBuildTriggerRequest) XXX_DiscardUnknown() {
  2226. xxx_messageInfo_CreateBuildTriggerRequest.DiscardUnknown(m)
  2227. }
  2228. var xxx_messageInfo_CreateBuildTriggerRequest proto.InternalMessageInfo
  2229. func (m *CreateBuildTriggerRequest) GetProjectId() string {
  2230. if m != nil {
  2231. return m.ProjectId
  2232. }
  2233. return ""
  2234. }
  2235. func (m *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger {
  2236. if m != nil {
  2237. return m.Trigger
  2238. }
  2239. return nil
  2240. }
  2241. // Returns the `BuildTrigger` with the specified ID.
  2242. type GetBuildTriggerRequest struct {
  2243. // ID of the project that owns the trigger.
  2244. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  2245. // ID of the `BuildTrigger` to get.
  2246. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
  2247. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2248. XXX_unrecognized []byte `json:"-"`
  2249. XXX_sizecache int32 `json:"-"`
  2250. }
  2251. func (m *GetBuildTriggerRequest) Reset() { *m = GetBuildTriggerRequest{} }
  2252. func (m *GetBuildTriggerRequest) String() string { return proto.CompactTextString(m) }
  2253. func (*GetBuildTriggerRequest) ProtoMessage() {}
  2254. func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int) {
  2255. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{25}
  2256. }
  2257. func (m *GetBuildTriggerRequest) XXX_Unmarshal(b []byte) error {
  2258. return xxx_messageInfo_GetBuildTriggerRequest.Unmarshal(m, b)
  2259. }
  2260. func (m *GetBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2261. return xxx_messageInfo_GetBuildTriggerRequest.Marshal(b, m, deterministic)
  2262. }
  2263. func (dst *GetBuildTriggerRequest) XXX_Merge(src proto.Message) {
  2264. xxx_messageInfo_GetBuildTriggerRequest.Merge(dst, src)
  2265. }
  2266. func (m *GetBuildTriggerRequest) XXX_Size() int {
  2267. return xxx_messageInfo_GetBuildTriggerRequest.Size(m)
  2268. }
  2269. func (m *GetBuildTriggerRequest) XXX_DiscardUnknown() {
  2270. xxx_messageInfo_GetBuildTriggerRequest.DiscardUnknown(m)
  2271. }
  2272. var xxx_messageInfo_GetBuildTriggerRequest proto.InternalMessageInfo
  2273. func (m *GetBuildTriggerRequest) GetProjectId() string {
  2274. if m != nil {
  2275. return m.ProjectId
  2276. }
  2277. return ""
  2278. }
  2279. func (m *GetBuildTriggerRequest) GetTriggerId() string {
  2280. if m != nil {
  2281. return m.TriggerId
  2282. }
  2283. return ""
  2284. }
  2285. // Request to list existing `BuildTriggers`.
  2286. type ListBuildTriggersRequest struct {
  2287. // ID of the project for which to list BuildTriggers.
  2288. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  2289. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2290. XXX_unrecognized []byte `json:"-"`
  2291. XXX_sizecache int32 `json:"-"`
  2292. }
  2293. func (m *ListBuildTriggersRequest) Reset() { *m = ListBuildTriggersRequest{} }
  2294. func (m *ListBuildTriggersRequest) String() string { return proto.CompactTextString(m) }
  2295. func (*ListBuildTriggersRequest) ProtoMessage() {}
  2296. func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int) {
  2297. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{26}
  2298. }
  2299. func (m *ListBuildTriggersRequest) XXX_Unmarshal(b []byte) error {
  2300. return xxx_messageInfo_ListBuildTriggersRequest.Unmarshal(m, b)
  2301. }
  2302. func (m *ListBuildTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2303. return xxx_messageInfo_ListBuildTriggersRequest.Marshal(b, m, deterministic)
  2304. }
  2305. func (dst *ListBuildTriggersRequest) XXX_Merge(src proto.Message) {
  2306. xxx_messageInfo_ListBuildTriggersRequest.Merge(dst, src)
  2307. }
  2308. func (m *ListBuildTriggersRequest) XXX_Size() int {
  2309. return xxx_messageInfo_ListBuildTriggersRequest.Size(m)
  2310. }
  2311. func (m *ListBuildTriggersRequest) XXX_DiscardUnknown() {
  2312. xxx_messageInfo_ListBuildTriggersRequest.DiscardUnknown(m)
  2313. }
  2314. var xxx_messageInfo_ListBuildTriggersRequest proto.InternalMessageInfo
  2315. func (m *ListBuildTriggersRequest) GetProjectId() string {
  2316. if m != nil {
  2317. return m.ProjectId
  2318. }
  2319. return ""
  2320. }
  2321. // Response containing existing `BuildTriggers`.
  2322. type ListBuildTriggersResponse struct {
  2323. // `BuildTriggers` for the project, sorted by `create_time` descending.
  2324. Triggers []*BuildTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
  2325. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2326. XXX_unrecognized []byte `json:"-"`
  2327. XXX_sizecache int32 `json:"-"`
  2328. }
  2329. func (m *ListBuildTriggersResponse) Reset() { *m = ListBuildTriggersResponse{} }
  2330. func (m *ListBuildTriggersResponse) String() string { return proto.CompactTextString(m) }
  2331. func (*ListBuildTriggersResponse) ProtoMessage() {}
  2332. func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int) {
  2333. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{27}
  2334. }
  2335. func (m *ListBuildTriggersResponse) XXX_Unmarshal(b []byte) error {
  2336. return xxx_messageInfo_ListBuildTriggersResponse.Unmarshal(m, b)
  2337. }
  2338. func (m *ListBuildTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2339. return xxx_messageInfo_ListBuildTriggersResponse.Marshal(b, m, deterministic)
  2340. }
  2341. func (dst *ListBuildTriggersResponse) XXX_Merge(src proto.Message) {
  2342. xxx_messageInfo_ListBuildTriggersResponse.Merge(dst, src)
  2343. }
  2344. func (m *ListBuildTriggersResponse) XXX_Size() int {
  2345. return xxx_messageInfo_ListBuildTriggersResponse.Size(m)
  2346. }
  2347. func (m *ListBuildTriggersResponse) XXX_DiscardUnknown() {
  2348. xxx_messageInfo_ListBuildTriggersResponse.DiscardUnknown(m)
  2349. }
  2350. var xxx_messageInfo_ListBuildTriggersResponse proto.InternalMessageInfo
  2351. func (m *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger {
  2352. if m != nil {
  2353. return m.Triggers
  2354. }
  2355. return nil
  2356. }
  2357. // Request to delete a `BuildTrigger`.
  2358. type DeleteBuildTriggerRequest struct {
  2359. // ID of the project that owns the trigger.
  2360. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  2361. // ID of the `BuildTrigger` to delete.
  2362. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
  2363. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2364. XXX_unrecognized []byte `json:"-"`
  2365. XXX_sizecache int32 `json:"-"`
  2366. }
  2367. func (m *DeleteBuildTriggerRequest) Reset() { *m = DeleteBuildTriggerRequest{} }
  2368. func (m *DeleteBuildTriggerRequest) String() string { return proto.CompactTextString(m) }
  2369. func (*DeleteBuildTriggerRequest) ProtoMessage() {}
  2370. func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int) {
  2371. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{28}
  2372. }
  2373. func (m *DeleteBuildTriggerRequest) XXX_Unmarshal(b []byte) error {
  2374. return xxx_messageInfo_DeleteBuildTriggerRequest.Unmarshal(m, b)
  2375. }
  2376. func (m *DeleteBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2377. return xxx_messageInfo_DeleteBuildTriggerRequest.Marshal(b, m, deterministic)
  2378. }
  2379. func (dst *DeleteBuildTriggerRequest) XXX_Merge(src proto.Message) {
  2380. xxx_messageInfo_DeleteBuildTriggerRequest.Merge(dst, src)
  2381. }
  2382. func (m *DeleteBuildTriggerRequest) XXX_Size() int {
  2383. return xxx_messageInfo_DeleteBuildTriggerRequest.Size(m)
  2384. }
  2385. func (m *DeleteBuildTriggerRequest) XXX_DiscardUnknown() {
  2386. xxx_messageInfo_DeleteBuildTriggerRequest.DiscardUnknown(m)
  2387. }
  2388. var xxx_messageInfo_DeleteBuildTriggerRequest proto.InternalMessageInfo
  2389. func (m *DeleteBuildTriggerRequest) GetProjectId() string {
  2390. if m != nil {
  2391. return m.ProjectId
  2392. }
  2393. return ""
  2394. }
  2395. func (m *DeleteBuildTriggerRequest) GetTriggerId() string {
  2396. if m != nil {
  2397. return m.TriggerId
  2398. }
  2399. return ""
  2400. }
  2401. // Request to update an existing `BuildTrigger`.
  2402. type UpdateBuildTriggerRequest struct {
  2403. // ID of the project that owns the trigger.
  2404. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  2405. // ID of the `BuildTrigger` to update.
  2406. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"`
  2407. // `BuildTrigger` to update.
  2408. Trigger *BuildTrigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
  2409. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2410. XXX_unrecognized []byte `json:"-"`
  2411. XXX_sizecache int32 `json:"-"`
  2412. }
  2413. func (m *UpdateBuildTriggerRequest) Reset() { *m = UpdateBuildTriggerRequest{} }
  2414. func (m *UpdateBuildTriggerRequest) String() string { return proto.CompactTextString(m) }
  2415. func (*UpdateBuildTriggerRequest) ProtoMessage() {}
  2416. func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int) {
  2417. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{29}
  2418. }
  2419. func (m *UpdateBuildTriggerRequest) XXX_Unmarshal(b []byte) error {
  2420. return xxx_messageInfo_UpdateBuildTriggerRequest.Unmarshal(m, b)
  2421. }
  2422. func (m *UpdateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2423. return xxx_messageInfo_UpdateBuildTriggerRequest.Marshal(b, m, deterministic)
  2424. }
  2425. func (dst *UpdateBuildTriggerRequest) XXX_Merge(src proto.Message) {
  2426. xxx_messageInfo_UpdateBuildTriggerRequest.Merge(dst, src)
  2427. }
  2428. func (m *UpdateBuildTriggerRequest) XXX_Size() int {
  2429. return xxx_messageInfo_UpdateBuildTriggerRequest.Size(m)
  2430. }
  2431. func (m *UpdateBuildTriggerRequest) XXX_DiscardUnknown() {
  2432. xxx_messageInfo_UpdateBuildTriggerRequest.DiscardUnknown(m)
  2433. }
  2434. var xxx_messageInfo_UpdateBuildTriggerRequest proto.InternalMessageInfo
  2435. func (m *UpdateBuildTriggerRequest) GetProjectId() string {
  2436. if m != nil {
  2437. return m.ProjectId
  2438. }
  2439. return ""
  2440. }
  2441. func (m *UpdateBuildTriggerRequest) GetTriggerId() string {
  2442. if m != nil {
  2443. return m.TriggerId
  2444. }
  2445. return ""
  2446. }
  2447. func (m *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger {
  2448. if m != nil {
  2449. return m.Trigger
  2450. }
  2451. return nil
  2452. }
  2453. // Optional arguments to enable specific features of builds.
  2454. type BuildOptions struct {
  2455. // Requested hash for SourceProvenance.
  2456. SourceProvenanceHash []Hash_HashType `protobuf:"varint,1,rep,packed,name=source_provenance_hash,json=sourceProvenanceHash,proto3,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"source_provenance_hash,omitempty"`
  2457. // Requested verifiability options.
  2458. RequestedVerifyOption BuildOptions_VerifyOption `protobuf:"varint,2,opt,name=requested_verify_option,json=requestedVerifyOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_VerifyOption" json:"requested_verify_option,omitempty"`
  2459. // Compute Engine machine type on which to run the build.
  2460. MachineType BuildOptions_MachineType `protobuf:"varint,3,opt,name=machine_type,json=machineType,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_MachineType" json:"machine_type,omitempty"`
  2461. // Requested disk size for the VM that runs the build. Note that this is *NOT*
  2462. // "disk free"; some of the space will be used by the operating system and
  2463. // build utilities. Also note that this is the minimum disk size that will be
  2464. // allocated for the build -- the build may run with a larger disk than
  2465. // requested. At present, the maximum disk size is 1000GB; builds that request
  2466. // more than the maximum are rejected with an error.
  2467. DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
  2468. // Option to specify behavior when there is an error in the substitution
  2469. // checks.
  2470. SubstitutionOption BuildOptions_SubstitutionOption `protobuf:"varint,4,opt,name=substitution_option,json=substitutionOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption" json:"substitution_option,omitempty"`
  2471. // Option to define build log streaming behavior to Google Cloud
  2472. // Storage.
  2473. LogStreamingOption BuildOptions_LogStreamingOption `protobuf:"varint,5,opt,name=log_streaming_option,json=logStreamingOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption" json:"log_streaming_option,omitempty"`
  2474. // Option to specify a `WorkerPool` for the build. User specifies the pool
  2475. // with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]".
  2476. // This is an experimental field.
  2477. WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
  2478. // Option to specify the logging mode, which determines where the logs are
  2479. // stored.
  2480. Logging BuildOptions_LoggingMode `protobuf:"varint,11,opt,name=logging,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_LoggingMode" json:"logging,omitempty"`
  2481. // A list of global environment variable definitions that will exist for all
  2482. // build steps in this build. If a variable is defined in both globally and in
  2483. // a build step, the variable will use the build step value.
  2484. //
  2485. // The elements are of the form "KEY=VALUE" for the environment variable "KEY"
  2486. // being given the value "VALUE".
  2487. Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"`
  2488. // A list of global environment variables, which are encrypted using a Cloud
  2489. // Key Management Service crypto key. These values must be specified in the
  2490. // build's `Secret`. These variables will be available to all build steps
  2491. // in this build.
  2492. SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"`
  2493. // Global list of volumes to mount for ALL build steps
  2494. //
  2495. // Each volume is created as an empty volume prior to starting the build
  2496. // process. Upon completion of the build, volumes and their contents are
  2497. // discarded. Global volume names and paths cannot conflict with the volumes
  2498. // defined a build step.
  2499. //
  2500. // Using a global volume in a build with only one step is not valid as
  2501. // it is indicative of a build request with an incorrect configuration.
  2502. Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"`
  2503. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2504. XXX_unrecognized []byte `json:"-"`
  2505. XXX_sizecache int32 `json:"-"`
  2506. }
  2507. func (m *BuildOptions) Reset() { *m = BuildOptions{} }
  2508. func (m *BuildOptions) String() string { return proto.CompactTextString(m) }
  2509. func (*BuildOptions) ProtoMessage() {}
  2510. func (*BuildOptions) Descriptor() ([]byte, []int) {
  2511. return fileDescriptor_cloudbuild_97adbe7641cdd0a6, []int{30}
  2512. }
  2513. func (m *BuildOptions) XXX_Unmarshal(b []byte) error {
  2514. return xxx_messageInfo_BuildOptions.Unmarshal(m, b)
  2515. }
  2516. func (m *BuildOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2517. return xxx_messageInfo_BuildOptions.Marshal(b, m, deterministic)
  2518. }
  2519. func (dst *BuildOptions) XXX_Merge(src proto.Message) {
  2520. xxx_messageInfo_BuildOptions.Merge(dst, src)
  2521. }
  2522. func (m *BuildOptions) XXX_Size() int {
  2523. return xxx_messageInfo_BuildOptions.Size(m)
  2524. }
  2525. func (m *BuildOptions) XXX_DiscardUnknown() {
  2526. xxx_messageInfo_BuildOptions.DiscardUnknown(m)
  2527. }
  2528. var xxx_messageInfo_BuildOptions proto.InternalMessageInfo
  2529. func (m *BuildOptions) GetSourceProvenanceHash() []Hash_HashType {
  2530. if m != nil {
  2531. return m.SourceProvenanceHash
  2532. }
  2533. return nil
  2534. }
  2535. func (m *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption {
  2536. if m != nil {
  2537. return m.RequestedVerifyOption
  2538. }
  2539. return BuildOptions_NOT_VERIFIED
  2540. }
  2541. func (m *BuildOptions) GetMachineType() BuildOptions_MachineType {
  2542. if m != nil {
  2543. return m.MachineType
  2544. }
  2545. return BuildOptions_UNSPECIFIED
  2546. }
  2547. func (m *BuildOptions) GetDiskSizeGb() int64 {
  2548. if m != nil {
  2549. return m.DiskSizeGb
  2550. }
  2551. return 0
  2552. }
  2553. func (m *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption {
  2554. if m != nil {
  2555. return m.SubstitutionOption
  2556. }
  2557. return BuildOptions_MUST_MATCH
  2558. }
  2559. func (m *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption {
  2560. if m != nil {
  2561. return m.LogStreamingOption
  2562. }
  2563. return BuildOptions_STREAM_DEFAULT
  2564. }
  2565. func (m *BuildOptions) GetWorkerPool() string {
  2566. if m != nil {
  2567. return m.WorkerPool
  2568. }
  2569. return ""
  2570. }
  2571. func (m *BuildOptions) GetLogging() BuildOptions_LoggingMode {
  2572. if m != nil {
  2573. return m.Logging
  2574. }
  2575. return BuildOptions_LOGGING_UNSPECIFIED
  2576. }
  2577. func (m *BuildOptions) GetEnv() []string {
  2578. if m != nil {
  2579. return m.Env
  2580. }
  2581. return nil
  2582. }
  2583. func (m *BuildOptions) GetSecretEnv() []string {
  2584. if m != nil {
  2585. return m.SecretEnv
  2586. }
  2587. return nil
  2588. }
  2589. func (m *BuildOptions) GetVolumes() []*Volume {
  2590. if m != nil {
  2591. return m.Volumes
  2592. }
  2593. return nil
  2594. }
  2595. func init() {
  2596. proto.RegisterType((*RetryBuildRequest)(nil), "google.devtools.cloudbuild.v1.RetryBuildRequest")
  2597. proto.RegisterType((*RunBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.RunBuildTriggerRequest")
  2598. proto.RegisterType((*StorageSource)(nil), "google.devtools.cloudbuild.v1.StorageSource")
  2599. proto.RegisterType((*RepoSource)(nil), "google.devtools.cloudbuild.v1.RepoSource")
  2600. proto.RegisterType((*Source)(nil), "google.devtools.cloudbuild.v1.Source")
  2601. proto.RegisterType((*BuiltImage)(nil), "google.devtools.cloudbuild.v1.BuiltImage")
  2602. proto.RegisterType((*BuildStep)(nil), "google.devtools.cloudbuild.v1.BuildStep")
  2603. proto.RegisterType((*Volume)(nil), "google.devtools.cloudbuild.v1.Volume")
  2604. proto.RegisterType((*Results)(nil), "google.devtools.cloudbuild.v1.Results")
  2605. proto.RegisterType((*ArtifactResult)(nil), "google.devtools.cloudbuild.v1.ArtifactResult")
  2606. proto.RegisterType((*Build)(nil), "google.devtools.cloudbuild.v1.Build")
  2607. proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.Build.SubstitutionsEntry")
  2608. proto.RegisterMapType((map[string]*TimeSpan)(nil), "google.devtools.cloudbuild.v1.Build.TimingEntry")
  2609. proto.RegisterType((*Artifacts)(nil), "google.devtools.cloudbuild.v1.Artifacts")
  2610. proto.RegisterType((*Artifacts_ArtifactObjects)(nil), "google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects")
  2611. proto.RegisterType((*TimeSpan)(nil), "google.devtools.cloudbuild.v1.TimeSpan")
  2612. proto.RegisterType((*BuildOperationMetadata)(nil), "google.devtools.cloudbuild.v1.BuildOperationMetadata")
  2613. proto.RegisterType((*SourceProvenance)(nil), "google.devtools.cloudbuild.v1.SourceProvenance")
  2614. proto.RegisterMapType((map[string]*FileHashes)(nil), "google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntry")
  2615. proto.RegisterType((*FileHashes)(nil), "google.devtools.cloudbuild.v1.FileHashes")
  2616. proto.RegisterType((*Hash)(nil), "google.devtools.cloudbuild.v1.Hash")
  2617. proto.RegisterType((*Secret)(nil), "google.devtools.cloudbuild.v1.Secret")
  2618. proto.RegisterMapType((map[string][]byte)(nil), "google.devtools.cloudbuild.v1.Secret.SecretEnvEntry")
  2619. proto.RegisterType((*CreateBuildRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildRequest")
  2620. proto.RegisterType((*GetBuildRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildRequest")
  2621. proto.RegisterType((*ListBuildsRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildsRequest")
  2622. proto.RegisterType((*ListBuildsResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildsResponse")
  2623. proto.RegisterType((*CancelBuildRequest)(nil), "google.devtools.cloudbuild.v1.CancelBuildRequest")
  2624. proto.RegisterType((*BuildTrigger)(nil), "google.devtools.cloudbuild.v1.BuildTrigger")
  2625. proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry")
  2626. proto.RegisterType((*CreateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildTriggerRequest")
  2627. proto.RegisterType((*GetBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildTriggerRequest")
  2628. proto.RegisterType((*ListBuildTriggersRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersRequest")
  2629. proto.RegisterType((*ListBuildTriggersResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersResponse")
  2630. proto.RegisterType((*DeleteBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest")
  2631. proto.RegisterType((*UpdateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest")
  2632. proto.RegisterType((*BuildOptions)(nil), "google.devtools.cloudbuild.v1.BuildOptions")
  2633. proto.RegisterEnum("google.devtools.cloudbuild.v1.Build_Status", Build_Status_name, Build_Status_value)
  2634. proto.RegisterEnum("google.devtools.cloudbuild.v1.Hash_HashType", Hash_HashType_name, Hash_HashType_value)
  2635. proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_VerifyOption", BuildOptions_VerifyOption_name, BuildOptions_VerifyOption_value)
  2636. proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_MachineType", BuildOptions_MachineType_name, BuildOptions_MachineType_value)
  2637. proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_SubstitutionOption", BuildOptions_SubstitutionOption_name, BuildOptions_SubstitutionOption_value)
  2638. proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LogStreamingOption", BuildOptions_LogStreamingOption_name, BuildOptions_LogStreamingOption_value)
  2639. proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_LoggingMode", BuildOptions_LoggingMode_name, BuildOptions_LoggingMode_value)
  2640. }
  2641. // Reference imports to suppress errors if they are not otherwise used.
  2642. var _ context.Context
  2643. var _ grpc.ClientConn
  2644. // This is a compile-time assertion to ensure that this generated file
  2645. // is compatible with the grpc package it is being compiled against.
  2646. const _ = grpc.SupportPackageIsVersion4
  2647. // CloudBuildClient is the client API for CloudBuild service.
  2648. //
  2649. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2650. type CloudBuildClient interface {
  2651. // Starts a build with the specified configuration.
  2652. //
  2653. // This method returns a long-running `Operation`, which includes the build
  2654. // ID. Pass the build ID to `GetBuild` to determine the build status (such as
  2655. // `SUCCESS` or `FAILURE`).
  2656. CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  2657. // Returns information about a previously requested build.
  2658. //
  2659. // The `Build` that is returned includes its status (such as `SUCCESS`,
  2660. // `FAILURE`, or `WORKING`), and timing information.
  2661. GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error)
  2662. // Lists previously requested builds.
  2663. //
  2664. // Previously requested builds may still be in-progress, or may have finished
  2665. // successfully or unsuccessfully.
  2666. ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error)
  2667. // Cancels a build in progress.
  2668. CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error)
  2669. // Creates a new build based on the specified build.
  2670. //
  2671. // This method creates a new build using the original build request, which may
  2672. // or may not result in an identical build.
  2673. //
  2674. // For triggered builds:
  2675. //
  2676. // * Triggered builds resolve to a precise revision; therefore a retry of a
  2677. // triggered build will result in a build that uses the same revision.
  2678. //
  2679. // For non-triggered builds that specify `RepoSource`:
  2680. //
  2681. // * If the original build built from the tip of a branch, the retried build
  2682. // will build from the tip of that branch, which may not be the same revision
  2683. // as the original build.
  2684. // * If the original build specified a commit sha or revision ID, the retried
  2685. // build will use the identical source.
  2686. //
  2687. // For builds that specify `StorageSource`:
  2688. //
  2689. // * If the original build pulled source from Google Cloud Storage without
  2690. // specifying the generation of the object, the new build will use the current
  2691. // object, which may be different from the original build source.
  2692. // * If the original build pulled source from Cloud Storage and specified the
  2693. // generation of the object, the new build will attempt to use the same
  2694. // object, which may or may not be available depending on the bucket's
  2695. // lifecycle management settings.
  2696. RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  2697. // Creates a new `BuildTrigger`.
  2698. //
  2699. // This API is experimental.
  2700. CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
  2701. // Returns information about a `BuildTrigger`.
  2702. //
  2703. // This API is experimental.
  2704. GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
  2705. // Lists existing `BuildTrigger`s.
  2706. //
  2707. // This API is experimental.
  2708. ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error)
  2709. // Deletes a `BuildTrigger` by its project ID and trigger ID.
  2710. //
  2711. // This API is experimental.
  2712. DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  2713. // Updates a `BuildTrigger` by its project ID and trigger ID.
  2714. //
  2715. // This API is experimental.
  2716. UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error)
  2717. // Runs a `BuildTrigger` at a particular source revision.
  2718. RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  2719. }
  2720. type cloudBuildClient struct {
  2721. cc *grpc.ClientConn
  2722. }
  2723. func NewCloudBuildClient(cc *grpc.ClientConn) CloudBuildClient {
  2724. return &cloudBuildClient{cc}
  2725. }
  2726. func (c *cloudBuildClient) CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  2727. out := new(longrunning.Operation)
  2728. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild", in, out, opts...)
  2729. if err != nil {
  2730. return nil, err
  2731. }
  2732. return out, nil
  2733. }
  2734. func (c *cloudBuildClient) GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) {
  2735. out := new(Build)
  2736. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild", in, out, opts...)
  2737. if err != nil {
  2738. return nil, err
  2739. }
  2740. return out, nil
  2741. }
  2742. func (c *cloudBuildClient) ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) {
  2743. out := new(ListBuildsResponse)
  2744. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds", in, out, opts...)
  2745. if err != nil {
  2746. return nil, err
  2747. }
  2748. return out, nil
  2749. }
  2750. func (c *cloudBuildClient) CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) {
  2751. out := new(Build)
  2752. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild", in, out, opts...)
  2753. if err != nil {
  2754. return nil, err
  2755. }
  2756. return out, nil
  2757. }
  2758. func (c *cloudBuildClient) RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  2759. out := new(longrunning.Operation)
  2760. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild", in, out, opts...)
  2761. if err != nil {
  2762. return nil, err
  2763. }
  2764. return out, nil
  2765. }
  2766. func (c *cloudBuildClient) CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) {
  2767. out := new(BuildTrigger)
  2768. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger", in, out, opts...)
  2769. if err != nil {
  2770. return nil, err
  2771. }
  2772. return out, nil
  2773. }
  2774. func (c *cloudBuildClient) GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) {
  2775. out := new(BuildTrigger)
  2776. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger", in, out, opts...)
  2777. if err != nil {
  2778. return nil, err
  2779. }
  2780. return out, nil
  2781. }
  2782. func (c *cloudBuildClient) ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) {
  2783. out := new(ListBuildTriggersResponse)
  2784. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers", in, out, opts...)
  2785. if err != nil {
  2786. return nil, err
  2787. }
  2788. return out, nil
  2789. }
  2790. func (c *cloudBuildClient) DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  2791. out := new(empty.Empty)
  2792. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger", in, out, opts...)
  2793. if err != nil {
  2794. return nil, err
  2795. }
  2796. return out, nil
  2797. }
  2798. func (c *cloudBuildClient) UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) {
  2799. out := new(BuildTrigger)
  2800. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger", in, out, opts...)
  2801. if err != nil {
  2802. return nil, err
  2803. }
  2804. return out, nil
  2805. }
  2806. func (c *cloudBuildClient) RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  2807. out := new(longrunning.Operation)
  2808. err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger", in, out, opts...)
  2809. if err != nil {
  2810. return nil, err
  2811. }
  2812. return out, nil
  2813. }
  2814. // CloudBuildServer is the server API for CloudBuild service.
  2815. type CloudBuildServer interface {
  2816. // Starts a build with the specified configuration.
  2817. //
  2818. // This method returns a long-running `Operation`, which includes the build
  2819. // ID. Pass the build ID to `GetBuild` to determine the build status (such as
  2820. // `SUCCESS` or `FAILURE`).
  2821. CreateBuild(context.Context, *CreateBuildRequest) (*longrunning.Operation, error)
  2822. // Returns information about a previously requested build.
  2823. //
  2824. // The `Build` that is returned includes its status (such as `SUCCESS`,
  2825. // `FAILURE`, or `WORKING`), and timing information.
  2826. GetBuild(context.Context, *GetBuildRequest) (*Build, error)
  2827. // Lists previously requested builds.
  2828. //
  2829. // Previously requested builds may still be in-progress, or may have finished
  2830. // successfully or unsuccessfully.
  2831. ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)
  2832. // Cancels a build in progress.
  2833. CancelBuild(context.Context, *CancelBuildRequest) (*Build, error)
  2834. // Creates a new build based on the specified build.
  2835. //
  2836. // This method creates a new build using the original build request, which may
  2837. // or may not result in an identical build.
  2838. //
  2839. // For triggered builds:
  2840. //
  2841. // * Triggered builds resolve to a precise revision; therefore a retry of a
  2842. // triggered build will result in a build that uses the same revision.
  2843. //
  2844. // For non-triggered builds that specify `RepoSource`:
  2845. //
  2846. // * If the original build built from the tip of a branch, the retried build
  2847. // will build from the tip of that branch, which may not be the same revision
  2848. // as the original build.
  2849. // * If the original build specified a commit sha or revision ID, the retried
  2850. // build will use the identical source.
  2851. //
  2852. // For builds that specify `StorageSource`:
  2853. //
  2854. // * If the original build pulled source from Google Cloud Storage without
  2855. // specifying the generation of the object, the new build will use the current
  2856. // object, which may be different from the original build source.
  2857. // * If the original build pulled source from Cloud Storage and specified the
  2858. // generation of the object, the new build will attempt to use the same
  2859. // object, which may or may not be available depending on the bucket's
  2860. // lifecycle management settings.
  2861. RetryBuild(context.Context, *RetryBuildRequest) (*longrunning.Operation, error)
  2862. // Creates a new `BuildTrigger`.
  2863. //
  2864. // This API is experimental.
  2865. CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error)
  2866. // Returns information about a `BuildTrigger`.
  2867. //
  2868. // This API is experimental.
  2869. GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error)
  2870. // Lists existing `BuildTrigger`s.
  2871. //
  2872. // This API is experimental.
  2873. ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error)
  2874. // Deletes a `BuildTrigger` by its project ID and trigger ID.
  2875. //
  2876. // This API is experimental.
  2877. DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*empty.Empty, error)
  2878. // Updates a `BuildTrigger` by its project ID and trigger ID.
  2879. //
  2880. // This API is experimental.
  2881. UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error)
  2882. // Runs a `BuildTrigger` at a particular source revision.
  2883. RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunning.Operation, error)
  2884. }
  2885. func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer) {
  2886. s.RegisterService(&_CloudBuild_serviceDesc, srv)
  2887. }
  2888. func _CloudBuild_CreateBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2889. in := new(CreateBuildRequest)
  2890. if err := dec(in); err != nil {
  2891. return nil, err
  2892. }
  2893. if interceptor == nil {
  2894. return srv.(CloudBuildServer).CreateBuild(ctx, in)
  2895. }
  2896. info := &grpc.UnaryServerInfo{
  2897. Server: srv,
  2898. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild",
  2899. }
  2900. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2901. return srv.(CloudBuildServer).CreateBuild(ctx, req.(*CreateBuildRequest))
  2902. }
  2903. return interceptor(ctx, in, info, handler)
  2904. }
  2905. func _CloudBuild_GetBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2906. in := new(GetBuildRequest)
  2907. if err := dec(in); err != nil {
  2908. return nil, err
  2909. }
  2910. if interceptor == nil {
  2911. return srv.(CloudBuildServer).GetBuild(ctx, in)
  2912. }
  2913. info := &grpc.UnaryServerInfo{
  2914. Server: srv,
  2915. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild",
  2916. }
  2917. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2918. return srv.(CloudBuildServer).GetBuild(ctx, req.(*GetBuildRequest))
  2919. }
  2920. return interceptor(ctx, in, info, handler)
  2921. }
  2922. func _CloudBuild_ListBuilds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2923. in := new(ListBuildsRequest)
  2924. if err := dec(in); err != nil {
  2925. return nil, err
  2926. }
  2927. if interceptor == nil {
  2928. return srv.(CloudBuildServer).ListBuilds(ctx, in)
  2929. }
  2930. info := &grpc.UnaryServerInfo{
  2931. Server: srv,
  2932. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds",
  2933. }
  2934. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2935. return srv.(CloudBuildServer).ListBuilds(ctx, req.(*ListBuildsRequest))
  2936. }
  2937. return interceptor(ctx, in, info, handler)
  2938. }
  2939. func _CloudBuild_CancelBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2940. in := new(CancelBuildRequest)
  2941. if err := dec(in); err != nil {
  2942. return nil, err
  2943. }
  2944. if interceptor == nil {
  2945. return srv.(CloudBuildServer).CancelBuild(ctx, in)
  2946. }
  2947. info := &grpc.UnaryServerInfo{
  2948. Server: srv,
  2949. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild",
  2950. }
  2951. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2952. return srv.(CloudBuildServer).CancelBuild(ctx, req.(*CancelBuildRequest))
  2953. }
  2954. return interceptor(ctx, in, info, handler)
  2955. }
  2956. func _CloudBuild_RetryBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2957. in := new(RetryBuildRequest)
  2958. if err := dec(in); err != nil {
  2959. return nil, err
  2960. }
  2961. if interceptor == nil {
  2962. return srv.(CloudBuildServer).RetryBuild(ctx, in)
  2963. }
  2964. info := &grpc.UnaryServerInfo{
  2965. Server: srv,
  2966. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild",
  2967. }
  2968. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2969. return srv.(CloudBuildServer).RetryBuild(ctx, req.(*RetryBuildRequest))
  2970. }
  2971. return interceptor(ctx, in, info, handler)
  2972. }
  2973. func _CloudBuild_CreateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2974. in := new(CreateBuildTriggerRequest)
  2975. if err := dec(in); err != nil {
  2976. return nil, err
  2977. }
  2978. if interceptor == nil {
  2979. return srv.(CloudBuildServer).CreateBuildTrigger(ctx, in)
  2980. }
  2981. info := &grpc.UnaryServerInfo{
  2982. Server: srv,
  2983. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger",
  2984. }
  2985. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2986. return srv.(CloudBuildServer).CreateBuildTrigger(ctx, req.(*CreateBuildTriggerRequest))
  2987. }
  2988. return interceptor(ctx, in, info, handler)
  2989. }
  2990. func _CloudBuild_GetBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2991. in := new(GetBuildTriggerRequest)
  2992. if err := dec(in); err != nil {
  2993. return nil, err
  2994. }
  2995. if interceptor == nil {
  2996. return srv.(CloudBuildServer).GetBuildTrigger(ctx, in)
  2997. }
  2998. info := &grpc.UnaryServerInfo{
  2999. Server: srv,
  3000. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger",
  3001. }
  3002. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3003. return srv.(CloudBuildServer).GetBuildTrigger(ctx, req.(*GetBuildTriggerRequest))
  3004. }
  3005. return interceptor(ctx, in, info, handler)
  3006. }
  3007. func _CloudBuild_ListBuildTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3008. in := new(ListBuildTriggersRequest)
  3009. if err := dec(in); err != nil {
  3010. return nil, err
  3011. }
  3012. if interceptor == nil {
  3013. return srv.(CloudBuildServer).ListBuildTriggers(ctx, in)
  3014. }
  3015. info := &grpc.UnaryServerInfo{
  3016. Server: srv,
  3017. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers",
  3018. }
  3019. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3020. return srv.(CloudBuildServer).ListBuildTriggers(ctx, req.(*ListBuildTriggersRequest))
  3021. }
  3022. return interceptor(ctx, in, info, handler)
  3023. }
  3024. func _CloudBuild_DeleteBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3025. in := new(DeleteBuildTriggerRequest)
  3026. if err := dec(in); err != nil {
  3027. return nil, err
  3028. }
  3029. if interceptor == nil {
  3030. return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, in)
  3031. }
  3032. info := &grpc.UnaryServerInfo{
  3033. Server: srv,
  3034. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger",
  3035. }
  3036. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3037. return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, req.(*DeleteBuildTriggerRequest))
  3038. }
  3039. return interceptor(ctx, in, info, handler)
  3040. }
  3041. func _CloudBuild_UpdateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3042. in := new(UpdateBuildTriggerRequest)
  3043. if err := dec(in); err != nil {
  3044. return nil, err
  3045. }
  3046. if interceptor == nil {
  3047. return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, in)
  3048. }
  3049. info := &grpc.UnaryServerInfo{
  3050. Server: srv,
  3051. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger",
  3052. }
  3053. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3054. return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, req.(*UpdateBuildTriggerRequest))
  3055. }
  3056. return interceptor(ctx, in, info, handler)
  3057. }
  3058. func _CloudBuild_RunBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3059. in := new(RunBuildTriggerRequest)
  3060. if err := dec(in); err != nil {
  3061. return nil, err
  3062. }
  3063. if interceptor == nil {
  3064. return srv.(CloudBuildServer).RunBuildTrigger(ctx, in)
  3065. }
  3066. info := &grpc.UnaryServerInfo{
  3067. Server: srv,
  3068. FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger",
  3069. }
  3070. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3071. return srv.(CloudBuildServer).RunBuildTrigger(ctx, req.(*RunBuildTriggerRequest))
  3072. }
  3073. return interceptor(ctx, in, info, handler)
  3074. }
  3075. var _CloudBuild_serviceDesc = grpc.ServiceDesc{
  3076. ServiceName: "google.devtools.cloudbuild.v1.CloudBuild",
  3077. HandlerType: (*CloudBuildServer)(nil),
  3078. Methods: []grpc.MethodDesc{
  3079. {
  3080. MethodName: "CreateBuild",
  3081. Handler: _CloudBuild_CreateBuild_Handler,
  3082. },
  3083. {
  3084. MethodName: "GetBuild",
  3085. Handler: _CloudBuild_GetBuild_Handler,
  3086. },
  3087. {
  3088. MethodName: "ListBuilds",
  3089. Handler: _CloudBuild_ListBuilds_Handler,
  3090. },
  3091. {
  3092. MethodName: "CancelBuild",
  3093. Handler: _CloudBuild_CancelBuild_Handler,
  3094. },
  3095. {
  3096. MethodName: "RetryBuild",
  3097. Handler: _CloudBuild_RetryBuild_Handler,
  3098. },
  3099. {
  3100. MethodName: "CreateBuildTrigger",
  3101. Handler: _CloudBuild_CreateBuildTrigger_Handler,
  3102. },
  3103. {
  3104. MethodName: "GetBuildTrigger",
  3105. Handler: _CloudBuild_GetBuildTrigger_Handler,
  3106. },
  3107. {
  3108. MethodName: "ListBuildTriggers",
  3109. Handler: _CloudBuild_ListBuildTriggers_Handler,
  3110. },
  3111. {
  3112. MethodName: "DeleteBuildTrigger",
  3113. Handler: _CloudBuild_DeleteBuildTrigger_Handler,
  3114. },
  3115. {
  3116. MethodName: "UpdateBuildTrigger",
  3117. Handler: _CloudBuild_UpdateBuildTrigger_Handler,
  3118. },
  3119. {
  3120. MethodName: "RunBuildTrigger",
  3121. Handler: _CloudBuild_RunBuildTrigger_Handler,
  3122. },
  3123. },
  3124. Streams: []grpc.StreamDesc{},
  3125. Metadata: "google/devtools/cloudbuild/v1/cloudbuild.proto",
  3126. }
  3127. func init() {
  3128. proto.RegisterFile("google/devtools/cloudbuild/v1/cloudbuild.proto", fileDescriptor_cloudbuild_97adbe7641cdd0a6)
  3129. }
  3130. var fileDescriptor_cloudbuild_97adbe7641cdd0a6 = []byte{
  3131. // 2941 bytes of a gzipped FileDescriptorProto
  3132. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcb, 0x73, 0xdb, 0xd6,
  3133. 0xd5, 0x17, 0x48, 0x89, 0x8f, 0x43, 0x4a, 0x82, 0x6f, 0x1c, 0x99, 0xa2, 0xe3, 0x58, 0x81, 0xe3,
  3134. 0x44, 0xb1, 0x13, 0x31, 0x92, 0x3f, 0xc7, 0x8e, 0xf2, 0xb0, 0x24, 0x8a, 0x7a, 0x4c, 0x28, 0xd2,
  3135. 0x01, 0x49, 0x67, 0x92, 0xef, 0xfb, 0x06, 0x05, 0x89, 0x2b, 0x0a, 0x15, 0x08, 0xa0, 0xc0, 0x25,
  3136. 0x53, 0x25, 0xcd, 0x74, 0x9a, 0xe9, 0xb4, 0xd3, 0x55, 0x3b, 0xd3, 0xe9, 0xa2, 0xd3, 0x45, 0x1f,
  3137. 0xeb, 0x4e, 0xa7, 0xd3, 0x2e, 0xba, 0xca, 0xba, 0xeb, 0x4e, 0x57, 0xdd, 0x76, 0xfa, 0x47, 0x74,
  3138. 0xd5, 0xe9, 0xdc, 0x07, 0x48, 0x90, 0xb4, 0x03, 0xc2, 0x6e, 0x37, 0x36, 0xee, 0xb9, 0xf7, 0x9c,
  3139. 0x7b, 0xee, 0x79, 0xdd, 0xdf, 0xb9, 0x14, 0x6c, 0x74, 0x1d, 0xa7, 0x6b, 0xe1, 0x92, 0x81, 0x07,
  3140. 0xc4, 0x71, 0x2c, 0xbf, 0xd4, 0xb1, 0x9c, 0xbe, 0xd1, 0xee, 0x9b, 0x96, 0x51, 0x1a, 0x6c, 0x86,
  3141. 0x46, 0x1b, 0xae, 0xe7, 0x10, 0x07, 0x5d, 0xe3, 0xeb, 0x37, 0x82, 0xf5, 0x1b, 0xa1, 0x15, 0x83,
  3142. 0xcd, 0xe2, 0x0b, 0x42, 0x9c, 0xee, 0x9a, 0x25, 0xdd, 0xb6, 0x1d, 0xa2, 0x13, 0xd3, 0xb1, 0x7d,
  3143. 0xce, 0x5c, 0x5c, 0x0d, 0xcd, 0x9e, 0x11, 0xe2, 0xb6, 0x1d, 0xe3, 0x42, 0x4c, 0x29, 0x62, 0x8a,
  3144. 0x89, 0x2b, 0xe9, 0x7d, 0xc3, 0x24, 0xfc, 0x5f, 0xcd, 0x72, 0xba, 0x62, 0xcd, 0x0d, 0xb1, 0xc6,
  3145. 0x72, 0xec, 0xae, 0xd7, 0xb7, 0x6d, 0xd3, 0xee, 0x96, 0x1c, 0x17, 0x7b, 0x63, 0x7b, 0xbc, 0x28,
  3146. 0x16, 0xb1, 0x51, 0xbb, 0x7f, 0x5a, 0x32, 0xfa, 0x7c, 0x81, 0x98, 0xbf, 0x3a, 0x39, 0x8f, 0x7b,
  3147. 0x2e, 0x09, 0xb4, 0x58, 0x9b, 0x9c, 0x3c, 0x35, 0xb1, 0x65, 0x68, 0x3d, 0xdd, 0x3f, 0x17, 0x2b,
  3148. 0xae, 0x4f, 0xae, 0x20, 0x66, 0x0f, 0xfb, 0x44, 0xef, 0xb9, 0x7c, 0x81, 0xb2, 0x07, 0x97, 0x54,
  3149. 0x4c, 0xbc, 0x8b, 0x3d, 0x6a, 0x12, 0x15, 0x7f, 0xab, 0x8f, 0x7d, 0x82, 0xae, 0x01, 0xb8, 0x9e,
  3150. 0xf3, 0x4d, 0xdc, 0x21, 0x9a, 0x69, 0x14, 0xa4, 0x35, 0x69, 0x3d, 0xab, 0x66, 0x05, 0xe5, 0xd8,
  3151. 0x40, 0x4b, 0x90, 0x30, 0x8d, 0x42, 0x82, 0x91, 0x13, 0xa6, 0xa1, 0xfc, 0x5c, 0x82, 0x15, 0xb5,
  3152. 0x6f, 0x33, 0x11, 0x4d, 0xcf, 0xec, 0x76, 0xb1, 0x37, 0xa3, 0xa4, 0x6b, 0x00, 0x84, 0x33, 0x68,
  3153. 0x43, 0x89, 0x59, 0x41, 0x39, 0x36, 0xd0, 0x2e, 0xa4, 0x7c, 0xa7, 0xef, 0x75, 0x70, 0x21, 0xb9,
  3154. 0x26, 0xad, 0xe7, 0xb6, 0x5e, 0xdb, 0xf8, 0x5a, 0x77, 0x6e, 0xa8, 0xd8, 0x75, 0x1a, 0x8c, 0x41,
  3155. 0x15, 0x8c, 0x8a, 0x06, 0x8b, 0x0d, 0xe2, 0x78, 0x7a, 0x17, 0xf3, 0x09, 0xb4, 0x02, 0xa9, 0x76,
  3156. 0xbf, 0x73, 0x8e, 0x89, 0xd0, 0x46, 0x8c, 0x28, 0xdd, 0x69, 0x53, 0xb5, 0x84, 0x1a, 0x62, 0x84,
  3157. 0x5e, 0x04, 0xe8, 0x62, 0x5b, 0x78, 0x8d, 0xe9, 0x91, 0x54, 0x43, 0x14, 0xe5, 0xcf, 0x12, 0xc0,
  3158. 0x68, 0xdf, 0xa8, 0x03, 0x5f, 0x85, 0xac, 0x87, 0x5d, 0x47, 0xb3, 0xf5, 0x1e, 0x16, 0x1b, 0x65,
  3159. 0x28, 0xa1, 0xa6, 0xf7, 0x30, 0x7a, 0x09, 0x72, 0x6d, 0x4f, 0xb7, 0x3b, 0x67, 0x7c, 0x9a, 0xee,
  3160. 0x95, 0x3d, 0x9a, 0x53, 0x81, 0x13, 0xd9, 0x92, 0xab, 0x90, 0x21, 0x7a, 0x97, 0xcf, 0xcf, 0x8b,
  3161. 0xf9, 0x34, 0xd1, 0xbb, 0x6c, 0xf2, 0x3a, 0x40, 0xc7, 0xe9, 0xf5, 0x4c, 0xa2, 0xf9, 0x67, 0x7a,
  3162. 0x61, 0x41, 0x4c, 0x67, 0x39, 0xad, 0x71, 0xa6, 0x23, 0x19, 0x92, 0x86, 0xe9, 0x15, 0xd2, 0x6c,
  3163. 0x5f, 0xfa, 0xb9, 0x07, 0x90, 0xf1, 0xf0, 0xc0, 0xf4, 0xe9, 0x49, 0xfe, 0x24, 0x41, 0x4a, 0x9c,
  3164. 0xa2, 0x05, 0x4b, 0x3e, 0xb7, 0x9a, 0x26, 0x1c, 0x90, 0x60, 0x0e, 0x78, 0x3d, 0xc2, 0x01, 0x63,
  3165. 0xa6, 0x3e, 0x9a, 0x53, 0x17, 0xfd, 0x31, 0xdb, 0x57, 0x21, 0xc7, 0x4e, 0xff, 0x94, 0x4e, 0xa5,
  3166. 0xb6, 0xf0, 0x86, 0xa3, 0xbd, 0x4c, 0x10, 0x1d, 0xca, 0x97, 0x12, 0x00, 0x8d, 0x3e, 0x72, 0xdc,
  3167. 0xd3, 0xbb, 0x18, 0x21, 0x98, 0x67, 0x06, 0xe2, 0xd6, 0x67, 0xdf, 0xd4, 0xbd, 0x86, 0xd9, 0xc5,
  3168. 0x3e, 0xe1, 0x66, 0x55, 0xc5, 0x08, 0x1d, 0x41, 0xce, 0xed, 0xfb, 0x67, 0x1a, 0x31, 0x7b, 0xa6,
  3169. 0xdd, 0x65, 0x36, 0xcd, 0x6d, 0xbd, 0x1a, 0xa1, 0x52, 0xd3, 0xec, 0xe1, 0x86, 0xab, 0xdb, 0x2a,
  3170. 0x50, 0xde, 0x26, 0x63, 0x55, 0x7e, 0x38, 0x0f, 0x59, 0x96, 0x02, 0x0d, 0x82, 0xdd, 0xc7, 0xea,
  3171. 0x20, 0x43, 0x12, 0xdb, 0x83, 0x42, 0x62, 0x2d, 0x49, 0xcd, 0x8f, 0xed, 0x01, 0x5d, 0xa5, 0x7b,
  3172. 0x5d, 0xbf, 0x90, 0x64, 0x24, 0xf6, 0x1d, 0x38, 0x69, 0x7e, 0xe8, 0x24, 0x91, 0x6f, 0x0b, 0x41,
  3173. 0xbe, 0xa1, 0x55, 0xc8, 0x7c, 0xaa, 0x9b, 0x44, 0x3b, 0x75, 0xbc, 0x42, 0x8a, 0x71, 0xa6, 0xe9,
  3174. 0xf8, 0xc0, 0xf1, 0x68, 0xb4, 0x62, 0x9b, 0x78, 0x17, 0xae, 0x63, 0xda, 0x44, 0x38, 0x3a, 0x44,
  3175. 0xa1, 0xe1, 0xe9, 0xe3, 0x8e, 0x87, 0x89, 0x46, 0x35, 0xc9, 0x30, 0xe6, 0x2c, 0xa7, 0x54, 0xec,
  3176. 0x01, 0x7a, 0x00, 0xe9, 0x81, 0x63, 0xf5, 0x7b, 0xd8, 0x2f, 0x64, 0xd7, 0x92, 0xeb, 0xb9, 0xad,
  3177. 0x9b, 0x11, 0x96, 0x78, 0xc4, 0x56, 0xab, 0x01, 0x17, 0x7a, 0x00, 0x29, 0x61, 0x49, 0x88, 0x67,
  3178. 0x49, 0xc1, 0xc6, 0xfd, 0x61, 0x59, 0x81, 0x3f, 0x16, 0x63, 0xfb, 0xc3, 0xb2, 0xb8, 0x3f, 0xd0,
  3179. 0x1d, 0x48, 0xd3, 0x62, 0xe7, 0xf4, 0x49, 0x21, 0xc7, 0xa4, 0xac, 0x06, 0x52, 0x82, 0x62, 0xb8,
  3180. 0xb1, 0x2f, 0x6a, 0xad, 0x1a, 0xac, 0x44, 0x65, 0x48, 0xf9, 0x44, 0x27, 0x7d, 0xbf, 0x90, 0x5f,
  3181. 0x93, 0xd6, 0x97, 0xb6, 0x6e, 0x47, 0xec, 0xcc, 0x1c, 0xbe, 0xd1, 0x60, 0x2c, 0xaa, 0x60, 0x55,
  3182. 0xde, 0x84, 0x14, 0xb7, 0xcb, 0x63, 0xa3, 0x00, 0xc1, 0xbc, 0xab, 0x93, 0x33, 0x91, 0xfd, 0xec,
  3183. 0x5b, 0xf9, 0xa7, 0x04, 0x69, 0x15, 0xfb, 0x7d, 0x8b, 0xf8, 0xb4, 0xe8, 0x99, 0x34, 0x8c, 0x7d,
  3184. 0x16, 0x28, 0xd1, 0xf9, 0x31, 0x0a, 0x7c, 0x55, 0x30, 0xa2, 0x5b, 0x70, 0x89, 0x4d, 0x6b, 0x3e,
  3185. 0xc1, 0xae, 0x26, 0xa4, 0xf1, 0x18, 0x5b, 0x6e, 0x07, 0x21, 0x7a, 0xcc, 0xd7, 0xde, 0x86, 0x4b,
  3186. 0xba, 0x47, 0xcc, 0x53, 0xbd, 0x43, 0xb4, 0x9e, 0x6e, 0x9b, 0xa7, 0x34, 0x47, 0x78, 0xf0, 0xc9,
  3187. 0xc1, 0xc4, 0x89, 0xa0, 0xa3, 0x1b, 0xb0, 0x68, 0xf7, 0x7b, 0x5a, 0x40, 0xf7, 0x59, 0x50, 0x26,
  3188. 0xd5, 0xbc, 0xdd, 0xef, 0xed, 0x06, 0x34, 0xf4, 0x3a, 0xa0, 0xd0, 0xee, 0x4e, 0x9f, 0xb8, 0x7d,
  3189. 0xe2, 0xb3, 0x40, 0xcd, 0xab, 0xf2, 0x70, 0xfb, 0x3a, 0xa7, 0x2b, 0x04, 0x96, 0x02, 0x56, 0x6e,
  3190. 0x01, 0x54, 0x84, 0x8c, 0xe5, 0x74, 0x78, 0xbd, 0xe5, 0x86, 0x1b, 0x8e, 0xd1, 0x01, 0x64, 0x4f,
  3191. 0x4d, 0x0b, 0x6b, 0x67, 0xba, 0x7f, 0x36, 0xa3, 0x7d, 0x0e, 0x4c, 0x0b, 0x1f, 0xe9, 0xfe, 0x19,
  3192. 0xf6, 0xd5, 0xcc, 0xa9, 0xf8, 0x56, 0xfe, 0x96, 0x83, 0x05, 0xe6, 0x3b, 0x91, 0x5c, 0xd2, 0x30,
  3193. 0xb9, 0xc6, 0x0b, 0xb8, 0x3c, 0x59, 0xc0, 0x47, 0x01, 0x92, 0x78, 0xea, 0x00, 0xa1, 0x66, 0xe4,
  3194. 0x5f, 0x9a, 0x81, 0x89, 0x6e, 0x5a, 0x85, 0x02, 0xdb, 0x26, 0xcf, 0x89, 0xfb, 0x8c, 0x86, 0xde,
  3195. 0x9b, 0xb8, 0xfc, 0xa2, 0x52, 0x71, 0xfc, 0xe2, 0x43, 0xef, 0xc3, 0x02, 0xb5, 0xbf, 0x5f, 0xc8,
  3196. 0x31, 0x2b, 0xad, 0xcf, 0xa2, 0x27, 0xf5, 0x8b, 0xca, 0xd9, 0xd0, 0x0e, 0xa4, 0x3d, 0x1e, 0x91,
  3197. 0x22, 0x95, 0x5f, 0x89, 0xac, 0xd3, 0x6c, 0xb5, 0x1a, 0xb0, 0xa1, 0x77, 0x20, 0xd7, 0xf1, 0xb0,
  3198. 0x4e, 0x30, 0x4d, 0x66, 0x5c, 0x48, 0x31, 0x29, 0xc5, 0xa9, 0x24, 0x6c, 0x06, 0x88, 0x44, 0x05,
  3199. 0xbe, 0x9c, 0x12, 0xd0, 0xdb, 0x00, 0x3e, 0xd1, 0x3d, 0xc2, 0x79, 0xd3, 0x91, 0xbc, 0x59, 0xb6,
  3200. 0x9a, 0xb1, 0xbe, 0x03, 0xb9, 0x53, 0xd3, 0x36, 0x79, 0x51, 0xc7, 0x85, 0x4c, 0xf4, 0xbe, 0x7c,
  3201. 0x39, 0x63, 0x0e, 0x55, 0x8d, 0xfc, 0xcc, 0x55, 0x63, 0x65, 0x98, 0xb2, 0x8b, 0x2c, 0xc9, 0x82,
  3202. 0x3c, 0x3c, 0x80, 0xec, 0x28, 0x55, 0x6e, 0x32, 0x71, 0x51, 0x7e, 0x18, 0xa6, 0x91, 0x3a, 0x62,
  3203. 0x45, 0xd7, 0x21, 0x67, 0x39, 0x5d, 0x5f, 0x13, 0xc0, 0xe5, 0x39, 0x5e, 0xd6, 0x29, 0x69, 0x8f,
  3204. 0x83, 0x97, 0xff, 0x83, 0x4b, 0xdc, 0xed, 0x9a, 0xeb, 0x39, 0x03, 0x6c, 0xeb, 0x76, 0x07, 0x17,
  3205. 0x9e, 0x67, 0x1b, 0x96, 0x66, 0x0a, 0x9b, 0x87, 0x43, 0x36, 0x55, 0xf6, 0x27, 0x28, 0x68, 0x1d,
  3206. 0x78, 0xda, 0x6a, 0x21, 0xac, 0xb6, 0xc2, 0x74, 0x58, 0x6a, 0x87, 0x30, 0xdf, 0xb1, 0x81, 0x2a,
  3207. 0x90, 0x76, 0x5c, 0x06, 0x6f, 0x0b, 0x57, 0xd8, 0xee, 0x33, 0xa5, 0x47, 0x9d, 0xb3, 0xa8, 0x01,
  3208. 0x2f, 0xba, 0x02, 0x69, 0xcb, 0xe9, 0x6a, 0x7d, 0xcf, 0x2a, 0xac, 0xf2, 0xdb, 0xda, 0x72, 0xba,
  3209. 0x2d, 0xcf, 0x42, 0xff, 0x0f, 0x8b, 0x7e, 0xbf, 0xed, 0x13, 0x93, 0xf4, 0xf9, 0x2e, 0xd7, 0x58,
  3210. 0x70, 0xdf, 0x9b, 0x2d, 0x09, 0xc3, 0x9c, 0x15, 0x7a, 0x27, 0xaa, 0xe3, 0xd2, 0x68, 0x69, 0x26,
  3211. 0x7a, 0xd7, 0x2f, 0x5c, 0xe7, 0xd7, 0x31, 0xfd, 0xa6, 0x57, 0x22, 0xbf, 0x1f, 0xfd, 0xc2, 0xda,
  3212. 0x4c, 0x57, 0x62, 0x83, 0xad, 0x56, 0x03, 0x2e, 0x74, 0x34, 0xbc, 0x12, 0x5f, 0x62, 0xfc, 0x6f,
  3213. 0xce, 0xa4, 0x2c, 0xbf, 0xc4, 0xb8, 0x96, 0x82, 0xbf, 0xb8, 0x03, 0x68, 0xfa, 0x0c, 0x14, 0x2f,
  3214. 0x9c, 0xe3, 0x0b, 0x51, 0xc1, 0xe8, 0x27, 0xba, 0x0c, 0x0b, 0x03, 0xdd, 0xea, 0x07, 0x00, 0x93,
  3215. 0x0f, 0xb6, 0x13, 0xf7, 0xa5, 0x62, 0x1b, 0x72, 0x21, 0xc1, 0x8f, 0x61, 0x7d, 0x2f, 0xcc, 0x1a,
  3216. 0xe3, 0xe2, 0x1d, 0xed, 0xa1, 0x7c, 0x17, 0x52, 0xbc, 0xdc, 0x21, 0x04, 0x4b, 0x8d, 0xe6, 0x6e,
  3217. 0xb3, 0xd5, 0xd0, 0x5a, 0xb5, 0x0f, 0x6a, 0xf5, 0x8f, 0x6a, 0xf2, 0x1c, 0x02, 0x48, 0x7d, 0xd8,
  3218. 0xaa, 0xb4, 0x2a, 0xfb, 0xb2, 0x84, 0x72, 0x90, 0xfe, 0xa8, 0xae, 0x7e, 0x70, 0x5c, 0x3b, 0x94,
  3219. 0x13, 0x74, 0xd0, 0x68, 0x95, 0xcb, 0x95, 0x46, 0x43, 0x4e, 0xd2, 0xc1, 0xc1, 0xee, 0x71, 0xb5,
  3220. 0xa5, 0x56, 0xe4, 0x79, 0x2a, 0xe6, 0xb8, 0xd6, 0xac, 0xa8, 0xb5, 0xdd, 0xaa, 0x56, 0x51, 0xd5,
  3221. 0xba, 0x2a, 0x2f, 0xd0, 0x05, 0xcd, 0xe3, 0x93, 0x4a, 0xbd, 0xd5, 0x94, 0x53, 0x68, 0x11, 0xb2,
  3222. 0xe5, 0xdd, 0x5a, 0xb9, 0x52, 0xad, 0x56, 0xf6, 0xe5, 0xb4, 0xf2, 0x2f, 0x09, 0xb2, 0xa3, 0xdb,
  3223. 0x68, 0x94, 0x9b, 0xd2, 0x58, 0x6e, 0xaa, 0x90, 0xe6, 0x08, 0xdf, 0x17, 0x67, 0xbd, 0x3f, 0x6b,
  3224. 0x66, 0x0e, 0xbf, 0xea, 0x9c, 0x5f, 0x0d, 0x04, 0x15, 0xbf, 0x2f, 0xc1, 0xf2, 0xc4, 0xe4, 0xd7,
  3225. 0xde, 0x66, 0x97, 0x61, 0x81, 0x5e, 0xff, 0xbe, 0x80, 0x84, 0x7c, 0x10, 0xc2, 0x50, 0xc9, 0xa7,
  3226. 0xc2, 0x50, 0xca, 0x77, 0x20, 0x13, 0xd0, 0x26, 0xea, 0xa8, 0x14, 0xa7, 0x8e, 0xde, 0x85, 0x0c,
  3227. 0xb6, 0x0d, 0xce, 0x98, 0x88, 0x64, 0x4c, 0x63, 0xdb, 0xa0, 0x23, 0xa5, 0x09, 0x2b, 0x22, 0xab,
  3228. 0x45, 0x8b, 0x74, 0x82, 0x89, 0x6e, 0xe8, 0x44, 0x47, 0xdb, 0xb0, 0xc0, 0x94, 0x16, 0x6a, 0xbc,
  3229. 0x3c, 0x4b, 0x22, 0xa8, 0x9c, 0x45, 0xf9, 0x75, 0x12, 0xe4, 0xc9, 0x52, 0x85, 0x0c, 0xb8, 0xe2,
  3230. 0x61, 0xdf, 0xb1, 0x06, 0x98, 0x82, 0x8d, 0xb1, 0x7e, 0x25, 0x19, 0xbf, 0x5f, 0x51, 0x9f, 0x0f,
  3231. 0x84, 0x8d, 0x77, 0x8c, 0xff, 0x0b, 0x97, 0x87, 0xbb, 0x84, 0xdb, 0x97, 0x54, 0xdc, 0x9e, 0x14,
  3232. 0x05, 0x62, 0x42, 0xfd, 0xe2, 0x37, 0xe8, 0x65, 0x25, 0x00, 0x0d, 0xf6, 0x0b, 0xf3, 0xac, 0x44,
  3233. 0x3c, 0x88, 0x59, 0xb3, 0x43, 0x18, 0x87, 0x57, 0x0c, 0x38, 0x1d, 0x12, 0x8a, 0x67, 0xb0, 0x3c,
  3234. 0x31, 0xfd, 0x98, 0xbc, 0x7f, 0x30, 0x9e, 0xf7, 0x31, 0x30, 0x55, 0x28, 0xf3, 0x6b, 0x00, 0xa3,
  3235. 0x09, 0xb4, 0x13, 0x86, 0x6a, 0x12, 0x3b, 0xd7, 0x8d, 0x08, 0xb1, 0x94, 0x33, 0x04, 0xd2, 0x7e,
  3236. 0x24, 0xc1, 0x3c, 0xfd, 0x40, 0x3b, 0x30, 0x4f, 0x2e, 0x5c, 0x1e, 0xbe, 0x4b, 0x91, 0x4e, 0xa5,
  3237. 0x2c, 0xec, 0x9f, 0xe6, 0x85, 0x8b, 0x55, 0xc6, 0x39, 0x5e, 0x12, 0xf3, 0x42, 0x69, 0xe5, 0x35,
  3238. 0xc8, 0x04, 0xeb, 0x50, 0x06, 0xe6, 0x6b, 0xf5, 0x5a, 0x85, 0x97, 0xa8, 0xc6, 0xd1, 0xee, 0xd6,
  3239. 0xdd, 0xb7, 0x64, 0x09, 0xa5, 0x21, 0x79, 0xb2, 0x7f, 0x57, 0x4e, 0x28, 0x5f, 0xd1, 0xe6, 0x98,
  3240. 0x55, 0x74, 0xb4, 0x06, 0xf9, 0xf3, 0x9e, 0xaf, 0x9d, 0xe3, 0x0b, 0x2d, 0x04, 0xee, 0xe1, 0xbc,
  3241. 0xe7, 0x7f, 0x80, 0x2f, 0x58, 0x23, 0xde, 0x18, 0xeb, 0xb2, 0x92, 0xec, 0xec, 0xff, 0x33, 0xd3,
  3242. 0xb5, 0x21, 0xfe, 0xab, 0xd8, 0x03, 0xee, 0xc8, 0x51, 0x6f, 0x56, 0x7c, 0x17, 0x96, 0xc6, 0x27,
  3243. 0xa3, 0x2a, 0x7f, 0x3e, 0xec, 0x1b, 0x07, 0x50, 0x99, 0xa1, 0xab, 0x38, 0x0f, 0x3d, 0xc3, 0x84,
  3244. 0x4d, 0xc4, 0x4f, 0xd8, 0x1d, 0x58, 0x3e, 0xc4, 0xe4, 0x59, 0x9e, 0x95, 0x7e, 0x20, 0xc1, 0xa5,
  3245. 0xaa, 0xe9, 0x73, 0x19, 0xfe, 0x8c, 0x42, 0xae, 0x42, 0xd6, 0x65, 0x65, 0xc0, 0xfc, 0x8c, 0x5b,
  3246. 0x61, 0x41, 0xcd, 0x50, 0x42, 0xc3, 0xfc, 0x8c, 0x3f, 0xce, 0xd0, 0x49, 0xe2, 0x9c, 0x63, 0x5b,
  3247. 0x3c, 0x04, 0xb0, 0xe5, 0x4d, 0x4a, 0xa0, 0x57, 0xc5, 0xa9, 0x69, 0x11, 0xec, 0x31, 0xcc, 0x98,
  3248. 0x55, 0xc5, 0x48, 0xf9, 0x0c, 0x50, 0x58, 0x0f, 0xdf, 0x75, 0x6c, 0x1f, 0xa3, 0x77, 0x21, 0xc5,
  3249. 0x4e, 0xea, 0x8b, 0xe0, 0x9e, 0xcd, 0x3a, 0x82, 0x07, 0xbd, 0x02, 0xcb, 0x36, 0xfe, 0x36, 0xd1,
  3250. 0x42, 0xfa, 0xf0, 0x93, 0x2f, 0x52, 0xf2, 0xc3, 0x40, 0x27, 0xa5, 0x0c, 0xa8, 0x4c, 0x53, 0xdc,
  3251. 0x7a, 0x16, 0x4b, 0xfe, 0x65, 0x1e, 0xf2, 0xe1, 0xd7, 0xb9, 0xa9, 0xa6, 0x67, 0x0d, 0x72, 0x06,
  3252. 0xf6, 0x3b, 0x9e, 0xc9, 0x00, 0x18, 0x03, 0xfc, 0x59, 0x35, 0x4c, 0x42, 0x4d, 0x90, 0x03, 0xf4,
  3253. 0x47, 0x70, 0xcf, 0xb5, 0x74, 0x12, 0xa0, 0xf2, 0x18, 0x05, 0x70, 0x59, 0x88, 0x68, 0x0a, 0x09,
  3254. 0xe8, 0xdd, 0x20, 0xc0, 0xe6, 0x67, 0x0f, 0xb0, 0xa3, 0x39, 0x11, 0x62, 0xe8, 0x05, 0x60, 0xb5,
  3255. 0x82, 0x25, 0x61, 0x46, 0xbc, 0x76, 0x0d, 0x29, 0x93, 0xed, 0xc7, 0x42, 0xac, 0xf6, 0xa3, 0x08,
  3256. 0x19, 0xc3, 0xf4, 0xf5, 0xb6, 0x85, 0x8d, 0x42, 0x76, 0x4d, 0x5a, 0xcf, 0xa8, 0xc3, 0x31, 0x32,
  3257. 0x26, 0x41, 0x28, 0xef, 0xb0, 0xde, 0x9f, 0x45, 0x79, 0xe1, 0x80, 0x19, 0xb0, 0xe8, 0x0d, 0x58,
  3258. 0x34, 0xbb, 0xb6, 0xe3, 0x61, 0x43, 0xa3, 0x47, 0xf2, 0x0b, 0xcb, 0x0c, 0x23, 0xe4, 0x05, 0x91,
  3259. 0x16, 0x5a, 0x1f, 0xdd, 0x84, 0x25, 0xd3, 0xee, 0x58, 0x7d, 0x63, 0xb8, 0x4a, 0x66, 0xab, 0x16,
  3260. 0x03, 0x2a, 0x5b, 0xf6, 0xec, 0xc0, 0x71, 0x4f, 0x86, 0x25, 0xd1, 0x02, 0x08, 0xd7, 0x29, 0xdf,
  3261. 0x93, 0x60, 0x35, 0x54, 0x51, 0xe2, 0xbd, 0xfb, 0x56, 0x20, 0x2d, 0x42, 0x41, 0x94, 0x96, 0xdb,
  3262. 0x31, 0x8c, 0xa7, 0x06, 0xbc, 0xca, 0x23, 0x58, 0x09, 0x6a, 0xcc, 0x7f, 0xf2, 0xdd, 0x59, 0x79,
  3263. 0x1b, 0x0a, 0xc3, 0x84, 0x17, 0x82, 0x67, 0xac, 0x3f, 0x8a, 0x01, 0xab, 0x8f, 0x61, 0x15, 0x25,
  3264. 0xe3, 0x10, 0x32, 0x62, 0x93, 0xa0, 0x68, 0xc4, 0x3a, 0xf7, 0x90, 0x59, 0xf9, 0x18, 0x56, 0xf7,
  3265. 0xb1, 0x85, 0x9f, 0xca, 0xf6, 0x11, 0x67, 0xff, 0x95, 0x04, 0xab, 0x2d, 0xd7, 0xd0, 0xff, 0x0b,
  3266. 0xb2, 0xc3, 0x6e, 0x4f, 0x3e, 0x83, 0xdb, 0xff, 0x9e, 0x11, 0xe5, 0x4c, 0x34, 0x8e, 0xa8, 0x0d,
  3267. 0x2b, 0x53, 0xed, 0xef, 0x08, 0x77, 0xc4, 0x45, 0x0c, 0x97, 0x27, 0x1b, 0x60, 0x86, 0x41, 0x5c,
  3268. 0x8a, 0x35, 0x99, 0x11, 0xb0, 0xa1, 0x0d, 0xb0, 0x67, 0x9e, 0x5e, 0x68, 0xbc, 0x5f, 0x15, 0x2f,
  3269. 0x41, 0xf7, 0x63, 0xb4, 0xba, 0x1b, 0x8f, 0x98, 0x00, 0x3e, 0xa2, 0xb8, 0x53, 0x08, 0x0e, 0x93,
  3270. 0xd1, 0x27, 0x90, 0xef, 0xe9, 0x9d, 0x33, 0xd3, 0xc6, 0x1a, 0x43, 0x3f, 0x49, 0xb6, 0xcd, 0xbd,
  3271. 0x38, 0xdb, 0x9c, 0x70, 0x7e, 0x76, 0xac, 0x5c, 0x6f, 0x34, 0xa0, 0x18, 0xc6, 0x30, 0xfd, 0x73,
  3272. 0x76, 0x4d, 0x6a, 0xdd, 0x36, 0xc3, 0xb2, 0x49, 0x15, 0x28, 0x8d, 0xde, 0x94, 0x87, 0x6d, 0xe4,
  3273. 0xc0, 0x73, 0xe1, 0x82, 0x14, 0x9c, 0x75, 0x9e, 0x29, 0xf1, 0x7e, 0x1c, 0x25, 0xc2, 0xa5, 0x47,
  3274. 0x9c, 0x18, 0xf9, 0x53, 0x34, 0xe4, 0xc2, 0x65, 0xda, 0xf4, 0xfb, 0xc4, 0xc3, 0x3a, 0x6d, 0x63,
  3275. 0x82, 0x1d, 0x17, 0xe2, 0xef, 0x58, 0x75, 0xba, 0x8d, 0x40, 0x4c, 0xb0, 0xa3, 0x35, 0x45, 0x43,
  3276. 0xd7, 0x21, 0xf7, 0xa9, 0xe3, 0x9d, 0x63, 0x4f, 0x73, 0x1d, 0xc7, 0x0a, 0x5e, 0xcb, 0x39, 0xe9,
  3277. 0xa1, 0xe3, 0x58, 0xe8, 0x43, 0xf6, 0x0e, 0xd1, 0xa5, 0xad, 0x58, 0x2e, 0xbe, 0xf1, 0xab, 0x9c,
  3278. 0xf5, 0xc4, 0x31, 0xb0, 0x1a, 0xc8, 0x09, 0x7e, 0x03, 0xc8, 0x8f, 0x7e, 0x03, 0x18, 0x7f, 0x92,
  3279. 0x5f, 0xfc, 0x9a, 0x27, 0xf9, 0xa5, 0xa7, 0x79, 0x92, 0x57, 0x36, 0x20, 0x3f, 0x16, 0x56, 0x32,
  3280. 0xe4, 0x6b, 0xf5, 0xa6, 0xf6, 0xa8, 0xa2, 0x1e, 0x1f, 0x1c, 0x57, 0xf6, 0xe5, 0x39, 0x94, 0x87,
  3281. 0xcc, 0x70, 0x24, 0x29, 0x65, 0xc8, 0x85, 0xc2, 0x06, 0x2d, 0x43, 0xae, 0x55, 0x6b, 0x3c, 0xac,
  3282. 0x94, 0x83, 0xd5, 0x94, 0x7f, 0x53, 0x3b, 0x3a, 0x3e, 0x3c, 0x2a, 0x3f, 0x6c, 0x69, 0xf7, 0x65,
  3283. 0x09, 0x5d, 0x82, 0xc5, 0x10, 0xe5, 0xce, 0x96, 0x9c, 0x50, 0xee, 0x8e, 0xdf, 0x38, 0x62, 0xeb,
  3284. 0x25, 0x80, 0x93, 0x56, 0xa3, 0xa9, 0x9d, 0xec, 0x36, 0xcb, 0x47, 0xf2, 0x1c, 0x95, 0xbd, 0x5b,
  3285. 0xad, 0xd6, 0x3f, 0xd2, 0xaa, 0xf5, 0x7a, 0xa3, 0x22, 0x4b, 0xca, 0x21, 0xa0, 0x69, 0xdf, 0xf1,
  3286. 0x77, 0x04, 0xb5, 0xb2, 0x7b, 0xa2, 0xed, 0x57, 0x0e, 0x76, 0x5b, 0xd5, 0xa6, 0x3c, 0x47, 0x7b,
  3287. 0x7e, 0x41, 0xab, 0xd7, 0x64, 0x89, 0x4a, 0x0e, 0x86, 0x07, 0x07, 0x72, 0x42, 0xd9, 0x81, 0x5c,
  3288. 0xc8, 0xfc, 0xe8, 0x0a, 0x3c, 0x57, 0xad, 0x1f, 0x1e, 0x1e, 0xd7, 0x0e, 0xb5, 0xf1, 0xc3, 0x00,
  3289. 0xa4, 0xaa, 0x95, 0xc3, 0xdd, 0xf2, 0xc7, 0xb2, 0x44, 0xcd, 0x70, 0x58, 0x6e, 0x68, 0xf5, 0x5a,
  3290. 0xf5, 0x63, 0x39, 0xb1, 0xf5, 0xc7, 0x25, 0x80, 0x32, 0x35, 0x2c, 0x7f, 0x26, 0xfe, 0x89, 0x04,
  3291. 0xb9, 0xd0, 0x75, 0x87, 0x36, 0x23, 0xbc, 0x30, 0x0d, 0xb6, 0x8b, 0xd7, 0x02, 0x96, 0xd0, 0x0f,
  3292. 0xc2, 0x1b, 0xc3, 0x2e, 0x59, 0x29, 0x7d, 0xf9, 0xd7, 0x7f, 0xfc, 0x34, 0xf1, 0x9a, 0xb2, 0x56,
  3293. 0x1a, 0x6c, 0x96, 0x44, 0x49, 0xf5, 0x4b, 0x9f, 0x8f, 0xca, 0xed, 0x17, 0x25, 0x8e, 0x1d, 0xb7,
  3294. 0x05, 0xfc, 0xf9, 0xb1, 0x04, 0x99, 0xe0, 0xfa, 0x43, 0x1b, 0x11, 0xfa, 0x4c, 0x60, 0xf1, 0xe2,
  3295. 0x4c, 0x50, 0x4b, 0x79, 0x83, 0xe9, 0xf4, 0x2a, 0xba, 0x19, 0xa5, 0x53, 0xe9, 0x73, 0xd3, 0xf8,
  3296. 0x02, 0xfd, 0x42, 0x02, 0x18, 0x21, 0x65, 0x14, 0xf5, 0xd2, 0x35, 0x05, 0xee, 0x8b, 0x9b, 0x31,
  3297. 0x38, 0xf8, 0x9d, 0xaa, 0xac, 0x33, 0x15, 0x15, 0x14, 0x69, 0x36, 0xf4, 0x4b, 0xea, 0xc2, 0x11,
  3298. 0x96, 0x8e, 0x76, 0xe1, 0x14, 0xee, 0x9e, 0xd1, 0x6a, 0xf7, 0x98, 0x4a, 0x9b, 0xca, 0xeb, 0x33,
  3299. 0x59, 0x6d, 0xbb, 0xc3, 0xf6, 0xd9, 0x96, 0x6e, 0xa1, 0x9f, 0xb1, 0xdf, 0x92, 0x83, 0x5f, 0xe3,
  3300. 0x23, 0xed, 0x37, 0xf5, 0xc3, 0x7d, 0x54, 0x88, 0xbd, 0xc5, 0x14, 0x7b, 0x53, 0xb9, 0x3d, 0x9b,
  3301. 0x62, 0x1e, 0x95, 0x4f, 0xf5, 0xfa, 0xbd, 0x34, 0xd6, 0x3d, 0x06, 0x5d, 0xc4, 0xfd, 0xd9, 0x73,
  3302. 0x60, 0x1c, 0x46, 0x14, 0xe3, 0xdc, 0xfb, 0xca, 0x1d, 0xa6, 0xf5, 0x1b, 0x8a, 0xf2, 0x64, 0xad,
  3303. 0x03, 0x60, 0xb4, 0x1d, 0x60, 0x04, 0xf4, 0x3b, 0x69, 0xd4, 0x7f, 0x06, 0xfa, 0xde, 0x9d, 0x31,
  3304. 0x47, 0x9e, 0x45, 0x59, 0xe1, 0x7b, 0x54, 0x8a, 0x56, 0xb6, 0xf4, 0xf9, 0x08, 0x2b, 0x7d, 0x81,
  3305. 0xfe, 0x10, 0xee, 0x76, 0x03, 0xe4, 0x88, 0xee, 0xcd, 0x9a, 0x10, 0x13, 0x30, 0xb5, 0x78, 0x3f,
  3306. 0x3e, 0xa3, 0x48, 0xa8, 0x5b, 0xec, 0x04, 0x2f, 0xa3, 0x19, 0xcc, 0x4d, 0x53, 0x0a, 0x4d, 0x03,
  3307. 0xd1, 0xc8, 0xc0, 0x78, 0x22, 0x76, 0x2d, 0xae, 0x4c, 0xf5, 0x67, 0x95, 0x9e, 0x4b, 0x2e, 0x02,
  3308. 0xb3, 0xde, 0x8a, 0x6d, 0xd6, 0xaf, 0x24, 0x40, 0xd3, 0x70, 0x36, 0x52, 0xc3, 0x27, 0x22, 0xe0,
  3309. 0x78, 0xd1, 0xb0, 0xc3, 0xd4, 0xde, 0xde, 0x8a, 0xab, 0xf6, 0x28, 0x8e, 0x7f, 0x2b, 0xc1, 0xf2,
  3310. 0xc4, 0xdf, 0xd6, 0x44, 0xc6, 0xf1, 0xe3, 0xff, 0x16, 0x27, 0xaa, 0x38, 0x94, 0x99, 0xae, 0xef,
  3311. 0x29, 0x77, 0xe2, 0xea, 0xea, 0xf5, 0xed, 0x6d, 0xf1, 0xab, 0xe3, 0xde, 0x39, 0x14, 0x3a, 0x4e,
  3312. 0x2f, 0xd8, 0x68, 0x4c, 0xad, 0x87, 0xd2, 0x27, 0x87, 0x82, 0xde, 0x75, 0x2c, 0xdd, 0xee, 0x6e,
  3313. 0x38, 0x5e, 0xb7, 0xd4, 0xc5, 0x36, 0x73, 0x75, 0x89, 0x4f, 0xe9, 0xae, 0xe9, 0x3f, 0xe1, 0x8f,
  3314. 0xbb, 0xde, 0x19, 0x8d, 0x7e, 0x93, 0x48, 0x1e, 0x96, 0xf7, 0xda, 0x29, 0xc6, 0x79, 0xe7, 0xdf,
  3315. 0x01, 0x00, 0x00, 0xff, 0xff, 0x87, 0x2f, 0xf0, 0xd9, 0x15, 0x26, 0x00, 0x00,
  3316. }