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.
 
 
 

2303 lines
101 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto
  3. package datatransfer // import "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/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 wrappers "github.com/golang/protobuf/ptypes/wrappers"
  11. import _ "google.golang.org/genproto/googleapis/api/annotations"
  12. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  13. import (
  14. context "golang.org/x/net/context"
  15. grpc "google.golang.org/grpc"
  16. )
  17. // Reference imports to suppress errors if they are not otherwise used.
  18. var _ = proto.Marshal
  19. var _ = fmt.Errorf
  20. var _ = math.Inf
  21. // This is a compile-time assertion to ensure that this generated file
  22. // is compatible with the proto package it is being compiled against.
  23. // A compilation error at this line likely means your copy of the
  24. // proto package needs to be updated.
  25. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  26. // Parameter type.
  27. type DataSourceParameter_Type int32
  28. const (
  29. // Type unspecified.
  30. DataSourceParameter_TYPE_UNSPECIFIED DataSourceParameter_Type = 0
  31. // String parameter.
  32. DataSourceParameter_STRING DataSourceParameter_Type = 1
  33. // Integer parameter (64-bits).
  34. // Will be serialized to json as string.
  35. DataSourceParameter_INTEGER DataSourceParameter_Type = 2
  36. // Double precision floating point parameter.
  37. DataSourceParameter_DOUBLE DataSourceParameter_Type = 3
  38. // Boolean parameter.
  39. DataSourceParameter_BOOLEAN DataSourceParameter_Type = 4
  40. // Record parameter.
  41. DataSourceParameter_RECORD DataSourceParameter_Type = 5
  42. // Page ID for a Google+ Page.
  43. DataSourceParameter_PLUS_PAGE DataSourceParameter_Type = 6
  44. )
  45. var DataSourceParameter_Type_name = map[int32]string{
  46. 0: "TYPE_UNSPECIFIED",
  47. 1: "STRING",
  48. 2: "INTEGER",
  49. 3: "DOUBLE",
  50. 4: "BOOLEAN",
  51. 5: "RECORD",
  52. 6: "PLUS_PAGE",
  53. }
  54. var DataSourceParameter_Type_value = map[string]int32{
  55. "TYPE_UNSPECIFIED": 0,
  56. "STRING": 1,
  57. "INTEGER": 2,
  58. "DOUBLE": 3,
  59. "BOOLEAN": 4,
  60. "RECORD": 5,
  61. "PLUS_PAGE": 6,
  62. }
  63. func (x DataSourceParameter_Type) String() string {
  64. return proto.EnumName(DataSourceParameter_Type_name, int32(x))
  65. }
  66. func (DataSourceParameter_Type) EnumDescriptor() ([]byte, []int) {
  67. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{0, 0}
  68. }
  69. // The type of authorization needed for this data source.
  70. type DataSource_AuthorizationType int32
  71. const (
  72. // Type unspecified.
  73. DataSource_AUTHORIZATION_TYPE_UNSPECIFIED DataSource_AuthorizationType = 0
  74. // Use OAuth 2 authorization codes that can be exchanged
  75. // for a refresh token on the backend.
  76. DataSource_AUTHORIZATION_CODE DataSource_AuthorizationType = 1
  77. // Return an authorization code for a given Google+ page that can then be
  78. // exchanged for a refresh token on the backend.
  79. DataSource_GOOGLE_PLUS_AUTHORIZATION_CODE DataSource_AuthorizationType = 2
  80. )
  81. var DataSource_AuthorizationType_name = map[int32]string{
  82. 0: "AUTHORIZATION_TYPE_UNSPECIFIED",
  83. 1: "AUTHORIZATION_CODE",
  84. 2: "GOOGLE_PLUS_AUTHORIZATION_CODE",
  85. }
  86. var DataSource_AuthorizationType_value = map[string]int32{
  87. "AUTHORIZATION_TYPE_UNSPECIFIED": 0,
  88. "AUTHORIZATION_CODE": 1,
  89. "GOOGLE_PLUS_AUTHORIZATION_CODE": 2,
  90. }
  91. func (x DataSource_AuthorizationType) String() string {
  92. return proto.EnumName(DataSource_AuthorizationType_name, int32(x))
  93. }
  94. func (DataSource_AuthorizationType) EnumDescriptor() ([]byte, []int) {
  95. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{1, 0}
  96. }
  97. // Represents how the data source supports data auto refresh.
  98. type DataSource_DataRefreshType int32
  99. const (
  100. // The data source won't support data auto refresh, which is default value.
  101. DataSource_DATA_REFRESH_TYPE_UNSPECIFIED DataSource_DataRefreshType = 0
  102. // The data source supports data auto refresh, and runs will be scheduled
  103. // for the past few days. Does not allow custom values to be set for each
  104. // transfer config.
  105. DataSource_SLIDING_WINDOW DataSource_DataRefreshType = 1
  106. // The data source supports data auto refresh, and runs will be scheduled
  107. // for the past few days. Allows custom values to be set for each transfer
  108. // config.
  109. DataSource_CUSTOM_SLIDING_WINDOW DataSource_DataRefreshType = 2
  110. )
  111. var DataSource_DataRefreshType_name = map[int32]string{
  112. 0: "DATA_REFRESH_TYPE_UNSPECIFIED",
  113. 1: "SLIDING_WINDOW",
  114. 2: "CUSTOM_SLIDING_WINDOW",
  115. }
  116. var DataSource_DataRefreshType_value = map[string]int32{
  117. "DATA_REFRESH_TYPE_UNSPECIFIED": 0,
  118. "SLIDING_WINDOW": 1,
  119. "CUSTOM_SLIDING_WINDOW": 2,
  120. }
  121. func (x DataSource_DataRefreshType) String() string {
  122. return proto.EnumName(DataSource_DataRefreshType_name, int32(x))
  123. }
  124. func (DataSource_DataRefreshType) EnumDescriptor() ([]byte, []int) {
  125. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{1, 1}
  126. }
  127. // Represents which runs should be pulled.
  128. type ListTransferRunsRequest_RunAttempt int32
  129. const (
  130. // All runs should be returned.
  131. ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED ListTransferRunsRequest_RunAttempt = 0
  132. // Only latest run per day should be returned.
  133. ListTransferRunsRequest_LATEST ListTransferRunsRequest_RunAttempt = 1
  134. )
  135. var ListTransferRunsRequest_RunAttempt_name = map[int32]string{
  136. 0: "RUN_ATTEMPT_UNSPECIFIED",
  137. 1: "LATEST",
  138. }
  139. var ListTransferRunsRequest_RunAttempt_value = map[string]int32{
  140. "RUN_ATTEMPT_UNSPECIFIED": 0,
  141. "LATEST": 1,
  142. }
  143. func (x ListTransferRunsRequest_RunAttempt) String() string {
  144. return proto.EnumName(ListTransferRunsRequest_RunAttempt_name, int32(x))
  145. }
  146. func (ListTransferRunsRequest_RunAttempt) EnumDescriptor() ([]byte, []int) {
  147. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{13, 0}
  148. }
  149. // Represents a data source parameter with validation rules, so that
  150. // parameters can be rendered in the UI. These parameters are given to us by
  151. // supported data sources, and include all needed information for rendering
  152. // and validation.
  153. // Thus, whoever uses this api can decide to generate either generic ui,
  154. // or custom data source specific forms.
  155. type DataSourceParameter struct {
  156. // Parameter identifier.
  157. ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId,proto3" json:"param_id,omitempty"`
  158. // Parameter display name in the user interface.
  159. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  160. // Parameter description.
  161. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  162. // Parameter type.
  163. Type DataSourceParameter_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSourceParameter_Type" json:"type,omitempty"`
  164. // Is parameter required.
  165. Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
  166. // Can parameter have multiple values.
  167. Repeated bool `protobuf:"varint,6,opt,name=repeated,proto3" json:"repeated,omitempty"`
  168. // Regular expression which can be used for parameter validation.
  169. ValidationRegex string `protobuf:"bytes,7,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
  170. // All possible values for the parameter.
  171. AllowedValues []string `protobuf:"bytes,8,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
  172. // For integer and double values specifies minimum allowed value.
  173. MinValue *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
  174. // For integer and double values specifies maxminum allowed value.
  175. MaxValue *wrappers.DoubleValue `protobuf:"bytes,10,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
  176. // When parameter is a record, describes child fields.
  177. Fields []*DataSourceParameter `protobuf:"bytes,11,rep,name=fields,proto3" json:"fields,omitempty"`
  178. // Description of the requirements for this field, in case the user input does
  179. // not fulfill the regex pattern or min/max values.
  180. ValidationDescription string `protobuf:"bytes,12,opt,name=validation_description,json=validationDescription,proto3" json:"validation_description,omitempty"`
  181. // URL to a help document to further explain the naming requirements.
  182. ValidationHelpUrl string `protobuf:"bytes,13,opt,name=validation_help_url,json=validationHelpUrl,proto3" json:"validation_help_url,omitempty"`
  183. // Cannot be changed after initial creation.
  184. Immutable bool `protobuf:"varint,14,opt,name=immutable,proto3" json:"immutable,omitempty"`
  185. // If set to true, schema should be taken from the parent with the same
  186. // parameter_id. Only applicable when parameter type is RECORD.
  187. Recurse bool `protobuf:"varint,15,opt,name=recurse,proto3" json:"recurse,omitempty"`
  188. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  189. XXX_unrecognized []byte `json:"-"`
  190. XXX_sizecache int32 `json:"-"`
  191. }
  192. func (m *DataSourceParameter) Reset() { *m = DataSourceParameter{} }
  193. func (m *DataSourceParameter) String() string { return proto.CompactTextString(m) }
  194. func (*DataSourceParameter) ProtoMessage() {}
  195. func (*DataSourceParameter) Descriptor() ([]byte, []int) {
  196. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{0}
  197. }
  198. func (m *DataSourceParameter) XXX_Unmarshal(b []byte) error {
  199. return xxx_messageInfo_DataSourceParameter.Unmarshal(m, b)
  200. }
  201. func (m *DataSourceParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  202. return xxx_messageInfo_DataSourceParameter.Marshal(b, m, deterministic)
  203. }
  204. func (dst *DataSourceParameter) XXX_Merge(src proto.Message) {
  205. xxx_messageInfo_DataSourceParameter.Merge(dst, src)
  206. }
  207. func (m *DataSourceParameter) XXX_Size() int {
  208. return xxx_messageInfo_DataSourceParameter.Size(m)
  209. }
  210. func (m *DataSourceParameter) XXX_DiscardUnknown() {
  211. xxx_messageInfo_DataSourceParameter.DiscardUnknown(m)
  212. }
  213. var xxx_messageInfo_DataSourceParameter proto.InternalMessageInfo
  214. func (m *DataSourceParameter) GetParamId() string {
  215. if m != nil {
  216. return m.ParamId
  217. }
  218. return ""
  219. }
  220. func (m *DataSourceParameter) GetDisplayName() string {
  221. if m != nil {
  222. return m.DisplayName
  223. }
  224. return ""
  225. }
  226. func (m *DataSourceParameter) GetDescription() string {
  227. if m != nil {
  228. return m.Description
  229. }
  230. return ""
  231. }
  232. func (m *DataSourceParameter) GetType() DataSourceParameter_Type {
  233. if m != nil {
  234. return m.Type
  235. }
  236. return DataSourceParameter_TYPE_UNSPECIFIED
  237. }
  238. func (m *DataSourceParameter) GetRequired() bool {
  239. if m != nil {
  240. return m.Required
  241. }
  242. return false
  243. }
  244. func (m *DataSourceParameter) GetRepeated() bool {
  245. if m != nil {
  246. return m.Repeated
  247. }
  248. return false
  249. }
  250. func (m *DataSourceParameter) GetValidationRegex() string {
  251. if m != nil {
  252. return m.ValidationRegex
  253. }
  254. return ""
  255. }
  256. func (m *DataSourceParameter) GetAllowedValues() []string {
  257. if m != nil {
  258. return m.AllowedValues
  259. }
  260. return nil
  261. }
  262. func (m *DataSourceParameter) GetMinValue() *wrappers.DoubleValue {
  263. if m != nil {
  264. return m.MinValue
  265. }
  266. return nil
  267. }
  268. func (m *DataSourceParameter) GetMaxValue() *wrappers.DoubleValue {
  269. if m != nil {
  270. return m.MaxValue
  271. }
  272. return nil
  273. }
  274. func (m *DataSourceParameter) GetFields() []*DataSourceParameter {
  275. if m != nil {
  276. return m.Fields
  277. }
  278. return nil
  279. }
  280. func (m *DataSourceParameter) GetValidationDescription() string {
  281. if m != nil {
  282. return m.ValidationDescription
  283. }
  284. return ""
  285. }
  286. func (m *DataSourceParameter) GetValidationHelpUrl() string {
  287. if m != nil {
  288. return m.ValidationHelpUrl
  289. }
  290. return ""
  291. }
  292. func (m *DataSourceParameter) GetImmutable() bool {
  293. if m != nil {
  294. return m.Immutable
  295. }
  296. return false
  297. }
  298. func (m *DataSourceParameter) GetRecurse() bool {
  299. if m != nil {
  300. return m.Recurse
  301. }
  302. return false
  303. }
  304. // Represents data source metadata. Metadata is sufficient to
  305. // render UI and request proper OAuth tokens.
  306. type DataSource struct {
  307. // Output only. Data source resource name.
  308. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  309. // Data source id.
  310. DataSourceId string `protobuf:"bytes,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
  311. // User friendly data source name.
  312. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  313. // User friendly data source description string.
  314. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
  315. // Data source client id which should be used to receive refresh token.
  316. // When not supplied, no offline credentials are populated for data transfer.
  317. ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  318. // Api auth scopes for which refresh token needs to be obtained. Only valid
  319. // when `client_id` is specified. Ignored otherwise. These are scopes needed
  320. // by a data source to prepare data and ingest them into BigQuery,
  321. // e.g., https://www.googleapis.com/auth/bigquery
  322. Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
  323. // Deprecated. This field has no effect.
  324. TransferType TransferType `protobuf:"varint,7,opt,name=transfer_type,json=transferType,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferType" json:"transfer_type,omitempty"`
  325. // Indicates whether the data source supports multiple transfers
  326. // to different BigQuery targets.
  327. SupportsMultipleTransfers bool `protobuf:"varint,8,opt,name=supports_multiple_transfers,json=supportsMultipleTransfers,proto3" json:"supports_multiple_transfers,omitempty"`
  328. // The number of seconds to wait for an update from the data source
  329. // before BigQuery marks the transfer as failed.
  330. UpdateDeadlineSeconds int32 `protobuf:"varint,9,opt,name=update_deadline_seconds,json=updateDeadlineSeconds,proto3" json:"update_deadline_seconds,omitempty"`
  331. // Default data transfer schedule.
  332. // Examples of valid schedules include:
  333. // `1st,3rd monday of month 15:30`,
  334. // `every wed,fri of jan,jun 13:15`, and
  335. // `first sunday of quarter 00:00`.
  336. DefaultSchedule string `protobuf:"bytes,10,opt,name=default_schedule,json=defaultSchedule,proto3" json:"default_schedule,omitempty"`
  337. // Specifies whether the data source supports a user defined schedule, or
  338. // operates on the default schedule.
  339. // When set to `true`, user can override default schedule.
  340. SupportsCustomSchedule bool `protobuf:"varint,11,opt,name=supports_custom_schedule,json=supportsCustomSchedule,proto3" json:"supports_custom_schedule,omitempty"`
  341. // Data source parameters.
  342. Parameters []*DataSourceParameter `protobuf:"bytes,12,rep,name=parameters,proto3" json:"parameters,omitempty"`
  343. // Url for the help document for this data source.
  344. HelpUrl string `protobuf:"bytes,13,opt,name=help_url,json=helpUrl,proto3" json:"help_url,omitempty"`
  345. // Indicates the type of authorization.
  346. AuthorizationType DataSource_AuthorizationType `protobuf:"varint,14,opt,name=authorization_type,json=authorizationType,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSource_AuthorizationType" json:"authorization_type,omitempty"`
  347. // Specifies whether the data source supports automatic data refresh for the
  348. // past few days, and how it's supported.
  349. // For some data sources, data might not be complete until a few days later,
  350. // so it's useful to refresh data automatically.
  351. DataRefreshType DataSource_DataRefreshType `protobuf:"varint,15,opt,name=data_refresh_type,json=dataRefreshType,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSource_DataRefreshType" json:"data_refresh_type,omitempty"`
  352. // Default data refresh window on days.
  353. // Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
  354. DefaultDataRefreshWindowDays int32 `protobuf:"varint,16,opt,name=default_data_refresh_window_days,json=defaultDataRefreshWindowDays,proto3" json:"default_data_refresh_window_days,omitempty"`
  355. // Disables backfilling and manual run scheduling
  356. // for the data source.
  357. ManualRunsDisabled bool `protobuf:"varint,17,opt,name=manual_runs_disabled,json=manualRunsDisabled,proto3" json:"manual_runs_disabled,omitempty"`
  358. // The minimum interval for scheduler to schedule runs.
  359. MinimumScheduleInterval *duration.Duration `protobuf:"bytes,18,opt,name=minimum_schedule_interval,json=minimumScheduleInterval,proto3" json:"minimum_schedule_interval,omitempty"`
  360. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  361. XXX_unrecognized []byte `json:"-"`
  362. XXX_sizecache int32 `json:"-"`
  363. }
  364. func (m *DataSource) Reset() { *m = DataSource{} }
  365. func (m *DataSource) String() string { return proto.CompactTextString(m) }
  366. func (*DataSource) ProtoMessage() {}
  367. func (*DataSource) Descriptor() ([]byte, []int) {
  368. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{1}
  369. }
  370. func (m *DataSource) XXX_Unmarshal(b []byte) error {
  371. return xxx_messageInfo_DataSource.Unmarshal(m, b)
  372. }
  373. func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  374. return xxx_messageInfo_DataSource.Marshal(b, m, deterministic)
  375. }
  376. func (dst *DataSource) XXX_Merge(src proto.Message) {
  377. xxx_messageInfo_DataSource.Merge(dst, src)
  378. }
  379. func (m *DataSource) XXX_Size() int {
  380. return xxx_messageInfo_DataSource.Size(m)
  381. }
  382. func (m *DataSource) XXX_DiscardUnknown() {
  383. xxx_messageInfo_DataSource.DiscardUnknown(m)
  384. }
  385. var xxx_messageInfo_DataSource proto.InternalMessageInfo
  386. func (m *DataSource) GetName() string {
  387. if m != nil {
  388. return m.Name
  389. }
  390. return ""
  391. }
  392. func (m *DataSource) GetDataSourceId() string {
  393. if m != nil {
  394. return m.DataSourceId
  395. }
  396. return ""
  397. }
  398. func (m *DataSource) GetDisplayName() string {
  399. if m != nil {
  400. return m.DisplayName
  401. }
  402. return ""
  403. }
  404. func (m *DataSource) GetDescription() string {
  405. if m != nil {
  406. return m.Description
  407. }
  408. return ""
  409. }
  410. func (m *DataSource) GetClientId() string {
  411. if m != nil {
  412. return m.ClientId
  413. }
  414. return ""
  415. }
  416. func (m *DataSource) GetScopes() []string {
  417. if m != nil {
  418. return m.Scopes
  419. }
  420. return nil
  421. }
  422. func (m *DataSource) GetTransferType() TransferType {
  423. if m != nil {
  424. return m.TransferType
  425. }
  426. return TransferType_TRANSFER_TYPE_UNSPECIFIED
  427. }
  428. func (m *DataSource) GetSupportsMultipleTransfers() bool {
  429. if m != nil {
  430. return m.SupportsMultipleTransfers
  431. }
  432. return false
  433. }
  434. func (m *DataSource) GetUpdateDeadlineSeconds() int32 {
  435. if m != nil {
  436. return m.UpdateDeadlineSeconds
  437. }
  438. return 0
  439. }
  440. func (m *DataSource) GetDefaultSchedule() string {
  441. if m != nil {
  442. return m.DefaultSchedule
  443. }
  444. return ""
  445. }
  446. func (m *DataSource) GetSupportsCustomSchedule() bool {
  447. if m != nil {
  448. return m.SupportsCustomSchedule
  449. }
  450. return false
  451. }
  452. func (m *DataSource) GetParameters() []*DataSourceParameter {
  453. if m != nil {
  454. return m.Parameters
  455. }
  456. return nil
  457. }
  458. func (m *DataSource) GetHelpUrl() string {
  459. if m != nil {
  460. return m.HelpUrl
  461. }
  462. return ""
  463. }
  464. func (m *DataSource) GetAuthorizationType() DataSource_AuthorizationType {
  465. if m != nil {
  466. return m.AuthorizationType
  467. }
  468. return DataSource_AUTHORIZATION_TYPE_UNSPECIFIED
  469. }
  470. func (m *DataSource) GetDataRefreshType() DataSource_DataRefreshType {
  471. if m != nil {
  472. return m.DataRefreshType
  473. }
  474. return DataSource_DATA_REFRESH_TYPE_UNSPECIFIED
  475. }
  476. func (m *DataSource) GetDefaultDataRefreshWindowDays() int32 {
  477. if m != nil {
  478. return m.DefaultDataRefreshWindowDays
  479. }
  480. return 0
  481. }
  482. func (m *DataSource) GetManualRunsDisabled() bool {
  483. if m != nil {
  484. return m.ManualRunsDisabled
  485. }
  486. return false
  487. }
  488. func (m *DataSource) GetMinimumScheduleInterval() *duration.Duration {
  489. if m != nil {
  490. return m.MinimumScheduleInterval
  491. }
  492. return nil
  493. }
  494. // A request to get data source info.
  495. type GetDataSourceRequest struct {
  496. // The field will contain name of the resource requested, for example:
  497. // `projects/{project_id}/dataSources/{data_source_id}`
  498. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  499. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  500. XXX_unrecognized []byte `json:"-"`
  501. XXX_sizecache int32 `json:"-"`
  502. }
  503. func (m *GetDataSourceRequest) Reset() { *m = GetDataSourceRequest{} }
  504. func (m *GetDataSourceRequest) String() string { return proto.CompactTextString(m) }
  505. func (*GetDataSourceRequest) ProtoMessage() {}
  506. func (*GetDataSourceRequest) Descriptor() ([]byte, []int) {
  507. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{2}
  508. }
  509. func (m *GetDataSourceRequest) XXX_Unmarshal(b []byte) error {
  510. return xxx_messageInfo_GetDataSourceRequest.Unmarshal(m, b)
  511. }
  512. func (m *GetDataSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  513. return xxx_messageInfo_GetDataSourceRequest.Marshal(b, m, deterministic)
  514. }
  515. func (dst *GetDataSourceRequest) XXX_Merge(src proto.Message) {
  516. xxx_messageInfo_GetDataSourceRequest.Merge(dst, src)
  517. }
  518. func (m *GetDataSourceRequest) XXX_Size() int {
  519. return xxx_messageInfo_GetDataSourceRequest.Size(m)
  520. }
  521. func (m *GetDataSourceRequest) XXX_DiscardUnknown() {
  522. xxx_messageInfo_GetDataSourceRequest.DiscardUnknown(m)
  523. }
  524. var xxx_messageInfo_GetDataSourceRequest proto.InternalMessageInfo
  525. func (m *GetDataSourceRequest) GetName() string {
  526. if m != nil {
  527. return m.Name
  528. }
  529. return ""
  530. }
  531. // Request to list supported data sources and their data transfer settings.
  532. type ListDataSourcesRequest struct {
  533. // The BigQuery project id for which data sources should be returned.
  534. // Must be in the form: `projects/{project_id}`
  535. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  536. // Pagination token, which can be used to request a specific page
  537. // of `ListDataSourcesRequest` list results. For multiple-page
  538. // results, `ListDataSourcesResponse` outputs
  539. // a `next_page` token, which can be used as the
  540. // `page_token` value to request the next page of list results.
  541. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  542. // Page size. The default page size is the maximum value of 1000 results.
  543. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  544. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  545. XXX_unrecognized []byte `json:"-"`
  546. XXX_sizecache int32 `json:"-"`
  547. }
  548. func (m *ListDataSourcesRequest) Reset() { *m = ListDataSourcesRequest{} }
  549. func (m *ListDataSourcesRequest) String() string { return proto.CompactTextString(m) }
  550. func (*ListDataSourcesRequest) ProtoMessage() {}
  551. func (*ListDataSourcesRequest) Descriptor() ([]byte, []int) {
  552. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{3}
  553. }
  554. func (m *ListDataSourcesRequest) XXX_Unmarshal(b []byte) error {
  555. return xxx_messageInfo_ListDataSourcesRequest.Unmarshal(m, b)
  556. }
  557. func (m *ListDataSourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  558. return xxx_messageInfo_ListDataSourcesRequest.Marshal(b, m, deterministic)
  559. }
  560. func (dst *ListDataSourcesRequest) XXX_Merge(src proto.Message) {
  561. xxx_messageInfo_ListDataSourcesRequest.Merge(dst, src)
  562. }
  563. func (m *ListDataSourcesRequest) XXX_Size() int {
  564. return xxx_messageInfo_ListDataSourcesRequest.Size(m)
  565. }
  566. func (m *ListDataSourcesRequest) XXX_DiscardUnknown() {
  567. xxx_messageInfo_ListDataSourcesRequest.DiscardUnknown(m)
  568. }
  569. var xxx_messageInfo_ListDataSourcesRequest proto.InternalMessageInfo
  570. func (m *ListDataSourcesRequest) GetParent() string {
  571. if m != nil {
  572. return m.Parent
  573. }
  574. return ""
  575. }
  576. func (m *ListDataSourcesRequest) GetPageToken() string {
  577. if m != nil {
  578. return m.PageToken
  579. }
  580. return ""
  581. }
  582. func (m *ListDataSourcesRequest) GetPageSize() int32 {
  583. if m != nil {
  584. return m.PageSize
  585. }
  586. return 0
  587. }
  588. // Returns list of supported data sources and their metadata.
  589. type ListDataSourcesResponse struct {
  590. // List of supported data sources and their transfer settings.
  591. DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
  592. // Output only. The next-pagination token. For multiple-page list results,
  593. // this token can be used as the
  594. // `ListDataSourcesRequest.page_token`
  595. // to request the next page of list results.
  596. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  597. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  598. XXX_unrecognized []byte `json:"-"`
  599. XXX_sizecache int32 `json:"-"`
  600. }
  601. func (m *ListDataSourcesResponse) Reset() { *m = ListDataSourcesResponse{} }
  602. func (m *ListDataSourcesResponse) String() string { return proto.CompactTextString(m) }
  603. func (*ListDataSourcesResponse) ProtoMessage() {}
  604. func (*ListDataSourcesResponse) Descriptor() ([]byte, []int) {
  605. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{4}
  606. }
  607. func (m *ListDataSourcesResponse) XXX_Unmarshal(b []byte) error {
  608. return xxx_messageInfo_ListDataSourcesResponse.Unmarshal(m, b)
  609. }
  610. func (m *ListDataSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  611. return xxx_messageInfo_ListDataSourcesResponse.Marshal(b, m, deterministic)
  612. }
  613. func (dst *ListDataSourcesResponse) XXX_Merge(src proto.Message) {
  614. xxx_messageInfo_ListDataSourcesResponse.Merge(dst, src)
  615. }
  616. func (m *ListDataSourcesResponse) XXX_Size() int {
  617. return xxx_messageInfo_ListDataSourcesResponse.Size(m)
  618. }
  619. func (m *ListDataSourcesResponse) XXX_DiscardUnknown() {
  620. xxx_messageInfo_ListDataSourcesResponse.DiscardUnknown(m)
  621. }
  622. var xxx_messageInfo_ListDataSourcesResponse proto.InternalMessageInfo
  623. func (m *ListDataSourcesResponse) GetDataSources() []*DataSource {
  624. if m != nil {
  625. return m.DataSources
  626. }
  627. return nil
  628. }
  629. func (m *ListDataSourcesResponse) GetNextPageToken() string {
  630. if m != nil {
  631. return m.NextPageToken
  632. }
  633. return ""
  634. }
  635. // A request to create a data transfer configuration. If new credentials are
  636. // needed for this transfer configuration, an authorization code must be
  637. // provided. If an authorization code is provided, the transfer configuration
  638. // will be associated with the user id corresponding to the
  639. // authorization code. Otherwise, the transfer configuration will be associated
  640. // with the calling user.
  641. type CreateTransferConfigRequest struct {
  642. // The BigQuery project id where the transfer configuration should be created.
  643. // Must be in the format /projects/{project_id}/locations/{location_id}
  644. // If specified location and location of the destination bigquery dataset
  645. // do not match - the request will fail.
  646. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  647. // Data transfer configuration to create.
  648. TransferConfig *TransferConfig `protobuf:"bytes,2,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"`
  649. // Optional OAuth2 authorization code to use with this transfer configuration.
  650. // This is required if new credentials are needed, as indicated by
  651. // `CheckValidCreds`.
  652. // In order to obtain authorization_code, please make a
  653. // request to
  654. // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
  655. //
  656. // * client_id should be OAuth client_id of BigQuery DTS API for the given
  657. // data source returned by ListDataSources method.
  658. // * data_source_scopes are the scopes returned by ListDataSources method.
  659. // * redirect_uri is an optional parameter. If not specified, then
  660. // authorization code is posted to the opener of authorization flow window.
  661. // Otherwise it will be sent to the redirect uri. A special value of
  662. // urn:ietf:wg:oauth:2.0:oob means that authorization code should be
  663. // returned in the title bar of the browser, with the page text prompting
  664. // the user to copy the code and paste it in the application.
  665. AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"`
  666. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  667. XXX_unrecognized []byte `json:"-"`
  668. XXX_sizecache int32 `json:"-"`
  669. }
  670. func (m *CreateTransferConfigRequest) Reset() { *m = CreateTransferConfigRequest{} }
  671. func (m *CreateTransferConfigRequest) String() string { return proto.CompactTextString(m) }
  672. func (*CreateTransferConfigRequest) ProtoMessage() {}
  673. func (*CreateTransferConfigRequest) Descriptor() ([]byte, []int) {
  674. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{5}
  675. }
  676. func (m *CreateTransferConfigRequest) XXX_Unmarshal(b []byte) error {
  677. return xxx_messageInfo_CreateTransferConfigRequest.Unmarshal(m, b)
  678. }
  679. func (m *CreateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  680. return xxx_messageInfo_CreateTransferConfigRequest.Marshal(b, m, deterministic)
  681. }
  682. func (dst *CreateTransferConfigRequest) XXX_Merge(src proto.Message) {
  683. xxx_messageInfo_CreateTransferConfigRequest.Merge(dst, src)
  684. }
  685. func (m *CreateTransferConfigRequest) XXX_Size() int {
  686. return xxx_messageInfo_CreateTransferConfigRequest.Size(m)
  687. }
  688. func (m *CreateTransferConfigRequest) XXX_DiscardUnknown() {
  689. xxx_messageInfo_CreateTransferConfigRequest.DiscardUnknown(m)
  690. }
  691. var xxx_messageInfo_CreateTransferConfigRequest proto.InternalMessageInfo
  692. func (m *CreateTransferConfigRequest) GetParent() string {
  693. if m != nil {
  694. return m.Parent
  695. }
  696. return ""
  697. }
  698. func (m *CreateTransferConfigRequest) GetTransferConfig() *TransferConfig {
  699. if m != nil {
  700. return m.TransferConfig
  701. }
  702. return nil
  703. }
  704. func (m *CreateTransferConfigRequest) GetAuthorizationCode() string {
  705. if m != nil {
  706. return m.AuthorizationCode
  707. }
  708. return ""
  709. }
  710. // A request to update a transfer configuration. To update the user id of the
  711. // transfer configuration, an authorization code needs to be provided.
  712. type UpdateTransferConfigRequest struct {
  713. // Data transfer configuration to create.
  714. TransferConfig *TransferConfig `protobuf:"bytes,1,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"`
  715. // Optional OAuth2 authorization code to use with this transfer configuration.
  716. // If it is provided, the transfer configuration will be associated with the
  717. // authorizing user.
  718. // In order to obtain authorization_code, please make a
  719. // request to
  720. // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
  721. //
  722. // * client_id should be OAuth client_id of BigQuery DTS API for the given
  723. // data source returned by ListDataSources method.
  724. // * data_source_scopes are the scopes returned by ListDataSources method.
  725. // * redirect_uri is an optional parameter. If not specified, then
  726. // authorization code is posted to the opener of authorization flow window.
  727. // Otherwise it will be sent to the redirect uri. A special value of
  728. // urn:ietf:wg:oauth:2.0:oob means that authorization code should be
  729. // returned in the title bar of the browser, with the page text prompting
  730. // the user to copy the code and paste it in the application.
  731. AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"`
  732. // Required list of fields to be updated in this request.
  733. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  734. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  735. XXX_unrecognized []byte `json:"-"`
  736. XXX_sizecache int32 `json:"-"`
  737. }
  738. func (m *UpdateTransferConfigRequest) Reset() { *m = UpdateTransferConfigRequest{} }
  739. func (m *UpdateTransferConfigRequest) String() string { return proto.CompactTextString(m) }
  740. func (*UpdateTransferConfigRequest) ProtoMessage() {}
  741. func (*UpdateTransferConfigRequest) Descriptor() ([]byte, []int) {
  742. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{6}
  743. }
  744. func (m *UpdateTransferConfigRequest) XXX_Unmarshal(b []byte) error {
  745. return xxx_messageInfo_UpdateTransferConfigRequest.Unmarshal(m, b)
  746. }
  747. func (m *UpdateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  748. return xxx_messageInfo_UpdateTransferConfigRequest.Marshal(b, m, deterministic)
  749. }
  750. func (dst *UpdateTransferConfigRequest) XXX_Merge(src proto.Message) {
  751. xxx_messageInfo_UpdateTransferConfigRequest.Merge(dst, src)
  752. }
  753. func (m *UpdateTransferConfigRequest) XXX_Size() int {
  754. return xxx_messageInfo_UpdateTransferConfigRequest.Size(m)
  755. }
  756. func (m *UpdateTransferConfigRequest) XXX_DiscardUnknown() {
  757. xxx_messageInfo_UpdateTransferConfigRequest.DiscardUnknown(m)
  758. }
  759. var xxx_messageInfo_UpdateTransferConfigRequest proto.InternalMessageInfo
  760. func (m *UpdateTransferConfigRequest) GetTransferConfig() *TransferConfig {
  761. if m != nil {
  762. return m.TransferConfig
  763. }
  764. return nil
  765. }
  766. func (m *UpdateTransferConfigRequest) GetAuthorizationCode() string {
  767. if m != nil {
  768. return m.AuthorizationCode
  769. }
  770. return ""
  771. }
  772. func (m *UpdateTransferConfigRequest) GetUpdateMask() *field_mask.FieldMask {
  773. if m != nil {
  774. return m.UpdateMask
  775. }
  776. return nil
  777. }
  778. // A request to get data transfer information.
  779. type GetTransferConfigRequest struct {
  780. // The field will contain name of the resource requested, for example:
  781. // `projects/{project_id}/transferConfigs/{config_id}`
  782. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  783. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  784. XXX_unrecognized []byte `json:"-"`
  785. XXX_sizecache int32 `json:"-"`
  786. }
  787. func (m *GetTransferConfigRequest) Reset() { *m = GetTransferConfigRequest{} }
  788. func (m *GetTransferConfigRequest) String() string { return proto.CompactTextString(m) }
  789. func (*GetTransferConfigRequest) ProtoMessage() {}
  790. func (*GetTransferConfigRequest) Descriptor() ([]byte, []int) {
  791. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{7}
  792. }
  793. func (m *GetTransferConfigRequest) XXX_Unmarshal(b []byte) error {
  794. return xxx_messageInfo_GetTransferConfigRequest.Unmarshal(m, b)
  795. }
  796. func (m *GetTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  797. return xxx_messageInfo_GetTransferConfigRequest.Marshal(b, m, deterministic)
  798. }
  799. func (dst *GetTransferConfigRequest) XXX_Merge(src proto.Message) {
  800. xxx_messageInfo_GetTransferConfigRequest.Merge(dst, src)
  801. }
  802. func (m *GetTransferConfigRequest) XXX_Size() int {
  803. return xxx_messageInfo_GetTransferConfigRequest.Size(m)
  804. }
  805. func (m *GetTransferConfigRequest) XXX_DiscardUnknown() {
  806. xxx_messageInfo_GetTransferConfigRequest.DiscardUnknown(m)
  807. }
  808. var xxx_messageInfo_GetTransferConfigRequest proto.InternalMessageInfo
  809. func (m *GetTransferConfigRequest) GetName() string {
  810. if m != nil {
  811. return m.Name
  812. }
  813. return ""
  814. }
  815. // A request to delete data transfer information. All associated transfer runs
  816. // and log messages will be deleted as well.
  817. type DeleteTransferConfigRequest struct {
  818. // The field will contain name of the resource requested, for example:
  819. // `projects/{project_id}/transferConfigs/{config_id}`
  820. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  821. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  822. XXX_unrecognized []byte `json:"-"`
  823. XXX_sizecache int32 `json:"-"`
  824. }
  825. func (m *DeleteTransferConfigRequest) Reset() { *m = DeleteTransferConfigRequest{} }
  826. func (m *DeleteTransferConfigRequest) String() string { return proto.CompactTextString(m) }
  827. func (*DeleteTransferConfigRequest) ProtoMessage() {}
  828. func (*DeleteTransferConfigRequest) Descriptor() ([]byte, []int) {
  829. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{8}
  830. }
  831. func (m *DeleteTransferConfigRequest) XXX_Unmarshal(b []byte) error {
  832. return xxx_messageInfo_DeleteTransferConfigRequest.Unmarshal(m, b)
  833. }
  834. func (m *DeleteTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  835. return xxx_messageInfo_DeleteTransferConfigRequest.Marshal(b, m, deterministic)
  836. }
  837. func (dst *DeleteTransferConfigRequest) XXX_Merge(src proto.Message) {
  838. xxx_messageInfo_DeleteTransferConfigRequest.Merge(dst, src)
  839. }
  840. func (m *DeleteTransferConfigRequest) XXX_Size() int {
  841. return xxx_messageInfo_DeleteTransferConfigRequest.Size(m)
  842. }
  843. func (m *DeleteTransferConfigRequest) XXX_DiscardUnknown() {
  844. xxx_messageInfo_DeleteTransferConfigRequest.DiscardUnknown(m)
  845. }
  846. var xxx_messageInfo_DeleteTransferConfigRequest proto.InternalMessageInfo
  847. func (m *DeleteTransferConfigRequest) GetName() string {
  848. if m != nil {
  849. return m.Name
  850. }
  851. return ""
  852. }
  853. // A request to get data transfer run information.
  854. type GetTransferRunRequest struct {
  855. // The field will contain name of the resource requested, for example:
  856. // `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
  857. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  858. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  859. XXX_unrecognized []byte `json:"-"`
  860. XXX_sizecache int32 `json:"-"`
  861. }
  862. func (m *GetTransferRunRequest) Reset() { *m = GetTransferRunRequest{} }
  863. func (m *GetTransferRunRequest) String() string { return proto.CompactTextString(m) }
  864. func (*GetTransferRunRequest) ProtoMessage() {}
  865. func (*GetTransferRunRequest) Descriptor() ([]byte, []int) {
  866. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{9}
  867. }
  868. func (m *GetTransferRunRequest) XXX_Unmarshal(b []byte) error {
  869. return xxx_messageInfo_GetTransferRunRequest.Unmarshal(m, b)
  870. }
  871. func (m *GetTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  872. return xxx_messageInfo_GetTransferRunRequest.Marshal(b, m, deterministic)
  873. }
  874. func (dst *GetTransferRunRequest) XXX_Merge(src proto.Message) {
  875. xxx_messageInfo_GetTransferRunRequest.Merge(dst, src)
  876. }
  877. func (m *GetTransferRunRequest) XXX_Size() int {
  878. return xxx_messageInfo_GetTransferRunRequest.Size(m)
  879. }
  880. func (m *GetTransferRunRequest) XXX_DiscardUnknown() {
  881. xxx_messageInfo_GetTransferRunRequest.DiscardUnknown(m)
  882. }
  883. var xxx_messageInfo_GetTransferRunRequest proto.InternalMessageInfo
  884. func (m *GetTransferRunRequest) GetName() string {
  885. if m != nil {
  886. return m.Name
  887. }
  888. return ""
  889. }
  890. // A request to delete data transfer run information.
  891. type DeleteTransferRunRequest struct {
  892. // The field will contain name of the resource requested, for example:
  893. // `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
  894. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  895. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  896. XXX_unrecognized []byte `json:"-"`
  897. XXX_sizecache int32 `json:"-"`
  898. }
  899. func (m *DeleteTransferRunRequest) Reset() { *m = DeleteTransferRunRequest{} }
  900. func (m *DeleteTransferRunRequest) String() string { return proto.CompactTextString(m) }
  901. func (*DeleteTransferRunRequest) ProtoMessage() {}
  902. func (*DeleteTransferRunRequest) Descriptor() ([]byte, []int) {
  903. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{10}
  904. }
  905. func (m *DeleteTransferRunRequest) XXX_Unmarshal(b []byte) error {
  906. return xxx_messageInfo_DeleteTransferRunRequest.Unmarshal(m, b)
  907. }
  908. func (m *DeleteTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  909. return xxx_messageInfo_DeleteTransferRunRequest.Marshal(b, m, deterministic)
  910. }
  911. func (dst *DeleteTransferRunRequest) XXX_Merge(src proto.Message) {
  912. xxx_messageInfo_DeleteTransferRunRequest.Merge(dst, src)
  913. }
  914. func (m *DeleteTransferRunRequest) XXX_Size() int {
  915. return xxx_messageInfo_DeleteTransferRunRequest.Size(m)
  916. }
  917. func (m *DeleteTransferRunRequest) XXX_DiscardUnknown() {
  918. xxx_messageInfo_DeleteTransferRunRequest.DiscardUnknown(m)
  919. }
  920. var xxx_messageInfo_DeleteTransferRunRequest proto.InternalMessageInfo
  921. func (m *DeleteTransferRunRequest) GetName() string {
  922. if m != nil {
  923. return m.Name
  924. }
  925. return ""
  926. }
  927. // A request to list data transfers configured for a BigQuery project.
  928. type ListTransferConfigsRequest struct {
  929. // The BigQuery project id for which data sources
  930. // should be returned: `projects/{project_id}`.
  931. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  932. // When specified, only configurations of requested data sources are returned.
  933. DataSourceIds []string `protobuf:"bytes,2,rep,name=data_source_ids,json=dataSourceIds,proto3" json:"data_source_ids,omitempty"`
  934. // Pagination token, which can be used to request a specific page
  935. // of `ListTransfersRequest` list results. For multiple-page
  936. // results, `ListTransfersResponse` outputs
  937. // a `next_page` token, which can be used as the
  938. // `page_token` value to request the next page of list results.
  939. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  940. // Page size. The default page size is the maximum value of 1000 results.
  941. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  942. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  943. XXX_unrecognized []byte `json:"-"`
  944. XXX_sizecache int32 `json:"-"`
  945. }
  946. func (m *ListTransferConfigsRequest) Reset() { *m = ListTransferConfigsRequest{} }
  947. func (m *ListTransferConfigsRequest) String() string { return proto.CompactTextString(m) }
  948. func (*ListTransferConfigsRequest) ProtoMessage() {}
  949. func (*ListTransferConfigsRequest) Descriptor() ([]byte, []int) {
  950. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{11}
  951. }
  952. func (m *ListTransferConfigsRequest) XXX_Unmarshal(b []byte) error {
  953. return xxx_messageInfo_ListTransferConfigsRequest.Unmarshal(m, b)
  954. }
  955. func (m *ListTransferConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  956. return xxx_messageInfo_ListTransferConfigsRequest.Marshal(b, m, deterministic)
  957. }
  958. func (dst *ListTransferConfigsRequest) XXX_Merge(src proto.Message) {
  959. xxx_messageInfo_ListTransferConfigsRequest.Merge(dst, src)
  960. }
  961. func (m *ListTransferConfigsRequest) XXX_Size() int {
  962. return xxx_messageInfo_ListTransferConfigsRequest.Size(m)
  963. }
  964. func (m *ListTransferConfigsRequest) XXX_DiscardUnknown() {
  965. xxx_messageInfo_ListTransferConfigsRequest.DiscardUnknown(m)
  966. }
  967. var xxx_messageInfo_ListTransferConfigsRequest proto.InternalMessageInfo
  968. func (m *ListTransferConfigsRequest) GetParent() string {
  969. if m != nil {
  970. return m.Parent
  971. }
  972. return ""
  973. }
  974. func (m *ListTransferConfigsRequest) GetDataSourceIds() []string {
  975. if m != nil {
  976. return m.DataSourceIds
  977. }
  978. return nil
  979. }
  980. func (m *ListTransferConfigsRequest) GetPageToken() string {
  981. if m != nil {
  982. return m.PageToken
  983. }
  984. return ""
  985. }
  986. func (m *ListTransferConfigsRequest) GetPageSize() int32 {
  987. if m != nil {
  988. return m.PageSize
  989. }
  990. return 0
  991. }
  992. // The returned list of pipelines in the project.
  993. type ListTransferConfigsResponse struct {
  994. // Output only. The stored pipeline transfer configurations.
  995. TransferConfigs []*TransferConfig `protobuf:"bytes,1,rep,name=transfer_configs,json=transferConfigs,proto3" json:"transfer_configs,omitempty"`
  996. // Output only. The next-pagination token. For multiple-page list results,
  997. // this token can be used as the
  998. // `ListTransferConfigsRequest.page_token`
  999. // to request the next page of list results.
  1000. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1001. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1002. XXX_unrecognized []byte `json:"-"`
  1003. XXX_sizecache int32 `json:"-"`
  1004. }
  1005. func (m *ListTransferConfigsResponse) Reset() { *m = ListTransferConfigsResponse{} }
  1006. func (m *ListTransferConfigsResponse) String() string { return proto.CompactTextString(m) }
  1007. func (*ListTransferConfigsResponse) ProtoMessage() {}
  1008. func (*ListTransferConfigsResponse) Descriptor() ([]byte, []int) {
  1009. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{12}
  1010. }
  1011. func (m *ListTransferConfigsResponse) XXX_Unmarshal(b []byte) error {
  1012. return xxx_messageInfo_ListTransferConfigsResponse.Unmarshal(m, b)
  1013. }
  1014. func (m *ListTransferConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1015. return xxx_messageInfo_ListTransferConfigsResponse.Marshal(b, m, deterministic)
  1016. }
  1017. func (dst *ListTransferConfigsResponse) XXX_Merge(src proto.Message) {
  1018. xxx_messageInfo_ListTransferConfigsResponse.Merge(dst, src)
  1019. }
  1020. func (m *ListTransferConfigsResponse) XXX_Size() int {
  1021. return xxx_messageInfo_ListTransferConfigsResponse.Size(m)
  1022. }
  1023. func (m *ListTransferConfigsResponse) XXX_DiscardUnknown() {
  1024. xxx_messageInfo_ListTransferConfigsResponse.DiscardUnknown(m)
  1025. }
  1026. var xxx_messageInfo_ListTransferConfigsResponse proto.InternalMessageInfo
  1027. func (m *ListTransferConfigsResponse) GetTransferConfigs() []*TransferConfig {
  1028. if m != nil {
  1029. return m.TransferConfigs
  1030. }
  1031. return nil
  1032. }
  1033. func (m *ListTransferConfigsResponse) GetNextPageToken() string {
  1034. if m != nil {
  1035. return m.NextPageToken
  1036. }
  1037. return ""
  1038. }
  1039. // A request to list data transfer runs. UI can use this method to show/filter
  1040. // specific data transfer runs. The data source can use this method to request
  1041. // all scheduled transfer runs.
  1042. type ListTransferRunsRequest struct {
  1043. // Name of transfer configuration for which transfer runs should be retrieved.
  1044. // Format of transfer configuration resource name is:
  1045. // `projects/{project_id}/transferConfigs/{config_id}`.
  1046. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1047. // When specified, only transfer runs with requested states are returned.
  1048. States []TransferState `protobuf:"varint,2,rep,packed,name=states,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"states,omitempty"`
  1049. // Pagination token, which can be used to request a specific page
  1050. // of `ListTransferRunsRequest` list results. For multiple-page
  1051. // results, `ListTransferRunsResponse` outputs
  1052. // a `next_page` token, which can be used as the
  1053. // `page_token` value to request the next page of list results.
  1054. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  1055. // Page size. The default page size is the maximum value of 1000 results.
  1056. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1057. // Indicates how run attempts are to be pulled.
  1058. RunAttempt ListTransferRunsRequest_RunAttempt `protobuf:"varint,5,opt,name=run_attempt,json=runAttempt,proto3,enum=google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest_RunAttempt" json:"run_attempt,omitempty"`
  1059. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1060. XXX_unrecognized []byte `json:"-"`
  1061. XXX_sizecache int32 `json:"-"`
  1062. }
  1063. func (m *ListTransferRunsRequest) Reset() { *m = ListTransferRunsRequest{} }
  1064. func (m *ListTransferRunsRequest) String() string { return proto.CompactTextString(m) }
  1065. func (*ListTransferRunsRequest) ProtoMessage() {}
  1066. func (*ListTransferRunsRequest) Descriptor() ([]byte, []int) {
  1067. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{13}
  1068. }
  1069. func (m *ListTransferRunsRequest) XXX_Unmarshal(b []byte) error {
  1070. return xxx_messageInfo_ListTransferRunsRequest.Unmarshal(m, b)
  1071. }
  1072. func (m *ListTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1073. return xxx_messageInfo_ListTransferRunsRequest.Marshal(b, m, deterministic)
  1074. }
  1075. func (dst *ListTransferRunsRequest) XXX_Merge(src proto.Message) {
  1076. xxx_messageInfo_ListTransferRunsRequest.Merge(dst, src)
  1077. }
  1078. func (m *ListTransferRunsRequest) XXX_Size() int {
  1079. return xxx_messageInfo_ListTransferRunsRequest.Size(m)
  1080. }
  1081. func (m *ListTransferRunsRequest) XXX_DiscardUnknown() {
  1082. xxx_messageInfo_ListTransferRunsRequest.DiscardUnknown(m)
  1083. }
  1084. var xxx_messageInfo_ListTransferRunsRequest proto.InternalMessageInfo
  1085. func (m *ListTransferRunsRequest) GetParent() string {
  1086. if m != nil {
  1087. return m.Parent
  1088. }
  1089. return ""
  1090. }
  1091. func (m *ListTransferRunsRequest) GetStates() []TransferState {
  1092. if m != nil {
  1093. return m.States
  1094. }
  1095. return nil
  1096. }
  1097. func (m *ListTransferRunsRequest) GetPageToken() string {
  1098. if m != nil {
  1099. return m.PageToken
  1100. }
  1101. return ""
  1102. }
  1103. func (m *ListTransferRunsRequest) GetPageSize() int32 {
  1104. if m != nil {
  1105. return m.PageSize
  1106. }
  1107. return 0
  1108. }
  1109. func (m *ListTransferRunsRequest) GetRunAttempt() ListTransferRunsRequest_RunAttempt {
  1110. if m != nil {
  1111. return m.RunAttempt
  1112. }
  1113. return ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED
  1114. }
  1115. // The returned list of pipelines in the project.
  1116. type ListTransferRunsResponse struct {
  1117. // Output only. The stored pipeline transfer runs.
  1118. TransferRuns []*TransferRun `protobuf:"bytes,1,rep,name=transfer_runs,json=transferRuns,proto3" json:"transfer_runs,omitempty"`
  1119. // Output only. The next-pagination token. For multiple-page list results,
  1120. // this token can be used as the
  1121. // `ListTransferRunsRequest.page_token`
  1122. // to request the next page of list results.
  1123. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1124. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1125. XXX_unrecognized []byte `json:"-"`
  1126. XXX_sizecache int32 `json:"-"`
  1127. }
  1128. func (m *ListTransferRunsResponse) Reset() { *m = ListTransferRunsResponse{} }
  1129. func (m *ListTransferRunsResponse) String() string { return proto.CompactTextString(m) }
  1130. func (*ListTransferRunsResponse) ProtoMessage() {}
  1131. func (*ListTransferRunsResponse) Descriptor() ([]byte, []int) {
  1132. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{14}
  1133. }
  1134. func (m *ListTransferRunsResponse) XXX_Unmarshal(b []byte) error {
  1135. return xxx_messageInfo_ListTransferRunsResponse.Unmarshal(m, b)
  1136. }
  1137. func (m *ListTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1138. return xxx_messageInfo_ListTransferRunsResponse.Marshal(b, m, deterministic)
  1139. }
  1140. func (dst *ListTransferRunsResponse) XXX_Merge(src proto.Message) {
  1141. xxx_messageInfo_ListTransferRunsResponse.Merge(dst, src)
  1142. }
  1143. func (m *ListTransferRunsResponse) XXX_Size() int {
  1144. return xxx_messageInfo_ListTransferRunsResponse.Size(m)
  1145. }
  1146. func (m *ListTransferRunsResponse) XXX_DiscardUnknown() {
  1147. xxx_messageInfo_ListTransferRunsResponse.DiscardUnknown(m)
  1148. }
  1149. var xxx_messageInfo_ListTransferRunsResponse proto.InternalMessageInfo
  1150. func (m *ListTransferRunsResponse) GetTransferRuns() []*TransferRun {
  1151. if m != nil {
  1152. return m.TransferRuns
  1153. }
  1154. return nil
  1155. }
  1156. func (m *ListTransferRunsResponse) GetNextPageToken() string {
  1157. if m != nil {
  1158. return m.NextPageToken
  1159. }
  1160. return ""
  1161. }
  1162. // A request to get user facing log messages associated with data transfer run.
  1163. type ListTransferLogsRequest struct {
  1164. // Transfer run name in the form:
  1165. // `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.
  1166. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1167. // Pagination token, which can be used to request a specific page
  1168. // of `ListTransferLogsRequest` list results. For multiple-page
  1169. // results, `ListTransferLogsResponse` outputs
  1170. // a `next_page` token, which can be used as the
  1171. // `page_token` value to request the next page of list results.
  1172. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  1173. // Page size. The default page size is the maximum value of 1000 results.
  1174. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1175. // Message types to return. If not populated - INFO, WARNING and ERROR
  1176. // messages are returned.
  1177. MessageTypes []TransferMessage_MessageSeverity `protobuf:"varint,6,rep,packed,name=message_types,json=messageTypes,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity" json:"message_types,omitempty"`
  1178. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1179. XXX_unrecognized []byte `json:"-"`
  1180. XXX_sizecache int32 `json:"-"`
  1181. }
  1182. func (m *ListTransferLogsRequest) Reset() { *m = ListTransferLogsRequest{} }
  1183. func (m *ListTransferLogsRequest) String() string { return proto.CompactTextString(m) }
  1184. func (*ListTransferLogsRequest) ProtoMessage() {}
  1185. func (*ListTransferLogsRequest) Descriptor() ([]byte, []int) {
  1186. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{15}
  1187. }
  1188. func (m *ListTransferLogsRequest) XXX_Unmarshal(b []byte) error {
  1189. return xxx_messageInfo_ListTransferLogsRequest.Unmarshal(m, b)
  1190. }
  1191. func (m *ListTransferLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1192. return xxx_messageInfo_ListTransferLogsRequest.Marshal(b, m, deterministic)
  1193. }
  1194. func (dst *ListTransferLogsRequest) XXX_Merge(src proto.Message) {
  1195. xxx_messageInfo_ListTransferLogsRequest.Merge(dst, src)
  1196. }
  1197. func (m *ListTransferLogsRequest) XXX_Size() int {
  1198. return xxx_messageInfo_ListTransferLogsRequest.Size(m)
  1199. }
  1200. func (m *ListTransferLogsRequest) XXX_DiscardUnknown() {
  1201. xxx_messageInfo_ListTransferLogsRequest.DiscardUnknown(m)
  1202. }
  1203. var xxx_messageInfo_ListTransferLogsRequest proto.InternalMessageInfo
  1204. func (m *ListTransferLogsRequest) GetParent() string {
  1205. if m != nil {
  1206. return m.Parent
  1207. }
  1208. return ""
  1209. }
  1210. func (m *ListTransferLogsRequest) GetPageToken() string {
  1211. if m != nil {
  1212. return m.PageToken
  1213. }
  1214. return ""
  1215. }
  1216. func (m *ListTransferLogsRequest) GetPageSize() int32 {
  1217. if m != nil {
  1218. return m.PageSize
  1219. }
  1220. return 0
  1221. }
  1222. func (m *ListTransferLogsRequest) GetMessageTypes() []TransferMessage_MessageSeverity {
  1223. if m != nil {
  1224. return m.MessageTypes
  1225. }
  1226. return nil
  1227. }
  1228. // The returned list transfer run messages.
  1229. type ListTransferLogsResponse struct {
  1230. // Output only. The stored pipeline transfer messages.
  1231. TransferMessages []*TransferMessage `protobuf:"bytes,1,rep,name=transfer_messages,json=transferMessages,proto3" json:"transfer_messages,omitempty"`
  1232. // Output only. The next-pagination token. For multiple-page list results,
  1233. // this token can be used as the
  1234. // `GetTransferRunLogRequest.page_token`
  1235. // to request the next page of list results.
  1236. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1237. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1238. XXX_unrecognized []byte `json:"-"`
  1239. XXX_sizecache int32 `json:"-"`
  1240. }
  1241. func (m *ListTransferLogsResponse) Reset() { *m = ListTransferLogsResponse{} }
  1242. func (m *ListTransferLogsResponse) String() string { return proto.CompactTextString(m) }
  1243. func (*ListTransferLogsResponse) ProtoMessage() {}
  1244. func (*ListTransferLogsResponse) Descriptor() ([]byte, []int) {
  1245. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{16}
  1246. }
  1247. func (m *ListTransferLogsResponse) XXX_Unmarshal(b []byte) error {
  1248. return xxx_messageInfo_ListTransferLogsResponse.Unmarshal(m, b)
  1249. }
  1250. func (m *ListTransferLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1251. return xxx_messageInfo_ListTransferLogsResponse.Marshal(b, m, deterministic)
  1252. }
  1253. func (dst *ListTransferLogsResponse) XXX_Merge(src proto.Message) {
  1254. xxx_messageInfo_ListTransferLogsResponse.Merge(dst, src)
  1255. }
  1256. func (m *ListTransferLogsResponse) XXX_Size() int {
  1257. return xxx_messageInfo_ListTransferLogsResponse.Size(m)
  1258. }
  1259. func (m *ListTransferLogsResponse) XXX_DiscardUnknown() {
  1260. xxx_messageInfo_ListTransferLogsResponse.DiscardUnknown(m)
  1261. }
  1262. var xxx_messageInfo_ListTransferLogsResponse proto.InternalMessageInfo
  1263. func (m *ListTransferLogsResponse) GetTransferMessages() []*TransferMessage {
  1264. if m != nil {
  1265. return m.TransferMessages
  1266. }
  1267. return nil
  1268. }
  1269. func (m *ListTransferLogsResponse) GetNextPageToken() string {
  1270. if m != nil {
  1271. return m.NextPageToken
  1272. }
  1273. return ""
  1274. }
  1275. // A request to determine whether the user has valid credentials. This method
  1276. // is used to limit the number of OAuth popups in the user interface. The
  1277. // user id is inferred from the API call context.
  1278. // If the data source has the Google+ authorization type, this method
  1279. // returns false, as it cannot be determined whether the credentials are
  1280. // already valid merely based on the user id.
  1281. type CheckValidCredsRequest struct {
  1282. // The data source in the form:
  1283. // `projects/{project_id}/dataSources/{data_source_id}`
  1284. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1285. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1286. XXX_unrecognized []byte `json:"-"`
  1287. XXX_sizecache int32 `json:"-"`
  1288. }
  1289. func (m *CheckValidCredsRequest) Reset() { *m = CheckValidCredsRequest{} }
  1290. func (m *CheckValidCredsRequest) String() string { return proto.CompactTextString(m) }
  1291. func (*CheckValidCredsRequest) ProtoMessage() {}
  1292. func (*CheckValidCredsRequest) Descriptor() ([]byte, []int) {
  1293. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{17}
  1294. }
  1295. func (m *CheckValidCredsRequest) XXX_Unmarshal(b []byte) error {
  1296. return xxx_messageInfo_CheckValidCredsRequest.Unmarshal(m, b)
  1297. }
  1298. func (m *CheckValidCredsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1299. return xxx_messageInfo_CheckValidCredsRequest.Marshal(b, m, deterministic)
  1300. }
  1301. func (dst *CheckValidCredsRequest) XXX_Merge(src proto.Message) {
  1302. xxx_messageInfo_CheckValidCredsRequest.Merge(dst, src)
  1303. }
  1304. func (m *CheckValidCredsRequest) XXX_Size() int {
  1305. return xxx_messageInfo_CheckValidCredsRequest.Size(m)
  1306. }
  1307. func (m *CheckValidCredsRequest) XXX_DiscardUnknown() {
  1308. xxx_messageInfo_CheckValidCredsRequest.DiscardUnknown(m)
  1309. }
  1310. var xxx_messageInfo_CheckValidCredsRequest proto.InternalMessageInfo
  1311. func (m *CheckValidCredsRequest) GetName() string {
  1312. if m != nil {
  1313. return m.Name
  1314. }
  1315. return ""
  1316. }
  1317. // A response indicating whether the credentials exist and are valid.
  1318. type CheckValidCredsResponse struct {
  1319. // If set to `true`, the credentials exist and are valid.
  1320. HasValidCreds bool `protobuf:"varint,1,opt,name=has_valid_creds,json=hasValidCreds,proto3" json:"has_valid_creds,omitempty"`
  1321. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1322. XXX_unrecognized []byte `json:"-"`
  1323. XXX_sizecache int32 `json:"-"`
  1324. }
  1325. func (m *CheckValidCredsResponse) Reset() { *m = CheckValidCredsResponse{} }
  1326. func (m *CheckValidCredsResponse) String() string { return proto.CompactTextString(m) }
  1327. func (*CheckValidCredsResponse) ProtoMessage() {}
  1328. func (*CheckValidCredsResponse) Descriptor() ([]byte, []int) {
  1329. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{18}
  1330. }
  1331. func (m *CheckValidCredsResponse) XXX_Unmarshal(b []byte) error {
  1332. return xxx_messageInfo_CheckValidCredsResponse.Unmarshal(m, b)
  1333. }
  1334. func (m *CheckValidCredsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1335. return xxx_messageInfo_CheckValidCredsResponse.Marshal(b, m, deterministic)
  1336. }
  1337. func (dst *CheckValidCredsResponse) XXX_Merge(src proto.Message) {
  1338. xxx_messageInfo_CheckValidCredsResponse.Merge(dst, src)
  1339. }
  1340. func (m *CheckValidCredsResponse) XXX_Size() int {
  1341. return xxx_messageInfo_CheckValidCredsResponse.Size(m)
  1342. }
  1343. func (m *CheckValidCredsResponse) XXX_DiscardUnknown() {
  1344. xxx_messageInfo_CheckValidCredsResponse.DiscardUnknown(m)
  1345. }
  1346. var xxx_messageInfo_CheckValidCredsResponse proto.InternalMessageInfo
  1347. func (m *CheckValidCredsResponse) GetHasValidCreds() bool {
  1348. if m != nil {
  1349. return m.HasValidCreds
  1350. }
  1351. return false
  1352. }
  1353. // A request to schedule transfer runs for a time range.
  1354. type ScheduleTransferRunsRequest struct {
  1355. // Transfer configuration name in the form:
  1356. // `projects/{project_id}/transferConfigs/{config_id}`.
  1357. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1358. // Start time of the range of transfer runs. For example,
  1359. // `"2017-05-25T00:00:00+00:00"`.
  1360. StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  1361. // End time of the range of transfer runs. For example,
  1362. // `"2017-05-30T00:00:00+00:00"`.
  1363. EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  1364. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1365. XXX_unrecognized []byte `json:"-"`
  1366. XXX_sizecache int32 `json:"-"`
  1367. }
  1368. func (m *ScheduleTransferRunsRequest) Reset() { *m = ScheduleTransferRunsRequest{} }
  1369. func (m *ScheduleTransferRunsRequest) String() string { return proto.CompactTextString(m) }
  1370. func (*ScheduleTransferRunsRequest) ProtoMessage() {}
  1371. func (*ScheduleTransferRunsRequest) Descriptor() ([]byte, []int) {
  1372. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{19}
  1373. }
  1374. func (m *ScheduleTransferRunsRequest) XXX_Unmarshal(b []byte) error {
  1375. return xxx_messageInfo_ScheduleTransferRunsRequest.Unmarshal(m, b)
  1376. }
  1377. func (m *ScheduleTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1378. return xxx_messageInfo_ScheduleTransferRunsRequest.Marshal(b, m, deterministic)
  1379. }
  1380. func (dst *ScheduleTransferRunsRequest) XXX_Merge(src proto.Message) {
  1381. xxx_messageInfo_ScheduleTransferRunsRequest.Merge(dst, src)
  1382. }
  1383. func (m *ScheduleTransferRunsRequest) XXX_Size() int {
  1384. return xxx_messageInfo_ScheduleTransferRunsRequest.Size(m)
  1385. }
  1386. func (m *ScheduleTransferRunsRequest) XXX_DiscardUnknown() {
  1387. xxx_messageInfo_ScheduleTransferRunsRequest.DiscardUnknown(m)
  1388. }
  1389. var xxx_messageInfo_ScheduleTransferRunsRequest proto.InternalMessageInfo
  1390. func (m *ScheduleTransferRunsRequest) GetParent() string {
  1391. if m != nil {
  1392. return m.Parent
  1393. }
  1394. return ""
  1395. }
  1396. func (m *ScheduleTransferRunsRequest) GetStartTime() *timestamp.Timestamp {
  1397. if m != nil {
  1398. return m.StartTime
  1399. }
  1400. return nil
  1401. }
  1402. func (m *ScheduleTransferRunsRequest) GetEndTime() *timestamp.Timestamp {
  1403. if m != nil {
  1404. return m.EndTime
  1405. }
  1406. return nil
  1407. }
  1408. // A response to schedule transfer runs for a time range.
  1409. type ScheduleTransferRunsResponse struct {
  1410. // The transfer runs that were scheduled.
  1411. Runs []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
  1412. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1413. XXX_unrecognized []byte `json:"-"`
  1414. XXX_sizecache int32 `json:"-"`
  1415. }
  1416. func (m *ScheduleTransferRunsResponse) Reset() { *m = ScheduleTransferRunsResponse{} }
  1417. func (m *ScheduleTransferRunsResponse) String() string { return proto.CompactTextString(m) }
  1418. func (*ScheduleTransferRunsResponse) ProtoMessage() {}
  1419. func (*ScheduleTransferRunsResponse) Descriptor() ([]byte, []int) {
  1420. return fileDescriptor_datatransfer_bb802f2006cd9a20, []int{20}
  1421. }
  1422. func (m *ScheduleTransferRunsResponse) XXX_Unmarshal(b []byte) error {
  1423. return xxx_messageInfo_ScheduleTransferRunsResponse.Unmarshal(m, b)
  1424. }
  1425. func (m *ScheduleTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1426. return xxx_messageInfo_ScheduleTransferRunsResponse.Marshal(b, m, deterministic)
  1427. }
  1428. func (dst *ScheduleTransferRunsResponse) XXX_Merge(src proto.Message) {
  1429. xxx_messageInfo_ScheduleTransferRunsResponse.Merge(dst, src)
  1430. }
  1431. func (m *ScheduleTransferRunsResponse) XXX_Size() int {
  1432. return xxx_messageInfo_ScheduleTransferRunsResponse.Size(m)
  1433. }
  1434. func (m *ScheduleTransferRunsResponse) XXX_DiscardUnknown() {
  1435. xxx_messageInfo_ScheduleTransferRunsResponse.DiscardUnknown(m)
  1436. }
  1437. var xxx_messageInfo_ScheduleTransferRunsResponse proto.InternalMessageInfo
  1438. func (m *ScheduleTransferRunsResponse) GetRuns() []*TransferRun {
  1439. if m != nil {
  1440. return m.Runs
  1441. }
  1442. return nil
  1443. }
  1444. func init() {
  1445. proto.RegisterType((*DataSourceParameter)(nil), "google.cloud.bigquery.datatransfer.v1.DataSourceParameter")
  1446. proto.RegisterType((*DataSource)(nil), "google.cloud.bigquery.datatransfer.v1.DataSource")
  1447. proto.RegisterType((*GetDataSourceRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest")
  1448. proto.RegisterType((*ListDataSourcesRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest")
  1449. proto.RegisterType((*ListDataSourcesResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse")
  1450. proto.RegisterType((*CreateTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest")
  1451. proto.RegisterType((*UpdateTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest")
  1452. proto.RegisterType((*GetTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest")
  1453. proto.RegisterType((*DeleteTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest")
  1454. proto.RegisterType((*GetTransferRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest")
  1455. proto.RegisterType((*DeleteTransferRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest")
  1456. proto.RegisterType((*ListTransferConfigsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest")
  1457. proto.RegisterType((*ListTransferConfigsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse")
  1458. proto.RegisterType((*ListTransferRunsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest")
  1459. proto.RegisterType((*ListTransferRunsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse")
  1460. proto.RegisterType((*ListTransferLogsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest")
  1461. proto.RegisterType((*ListTransferLogsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse")
  1462. proto.RegisterType((*CheckValidCredsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest")
  1463. proto.RegisterType((*CheckValidCredsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse")
  1464. proto.RegisterType((*ScheduleTransferRunsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest")
  1465. proto.RegisterType((*ScheduleTransferRunsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse")
  1466. proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSourceParameter_Type", DataSourceParameter_Type_name, DataSourceParameter_Type_value)
  1467. proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSource_AuthorizationType", DataSource_AuthorizationType_name, DataSource_AuthorizationType_value)
  1468. proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSource_DataRefreshType", DataSource_DataRefreshType_name, DataSource_DataRefreshType_value)
  1469. proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest_RunAttempt", ListTransferRunsRequest_RunAttempt_name, ListTransferRunsRequest_RunAttempt_value)
  1470. }
  1471. // Reference imports to suppress errors if they are not otherwise used.
  1472. var _ context.Context
  1473. var _ grpc.ClientConn
  1474. // This is a compile-time assertion to ensure that this generated file
  1475. // is compatible with the grpc package it is being compiled against.
  1476. const _ = grpc.SupportPackageIsVersion4
  1477. // DataTransferServiceClient is the client API for DataTransferService service.
  1478. //
  1479. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1480. type DataTransferServiceClient interface {
  1481. // Retrieves a supported data source and returns its settings,
  1482. // which can be used for UI rendering.
  1483. GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
  1484. // Lists supported data sources and returns their settings,
  1485. // which can be used for UI rendering.
  1486. ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error)
  1487. // Creates a new data transfer configuration.
  1488. CreateTransferConfig(ctx context.Context, in *CreateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
  1489. // Updates a data transfer configuration.
  1490. // All fields must be set, even if they are not updated.
  1491. UpdateTransferConfig(ctx context.Context, in *UpdateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
  1492. // Deletes a data transfer configuration,
  1493. // including any associated transfer runs and logs.
  1494. DeleteTransferConfig(ctx context.Context, in *DeleteTransferConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  1495. // Returns information about a data transfer config.
  1496. GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
  1497. // Returns information about all data transfers in the project.
  1498. ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error)
  1499. // Creates transfer runs for a time range [start_time, end_time].
  1500. // For each date - or whatever granularity the data source supports - in the
  1501. // range, one transfer run is created.
  1502. // Note that runs are created per UTC time in the time range.
  1503. ScheduleTransferRuns(ctx context.Context, in *ScheduleTransferRunsRequest, opts ...grpc.CallOption) (*ScheduleTransferRunsResponse, error)
  1504. // Returns information about the particular transfer run.
  1505. GetTransferRun(ctx context.Context, in *GetTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error)
  1506. // Deletes the specified transfer run.
  1507. DeleteTransferRun(ctx context.Context, in *DeleteTransferRunRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  1508. // Returns information about running and completed jobs.
  1509. ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error)
  1510. // Returns user facing log messages for the data transfer run.
  1511. ListTransferLogs(ctx context.Context, in *ListTransferLogsRequest, opts ...grpc.CallOption) (*ListTransferLogsResponse, error)
  1512. // Returns true if valid credentials exist for the given data source and
  1513. // requesting user.
  1514. // Some data sources doesn't support service account, so we need to talk to
  1515. // them on behalf of the end user. This API just checks whether we have OAuth
  1516. // token for the particular user, which is a pre-requisite before user can
  1517. // create a transfer config.
  1518. CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, error)
  1519. }
  1520. type dataTransferServiceClient struct {
  1521. cc *grpc.ClientConn
  1522. }
  1523. func NewDataTransferServiceClient(cc *grpc.ClientConn) DataTransferServiceClient {
  1524. return &dataTransferServiceClient{cc}
  1525. }
  1526. func (c *dataTransferServiceClient) GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error) {
  1527. out := new(DataSource)
  1528. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetDataSource", in, out, opts...)
  1529. if err != nil {
  1530. return nil, err
  1531. }
  1532. return out, nil
  1533. }
  1534. func (c *dataTransferServiceClient) ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error) {
  1535. out := new(ListDataSourcesResponse)
  1536. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListDataSources", in, out, opts...)
  1537. if err != nil {
  1538. return nil, err
  1539. }
  1540. return out, nil
  1541. }
  1542. func (c *dataTransferServiceClient) CreateTransferConfig(ctx context.Context, in *CreateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) {
  1543. out := new(TransferConfig)
  1544. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CreateTransferConfig", in, out, opts...)
  1545. if err != nil {
  1546. return nil, err
  1547. }
  1548. return out, nil
  1549. }
  1550. func (c *dataTransferServiceClient) UpdateTransferConfig(ctx context.Context, in *UpdateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) {
  1551. out := new(TransferConfig)
  1552. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/UpdateTransferConfig", in, out, opts...)
  1553. if err != nil {
  1554. return nil, err
  1555. }
  1556. return out, nil
  1557. }
  1558. func (c *dataTransferServiceClient) DeleteTransferConfig(ctx context.Context, in *DeleteTransferConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  1559. out := new(empty.Empty)
  1560. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferConfig", in, out, opts...)
  1561. if err != nil {
  1562. return nil, err
  1563. }
  1564. return out, nil
  1565. }
  1566. func (c *dataTransferServiceClient) GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) {
  1567. out := new(TransferConfig)
  1568. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferConfig", in, out, opts...)
  1569. if err != nil {
  1570. return nil, err
  1571. }
  1572. return out, nil
  1573. }
  1574. func (c *dataTransferServiceClient) ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error) {
  1575. out := new(ListTransferConfigsResponse)
  1576. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferConfigs", in, out, opts...)
  1577. if err != nil {
  1578. return nil, err
  1579. }
  1580. return out, nil
  1581. }
  1582. func (c *dataTransferServiceClient) ScheduleTransferRuns(ctx context.Context, in *ScheduleTransferRunsRequest, opts ...grpc.CallOption) (*ScheduleTransferRunsResponse, error) {
  1583. out := new(ScheduleTransferRunsResponse)
  1584. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ScheduleTransferRuns", in, out, opts...)
  1585. if err != nil {
  1586. return nil, err
  1587. }
  1588. return out, nil
  1589. }
  1590. func (c *dataTransferServiceClient) GetTransferRun(ctx context.Context, in *GetTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error) {
  1591. out := new(TransferRun)
  1592. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferRun", in, out, opts...)
  1593. if err != nil {
  1594. return nil, err
  1595. }
  1596. return out, nil
  1597. }
  1598. func (c *dataTransferServiceClient) DeleteTransferRun(ctx context.Context, in *DeleteTransferRunRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  1599. out := new(empty.Empty)
  1600. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferRun", in, out, opts...)
  1601. if err != nil {
  1602. return nil, err
  1603. }
  1604. return out, nil
  1605. }
  1606. func (c *dataTransferServiceClient) ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error) {
  1607. out := new(ListTransferRunsResponse)
  1608. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferRuns", in, out, opts...)
  1609. if err != nil {
  1610. return nil, err
  1611. }
  1612. return out, nil
  1613. }
  1614. func (c *dataTransferServiceClient) ListTransferLogs(ctx context.Context, in *ListTransferLogsRequest, opts ...grpc.CallOption) (*ListTransferLogsResponse, error) {
  1615. out := new(ListTransferLogsResponse)
  1616. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferLogs", in, out, opts...)
  1617. if err != nil {
  1618. return nil, err
  1619. }
  1620. return out, nil
  1621. }
  1622. func (c *dataTransferServiceClient) CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, error) {
  1623. out := new(CheckValidCredsResponse)
  1624. err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CheckValidCreds", in, out, opts...)
  1625. if err != nil {
  1626. return nil, err
  1627. }
  1628. return out, nil
  1629. }
  1630. // DataTransferServiceServer is the server API for DataTransferService service.
  1631. type DataTransferServiceServer interface {
  1632. // Retrieves a supported data source and returns its settings,
  1633. // which can be used for UI rendering.
  1634. GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
  1635. // Lists supported data sources and returns their settings,
  1636. // which can be used for UI rendering.
  1637. ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
  1638. // Creates a new data transfer configuration.
  1639. CreateTransferConfig(context.Context, *CreateTransferConfigRequest) (*TransferConfig, error)
  1640. // Updates a data transfer configuration.
  1641. // All fields must be set, even if they are not updated.
  1642. UpdateTransferConfig(context.Context, *UpdateTransferConfigRequest) (*TransferConfig, error)
  1643. // Deletes a data transfer configuration,
  1644. // including any associated transfer runs and logs.
  1645. DeleteTransferConfig(context.Context, *DeleteTransferConfigRequest) (*empty.Empty, error)
  1646. // Returns information about a data transfer config.
  1647. GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error)
  1648. // Returns information about all data transfers in the project.
  1649. ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error)
  1650. // Creates transfer runs for a time range [start_time, end_time].
  1651. // For each date - or whatever granularity the data source supports - in the
  1652. // range, one transfer run is created.
  1653. // Note that runs are created per UTC time in the time range.
  1654. ScheduleTransferRuns(context.Context, *ScheduleTransferRunsRequest) (*ScheduleTransferRunsResponse, error)
  1655. // Returns information about the particular transfer run.
  1656. GetTransferRun(context.Context, *GetTransferRunRequest) (*TransferRun, error)
  1657. // Deletes the specified transfer run.
  1658. DeleteTransferRun(context.Context, *DeleteTransferRunRequest) (*empty.Empty, error)
  1659. // Returns information about running and completed jobs.
  1660. ListTransferRuns(context.Context, *ListTransferRunsRequest) (*ListTransferRunsResponse, error)
  1661. // Returns user facing log messages for the data transfer run.
  1662. ListTransferLogs(context.Context, *ListTransferLogsRequest) (*ListTransferLogsResponse, error)
  1663. // Returns true if valid credentials exist for the given data source and
  1664. // requesting user.
  1665. // Some data sources doesn't support service account, so we need to talk to
  1666. // them on behalf of the end user. This API just checks whether we have OAuth
  1667. // token for the particular user, which is a pre-requisite before user can
  1668. // create a transfer config.
  1669. CheckValidCreds(context.Context, *CheckValidCredsRequest) (*CheckValidCredsResponse, error)
  1670. }
  1671. func RegisterDataTransferServiceServer(s *grpc.Server, srv DataTransferServiceServer) {
  1672. s.RegisterService(&_DataTransferService_serviceDesc, srv)
  1673. }
  1674. func _DataTransferService_GetDataSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1675. in := new(GetDataSourceRequest)
  1676. if err := dec(in); err != nil {
  1677. return nil, err
  1678. }
  1679. if interceptor == nil {
  1680. return srv.(DataTransferServiceServer).GetDataSource(ctx, in)
  1681. }
  1682. info := &grpc.UnaryServerInfo{
  1683. Server: srv,
  1684. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetDataSource",
  1685. }
  1686. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1687. return srv.(DataTransferServiceServer).GetDataSource(ctx, req.(*GetDataSourceRequest))
  1688. }
  1689. return interceptor(ctx, in, info, handler)
  1690. }
  1691. func _DataTransferService_ListDataSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1692. in := new(ListDataSourcesRequest)
  1693. if err := dec(in); err != nil {
  1694. return nil, err
  1695. }
  1696. if interceptor == nil {
  1697. return srv.(DataTransferServiceServer).ListDataSources(ctx, in)
  1698. }
  1699. info := &grpc.UnaryServerInfo{
  1700. Server: srv,
  1701. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListDataSources",
  1702. }
  1703. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1704. return srv.(DataTransferServiceServer).ListDataSources(ctx, req.(*ListDataSourcesRequest))
  1705. }
  1706. return interceptor(ctx, in, info, handler)
  1707. }
  1708. func _DataTransferService_CreateTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1709. in := new(CreateTransferConfigRequest)
  1710. if err := dec(in); err != nil {
  1711. return nil, err
  1712. }
  1713. if interceptor == nil {
  1714. return srv.(DataTransferServiceServer).CreateTransferConfig(ctx, in)
  1715. }
  1716. info := &grpc.UnaryServerInfo{
  1717. Server: srv,
  1718. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CreateTransferConfig",
  1719. }
  1720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1721. return srv.(DataTransferServiceServer).CreateTransferConfig(ctx, req.(*CreateTransferConfigRequest))
  1722. }
  1723. return interceptor(ctx, in, info, handler)
  1724. }
  1725. func _DataTransferService_UpdateTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1726. in := new(UpdateTransferConfigRequest)
  1727. if err := dec(in); err != nil {
  1728. return nil, err
  1729. }
  1730. if interceptor == nil {
  1731. return srv.(DataTransferServiceServer).UpdateTransferConfig(ctx, in)
  1732. }
  1733. info := &grpc.UnaryServerInfo{
  1734. Server: srv,
  1735. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/UpdateTransferConfig",
  1736. }
  1737. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1738. return srv.(DataTransferServiceServer).UpdateTransferConfig(ctx, req.(*UpdateTransferConfigRequest))
  1739. }
  1740. return interceptor(ctx, in, info, handler)
  1741. }
  1742. func _DataTransferService_DeleteTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1743. in := new(DeleteTransferConfigRequest)
  1744. if err := dec(in); err != nil {
  1745. return nil, err
  1746. }
  1747. if interceptor == nil {
  1748. return srv.(DataTransferServiceServer).DeleteTransferConfig(ctx, in)
  1749. }
  1750. info := &grpc.UnaryServerInfo{
  1751. Server: srv,
  1752. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferConfig",
  1753. }
  1754. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1755. return srv.(DataTransferServiceServer).DeleteTransferConfig(ctx, req.(*DeleteTransferConfigRequest))
  1756. }
  1757. return interceptor(ctx, in, info, handler)
  1758. }
  1759. func _DataTransferService_GetTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1760. in := new(GetTransferConfigRequest)
  1761. if err := dec(in); err != nil {
  1762. return nil, err
  1763. }
  1764. if interceptor == nil {
  1765. return srv.(DataTransferServiceServer).GetTransferConfig(ctx, in)
  1766. }
  1767. info := &grpc.UnaryServerInfo{
  1768. Server: srv,
  1769. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferConfig",
  1770. }
  1771. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1772. return srv.(DataTransferServiceServer).GetTransferConfig(ctx, req.(*GetTransferConfigRequest))
  1773. }
  1774. return interceptor(ctx, in, info, handler)
  1775. }
  1776. func _DataTransferService_ListTransferConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1777. in := new(ListTransferConfigsRequest)
  1778. if err := dec(in); err != nil {
  1779. return nil, err
  1780. }
  1781. if interceptor == nil {
  1782. return srv.(DataTransferServiceServer).ListTransferConfigs(ctx, in)
  1783. }
  1784. info := &grpc.UnaryServerInfo{
  1785. Server: srv,
  1786. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferConfigs",
  1787. }
  1788. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1789. return srv.(DataTransferServiceServer).ListTransferConfigs(ctx, req.(*ListTransferConfigsRequest))
  1790. }
  1791. return interceptor(ctx, in, info, handler)
  1792. }
  1793. func _DataTransferService_ScheduleTransferRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1794. in := new(ScheduleTransferRunsRequest)
  1795. if err := dec(in); err != nil {
  1796. return nil, err
  1797. }
  1798. if interceptor == nil {
  1799. return srv.(DataTransferServiceServer).ScheduleTransferRuns(ctx, in)
  1800. }
  1801. info := &grpc.UnaryServerInfo{
  1802. Server: srv,
  1803. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ScheduleTransferRuns",
  1804. }
  1805. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1806. return srv.(DataTransferServiceServer).ScheduleTransferRuns(ctx, req.(*ScheduleTransferRunsRequest))
  1807. }
  1808. return interceptor(ctx, in, info, handler)
  1809. }
  1810. func _DataTransferService_GetTransferRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1811. in := new(GetTransferRunRequest)
  1812. if err := dec(in); err != nil {
  1813. return nil, err
  1814. }
  1815. if interceptor == nil {
  1816. return srv.(DataTransferServiceServer).GetTransferRun(ctx, in)
  1817. }
  1818. info := &grpc.UnaryServerInfo{
  1819. Server: srv,
  1820. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferRun",
  1821. }
  1822. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1823. return srv.(DataTransferServiceServer).GetTransferRun(ctx, req.(*GetTransferRunRequest))
  1824. }
  1825. return interceptor(ctx, in, info, handler)
  1826. }
  1827. func _DataTransferService_DeleteTransferRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1828. in := new(DeleteTransferRunRequest)
  1829. if err := dec(in); err != nil {
  1830. return nil, err
  1831. }
  1832. if interceptor == nil {
  1833. return srv.(DataTransferServiceServer).DeleteTransferRun(ctx, in)
  1834. }
  1835. info := &grpc.UnaryServerInfo{
  1836. Server: srv,
  1837. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferRun",
  1838. }
  1839. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1840. return srv.(DataTransferServiceServer).DeleteTransferRun(ctx, req.(*DeleteTransferRunRequest))
  1841. }
  1842. return interceptor(ctx, in, info, handler)
  1843. }
  1844. func _DataTransferService_ListTransferRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1845. in := new(ListTransferRunsRequest)
  1846. if err := dec(in); err != nil {
  1847. return nil, err
  1848. }
  1849. if interceptor == nil {
  1850. return srv.(DataTransferServiceServer).ListTransferRuns(ctx, in)
  1851. }
  1852. info := &grpc.UnaryServerInfo{
  1853. Server: srv,
  1854. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferRuns",
  1855. }
  1856. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1857. return srv.(DataTransferServiceServer).ListTransferRuns(ctx, req.(*ListTransferRunsRequest))
  1858. }
  1859. return interceptor(ctx, in, info, handler)
  1860. }
  1861. func _DataTransferService_ListTransferLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1862. in := new(ListTransferLogsRequest)
  1863. if err := dec(in); err != nil {
  1864. return nil, err
  1865. }
  1866. if interceptor == nil {
  1867. return srv.(DataTransferServiceServer).ListTransferLogs(ctx, in)
  1868. }
  1869. info := &grpc.UnaryServerInfo{
  1870. Server: srv,
  1871. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferLogs",
  1872. }
  1873. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1874. return srv.(DataTransferServiceServer).ListTransferLogs(ctx, req.(*ListTransferLogsRequest))
  1875. }
  1876. return interceptor(ctx, in, info, handler)
  1877. }
  1878. func _DataTransferService_CheckValidCreds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1879. in := new(CheckValidCredsRequest)
  1880. if err := dec(in); err != nil {
  1881. return nil, err
  1882. }
  1883. if interceptor == nil {
  1884. return srv.(DataTransferServiceServer).CheckValidCreds(ctx, in)
  1885. }
  1886. info := &grpc.UnaryServerInfo{
  1887. Server: srv,
  1888. FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CheckValidCreds",
  1889. }
  1890. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1891. return srv.(DataTransferServiceServer).CheckValidCreds(ctx, req.(*CheckValidCredsRequest))
  1892. }
  1893. return interceptor(ctx, in, info, handler)
  1894. }
  1895. var _DataTransferService_serviceDesc = grpc.ServiceDesc{
  1896. ServiceName: "google.cloud.bigquery.datatransfer.v1.DataTransferService",
  1897. HandlerType: (*DataTransferServiceServer)(nil),
  1898. Methods: []grpc.MethodDesc{
  1899. {
  1900. MethodName: "GetDataSource",
  1901. Handler: _DataTransferService_GetDataSource_Handler,
  1902. },
  1903. {
  1904. MethodName: "ListDataSources",
  1905. Handler: _DataTransferService_ListDataSources_Handler,
  1906. },
  1907. {
  1908. MethodName: "CreateTransferConfig",
  1909. Handler: _DataTransferService_CreateTransferConfig_Handler,
  1910. },
  1911. {
  1912. MethodName: "UpdateTransferConfig",
  1913. Handler: _DataTransferService_UpdateTransferConfig_Handler,
  1914. },
  1915. {
  1916. MethodName: "DeleteTransferConfig",
  1917. Handler: _DataTransferService_DeleteTransferConfig_Handler,
  1918. },
  1919. {
  1920. MethodName: "GetTransferConfig",
  1921. Handler: _DataTransferService_GetTransferConfig_Handler,
  1922. },
  1923. {
  1924. MethodName: "ListTransferConfigs",
  1925. Handler: _DataTransferService_ListTransferConfigs_Handler,
  1926. },
  1927. {
  1928. MethodName: "ScheduleTransferRuns",
  1929. Handler: _DataTransferService_ScheduleTransferRuns_Handler,
  1930. },
  1931. {
  1932. MethodName: "GetTransferRun",
  1933. Handler: _DataTransferService_GetTransferRun_Handler,
  1934. },
  1935. {
  1936. MethodName: "DeleteTransferRun",
  1937. Handler: _DataTransferService_DeleteTransferRun_Handler,
  1938. },
  1939. {
  1940. MethodName: "ListTransferRuns",
  1941. Handler: _DataTransferService_ListTransferRuns_Handler,
  1942. },
  1943. {
  1944. MethodName: "ListTransferLogs",
  1945. Handler: _DataTransferService_ListTransferLogs_Handler,
  1946. },
  1947. {
  1948. MethodName: "CheckValidCreds",
  1949. Handler: _DataTransferService_CheckValidCreds_Handler,
  1950. },
  1951. },
  1952. Streams: []grpc.StreamDesc{},
  1953. Metadata: "google/cloud/bigquery/datatransfer/v1/datatransfer.proto",
  1954. }
  1955. func init() {
  1956. proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", fileDescriptor_datatransfer_bb802f2006cd9a20)
  1957. }
  1958. var fileDescriptor_datatransfer_bb802f2006cd9a20 = []byte{
  1959. // 2343 bytes of a gzipped FileDescriptorProto
  1960. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcf, 0x6f, 0xdb, 0xc8,
  1961. 0xf5, 0xff, 0x52, 0xfe, 0xfd, 0x64, 0x5b, 0xf2, 0xc4, 0x71, 0x18, 0x39, 0xbb, 0x5f, 0x2f, 0xdb,
  1962. 0x64, 0x1d, 0xb7, 0x95, 0xd6, 0xca, 0x26, 0xcd, 0x3a, 0x4d, 0x02, 0x59, 0x92, 0x1d, 0x15, 0x8e,
  1963. 0xe5, 0xa5, 0xe4, 0x64, 0x6b, 0x04, 0xcb, 0x65, 0xc4, 0xb1, 0xcc, 0x0d, 0x45, 0x32, 0x1c, 0xd2,
  1964. 0x89, 0x53, 0xa4, 0x87, 0x45, 0x50, 0x60, 0xd1, 0xde, 0xf6, 0xb0, 0x05, 0x8a, 0x5e, 0x7a, 0x69,
  1965. 0xb7, 0x40, 0xff, 0x84, 0xde, 0x7a, 0xea, 0xb5, 0xb7, 0x3d, 0xb4, 0x40, 0xdb, 0x4b, 0x6f, 0x05,
  1966. 0x7a, 0xe9, 0xa1, 0x87, 0x62, 0x86, 0x43, 0x89, 0x92, 0x68, 0x8b, 0x92, 0x0b, 0xf4, 0x64, 0xcd,
  1967. 0xbc, 0x1f, 0x33, 0xef, 0xc7, 0xe7, 0xcd, 0x7b, 0x84, 0xe1, 0x76, 0xd3, 0xb2, 0x9a, 0x06, 0xce,
  1968. 0x35, 0x0c, 0xcb, 0xd3, 0x72, 0x4f, 0xf5, 0xe6, 0x73, 0x0f, 0x3b, 0x27, 0x39, 0x4d, 0x75, 0x55,
  1969. 0xd7, 0x51, 0x4d, 0x72, 0x88, 0x9d, 0xdc, 0xf1, 0x7a, 0xd7, 0x3a, 0x6b, 0x3b, 0x96, 0x6b, 0xa1,
  1970. 0xab, 0xbe, 0x64, 0x96, 0x49, 0x66, 0x03, 0xc9, 0x6c, 0x17, 0xe7, 0xf1, 0x7a, 0xe6, 0x0a, 0x3f,
  1971. 0x40, 0xb5, 0xf5, 0x9c, 0x6a, 0x9a, 0x96, 0xab, 0xba, 0xba, 0x65, 0x12, 0x5f, 0x49, 0xe6, 0xfd,
  1972. 0x78, 0xc7, 0x77, 0x1f, 0x9d, 0x79, 0x9b, 0x4b, 0xb1, 0xd5, 0x53, 0xef, 0x30, 0xa7, 0x79, 0x0e,
  1973. 0x53, 0xcb, 0xe9, 0xcb, 0xbd, 0x74, 0xdc, 0xb2, 0xdd, 0x13, 0x4e, 0x5c, 0xe9, 0x25, 0x1e, 0xea,
  1974. 0xd8, 0xd0, 0x94, 0x96, 0x4a, 0x9e, 0x71, 0x8e, 0xff, 0xef, 0xe5, 0x70, 0xf5, 0x16, 0x26, 0xae,
  1975. 0xda, 0xb2, 0x4f, 0x3b, 0xff, 0x85, 0xa3, 0xda, 0x36, 0x76, 0xb8, 0x55, 0xd2, 0xaf, 0x27, 0xe1,
  1976. 0x42, 0x49, 0x75, 0xd5, 0x9a, 0xe5, 0x39, 0x0d, 0xbc, 0xa7, 0x3a, 0x6a, 0x0b, 0xbb, 0xd8, 0x41,
  1977. 0x97, 0x61, 0xda, 0xa6, 0x0b, 0x45, 0xd7, 0x44, 0x61, 0x45, 0x58, 0x9d, 0x91, 0xa7, 0xd8, 0xba,
  1978. 0xa2, 0xa1, 0x77, 0x60, 0x56, 0xd3, 0x89, 0x6d, 0xa8, 0x27, 0x8a, 0xa9, 0xb6, 0xb0, 0x98, 0x60,
  1979. 0xe4, 0x24, 0xdf, 0xdb, 0x55, 0x5b, 0x18, 0xad, 0x40, 0x52, 0xc3, 0xa4, 0xe1, 0xe8, 0x36, 0x35,
  1980. 0x55, 0x1c, 0xe3, 0x1c, 0x9d, 0x2d, 0x54, 0x83, 0x71, 0xf7, 0xc4, 0xc6, 0xe2, 0xf8, 0x8a, 0xb0,
  1981. 0x3a, 0x9f, 0xbf, 0x9f, 0x8d, 0x15, 0xa1, 0x6c, 0xc4, 0x4d, 0xb3, 0xf5, 0x13, 0x1b, 0xcb, 0x4c,
  1982. 0x19, 0xca, 0xc0, 0xb4, 0x83, 0x9f, 0x7b, 0xba, 0x83, 0x35, 0x71, 0x62, 0x45, 0x58, 0x9d, 0x96,
  1983. 0xdb, 0x6b, 0x9f, 0x66, 0x63, 0xd5, 0xc5, 0x9a, 0x38, 0x19, 0xd0, 0xfc, 0x35, 0xba, 0x0e, 0xe9,
  1984. 0x63, 0xd5, 0xd0, 0x35, 0x16, 0x18, 0xc5, 0xc1, 0x4d, 0xfc, 0x52, 0x9c, 0x62, 0x77, 0x4e, 0x75,
  1985. 0xf6, 0x65, 0xba, 0x8d, 0xae, 0xc2, 0xbc, 0x6a, 0x18, 0xd6, 0x0b, 0xac, 0x29, 0xc7, 0xaa, 0xe1,
  1986. 0x61, 0x22, 0x4e, 0xaf, 0x8c, 0xad, 0xce, 0xc8, 0x73, 0x7c, 0xf7, 0x11, 0xdb, 0x44, 0x1f, 0xc0,
  1987. 0x4c, 0x4b, 0x37, 0x7d, 0x16, 0x71, 0x66, 0x45, 0x58, 0x4d, 0xe6, 0xaf, 0x04, 0x36, 0x06, 0xa1,
  1988. 0xc8, 0x96, 0x2c, 0xef, 0xa9, 0x81, 0x99, 0x84, 0x3c, 0xdd, 0xd2, 0x4d, 0xf6, 0x8b, 0x89, 0xaa,
  1989. 0x2f, 0xb9, 0x28, 0xc4, 0x12, 0x55, 0x5f, 0xfa, 0xa2, 0x32, 0x4c, 0xb2, 0x0c, 0x21, 0x62, 0x72,
  1990. 0x65, 0x6c, 0x35, 0x99, 0xdf, 0x18, 0xdd, 0xad, 0x32, 0xd7, 0x84, 0x6e, 0xc2, 0x52, 0xc8, 0x37,
  1991. 0xe1, 0xa8, 0xce, 0x32, 0x0f, 0x5d, 0xec, 0x50, 0x4b, 0xa1, 0xf8, 0x66, 0xe1, 0x42, 0x48, 0xec,
  1992. 0x08, 0x1b, 0xb6, 0xe2, 0x39, 0x86, 0x38, 0xc7, 0x64, 0x16, 0x3a, 0xa4, 0x07, 0xd8, 0xb0, 0xf7,
  1993. 0x1d, 0x03, 0x5d, 0x81, 0x19, 0xbd, 0xd5, 0xf2, 0x5c, 0xf5, 0xa9, 0x81, 0xc5, 0x79, 0x16, 0x9f,
  1994. 0xce, 0x06, 0x12, 0x61, 0xca, 0xc1, 0x0d, 0xcf, 0x21, 0x58, 0x4c, 0x31, 0x5a, 0xb0, 0x94, 0x74,
  1995. 0x18, 0xa7, 0x09, 0x80, 0x16, 0x21, 0x5d, 0xff, 0xc1, 0x5e, 0x59, 0xd9, 0xdf, 0xad, 0xed, 0x95,
  1996. 0x8b, 0x95, 0xad, 0x4a, 0xb9, 0x94, 0xfe, 0x3f, 0x04, 0x30, 0x59, 0xab, 0xcb, 0x95, 0xdd, 0xed,
  1997. 0xb4, 0x80, 0x92, 0x30, 0x55, 0xd9, 0xad, 0x97, 0xb7, 0xcb, 0x72, 0x3a, 0x41, 0x09, 0xa5, 0xea,
  1998. 0xfe, 0xe6, 0x4e, 0x39, 0x3d, 0x46, 0x09, 0x9b, 0xd5, 0xea, 0x4e, 0xb9, 0xb0, 0x9b, 0x1e, 0xa7,
  1999. 0x04, 0xb9, 0x5c, 0xac, 0xca, 0xa5, 0xf4, 0x04, 0x9a, 0x83, 0x99, 0xbd, 0x9d, 0xfd, 0x9a, 0xb2,
  2000. 0x57, 0xd8, 0x2e, 0xa7, 0x27, 0xa5, 0x7f, 0xcf, 0x00, 0x74, 0x3c, 0x85, 0x10, 0x8c, 0xb3, 0xf4,
  2001. 0xf7, 0xd1, 0xc1, 0x7e, 0xa3, 0x6f, 0xc2, 0x3c, 0xf5, 0xad, 0x42, 0x18, 0x0b, 0xc5, 0x8e, 0x0f,
  2002. 0x8e, 0x59, 0xad, 0x2d, 0x17, 0x01, 0xa0, 0xb1, 0x81, 0x00, 0x1a, 0xef, 0x07, 0xd0, 0x32, 0xcc,
  2003. 0x34, 0x0c, 0x1d, 0x9b, 0x2e, 0x3d, 0x65, 0x82, 0xd1, 0xa7, 0xfd, 0x8d, 0x8a, 0x86, 0x96, 0x60,
  2004. 0x92, 0x34, 0x2c, 0x1b, 0x13, 0x71, 0x92, 0x65, 0x27, 0x5f, 0xa1, 0x8f, 0x60, 0x2e, 0x88, 0xbb,
  2005. 0xc2, 0xe0, 0x37, 0xc5, 0xe0, 0x77, 0x23, 0x66, 0x9e, 0xd4, 0xf9, 0x6f, 0x06, 0xb9, 0x59, 0x37,
  2006. 0xb4, 0x42, 0xf7, 0x60, 0x99, 0x78, 0xb6, 0x6d, 0x39, 0x2e, 0x51, 0x5a, 0x9e, 0xe1, 0xea, 0xb6,
  2007. 0x81, 0x95, 0x80, 0x83, 0x82, 0x84, 0x46, 0xed, 0x72, 0xc0, 0xf2, 0x90, 0x73, 0x04, 0x0a, 0x09,
  2008. 0xba, 0x05, 0x97, 0x3c, 0x5b, 0x53, 0x5d, 0xac, 0x68, 0x58, 0xd5, 0x0c, 0xdd, 0xc4, 0x0a, 0xc1,
  2009. 0x0d, 0xcb, 0xd4, 0x08, 0x83, 0xcf, 0x84, 0x7c, 0xd1, 0x27, 0x97, 0x38, 0xb5, 0xe6, 0x13, 0x29,
  2010. 0x74, 0x35, 0x7c, 0xa8, 0x7a, 0x86, 0xab, 0x90, 0xc6, 0x11, 0xd6, 0x3c, 0xc3, 0x07, 0xcd, 0x8c,
  2011. 0x9c, 0xe2, 0xfb, 0x35, 0xbe, 0x8d, 0x6e, 0x83, 0xd8, 0xbe, 0x62, 0xc3, 0x23, 0xae, 0xd5, 0xea,
  2012. 0x88, 0x24, 0xd9, 0xfd, 0x96, 0x02, 0x7a, 0x91, 0x91, 0xdb, 0x92, 0x07, 0x00, 0x76, 0x00, 0x0c,
  2013. 0x22, 0xce, 0x9e, 0x1b, 0x5b, 0x21, 0x6d, 0xb4, 0xd0, 0xf6, 0xa0, 0x63, 0xea, 0x88, 0x63, 0xc2,
  2014. 0x01, 0xa4, 0x7a, 0xee, 0x91, 0xe5, 0xe8, 0xaf, 0x7c, 0x18, 0xb1, 0x90, 0xcd, 0xb3, 0x90, 0x15,
  2015. 0x87, 0x3e, 0x3e, 0x5b, 0x08, 0xeb, 0x62, 0x21, 0x5c, 0x50, 0x7b, 0xb7, 0x50, 0x0b, 0x16, 0x58,
  2016. 0x06, 0x3b, 0xf8, 0xd0, 0xc1, 0xe4, 0xc8, 0x3f, 0x32, 0xc5, 0x8e, 0x2c, 0x0c, 0x7f, 0x24, 0xfd,
  2017. 0x29, 0xfb, 0x9a, 0xd8, 0x81, 0x29, 0xad, 0x7b, 0x03, 0x6d, 0xc1, 0x4a, 0x10, 0xbe, 0xae, 0x63,
  2018. 0x5f, 0xe8, 0xa6, 0x66, 0xbd, 0x50, 0x34, 0xf5, 0x84, 0x88, 0x69, 0x16, 0xff, 0x2b, 0x9c, 0x2f,
  2019. 0xa4, 0xf2, 0x31, 0x63, 0x2a, 0xa9, 0x27, 0x04, 0xbd, 0x07, 0x8b, 0x2d, 0xd5, 0xf4, 0x54, 0x43,
  2020. 0x71, 0x3c, 0x93, 0x28, 0x9a, 0x4e, 0x68, 0xdd, 0xd0, 0xc4, 0x05, 0x16, 0x57, 0xe4, 0xd3, 0x64,
  2021. 0xcf, 0x24, 0x25, 0x4e, 0x41, 0xfb, 0x70, 0xb9, 0xa5, 0x9b, 0x7a, 0xcb, 0xeb, 0x64, 0x81, 0xa2,
  2022. 0x9b, 0x2e, 0x76, 0x8e, 0x55, 0x43, 0x44, 0xac, 0xec, 0x5e, 0xee, 0x2f, 0xbb, 0xfc, 0xf1, 0x96,
  2023. 0x2f, 0x71, 0xd9, 0x20, 0x45, 0x2a, 0x5c, 0x52, 0x22, 0xb0, 0xd0, 0xe7, 0x67, 0x24, 0xc1, 0xdb,
  2024. 0x85, 0xfd, 0xfa, 0x83, 0xaa, 0x5c, 0x39, 0x28, 0xd4, 0x2b, 0xd5, 0x5d, 0x25, 0xa2, 0x54, 0x2d,
  2025. 0x01, 0xea, 0xe6, 0x29, 0x56, 0x4b, 0xe5, 0xb4, 0x40, 0x65, 0xb7, 0xab, 0xd5, 0xed, 0x9d, 0xb2,
  2026. 0xc2, 0x6a, 0x51, 0x04, 0x4f, 0x42, 0x6a, 0x40, 0xaa, 0xc7, 0xd3, 0xe8, 0x1d, 0x78, 0xab, 0x54,
  2027. 0xa8, 0x17, 0x14, 0xb9, 0xbc, 0x25, 0x97, 0x6b, 0x0f, 0xa2, 0x4e, 0x44, 0x30, 0x5f, 0xdb, 0xa9,
  2028. 0x94, 0x2a, 0xbb, 0xdb, 0xca, 0xe3, 0xca, 0x6e, 0xa9, 0xfa, 0x38, 0x2d, 0xa0, 0xcb, 0x70, 0xb1,
  2029. 0xb8, 0x5f, 0xab, 0x57, 0x1f, 0x2a, 0x3d, 0xa4, 0x84, 0xb4, 0x06, 0x8b, 0xdb, 0xd8, 0xed, 0x04,
  2030. 0x57, 0xc6, 0xcf, 0x3d, 0x4c, 0xdc, 0xa8, 0x3a, 0x28, 0x19, 0xb0, 0xb4, 0xa3, 0x93, 0x10, 0x33,
  2031. 0x09, 0xb8, 0x97, 0x60, 0xd2, 0x56, 0x1d, 0x6c, 0xba, 0x9c, 0x9f, 0xaf, 0xd0, 0x5b, 0x14, 0x62,
  2032. 0x4d, 0xac, 0xb8, 0xd6, 0x33, 0x1c, 0x34, 0x0c, 0x33, 0x74, 0xa7, 0x4e, 0x37, 0x68, 0xb5, 0x63,
  2033. 0x64, 0xa2, 0xbf, 0xf2, 0x7b, 0x86, 0x09, 0x79, 0x9a, 0x6e, 0xd4, 0xf4, 0x57, 0x58, 0xfa, 0x52,
  2034. 0x80, 0x4b, 0x7d, 0xc7, 0x11, 0xdb, 0x32, 0x09, 0x46, 0x75, 0x98, 0x0d, 0x55, 0x64, 0x22, 0x0a,
  2035. 0x0c, 0xbc, 0xeb, 0x43, 0xa7, 0xb2, 0x9c, 0xec, 0x94, 0x70, 0x82, 0xae, 0x41, 0xca, 0xc4, 0x2f,
  2036. 0x5d, 0x25, 0x74, 0x65, 0xbf, 0xd0, 0xcf, 0xd1, 0xed, 0xbd, 0xe0, 0xda, 0xd2, 0xef, 0x05, 0x58,
  2037. 0x2e, 0x3a, 0xb4, 0xc9, 0x08, 0x2a, 0x5d, 0xd1, 0x32, 0x0f, 0xf5, 0xe6, 0x20, 0x6f, 0x7c, 0x0c,
  2038. 0xa9, 0x76, 0x9d, 0x6e, 0x30, 0x09, 0xa6, 0x3f, 0x99, 0xbf, 0x39, 0x64, 0xa5, 0xe6, 0xc7, 0xcd,
  2039. 0xbb, 0x5d, 0x6b, 0xf4, 0x9d, 0xde, 0xca, 0xd2, 0xb0, 0xb4, 0xe0, 0x1d, 0xea, 0x2e, 0x0a, 0x45,
  2040. 0x4b, 0xc3, 0xd2, 0xdf, 0x05, 0x58, 0xde, 0x67, 0xe5, 0x37, 0xda, 0x8c, 0x88, 0xeb, 0x0a, 0xff,
  2041. 0xbb, 0xeb, 0xa2, 0x3b, 0x90, 0xe4, 0x6f, 0x09, 0xed, 0x94, 0x59, 0xba, 0x24, 0xf3, 0x99, 0x3e,
  2042. 0x30, 0x6f, 0xd1, 0x06, 0xe7, 0xa1, 0x4a, 0x9e, 0xc9, 0xe0, 0xb3, 0xd3, 0xdf, 0x52, 0x16, 0xc4,
  2043. 0x6d, 0xec, 0x46, 0xdb, 0x19, 0x95, 0xea, 0xeb, 0xb0, 0x5c, 0xc2, 0x06, 0x3e, 0xcd, 0x35, 0x51,
  2044. 0x22, 0xdf, 0x82, 0x8b, 0xa1, 0x23, 0x64, 0xcf, 0x3c, 0x8b, 0x39, 0x0b, 0x62, 0xb7, 0xfe, 0x01,
  2045. 0xfc, 0x3f, 0x13, 0x20, 0x43, 0xc1, 0xd0, 0x7d, 0x9d, 0x81, 0xf8, 0xbb, 0x06, 0xa9, 0xee, 0xce,
  2046. 0x85, 0x88, 0x09, 0xbf, 0xb1, 0x0d, 0xb7, 0x2e, 0xe4, 0x5c, 0x38, 0xfd, 0x95, 0x00, 0xcb, 0x91,
  2047. 0x57, 0xe3, 0x58, 0xfd, 0x04, 0xd2, 0x3d, 0x69, 0x14, 0xe0, 0x75, 0xc4, 0x3c, 0x4a, 0x75, 0xe7,
  2048. 0x51, 0x7c, 0xdc, 0xfe, 0x29, 0xe1, 0x57, 0x94, 0x90, 0xcf, 0x07, 0x7a, 0x70, 0x07, 0x26, 0x89,
  2049. 0xab, 0xba, 0xd8, 0x77, 0xdc, 0x7c, 0xfe, 0xfd, 0x21, 0xef, 0x5c, 0xa3, 0xc2, 0x32, 0xd7, 0x71,
  2050. 0x1e, 0x3f, 0xa3, 0x4f, 0x21, 0xe9, 0x78, 0xa6, 0xa2, 0xba, 0x2e, 0x1d, 0x26, 0x59, 0x73, 0x38,
  2051. 0x9f, 0xaf, 0xc4, 0xbc, 0xce, 0x29, 0x66, 0x67, 0x65, 0xcf, 0x2c, 0xf8, 0x0a, 0x65, 0x70, 0xda,
  2052. 0xbf, 0xa5, 0x9b, 0x00, 0x1d, 0x0a, 0x5a, 0x86, 0x4b, 0xf2, 0xfe, 0xae, 0x52, 0xa8, 0xd7, 0xcb,
  2053. 0x0f, 0xf7, 0xea, 0xfd, 0xcd, 0xf8, 0x4e, 0xa1, 0x5e, 0xae, 0xd5, 0xd3, 0x82, 0xf4, 0x73, 0x01,
  2054. 0xc4, 0xfe, 0x93, 0x78, 0x1e, 0x3c, 0x0e, 0x75, 0xa9, 0xf4, 0x39, 0xe7, 0x49, 0x90, 0x1f, 0xd2,
  2055. 0xa1, 0x14, 0x28, 0xed, 0x26, 0x95, 0x1e, 0x10, 0x3b, 0xfc, 0x5f, 0x0b, 0xdd, 0xe1, 0xdf, 0xb1,
  2056. 0x9a, 0x43, 0x3e, 0x60, 0xe3, 0x67, 0x06, 0x6c, 0xa2, 0x27, 0x60, 0xcf, 0x60, 0xae, 0x85, 0x09,
  2057. 0x61, 0xe2, 0x27, 0x41, 0xd7, 0x3e, 0x9f, 0xdf, 0x1a, 0xd2, 0xe0, 0x87, 0xbe, 0x8e, 0x2c, 0xff,
  2058. 0x5b, 0xc3, 0xc7, 0xd8, 0xd1, 0xdd, 0x13, 0x79, 0x96, 0x2b, 0xa7, 0x8d, 0x01, 0xa1, 0x28, 0x14,
  2059. 0xfb, 0x8d, 0xe3, 0xae, 0x6f, 0xc0, 0x42, 0xdb, 0xf5, 0x5c, 0x2a, 0x70, 0xff, 0xad, 0xd1, 0x6e,
  2060. 0x23, 0xb7, 0x31, 0xcd, 0x37, 0xe2, 0x87, 0xe1, 0xdb, 0xb0, 0x54, 0x3c, 0xc2, 0x8d, 0x67, 0x8f,
  2061. 0xe8, 0xb4, 0x58, 0x74, 0xb0, 0x46, 0xce, 0x2a, 0x7c, 0x05, 0xb8, 0xd4, 0xc7, 0xcd, 0xad, 0xba,
  2062. 0x06, 0xa9, 0x23, 0x95, 0x28, 0x6c, 0xea, 0x54, 0x1a, 0x94, 0xc4, 0x24, 0xa7, 0xe5, 0xb9, 0x23,
  2063. 0x95, 0x74, 0xf8, 0x59, 0x81, 0x0a, 0x3a, 0xba, 0x61, 0xa0, 0xff, 0x01, 0x00, 0x71, 0x55, 0xc7,
  2064. 0x55, 0x5c, 0x9d, 0x7f, 0x0f, 0x89, 0x7a, 0x6f, 0xea, 0xc1, 0xa7, 0x19, 0x79, 0x86, 0x71, 0xd3,
  2065. 0x35, 0xba, 0x09, 0xd3, 0xd8, 0xd4, 0x7c, 0xc1, 0xb1, 0x81, 0x82, 0x53, 0xd8, 0xd4, 0xe8, 0x4a,
  2066. 0x3a, 0x84, 0x2b, 0xd1, 0x17, 0xe5, 0x16, 0x6f, 0xc1, 0xf8, 0x39, 0x91, 0xc3, 0xe4, 0xf3, 0x3f,
  2067. 0x5e, 0xf6, 0x3f, 0x0f, 0xb5, 0x8b, 0x14, 0x76, 0x8e, 0xf5, 0x06, 0x46, 0x7f, 0x16, 0x60, 0xae,
  2068. 0xab, 0x1b, 0x44, 0x77, 0x62, 0x9e, 0x11, 0xd5, 0x43, 0x66, 0x86, 0xef, 0xc7, 0xa4, 0x8f, 0x3f,
  2069. 0xfb, 0xe3, 0xdf, 0xbe, 0x48, 0x7c, 0x84, 0x72, 0xb9, 0xe3, 0xf5, 0xdc, 0x0f, 0x69, 0x06, 0xdc,
  2070. 0xb5, 0x1d, 0xeb, 0x53, 0xdc, 0x70, 0x49, 0x6e, 0x2d, 0x67, 0x58, 0x0d, 0xff, 0xe3, 0x5d, 0x6e,
  2071. 0x2d, 0x17, 0x6a, 0xdc, 0x72, 0x6b, 0xaf, 0x0f, 0xae, 0xa2, 0x6f, 0x44, 0x8a, 0x74, 0xb3, 0xa1,
  2072. 0x7f, 0x08, 0x90, 0xea, 0x69, 0x2a, 0xd1, 0xdd, 0x21, 0x6a, 0x68, 0x7f, 0xef, 0x9b, 0xb9, 0x37,
  2073. 0xaa, 0xb8, 0x1f, 0xd4, 0x1e, 0x93, 0xfd, 0xdc, 0x3b, 0xc5, 0xe8, 0xd7, 0x61, 0x73, 0xda, 0x26,
  2074. 0xf7, 0x89, 0x74, 0xb1, 0xa1, 0x5f, 0x24, 0x60, 0x31, 0xaa, 0x5b, 0x45, 0x9b, 0x31, 0x2f, 0x7e,
  2075. 0x46, 0xab, 0x9b, 0x19, 0xed, 0x09, 0x97, 0x3e, 0x17, 0x98, 0xd1, 0x9f, 0x09, 0xd2, 0x8d, 0x38,
  2076. 0x56, 0xf7, 0x3c, 0xf8, 0x1b, 0xbd, 0x7d, 0xe9, 0xc1, 0x86, 0xf4, 0xee, 0x69, 0xae, 0x18, 0x24,
  2077. 0x8b, 0x7e, 0x97, 0x80, 0xc5, 0xa8, 0x36, 0x38, 0xb6, 0x7f, 0xce, 0xe8, 0xa1, 0x47, 0xf5, 0xcf,
  2078. 0x57, 0xbe, 0x7f, 0x7e, 0x29, 0xe4, 0x8b, 0xcc, 0xae, 0x9e, 0x3b, 0x67, 0xcf, 0x02, 0x46, 0x8f,
  2079. 0xc1, 0xb9, 0xb5, 0xd7, 0xfd, 0xfe, 0xfa, 0x7e, 0xfe, 0xbb, 0xb1, 0xf4, 0xc6, 0xd0, 0x85, 0xbe,
  2080. 0x16, 0x60, 0x31, 0xaa, 0x57, 0x8e, 0xed, 0xbf, 0x33, 0x1a, 0xed, 0xcc, 0x52, 0x5f, 0xd9, 0x2c,
  2081. 0xb7, 0x6c, 0xf7, 0x44, 0x3a, 0x64, 0xfe, 0xf9, 0x64, 0xed, 0xc6, 0xc0, 0x3a, 0xd1, 0x6f, 0xc2,
  2082. 0xc1, 0xf5, 0xb5, 0x77, 0x23, 0xc5, 0xfa, 0x59, 0xd1, 0x3f, 0x05, 0x58, 0xe8, 0x1b, 0x1c, 0xd0,
  2083. 0xfd, 0xf8, 0x55, 0xf1, 0xbf, 0x9a, 0x16, 0xdc, 0x6a, 0x34, 0x9a, 0xd5, 0x28, 0xb6, 0xd5, 0x6f,
  2084. 0x12, 0x70, 0x21, 0xa2, 0xa5, 0x47, 0x85, 0x11, 0xba, 0xcd, 0xee, 0x49, 0x25, 0xb3, 0x79, 0x1e,
  2085. 0x15, 0xbc, 0x62, 0x76, 0xbb, 0x61, 0xb8, 0xda, 0xd1, 0x76, 0xc3, 0xe0, 0x52, 0x81, 0x7e, 0x9b,
  2086. 0x80, 0xc5, 0xa8, 0xf7, 0x38, 0x76, 0x66, 0x9f, 0xd1, 0x75, 0x64, 0x8a, 0xe7, 0xd2, 0xc1, 0x3d,
  2087. 0xf1, 0x13, 0xbf, 0x4e, 0xbc, 0x11, 0xa4, 0xcd, 0xc1, 0xbe, 0x88, 0x42, 0x73, 0xf0, 0x91, 0x8c,
  2088. 0x6a, 0xdd, 0x10, 0xd6, 0x0e, 0xee, 0x48, 0xb7, 0x4e, 0x51, 0x34, 0x58, 0x18, 0xfd, 0x4b, 0x80,
  2089. 0xf9, 0xee, 0x11, 0x18, 0x7d, 0x6f, 0x78, 0xa4, 0x74, 0x26, 0xe1, 0xcc, 0x08, 0x1d, 0x8e, 0xe4,
  2090. 0x32, 0x8f, 0x98, 0x68, 0x63, 0x78, 0x8c, 0xe4, 0x68, 0x73, 0x44, 0xa1, 0xf2, 0x1e, 0xca, 0xc6,
  2091. 0x83, 0x4a, 0x20, 0x81, 0xfe, 0x22, 0xc0, 0x42, 0xdf, 0x40, 0x1f, 0xbb, 0x4e, 0x9c, 0xf6, 0x29,
  2092. 0xe0, 0xd4, 0xf2, 0xc7, 0x8d, 0x5c, 0x3b, 0x97, 0x91, 0x6b, 0xc3, 0x1a, 0xf9, 0x79, 0x02, 0xd2,
  2093. 0xbd, 0xe3, 0x1d, 0xba, 0x77, 0xbe, 0x09, 0x34, 0x73, 0x7f, 0x64, 0x79, 0x8e, 0x81, 0xee, 0x80,
  2094. 0x0f, 0x8b, 0x00, 0x66, 0x5c, 0x3b, 0xe0, 0x71, 0xd2, 0x9e, 0x49, 0xa0, 0xaf, 0x7a, 0x7c, 0x41,
  2095. 0xe7, 0xad, 0x91, 0x7c, 0x11, 0x9a, 0x42, 0x47, 0xf2, 0x45, 0x78, 0xd0, 0x93, 0xbe, 0xf0, 0xeb,
  2096. 0xc1, 0x4f, 0x05, 0x54, 0x19, 0xc5, 0x1b, 0x41, 0xa4, 0xdb, 0x14, 0xaa, 0xfc, 0xe0, 0x3e, 0xba,
  2097. 0x1b, 0xd7, 0x39, 0x91, 0x0a, 0xd0, 0x97, 0x09, 0x48, 0xf5, 0x0c, 0x71, 0xb1, 0x9b, 0xee, 0xe8,
  2098. 0x51, 0x31, 0x76, 0xd3, 0x7d, 0xca, 0xec, 0x28, 0xbd, 0xf1, 0x1d, 0xf5, 0x23, 0xe9, 0xfe, 0x90,
  2099. 0x83, 0xc6, 0x46, 0xa3, 0x5b, 0x23, 0x2d, 0x9a, 0xb7, 0xa5, 0x1b, 0x31, 0x66, 0x8f, 0x08, 0xc9,
  2100. 0xcd, 0xbf, 0x0a, 0x70, 0xbd, 0x61, 0xb5, 0xe2, 0x19, 0xb3, 0xb9, 0x10, 0x9e, 0xd9, 0xf6, 0x68,
  2101. 0x45, 0xd8, 0x13, 0x0e, 0x3e, 0xe4, 0xb2, 0x4d, 0xcb, 0x50, 0xcd, 0x66, 0xd6, 0x72, 0x9a, 0xb9,
  2102. 0x26, 0x36, 0x59, 0xbd, 0xc8, 0xf9, 0x24, 0xd5, 0xd6, 0xc9, 0x80, 0xff, 0x6f, 0xb8, 0x13, 0x5e,
  2103. 0xff, 0x26, 0x71, 0x75, 0xdb, 0xd7, 0x59, 0x64, 0xf7, 0xd9, 0xd4, 0x9b, 0x1f, 0xb2, 0xfb, 0x84,
  2104. 0x8f, 0xcf, 0x3e, 0x5a, 0xff, 0x43, 0xc0, 0xf7, 0x84, 0xf1, 0x3d, 0x09, 0xf8, 0x9e, 0x84, 0xf9,
  2105. 0x9e, 0x3c, 0x5a, 0x7f, 0x3a, 0xc9, 0x6e, 0x73, 0xe3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x48,
  2106. 0xcd, 0xb8, 0x10, 0xeb, 0x21, 0x00, 0x00,
  2107. }