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.
 
 
 

2107 lines
80 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/ml/v1/job_service.proto
  3. package ml // import "google.golang.org/genproto/googleapis/cloud/ml/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import empty "github.com/golang/protobuf/ptypes/empty"
  8. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
  11. import (
  12. context "golang.org/x/net/context"
  13. grpc "google.golang.org/grpc"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  24. // A scale tier is an abstract representation of the resources Cloud ML
  25. // will allocate to a training job. When selecting a scale tier for your
  26. // training job, you should consider the size of your training dataset and
  27. // the complexity of your model. As the tiers increase, virtual machines are
  28. // added to handle your job, and the individual machines in the cluster
  29. // generally have more memory and greater processing power than they do at
  30. // lower tiers. The number of training units charged per hour of processing
  31. // increases as tiers get more advanced. Refer to the
  32. // [pricing guide](/ml/pricing) for more details. Note that in addition to
  33. // incurring costs, your use of training resources is constrained by the
  34. // [quota policy](/ml/quota).
  35. type TrainingInput_ScaleTier int32
  36. const (
  37. // A single worker instance. This tier is suitable for learning how to use
  38. // Cloud ML, and for experimenting with new models using small datasets.
  39. TrainingInput_BASIC TrainingInput_ScaleTier = 0
  40. // Many workers and a few parameter servers.
  41. TrainingInput_STANDARD_1 TrainingInput_ScaleTier = 1
  42. // A large number of workers with many parameter servers.
  43. TrainingInput_PREMIUM_1 TrainingInput_ScaleTier = 3
  44. // A single worker instance [with a GPU](ml/docs/how-tos/using-gpus).
  45. TrainingInput_BASIC_GPU TrainingInput_ScaleTier = 6
  46. // The CUSTOM tier is not a set tier, but rather enables you to use your
  47. // own cluster specification. When you use this tier, set values to
  48. // configure your processing cluster according to these guidelines:
  49. //
  50. // * You _must_ set `TrainingInput.masterType` to specify the type
  51. // of machine to use for your master node. This is the only required
  52. // setting.
  53. //
  54. // * You _may_ set `TrainingInput.workerCount` to specify the number of
  55. // workers to use. If you specify one or more workers, you _must_ also
  56. // set `TrainingInput.workerType` to specify the type of machine to use
  57. // for your worker nodes.
  58. //
  59. // * You _may_ set `TrainingInput.parameterServerCount` to specify the
  60. // number of parameter servers to use. If you specify one or more
  61. // parameter servers, you _must_ also set
  62. // `TrainingInput.parameterServerType` to specify the type of machine to
  63. // use for your parameter servers.
  64. //
  65. // Note that all of your workers must use the same machine type, which can
  66. // be different from your parameter server type and master type. Your
  67. // parameter servers must likewise use the same machine type, which can be
  68. // different from your worker type and master type.
  69. TrainingInput_CUSTOM TrainingInput_ScaleTier = 5
  70. )
  71. var TrainingInput_ScaleTier_name = map[int32]string{
  72. 0: "BASIC",
  73. 1: "STANDARD_1",
  74. 3: "PREMIUM_1",
  75. 6: "BASIC_GPU",
  76. 5: "CUSTOM",
  77. }
  78. var TrainingInput_ScaleTier_value = map[string]int32{
  79. "BASIC": 0,
  80. "STANDARD_1": 1,
  81. "PREMIUM_1": 3,
  82. "BASIC_GPU": 6,
  83. "CUSTOM": 5,
  84. }
  85. func (x TrainingInput_ScaleTier) String() string {
  86. return proto.EnumName(TrainingInput_ScaleTier_name, int32(x))
  87. }
  88. func (TrainingInput_ScaleTier) EnumDescriptor() ([]byte, []int) {
  89. return fileDescriptor_job_service_84dcbad41a9d1457, []int{0, 0}
  90. }
  91. // The available types of optimization goals.
  92. type HyperparameterSpec_GoalType int32
  93. const (
  94. // Goal Type will default to maximize.
  95. HyperparameterSpec_GOAL_TYPE_UNSPECIFIED HyperparameterSpec_GoalType = 0
  96. // Maximize the goal metric.
  97. HyperparameterSpec_MAXIMIZE HyperparameterSpec_GoalType = 1
  98. // Minimize the goal metric.
  99. HyperparameterSpec_MINIMIZE HyperparameterSpec_GoalType = 2
  100. )
  101. var HyperparameterSpec_GoalType_name = map[int32]string{
  102. 0: "GOAL_TYPE_UNSPECIFIED",
  103. 1: "MAXIMIZE",
  104. 2: "MINIMIZE",
  105. }
  106. var HyperparameterSpec_GoalType_value = map[string]int32{
  107. "GOAL_TYPE_UNSPECIFIED": 0,
  108. "MAXIMIZE": 1,
  109. "MINIMIZE": 2,
  110. }
  111. func (x HyperparameterSpec_GoalType) String() string {
  112. return proto.EnumName(HyperparameterSpec_GoalType_name, int32(x))
  113. }
  114. func (HyperparameterSpec_GoalType) EnumDescriptor() ([]byte, []int) {
  115. return fileDescriptor_job_service_84dcbad41a9d1457, []int{1, 0}
  116. }
  117. // The type of the parameter.
  118. type ParameterSpec_ParameterType int32
  119. const (
  120. // You must specify a valid type. Using this unspecified type will result in
  121. // an error.
  122. ParameterSpec_PARAMETER_TYPE_UNSPECIFIED ParameterSpec_ParameterType = 0
  123. // Type for real-valued parameters.
  124. ParameterSpec_DOUBLE ParameterSpec_ParameterType = 1
  125. // Type for integral parameters.
  126. ParameterSpec_INTEGER ParameterSpec_ParameterType = 2
  127. // The parameter is categorical, with a value chosen from the categories
  128. // field.
  129. ParameterSpec_CATEGORICAL ParameterSpec_ParameterType = 3
  130. // The parameter is real valued, with a fixed set of feasible points. If
  131. // `type==DISCRETE`, feasible_points must be provided, and
  132. // {`min_value`, `max_value`} will be ignored.
  133. ParameterSpec_DISCRETE ParameterSpec_ParameterType = 4
  134. )
  135. var ParameterSpec_ParameterType_name = map[int32]string{
  136. 0: "PARAMETER_TYPE_UNSPECIFIED",
  137. 1: "DOUBLE",
  138. 2: "INTEGER",
  139. 3: "CATEGORICAL",
  140. 4: "DISCRETE",
  141. }
  142. var ParameterSpec_ParameterType_value = map[string]int32{
  143. "PARAMETER_TYPE_UNSPECIFIED": 0,
  144. "DOUBLE": 1,
  145. "INTEGER": 2,
  146. "CATEGORICAL": 3,
  147. "DISCRETE": 4,
  148. }
  149. func (x ParameterSpec_ParameterType) String() string {
  150. return proto.EnumName(ParameterSpec_ParameterType_name, int32(x))
  151. }
  152. func (ParameterSpec_ParameterType) EnumDescriptor() ([]byte, []int) {
  153. return fileDescriptor_job_service_84dcbad41a9d1457, []int{2, 0}
  154. }
  155. // The type of scaling that should be applied to this parameter.
  156. type ParameterSpec_ScaleType int32
  157. const (
  158. // By default, no scaling is applied.
  159. ParameterSpec_NONE ParameterSpec_ScaleType = 0
  160. // Scales the feasible space to (0, 1) linearly.
  161. ParameterSpec_UNIT_LINEAR_SCALE ParameterSpec_ScaleType = 1
  162. // Scales the feasible space logarithmically to (0, 1). The entire feasible
  163. // space must be strictly positive.
  164. ParameterSpec_UNIT_LOG_SCALE ParameterSpec_ScaleType = 2
  165. // Scales the feasible space "reverse" logarithmically to (0, 1). The result
  166. // is that values close to the top of the feasible space are spread out more
  167. // than points near the bottom. The entire feasible space must be strictly
  168. // positive.
  169. ParameterSpec_UNIT_REVERSE_LOG_SCALE ParameterSpec_ScaleType = 3
  170. )
  171. var ParameterSpec_ScaleType_name = map[int32]string{
  172. 0: "NONE",
  173. 1: "UNIT_LINEAR_SCALE",
  174. 2: "UNIT_LOG_SCALE",
  175. 3: "UNIT_REVERSE_LOG_SCALE",
  176. }
  177. var ParameterSpec_ScaleType_value = map[string]int32{
  178. "NONE": 0,
  179. "UNIT_LINEAR_SCALE": 1,
  180. "UNIT_LOG_SCALE": 2,
  181. "UNIT_REVERSE_LOG_SCALE": 3,
  182. }
  183. func (x ParameterSpec_ScaleType) String() string {
  184. return proto.EnumName(ParameterSpec_ScaleType_name, int32(x))
  185. }
  186. func (ParameterSpec_ScaleType) EnumDescriptor() ([]byte, []int) {
  187. return fileDescriptor_job_service_84dcbad41a9d1457, []int{2, 1}
  188. }
  189. // The format used to separate data instances in the source files.
  190. type PredictionInput_DataFormat int32
  191. const (
  192. // Unspecified format.
  193. PredictionInput_DATA_FORMAT_UNSPECIFIED PredictionInput_DataFormat = 0
  194. // The source file is a text file with instances separated by the
  195. // new-line character.
  196. PredictionInput_TEXT PredictionInput_DataFormat = 1
  197. // The source file is a TFRecord file.
  198. PredictionInput_TF_RECORD PredictionInput_DataFormat = 2
  199. // The source file is a GZIP-compressed TFRecord file.
  200. PredictionInput_TF_RECORD_GZIP PredictionInput_DataFormat = 3
  201. )
  202. var PredictionInput_DataFormat_name = map[int32]string{
  203. 0: "DATA_FORMAT_UNSPECIFIED",
  204. 1: "TEXT",
  205. 2: "TF_RECORD",
  206. 3: "TF_RECORD_GZIP",
  207. }
  208. var PredictionInput_DataFormat_value = map[string]int32{
  209. "DATA_FORMAT_UNSPECIFIED": 0,
  210. "TEXT": 1,
  211. "TF_RECORD": 2,
  212. "TF_RECORD_GZIP": 3,
  213. }
  214. func (x PredictionInput_DataFormat) String() string {
  215. return proto.EnumName(PredictionInput_DataFormat_name, int32(x))
  216. }
  217. func (PredictionInput_DataFormat) EnumDescriptor() ([]byte, []int) {
  218. return fileDescriptor_job_service_84dcbad41a9d1457, []int{5, 0}
  219. }
  220. // Describes the job state.
  221. type Job_State int32
  222. const (
  223. // The job state is unspecified.
  224. Job_STATE_UNSPECIFIED Job_State = 0
  225. // The job has been just created and processing has not yet begun.
  226. Job_QUEUED Job_State = 1
  227. // The service is preparing to run the job.
  228. Job_PREPARING Job_State = 2
  229. // The job is in progress.
  230. Job_RUNNING Job_State = 3
  231. // The job completed successfully.
  232. Job_SUCCEEDED Job_State = 4
  233. // The job failed.
  234. // `error_message` should contain the details of the failure.
  235. Job_FAILED Job_State = 5
  236. // The job is being cancelled.
  237. // `error_message` should describe the reason for the cancellation.
  238. Job_CANCELLING Job_State = 6
  239. // The job has been cancelled.
  240. // `error_message` should describe the reason for the cancellation.
  241. Job_CANCELLED Job_State = 7
  242. )
  243. var Job_State_name = map[int32]string{
  244. 0: "STATE_UNSPECIFIED",
  245. 1: "QUEUED",
  246. 2: "PREPARING",
  247. 3: "RUNNING",
  248. 4: "SUCCEEDED",
  249. 5: "FAILED",
  250. 6: "CANCELLING",
  251. 7: "CANCELLED",
  252. }
  253. var Job_State_value = map[string]int32{
  254. "STATE_UNSPECIFIED": 0,
  255. "QUEUED": 1,
  256. "PREPARING": 2,
  257. "RUNNING": 3,
  258. "SUCCEEDED": 4,
  259. "FAILED": 5,
  260. "CANCELLING": 6,
  261. "CANCELLED": 7,
  262. }
  263. func (x Job_State) String() string {
  264. return proto.EnumName(Job_State_name, int32(x))
  265. }
  266. func (Job_State) EnumDescriptor() ([]byte, []int) {
  267. return fileDescriptor_job_service_84dcbad41a9d1457, []int{7, 0}
  268. }
  269. // Represents input parameters for a training job.
  270. type TrainingInput struct {
  271. // Required. Specifies the machine types, the number of replicas for workers
  272. // and parameter servers.
  273. ScaleTier TrainingInput_ScaleTier `protobuf:"varint,1,opt,name=scale_tier,json=scaleTier,proto3,enum=google.cloud.ml.v1.TrainingInput_ScaleTier" json:"scale_tier,omitempty"`
  274. // Optional. Specifies the type of virtual machine to use for your training
  275. // job's master worker.
  276. //
  277. // The following types are supported:
  278. //
  279. // <dl>
  280. // <dt>standard</dt>
  281. // <dd>
  282. // A basic machine configuration suitable for training simple models with
  283. // small to moderate datasets.
  284. // </dd>
  285. // <dt>large_model</dt>
  286. // <dd>
  287. // A machine with a lot of memory, specially suited for parameter servers
  288. // when your model is large (having many hidden layers or layers with very
  289. // large numbers of nodes).
  290. // </dd>
  291. // <dt>complex_model_s</dt>
  292. // <dd>
  293. // A machine suitable for the master and workers of the cluster when your
  294. // model requires more computation than the standard machine can handle
  295. // satisfactorily.
  296. // </dd>
  297. // <dt>complex_model_m</dt>
  298. // <dd>
  299. // A machine with roughly twice the number of cores and roughly double the
  300. // memory of <code suppresswarning="true">complex_model_s</code>.
  301. // </dd>
  302. // <dt>complex_model_l</dt>
  303. // <dd>
  304. // A machine with roughly twice the number of cores and roughly double the
  305. // memory of <code suppresswarning="true">complex_model_m</code>.
  306. // </dd>
  307. // <dt>standard_gpu</dt>
  308. // <dd>
  309. // A machine equivalent to <code suppresswarning="true">standard</code> that
  310. // also includes a
  311. // <a href="ml/docs/how-tos/using-gpus">
  312. // GPU that you can use in your trainer</a>.
  313. // </dd>
  314. // <dt>complex_model_m_gpu</dt>
  315. // <dd>
  316. // A machine equivalent to
  317. // <code suppresswarning="true">coplex_model_m</code> that also includes
  318. // four GPUs.
  319. // </dd>
  320. // </dl>
  321. //
  322. // You must set this value when `scaleTier` is set to `CUSTOM`.
  323. MasterType string `protobuf:"bytes,2,opt,name=master_type,json=masterType,proto3" json:"master_type,omitempty"`
  324. // Optional. Specifies the type of virtual machine to use for your training
  325. // job's worker nodes.
  326. //
  327. // The supported values are the same as those described in the entry for
  328. // `masterType`.
  329. //
  330. // This value must be present when `scaleTier` is set to `CUSTOM` and
  331. // `workerCount` is greater than zero.
  332. WorkerType string `protobuf:"bytes,3,opt,name=worker_type,json=workerType,proto3" json:"worker_type,omitempty"`
  333. // Optional. Specifies the type of virtual machine to use for your training
  334. // job's parameter server.
  335. //
  336. // The supported values are the same as those described in the entry for
  337. // `master_type`.
  338. //
  339. // This value must be present when `scaleTier` is set to `CUSTOM` and
  340. // `parameter_server_count` is greater than zero.
  341. ParameterServerType string `protobuf:"bytes,4,opt,name=parameter_server_type,json=parameterServerType,proto3" json:"parameter_server_type,omitempty"`
  342. // Optional. The number of worker replicas to use for the training job. Each
  343. // replica in the cluster will be of the type specified in `worker_type`.
  344. //
  345. // This value can only be used when `scale_tier` is set to `CUSTOM`. If you
  346. // set this value, you must also set `worker_type`.
  347. WorkerCount int64 `protobuf:"varint,5,opt,name=worker_count,json=workerCount,proto3" json:"worker_count,omitempty"`
  348. // Optional. The number of parameter server replicas to use for the training
  349. // job. Each replica in the cluster will be of the type specified in
  350. // `parameter_server_type`.
  351. //
  352. // This value can only be used when `scale_tier` is set to `CUSTOM`.If you
  353. // set this value, you must also set `parameter_server_type`.
  354. ParameterServerCount int64 `protobuf:"varint,6,opt,name=parameter_server_count,json=parameterServerCount,proto3" json:"parameter_server_count,omitempty"`
  355. // Required. The Google Cloud Storage location of the packages with
  356. // the training program and any additional dependencies.
  357. PackageUris []string `protobuf:"bytes,7,rep,name=package_uris,json=packageUris,proto3" json:"package_uris,omitempty"`
  358. // Required. The Python module name to run after installing the packages.
  359. PythonModule string `protobuf:"bytes,8,opt,name=python_module,json=pythonModule,proto3" json:"python_module,omitempty"`
  360. // Optional. Command line arguments to pass to the program.
  361. Args []string `protobuf:"bytes,10,rep,name=args,proto3" json:"args,omitempty"`
  362. // Optional. The set of Hyperparameters to tune.
  363. Hyperparameters *HyperparameterSpec `protobuf:"bytes,12,opt,name=hyperparameters,proto3" json:"hyperparameters,omitempty"`
  364. // Required. The Google Compute Engine region to run the training job in.
  365. Region string `protobuf:"bytes,14,opt,name=region,proto3" json:"region,omitempty"`
  366. // Optional. A Google Cloud Storage path in which to store training outputs
  367. // and other data needed for training. This path is passed to your TensorFlow
  368. // program as the 'job_dir' command-line argument. The benefit of specifying
  369. // this field is that Cloud ML validates the path for use in training.
  370. JobDir string `protobuf:"bytes,16,opt,name=job_dir,json=jobDir,proto3" json:"job_dir,omitempty"`
  371. // Optional. The Google Cloud ML runtime version to use for training. If not
  372. // set, Google Cloud ML will choose the latest stable version.
  373. RuntimeVersion string `protobuf:"bytes,15,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
  374. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  375. XXX_unrecognized []byte `json:"-"`
  376. XXX_sizecache int32 `json:"-"`
  377. }
  378. func (m *TrainingInput) Reset() { *m = TrainingInput{} }
  379. func (m *TrainingInput) String() string { return proto.CompactTextString(m) }
  380. func (*TrainingInput) ProtoMessage() {}
  381. func (*TrainingInput) Descriptor() ([]byte, []int) {
  382. return fileDescriptor_job_service_84dcbad41a9d1457, []int{0}
  383. }
  384. func (m *TrainingInput) XXX_Unmarshal(b []byte) error {
  385. return xxx_messageInfo_TrainingInput.Unmarshal(m, b)
  386. }
  387. func (m *TrainingInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  388. return xxx_messageInfo_TrainingInput.Marshal(b, m, deterministic)
  389. }
  390. func (dst *TrainingInput) XXX_Merge(src proto.Message) {
  391. xxx_messageInfo_TrainingInput.Merge(dst, src)
  392. }
  393. func (m *TrainingInput) XXX_Size() int {
  394. return xxx_messageInfo_TrainingInput.Size(m)
  395. }
  396. func (m *TrainingInput) XXX_DiscardUnknown() {
  397. xxx_messageInfo_TrainingInput.DiscardUnknown(m)
  398. }
  399. var xxx_messageInfo_TrainingInput proto.InternalMessageInfo
  400. func (m *TrainingInput) GetScaleTier() TrainingInput_ScaleTier {
  401. if m != nil {
  402. return m.ScaleTier
  403. }
  404. return TrainingInput_BASIC
  405. }
  406. func (m *TrainingInput) GetMasterType() string {
  407. if m != nil {
  408. return m.MasterType
  409. }
  410. return ""
  411. }
  412. func (m *TrainingInput) GetWorkerType() string {
  413. if m != nil {
  414. return m.WorkerType
  415. }
  416. return ""
  417. }
  418. func (m *TrainingInput) GetParameterServerType() string {
  419. if m != nil {
  420. return m.ParameterServerType
  421. }
  422. return ""
  423. }
  424. func (m *TrainingInput) GetWorkerCount() int64 {
  425. if m != nil {
  426. return m.WorkerCount
  427. }
  428. return 0
  429. }
  430. func (m *TrainingInput) GetParameterServerCount() int64 {
  431. if m != nil {
  432. return m.ParameterServerCount
  433. }
  434. return 0
  435. }
  436. func (m *TrainingInput) GetPackageUris() []string {
  437. if m != nil {
  438. return m.PackageUris
  439. }
  440. return nil
  441. }
  442. func (m *TrainingInput) GetPythonModule() string {
  443. if m != nil {
  444. return m.PythonModule
  445. }
  446. return ""
  447. }
  448. func (m *TrainingInput) GetArgs() []string {
  449. if m != nil {
  450. return m.Args
  451. }
  452. return nil
  453. }
  454. func (m *TrainingInput) GetHyperparameters() *HyperparameterSpec {
  455. if m != nil {
  456. return m.Hyperparameters
  457. }
  458. return nil
  459. }
  460. func (m *TrainingInput) GetRegion() string {
  461. if m != nil {
  462. return m.Region
  463. }
  464. return ""
  465. }
  466. func (m *TrainingInput) GetJobDir() string {
  467. if m != nil {
  468. return m.JobDir
  469. }
  470. return ""
  471. }
  472. func (m *TrainingInput) GetRuntimeVersion() string {
  473. if m != nil {
  474. return m.RuntimeVersion
  475. }
  476. return ""
  477. }
  478. // Represents a set of hyperparameters to optimize.
  479. type HyperparameterSpec struct {
  480. // Required. The type of goal to use for tuning. Available types are
  481. // `MAXIMIZE` and `MINIMIZE`.
  482. //
  483. // Defaults to `MAXIMIZE`.
  484. Goal HyperparameterSpec_GoalType `protobuf:"varint,1,opt,name=goal,proto3,enum=google.cloud.ml.v1.HyperparameterSpec_GoalType" json:"goal,omitempty"`
  485. // Required. The set of parameters to tune.
  486. Params []*ParameterSpec `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
  487. // Optional. How many training trials should be attempted to optimize
  488. // the specified hyperparameters.
  489. //
  490. // Defaults to one.
  491. MaxTrials int32 `protobuf:"varint,3,opt,name=max_trials,json=maxTrials,proto3" json:"max_trials,omitempty"`
  492. // Optional. The number of training trials to run concurrently.
  493. // You can reduce the time it takes to perform hyperparameter tuning by adding
  494. // trials in parallel. However, each trail only benefits from the information
  495. // gained in completed trials. That means that a trial does not get access to
  496. // the results of trials running at the same time, which could reduce the
  497. // quality of the overall optimization.
  498. //
  499. // Each trial will use the same scale tier and machine types.
  500. //
  501. // Defaults to one.
  502. MaxParallelTrials int32 `protobuf:"varint,4,opt,name=max_parallel_trials,json=maxParallelTrials,proto3" json:"max_parallel_trials,omitempty"`
  503. // Optional. The Tensorflow summary tag name to use for optimizing trials. For
  504. // current versions of Tensorflow, this tag name should exactly match what is
  505. // shown in Tensorboard, including all scopes. For versions of Tensorflow
  506. // prior to 0.12, this should be only the tag passed to tf.Summary.
  507. // By default, "training/hptuning/metric" will be used.
  508. HyperparameterMetricTag string `protobuf:"bytes,5,opt,name=hyperparameter_metric_tag,json=hyperparameterMetricTag,proto3" json:"hyperparameter_metric_tag,omitempty"`
  509. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  510. XXX_unrecognized []byte `json:"-"`
  511. XXX_sizecache int32 `json:"-"`
  512. }
  513. func (m *HyperparameterSpec) Reset() { *m = HyperparameterSpec{} }
  514. func (m *HyperparameterSpec) String() string { return proto.CompactTextString(m) }
  515. func (*HyperparameterSpec) ProtoMessage() {}
  516. func (*HyperparameterSpec) Descriptor() ([]byte, []int) {
  517. return fileDescriptor_job_service_84dcbad41a9d1457, []int{1}
  518. }
  519. func (m *HyperparameterSpec) XXX_Unmarshal(b []byte) error {
  520. return xxx_messageInfo_HyperparameterSpec.Unmarshal(m, b)
  521. }
  522. func (m *HyperparameterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  523. return xxx_messageInfo_HyperparameterSpec.Marshal(b, m, deterministic)
  524. }
  525. func (dst *HyperparameterSpec) XXX_Merge(src proto.Message) {
  526. xxx_messageInfo_HyperparameterSpec.Merge(dst, src)
  527. }
  528. func (m *HyperparameterSpec) XXX_Size() int {
  529. return xxx_messageInfo_HyperparameterSpec.Size(m)
  530. }
  531. func (m *HyperparameterSpec) XXX_DiscardUnknown() {
  532. xxx_messageInfo_HyperparameterSpec.DiscardUnknown(m)
  533. }
  534. var xxx_messageInfo_HyperparameterSpec proto.InternalMessageInfo
  535. func (m *HyperparameterSpec) GetGoal() HyperparameterSpec_GoalType {
  536. if m != nil {
  537. return m.Goal
  538. }
  539. return HyperparameterSpec_GOAL_TYPE_UNSPECIFIED
  540. }
  541. func (m *HyperparameterSpec) GetParams() []*ParameterSpec {
  542. if m != nil {
  543. return m.Params
  544. }
  545. return nil
  546. }
  547. func (m *HyperparameterSpec) GetMaxTrials() int32 {
  548. if m != nil {
  549. return m.MaxTrials
  550. }
  551. return 0
  552. }
  553. func (m *HyperparameterSpec) GetMaxParallelTrials() int32 {
  554. if m != nil {
  555. return m.MaxParallelTrials
  556. }
  557. return 0
  558. }
  559. func (m *HyperparameterSpec) GetHyperparameterMetricTag() string {
  560. if m != nil {
  561. return m.HyperparameterMetricTag
  562. }
  563. return ""
  564. }
  565. // Represents a single hyperparameter to optimize.
  566. type ParameterSpec struct {
  567. // Required. The parameter name must be unique amongst all ParameterConfigs in
  568. // a HyperparameterSpec message. E.g., "learning_rate".
  569. ParameterName string `protobuf:"bytes,1,opt,name=parameter_name,json=parameterName,proto3" json:"parameter_name,omitempty"`
  570. // Required. The type of the parameter.
  571. Type ParameterSpec_ParameterType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.ml.v1.ParameterSpec_ParameterType" json:"type,omitempty"`
  572. // Required if type is `DOUBLE` or `INTEGER`. This field
  573. // should be unset if type is `CATEGORICAL`. This value should be integers if
  574. // type is INTEGER.
  575. MinValue float64 `protobuf:"fixed64,2,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
  576. // Required if typeis `DOUBLE` or `INTEGER`. This field
  577. // should be unset if type is `CATEGORICAL`. This value should be integers if
  578. // type is `INTEGER`.
  579. MaxValue float64 `protobuf:"fixed64,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
  580. // Required if type is `CATEGORICAL`. The list of possible categories.
  581. CategoricalValues []string `protobuf:"bytes,5,rep,name=categorical_values,json=categoricalValues,proto3" json:"categorical_values,omitempty"`
  582. // Required if type is `DISCRETE`.
  583. // A list of feasible points.
  584. // The list should be in strictly increasing order. For instance, this
  585. // parameter might have possible settings of 1.5, 2.5, and 4.0. This list
  586. // should not contain more than 1,000 values.
  587. DiscreteValues []float64 `protobuf:"fixed64,6,rep,packed,name=discrete_values,json=discreteValues,proto3" json:"discrete_values,omitempty"`
  588. // Optional. How the parameter should be scaled to the hypercube.
  589. // Leave unset for categorical parameters.
  590. // Some kind of scaling is strongly recommended for real or integral
  591. // parameters (e.g., `UNIT_LINEAR_SCALE`).
  592. ScaleType ParameterSpec_ScaleType `protobuf:"varint,7,opt,name=scale_type,json=scaleType,proto3,enum=google.cloud.ml.v1.ParameterSpec_ScaleType" json:"scale_type,omitempty"`
  593. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  594. XXX_unrecognized []byte `json:"-"`
  595. XXX_sizecache int32 `json:"-"`
  596. }
  597. func (m *ParameterSpec) Reset() { *m = ParameterSpec{} }
  598. func (m *ParameterSpec) String() string { return proto.CompactTextString(m) }
  599. func (*ParameterSpec) ProtoMessage() {}
  600. func (*ParameterSpec) Descriptor() ([]byte, []int) {
  601. return fileDescriptor_job_service_84dcbad41a9d1457, []int{2}
  602. }
  603. func (m *ParameterSpec) XXX_Unmarshal(b []byte) error {
  604. return xxx_messageInfo_ParameterSpec.Unmarshal(m, b)
  605. }
  606. func (m *ParameterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  607. return xxx_messageInfo_ParameterSpec.Marshal(b, m, deterministic)
  608. }
  609. func (dst *ParameterSpec) XXX_Merge(src proto.Message) {
  610. xxx_messageInfo_ParameterSpec.Merge(dst, src)
  611. }
  612. func (m *ParameterSpec) XXX_Size() int {
  613. return xxx_messageInfo_ParameterSpec.Size(m)
  614. }
  615. func (m *ParameterSpec) XXX_DiscardUnknown() {
  616. xxx_messageInfo_ParameterSpec.DiscardUnknown(m)
  617. }
  618. var xxx_messageInfo_ParameterSpec proto.InternalMessageInfo
  619. func (m *ParameterSpec) GetParameterName() string {
  620. if m != nil {
  621. return m.ParameterName
  622. }
  623. return ""
  624. }
  625. func (m *ParameterSpec) GetType() ParameterSpec_ParameterType {
  626. if m != nil {
  627. return m.Type
  628. }
  629. return ParameterSpec_PARAMETER_TYPE_UNSPECIFIED
  630. }
  631. func (m *ParameterSpec) GetMinValue() float64 {
  632. if m != nil {
  633. return m.MinValue
  634. }
  635. return 0
  636. }
  637. func (m *ParameterSpec) GetMaxValue() float64 {
  638. if m != nil {
  639. return m.MaxValue
  640. }
  641. return 0
  642. }
  643. func (m *ParameterSpec) GetCategoricalValues() []string {
  644. if m != nil {
  645. return m.CategoricalValues
  646. }
  647. return nil
  648. }
  649. func (m *ParameterSpec) GetDiscreteValues() []float64 {
  650. if m != nil {
  651. return m.DiscreteValues
  652. }
  653. return nil
  654. }
  655. func (m *ParameterSpec) GetScaleType() ParameterSpec_ScaleType {
  656. if m != nil {
  657. return m.ScaleType
  658. }
  659. return ParameterSpec_NONE
  660. }
  661. // Represents the result of a single hyperparameter tuning trial from a
  662. // training job. The TrainingOutput object that is returned on successful
  663. // completion of a training job with hyperparameter tuning includes a list
  664. // of HyperparameterOutput objects, one for each successful trial.
  665. type HyperparameterOutput struct {
  666. // The trial id for these results.
  667. TrialId string `protobuf:"bytes,1,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"`
  668. // The hyperparameters given to this trial.
  669. Hyperparameters map[string]string `protobuf:"bytes,2,rep,name=hyperparameters,proto3" json:"hyperparameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  670. // The final objective metric seen for this trial.
  671. FinalMetric *HyperparameterOutput_HyperparameterMetric `protobuf:"bytes,3,opt,name=final_metric,json=finalMetric,proto3" json:"final_metric,omitempty"`
  672. // All recorded object metrics for this trial.
  673. AllMetrics []*HyperparameterOutput_HyperparameterMetric `protobuf:"bytes,4,rep,name=all_metrics,json=allMetrics,proto3" json:"all_metrics,omitempty"`
  674. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  675. XXX_unrecognized []byte `json:"-"`
  676. XXX_sizecache int32 `json:"-"`
  677. }
  678. func (m *HyperparameterOutput) Reset() { *m = HyperparameterOutput{} }
  679. func (m *HyperparameterOutput) String() string { return proto.CompactTextString(m) }
  680. func (*HyperparameterOutput) ProtoMessage() {}
  681. func (*HyperparameterOutput) Descriptor() ([]byte, []int) {
  682. return fileDescriptor_job_service_84dcbad41a9d1457, []int{3}
  683. }
  684. func (m *HyperparameterOutput) XXX_Unmarshal(b []byte) error {
  685. return xxx_messageInfo_HyperparameterOutput.Unmarshal(m, b)
  686. }
  687. func (m *HyperparameterOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  688. return xxx_messageInfo_HyperparameterOutput.Marshal(b, m, deterministic)
  689. }
  690. func (dst *HyperparameterOutput) XXX_Merge(src proto.Message) {
  691. xxx_messageInfo_HyperparameterOutput.Merge(dst, src)
  692. }
  693. func (m *HyperparameterOutput) XXX_Size() int {
  694. return xxx_messageInfo_HyperparameterOutput.Size(m)
  695. }
  696. func (m *HyperparameterOutput) XXX_DiscardUnknown() {
  697. xxx_messageInfo_HyperparameterOutput.DiscardUnknown(m)
  698. }
  699. var xxx_messageInfo_HyperparameterOutput proto.InternalMessageInfo
  700. func (m *HyperparameterOutput) GetTrialId() string {
  701. if m != nil {
  702. return m.TrialId
  703. }
  704. return ""
  705. }
  706. func (m *HyperparameterOutput) GetHyperparameters() map[string]string {
  707. if m != nil {
  708. return m.Hyperparameters
  709. }
  710. return nil
  711. }
  712. func (m *HyperparameterOutput) GetFinalMetric() *HyperparameterOutput_HyperparameterMetric {
  713. if m != nil {
  714. return m.FinalMetric
  715. }
  716. return nil
  717. }
  718. func (m *HyperparameterOutput) GetAllMetrics() []*HyperparameterOutput_HyperparameterMetric {
  719. if m != nil {
  720. return m.AllMetrics
  721. }
  722. return nil
  723. }
  724. // An observed value of a metric.
  725. type HyperparameterOutput_HyperparameterMetric struct {
  726. // The global training step for this metric.
  727. TrainingStep int64 `protobuf:"varint,1,opt,name=training_step,json=trainingStep,proto3" json:"training_step,omitempty"`
  728. // The objective value at this training step.
  729. ObjectiveValue float64 `protobuf:"fixed64,2,opt,name=objective_value,json=objectiveValue,proto3" json:"objective_value,omitempty"`
  730. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  731. XXX_unrecognized []byte `json:"-"`
  732. XXX_sizecache int32 `json:"-"`
  733. }
  734. func (m *HyperparameterOutput_HyperparameterMetric) Reset() {
  735. *m = HyperparameterOutput_HyperparameterMetric{}
  736. }
  737. func (m *HyperparameterOutput_HyperparameterMetric) String() string { return proto.CompactTextString(m) }
  738. func (*HyperparameterOutput_HyperparameterMetric) ProtoMessage() {}
  739. func (*HyperparameterOutput_HyperparameterMetric) Descriptor() ([]byte, []int) {
  740. return fileDescriptor_job_service_84dcbad41a9d1457, []int{3, 0}
  741. }
  742. func (m *HyperparameterOutput_HyperparameterMetric) XXX_Unmarshal(b []byte) error {
  743. return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Unmarshal(m, b)
  744. }
  745. func (m *HyperparameterOutput_HyperparameterMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  746. return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Marshal(b, m, deterministic)
  747. }
  748. func (dst *HyperparameterOutput_HyperparameterMetric) XXX_Merge(src proto.Message) {
  749. xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Merge(dst, src)
  750. }
  751. func (m *HyperparameterOutput_HyperparameterMetric) XXX_Size() int {
  752. return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Size(m)
  753. }
  754. func (m *HyperparameterOutput_HyperparameterMetric) XXX_DiscardUnknown() {
  755. xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.DiscardUnknown(m)
  756. }
  757. var xxx_messageInfo_HyperparameterOutput_HyperparameterMetric proto.InternalMessageInfo
  758. func (m *HyperparameterOutput_HyperparameterMetric) GetTrainingStep() int64 {
  759. if m != nil {
  760. return m.TrainingStep
  761. }
  762. return 0
  763. }
  764. func (m *HyperparameterOutput_HyperparameterMetric) GetObjectiveValue() float64 {
  765. if m != nil {
  766. return m.ObjectiveValue
  767. }
  768. return 0
  769. }
  770. // Represents results of a training job. Output only.
  771. type TrainingOutput struct {
  772. // The number of hyperparameter tuning trials that completed successfully.
  773. // Only set for hyperparameter tuning jobs.
  774. CompletedTrialCount int64 `protobuf:"varint,1,opt,name=completed_trial_count,json=completedTrialCount,proto3" json:"completed_trial_count,omitempty"`
  775. // Results for individual Hyperparameter trials.
  776. // Only set for hyperparameter tuning jobs.
  777. Trials []*HyperparameterOutput `protobuf:"bytes,2,rep,name=trials,proto3" json:"trials,omitempty"`
  778. // The amount of ML units consumed by the job.
  779. ConsumedMlUnits float64 `protobuf:"fixed64,3,opt,name=consumed_ml_units,json=consumedMlUnits,proto3" json:"consumed_ml_units,omitempty"`
  780. // Whether this job is a hyperparameter tuning job.
  781. IsHyperparameterTuningJob bool `protobuf:"varint,4,opt,name=is_hyperparameter_tuning_job,json=isHyperparameterTuningJob,proto3" json:"is_hyperparameter_tuning_job,omitempty"`
  782. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  783. XXX_unrecognized []byte `json:"-"`
  784. XXX_sizecache int32 `json:"-"`
  785. }
  786. func (m *TrainingOutput) Reset() { *m = TrainingOutput{} }
  787. func (m *TrainingOutput) String() string { return proto.CompactTextString(m) }
  788. func (*TrainingOutput) ProtoMessage() {}
  789. func (*TrainingOutput) Descriptor() ([]byte, []int) {
  790. return fileDescriptor_job_service_84dcbad41a9d1457, []int{4}
  791. }
  792. func (m *TrainingOutput) XXX_Unmarshal(b []byte) error {
  793. return xxx_messageInfo_TrainingOutput.Unmarshal(m, b)
  794. }
  795. func (m *TrainingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  796. return xxx_messageInfo_TrainingOutput.Marshal(b, m, deterministic)
  797. }
  798. func (dst *TrainingOutput) XXX_Merge(src proto.Message) {
  799. xxx_messageInfo_TrainingOutput.Merge(dst, src)
  800. }
  801. func (m *TrainingOutput) XXX_Size() int {
  802. return xxx_messageInfo_TrainingOutput.Size(m)
  803. }
  804. func (m *TrainingOutput) XXX_DiscardUnknown() {
  805. xxx_messageInfo_TrainingOutput.DiscardUnknown(m)
  806. }
  807. var xxx_messageInfo_TrainingOutput proto.InternalMessageInfo
  808. func (m *TrainingOutput) GetCompletedTrialCount() int64 {
  809. if m != nil {
  810. return m.CompletedTrialCount
  811. }
  812. return 0
  813. }
  814. func (m *TrainingOutput) GetTrials() []*HyperparameterOutput {
  815. if m != nil {
  816. return m.Trials
  817. }
  818. return nil
  819. }
  820. func (m *TrainingOutput) GetConsumedMlUnits() float64 {
  821. if m != nil {
  822. return m.ConsumedMlUnits
  823. }
  824. return 0
  825. }
  826. func (m *TrainingOutput) GetIsHyperparameterTuningJob() bool {
  827. if m != nil {
  828. return m.IsHyperparameterTuningJob
  829. }
  830. return false
  831. }
  832. // Represents input parameters for a prediction job.
  833. type PredictionInput struct {
  834. // Required. The model or the version to use for prediction.
  835. //
  836. // Types that are valid to be assigned to ModelVersion:
  837. // *PredictionInput_ModelName
  838. // *PredictionInput_VersionName
  839. // *PredictionInput_Uri
  840. ModelVersion isPredictionInput_ModelVersion `protobuf_oneof:"model_version"`
  841. // Required. The format of the input data files.
  842. DataFormat PredictionInput_DataFormat `protobuf:"varint,3,opt,name=data_format,json=dataFormat,proto3,enum=google.cloud.ml.v1.PredictionInput_DataFormat" json:"data_format,omitempty"`
  843. // Required. The Google Cloud Storage location of the input data files.
  844. // May contain wildcards.
  845. InputPaths []string `protobuf:"bytes,4,rep,name=input_paths,json=inputPaths,proto3" json:"input_paths,omitempty"`
  846. // Required. The output Google Cloud Storage location.
  847. OutputPath string `protobuf:"bytes,5,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
  848. // Optional. The maximum number of workers to be used for parallel processing.
  849. // Defaults to 10 if not specified.
  850. MaxWorkerCount int64 `protobuf:"varint,6,opt,name=max_worker_count,json=maxWorkerCount,proto3" json:"max_worker_count,omitempty"`
  851. // Required. The Google Compute Engine region to run the prediction job in.
  852. Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
  853. // Optional. The Google Cloud ML runtime version to use for this batch
  854. // prediction. If not set, Google Cloud ML will pick the runtime version used
  855. // during the CreateVersion request for this model version, or choose the
  856. // latest stable version when model version information is not available
  857. // such as when the model is specified by uri.
  858. RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
  859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  860. XXX_unrecognized []byte `json:"-"`
  861. XXX_sizecache int32 `json:"-"`
  862. }
  863. func (m *PredictionInput) Reset() { *m = PredictionInput{} }
  864. func (m *PredictionInput) String() string { return proto.CompactTextString(m) }
  865. func (*PredictionInput) ProtoMessage() {}
  866. func (*PredictionInput) Descriptor() ([]byte, []int) {
  867. return fileDescriptor_job_service_84dcbad41a9d1457, []int{5}
  868. }
  869. func (m *PredictionInput) XXX_Unmarshal(b []byte) error {
  870. return xxx_messageInfo_PredictionInput.Unmarshal(m, b)
  871. }
  872. func (m *PredictionInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  873. return xxx_messageInfo_PredictionInput.Marshal(b, m, deterministic)
  874. }
  875. func (dst *PredictionInput) XXX_Merge(src proto.Message) {
  876. xxx_messageInfo_PredictionInput.Merge(dst, src)
  877. }
  878. func (m *PredictionInput) XXX_Size() int {
  879. return xxx_messageInfo_PredictionInput.Size(m)
  880. }
  881. func (m *PredictionInput) XXX_DiscardUnknown() {
  882. xxx_messageInfo_PredictionInput.DiscardUnknown(m)
  883. }
  884. var xxx_messageInfo_PredictionInput proto.InternalMessageInfo
  885. type isPredictionInput_ModelVersion interface {
  886. isPredictionInput_ModelVersion()
  887. }
  888. type PredictionInput_ModelName struct {
  889. ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3,oneof"`
  890. }
  891. type PredictionInput_VersionName struct {
  892. VersionName string `protobuf:"bytes,2,opt,name=version_name,json=versionName,proto3,oneof"`
  893. }
  894. type PredictionInput_Uri struct {
  895. Uri string `protobuf:"bytes,9,opt,name=uri,proto3,oneof"`
  896. }
  897. func (*PredictionInput_ModelName) isPredictionInput_ModelVersion() {}
  898. func (*PredictionInput_VersionName) isPredictionInput_ModelVersion() {}
  899. func (*PredictionInput_Uri) isPredictionInput_ModelVersion() {}
  900. func (m *PredictionInput) GetModelVersion() isPredictionInput_ModelVersion {
  901. if m != nil {
  902. return m.ModelVersion
  903. }
  904. return nil
  905. }
  906. func (m *PredictionInput) GetModelName() string {
  907. if x, ok := m.GetModelVersion().(*PredictionInput_ModelName); ok {
  908. return x.ModelName
  909. }
  910. return ""
  911. }
  912. func (m *PredictionInput) GetVersionName() string {
  913. if x, ok := m.GetModelVersion().(*PredictionInput_VersionName); ok {
  914. return x.VersionName
  915. }
  916. return ""
  917. }
  918. func (m *PredictionInput) GetUri() string {
  919. if x, ok := m.GetModelVersion().(*PredictionInput_Uri); ok {
  920. return x.Uri
  921. }
  922. return ""
  923. }
  924. func (m *PredictionInput) GetDataFormat() PredictionInput_DataFormat {
  925. if m != nil {
  926. return m.DataFormat
  927. }
  928. return PredictionInput_DATA_FORMAT_UNSPECIFIED
  929. }
  930. func (m *PredictionInput) GetInputPaths() []string {
  931. if m != nil {
  932. return m.InputPaths
  933. }
  934. return nil
  935. }
  936. func (m *PredictionInput) GetOutputPath() string {
  937. if m != nil {
  938. return m.OutputPath
  939. }
  940. return ""
  941. }
  942. func (m *PredictionInput) GetMaxWorkerCount() int64 {
  943. if m != nil {
  944. return m.MaxWorkerCount
  945. }
  946. return 0
  947. }
  948. func (m *PredictionInput) GetRegion() string {
  949. if m != nil {
  950. return m.Region
  951. }
  952. return ""
  953. }
  954. func (m *PredictionInput) GetRuntimeVersion() string {
  955. if m != nil {
  956. return m.RuntimeVersion
  957. }
  958. return ""
  959. }
  960. // XXX_OneofFuncs is for the internal use of the proto package.
  961. func (*PredictionInput) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  962. return _PredictionInput_OneofMarshaler, _PredictionInput_OneofUnmarshaler, _PredictionInput_OneofSizer, []interface{}{
  963. (*PredictionInput_ModelName)(nil),
  964. (*PredictionInput_VersionName)(nil),
  965. (*PredictionInput_Uri)(nil),
  966. }
  967. }
  968. func _PredictionInput_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  969. m := msg.(*PredictionInput)
  970. // model_version
  971. switch x := m.ModelVersion.(type) {
  972. case *PredictionInput_ModelName:
  973. b.EncodeVarint(1<<3 | proto.WireBytes)
  974. b.EncodeStringBytes(x.ModelName)
  975. case *PredictionInput_VersionName:
  976. b.EncodeVarint(2<<3 | proto.WireBytes)
  977. b.EncodeStringBytes(x.VersionName)
  978. case *PredictionInput_Uri:
  979. b.EncodeVarint(9<<3 | proto.WireBytes)
  980. b.EncodeStringBytes(x.Uri)
  981. case nil:
  982. default:
  983. return fmt.Errorf("PredictionInput.ModelVersion has unexpected type %T", x)
  984. }
  985. return nil
  986. }
  987. func _PredictionInput_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  988. m := msg.(*PredictionInput)
  989. switch tag {
  990. case 1: // model_version.model_name
  991. if wire != proto.WireBytes {
  992. return true, proto.ErrInternalBadWireType
  993. }
  994. x, err := b.DecodeStringBytes()
  995. m.ModelVersion = &PredictionInput_ModelName{x}
  996. return true, err
  997. case 2: // model_version.version_name
  998. if wire != proto.WireBytes {
  999. return true, proto.ErrInternalBadWireType
  1000. }
  1001. x, err := b.DecodeStringBytes()
  1002. m.ModelVersion = &PredictionInput_VersionName{x}
  1003. return true, err
  1004. case 9: // model_version.uri
  1005. if wire != proto.WireBytes {
  1006. return true, proto.ErrInternalBadWireType
  1007. }
  1008. x, err := b.DecodeStringBytes()
  1009. m.ModelVersion = &PredictionInput_Uri{x}
  1010. return true, err
  1011. default:
  1012. return false, nil
  1013. }
  1014. }
  1015. func _PredictionInput_OneofSizer(msg proto.Message) (n int) {
  1016. m := msg.(*PredictionInput)
  1017. // model_version
  1018. switch x := m.ModelVersion.(type) {
  1019. case *PredictionInput_ModelName:
  1020. n += 1 // tag and wire
  1021. n += proto.SizeVarint(uint64(len(x.ModelName)))
  1022. n += len(x.ModelName)
  1023. case *PredictionInput_VersionName:
  1024. n += 1 // tag and wire
  1025. n += proto.SizeVarint(uint64(len(x.VersionName)))
  1026. n += len(x.VersionName)
  1027. case *PredictionInput_Uri:
  1028. n += 1 // tag and wire
  1029. n += proto.SizeVarint(uint64(len(x.Uri)))
  1030. n += len(x.Uri)
  1031. case nil:
  1032. default:
  1033. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1034. }
  1035. return n
  1036. }
  1037. // Represents results of a prediction job.
  1038. type PredictionOutput struct {
  1039. // The output Google Cloud Storage location provided at the job creation time.
  1040. OutputPath string `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
  1041. // The number of generated predictions.
  1042. PredictionCount int64 `protobuf:"varint,2,opt,name=prediction_count,json=predictionCount,proto3" json:"prediction_count,omitempty"`
  1043. // The number of data instances which resulted in errors.
  1044. ErrorCount int64 `protobuf:"varint,3,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
  1045. // Node hours used by the batch prediction job.
  1046. NodeHours float64 `protobuf:"fixed64,4,opt,name=node_hours,json=nodeHours,proto3" json:"node_hours,omitempty"`
  1047. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1048. XXX_unrecognized []byte `json:"-"`
  1049. XXX_sizecache int32 `json:"-"`
  1050. }
  1051. func (m *PredictionOutput) Reset() { *m = PredictionOutput{} }
  1052. func (m *PredictionOutput) String() string { return proto.CompactTextString(m) }
  1053. func (*PredictionOutput) ProtoMessage() {}
  1054. func (*PredictionOutput) Descriptor() ([]byte, []int) {
  1055. return fileDescriptor_job_service_84dcbad41a9d1457, []int{6}
  1056. }
  1057. func (m *PredictionOutput) XXX_Unmarshal(b []byte) error {
  1058. return xxx_messageInfo_PredictionOutput.Unmarshal(m, b)
  1059. }
  1060. func (m *PredictionOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1061. return xxx_messageInfo_PredictionOutput.Marshal(b, m, deterministic)
  1062. }
  1063. func (dst *PredictionOutput) XXX_Merge(src proto.Message) {
  1064. xxx_messageInfo_PredictionOutput.Merge(dst, src)
  1065. }
  1066. func (m *PredictionOutput) XXX_Size() int {
  1067. return xxx_messageInfo_PredictionOutput.Size(m)
  1068. }
  1069. func (m *PredictionOutput) XXX_DiscardUnknown() {
  1070. xxx_messageInfo_PredictionOutput.DiscardUnknown(m)
  1071. }
  1072. var xxx_messageInfo_PredictionOutput proto.InternalMessageInfo
  1073. func (m *PredictionOutput) GetOutputPath() string {
  1074. if m != nil {
  1075. return m.OutputPath
  1076. }
  1077. return ""
  1078. }
  1079. func (m *PredictionOutput) GetPredictionCount() int64 {
  1080. if m != nil {
  1081. return m.PredictionCount
  1082. }
  1083. return 0
  1084. }
  1085. func (m *PredictionOutput) GetErrorCount() int64 {
  1086. if m != nil {
  1087. return m.ErrorCount
  1088. }
  1089. return 0
  1090. }
  1091. func (m *PredictionOutput) GetNodeHours() float64 {
  1092. if m != nil {
  1093. return m.NodeHours
  1094. }
  1095. return 0
  1096. }
  1097. // Represents a training or prediction job.
  1098. type Job struct {
  1099. // Required. The user-specified id of the job.
  1100. JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
  1101. // Required. Parameters to create a job.
  1102. //
  1103. // Types that are valid to be assigned to Input:
  1104. // *Job_TrainingInput
  1105. // *Job_PredictionInput
  1106. Input isJob_Input `protobuf_oneof:"input"`
  1107. // Output only. When the job was created.
  1108. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  1109. // Output only. When the job processing was started.
  1110. StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
  1111. // Output only. When the job processing was completed.
  1112. EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  1113. // Output only. The detailed state of a job.
  1114. State Job_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.ml.v1.Job_State" json:"state,omitempty"`
  1115. // Output only. The details of a failure or a cancellation.
  1116. ErrorMessage string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
  1117. // Output only. The current result of the job.
  1118. //
  1119. // Types that are valid to be assigned to Output:
  1120. // *Job_TrainingOutput
  1121. // *Job_PredictionOutput
  1122. Output isJob_Output `protobuf_oneof:"output"`
  1123. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1124. XXX_unrecognized []byte `json:"-"`
  1125. XXX_sizecache int32 `json:"-"`
  1126. }
  1127. func (m *Job) Reset() { *m = Job{} }
  1128. func (m *Job) String() string { return proto.CompactTextString(m) }
  1129. func (*Job) ProtoMessage() {}
  1130. func (*Job) Descriptor() ([]byte, []int) {
  1131. return fileDescriptor_job_service_84dcbad41a9d1457, []int{7}
  1132. }
  1133. func (m *Job) XXX_Unmarshal(b []byte) error {
  1134. return xxx_messageInfo_Job.Unmarshal(m, b)
  1135. }
  1136. func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1137. return xxx_messageInfo_Job.Marshal(b, m, deterministic)
  1138. }
  1139. func (dst *Job) XXX_Merge(src proto.Message) {
  1140. xxx_messageInfo_Job.Merge(dst, src)
  1141. }
  1142. func (m *Job) XXX_Size() int {
  1143. return xxx_messageInfo_Job.Size(m)
  1144. }
  1145. func (m *Job) XXX_DiscardUnknown() {
  1146. xxx_messageInfo_Job.DiscardUnknown(m)
  1147. }
  1148. var xxx_messageInfo_Job proto.InternalMessageInfo
  1149. func (m *Job) GetJobId() string {
  1150. if m != nil {
  1151. return m.JobId
  1152. }
  1153. return ""
  1154. }
  1155. type isJob_Input interface {
  1156. isJob_Input()
  1157. }
  1158. type Job_TrainingInput struct {
  1159. TrainingInput *TrainingInput `protobuf:"bytes,2,opt,name=training_input,json=trainingInput,proto3,oneof"`
  1160. }
  1161. type Job_PredictionInput struct {
  1162. PredictionInput *PredictionInput `protobuf:"bytes,3,opt,name=prediction_input,json=predictionInput,proto3,oneof"`
  1163. }
  1164. func (*Job_TrainingInput) isJob_Input() {}
  1165. func (*Job_PredictionInput) isJob_Input() {}
  1166. func (m *Job) GetInput() isJob_Input {
  1167. if m != nil {
  1168. return m.Input
  1169. }
  1170. return nil
  1171. }
  1172. func (m *Job) GetTrainingInput() *TrainingInput {
  1173. if x, ok := m.GetInput().(*Job_TrainingInput); ok {
  1174. return x.TrainingInput
  1175. }
  1176. return nil
  1177. }
  1178. func (m *Job) GetPredictionInput() *PredictionInput {
  1179. if x, ok := m.GetInput().(*Job_PredictionInput); ok {
  1180. return x.PredictionInput
  1181. }
  1182. return nil
  1183. }
  1184. func (m *Job) GetCreateTime() *timestamp.Timestamp {
  1185. if m != nil {
  1186. return m.CreateTime
  1187. }
  1188. return nil
  1189. }
  1190. func (m *Job) GetStartTime() *timestamp.Timestamp {
  1191. if m != nil {
  1192. return m.StartTime
  1193. }
  1194. return nil
  1195. }
  1196. func (m *Job) GetEndTime() *timestamp.Timestamp {
  1197. if m != nil {
  1198. return m.EndTime
  1199. }
  1200. return nil
  1201. }
  1202. func (m *Job) GetState() Job_State {
  1203. if m != nil {
  1204. return m.State
  1205. }
  1206. return Job_STATE_UNSPECIFIED
  1207. }
  1208. func (m *Job) GetErrorMessage() string {
  1209. if m != nil {
  1210. return m.ErrorMessage
  1211. }
  1212. return ""
  1213. }
  1214. type isJob_Output interface {
  1215. isJob_Output()
  1216. }
  1217. type Job_TrainingOutput struct {
  1218. TrainingOutput *TrainingOutput `protobuf:"bytes,9,opt,name=training_output,json=trainingOutput,proto3,oneof"`
  1219. }
  1220. type Job_PredictionOutput struct {
  1221. PredictionOutput *PredictionOutput `protobuf:"bytes,10,opt,name=prediction_output,json=predictionOutput,proto3,oneof"`
  1222. }
  1223. func (*Job_TrainingOutput) isJob_Output() {}
  1224. func (*Job_PredictionOutput) isJob_Output() {}
  1225. func (m *Job) GetOutput() isJob_Output {
  1226. if m != nil {
  1227. return m.Output
  1228. }
  1229. return nil
  1230. }
  1231. func (m *Job) GetTrainingOutput() *TrainingOutput {
  1232. if x, ok := m.GetOutput().(*Job_TrainingOutput); ok {
  1233. return x.TrainingOutput
  1234. }
  1235. return nil
  1236. }
  1237. func (m *Job) GetPredictionOutput() *PredictionOutput {
  1238. if x, ok := m.GetOutput().(*Job_PredictionOutput); ok {
  1239. return x.PredictionOutput
  1240. }
  1241. return nil
  1242. }
  1243. // XXX_OneofFuncs is for the internal use of the proto package.
  1244. func (*Job) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1245. return _Job_OneofMarshaler, _Job_OneofUnmarshaler, _Job_OneofSizer, []interface{}{
  1246. (*Job_TrainingInput)(nil),
  1247. (*Job_PredictionInput)(nil),
  1248. (*Job_TrainingOutput)(nil),
  1249. (*Job_PredictionOutput)(nil),
  1250. }
  1251. }
  1252. func _Job_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1253. m := msg.(*Job)
  1254. // input
  1255. switch x := m.Input.(type) {
  1256. case *Job_TrainingInput:
  1257. b.EncodeVarint(2<<3 | proto.WireBytes)
  1258. if err := b.EncodeMessage(x.TrainingInput); err != nil {
  1259. return err
  1260. }
  1261. case *Job_PredictionInput:
  1262. b.EncodeVarint(3<<3 | proto.WireBytes)
  1263. if err := b.EncodeMessage(x.PredictionInput); err != nil {
  1264. return err
  1265. }
  1266. case nil:
  1267. default:
  1268. return fmt.Errorf("Job.Input has unexpected type %T", x)
  1269. }
  1270. // output
  1271. switch x := m.Output.(type) {
  1272. case *Job_TrainingOutput:
  1273. b.EncodeVarint(9<<3 | proto.WireBytes)
  1274. if err := b.EncodeMessage(x.TrainingOutput); err != nil {
  1275. return err
  1276. }
  1277. case *Job_PredictionOutput:
  1278. b.EncodeVarint(10<<3 | proto.WireBytes)
  1279. if err := b.EncodeMessage(x.PredictionOutput); err != nil {
  1280. return err
  1281. }
  1282. case nil:
  1283. default:
  1284. return fmt.Errorf("Job.Output has unexpected type %T", x)
  1285. }
  1286. return nil
  1287. }
  1288. func _Job_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1289. m := msg.(*Job)
  1290. switch tag {
  1291. case 2: // input.training_input
  1292. if wire != proto.WireBytes {
  1293. return true, proto.ErrInternalBadWireType
  1294. }
  1295. msg := new(TrainingInput)
  1296. err := b.DecodeMessage(msg)
  1297. m.Input = &Job_TrainingInput{msg}
  1298. return true, err
  1299. case 3: // input.prediction_input
  1300. if wire != proto.WireBytes {
  1301. return true, proto.ErrInternalBadWireType
  1302. }
  1303. msg := new(PredictionInput)
  1304. err := b.DecodeMessage(msg)
  1305. m.Input = &Job_PredictionInput{msg}
  1306. return true, err
  1307. case 9: // output.training_output
  1308. if wire != proto.WireBytes {
  1309. return true, proto.ErrInternalBadWireType
  1310. }
  1311. msg := new(TrainingOutput)
  1312. err := b.DecodeMessage(msg)
  1313. m.Output = &Job_TrainingOutput{msg}
  1314. return true, err
  1315. case 10: // output.prediction_output
  1316. if wire != proto.WireBytes {
  1317. return true, proto.ErrInternalBadWireType
  1318. }
  1319. msg := new(PredictionOutput)
  1320. err := b.DecodeMessage(msg)
  1321. m.Output = &Job_PredictionOutput{msg}
  1322. return true, err
  1323. default:
  1324. return false, nil
  1325. }
  1326. }
  1327. func _Job_OneofSizer(msg proto.Message) (n int) {
  1328. m := msg.(*Job)
  1329. // input
  1330. switch x := m.Input.(type) {
  1331. case *Job_TrainingInput:
  1332. s := proto.Size(x.TrainingInput)
  1333. n += 1 // tag and wire
  1334. n += proto.SizeVarint(uint64(s))
  1335. n += s
  1336. case *Job_PredictionInput:
  1337. s := proto.Size(x.PredictionInput)
  1338. n += 1 // tag and wire
  1339. n += proto.SizeVarint(uint64(s))
  1340. n += s
  1341. case nil:
  1342. default:
  1343. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1344. }
  1345. // output
  1346. switch x := m.Output.(type) {
  1347. case *Job_TrainingOutput:
  1348. s := proto.Size(x.TrainingOutput)
  1349. n += 1 // tag and wire
  1350. n += proto.SizeVarint(uint64(s))
  1351. n += s
  1352. case *Job_PredictionOutput:
  1353. s := proto.Size(x.PredictionOutput)
  1354. n += 1 // tag and wire
  1355. n += proto.SizeVarint(uint64(s))
  1356. n += s
  1357. case nil:
  1358. default:
  1359. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1360. }
  1361. return n
  1362. }
  1363. // Request message for the CreateJob method.
  1364. type CreateJobRequest struct {
  1365. // Required. The project name.
  1366. //
  1367. // Authorization: requires `Editor` role on the specified project.
  1368. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1369. // Required. The job to create.
  1370. Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
  1371. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1372. XXX_unrecognized []byte `json:"-"`
  1373. XXX_sizecache int32 `json:"-"`
  1374. }
  1375. func (m *CreateJobRequest) Reset() { *m = CreateJobRequest{} }
  1376. func (m *CreateJobRequest) String() string { return proto.CompactTextString(m) }
  1377. func (*CreateJobRequest) ProtoMessage() {}
  1378. func (*CreateJobRequest) Descriptor() ([]byte, []int) {
  1379. return fileDescriptor_job_service_84dcbad41a9d1457, []int{8}
  1380. }
  1381. func (m *CreateJobRequest) XXX_Unmarshal(b []byte) error {
  1382. return xxx_messageInfo_CreateJobRequest.Unmarshal(m, b)
  1383. }
  1384. func (m *CreateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1385. return xxx_messageInfo_CreateJobRequest.Marshal(b, m, deterministic)
  1386. }
  1387. func (dst *CreateJobRequest) XXX_Merge(src proto.Message) {
  1388. xxx_messageInfo_CreateJobRequest.Merge(dst, src)
  1389. }
  1390. func (m *CreateJobRequest) XXX_Size() int {
  1391. return xxx_messageInfo_CreateJobRequest.Size(m)
  1392. }
  1393. func (m *CreateJobRequest) XXX_DiscardUnknown() {
  1394. xxx_messageInfo_CreateJobRequest.DiscardUnknown(m)
  1395. }
  1396. var xxx_messageInfo_CreateJobRequest proto.InternalMessageInfo
  1397. func (m *CreateJobRequest) GetParent() string {
  1398. if m != nil {
  1399. return m.Parent
  1400. }
  1401. return ""
  1402. }
  1403. func (m *CreateJobRequest) GetJob() *Job {
  1404. if m != nil {
  1405. return m.Job
  1406. }
  1407. return nil
  1408. }
  1409. // Request message for the ListJobs method.
  1410. type ListJobsRequest struct {
  1411. // Required. The name of the project for which to list jobs.
  1412. //
  1413. // Authorization: requires `Viewer` role on the specified project.
  1414. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  1415. // Optional. Specifies the subset of jobs to retrieve.
  1416. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
  1417. // Optional. A page token to request the next page of results.
  1418. //
  1419. // You get the token from the `next_page_token` field of the response from
  1420. // the previous call.
  1421. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  1422. // Optional. The number of jobs to retrieve per "page" of results. If there
  1423. // are more remaining results than this number, the response message will
  1424. // contain a valid value in the `next_page_token` field.
  1425. //
  1426. // The default value is 20, and the maximum page size is 100.
  1427. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1428. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1429. XXX_unrecognized []byte `json:"-"`
  1430. XXX_sizecache int32 `json:"-"`
  1431. }
  1432. func (m *ListJobsRequest) Reset() { *m = ListJobsRequest{} }
  1433. func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) }
  1434. func (*ListJobsRequest) ProtoMessage() {}
  1435. func (*ListJobsRequest) Descriptor() ([]byte, []int) {
  1436. return fileDescriptor_job_service_84dcbad41a9d1457, []int{9}
  1437. }
  1438. func (m *ListJobsRequest) XXX_Unmarshal(b []byte) error {
  1439. return xxx_messageInfo_ListJobsRequest.Unmarshal(m, b)
  1440. }
  1441. func (m *ListJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1442. return xxx_messageInfo_ListJobsRequest.Marshal(b, m, deterministic)
  1443. }
  1444. func (dst *ListJobsRequest) XXX_Merge(src proto.Message) {
  1445. xxx_messageInfo_ListJobsRequest.Merge(dst, src)
  1446. }
  1447. func (m *ListJobsRequest) XXX_Size() int {
  1448. return xxx_messageInfo_ListJobsRequest.Size(m)
  1449. }
  1450. func (m *ListJobsRequest) XXX_DiscardUnknown() {
  1451. xxx_messageInfo_ListJobsRequest.DiscardUnknown(m)
  1452. }
  1453. var xxx_messageInfo_ListJobsRequest proto.InternalMessageInfo
  1454. func (m *ListJobsRequest) GetParent() string {
  1455. if m != nil {
  1456. return m.Parent
  1457. }
  1458. return ""
  1459. }
  1460. func (m *ListJobsRequest) GetFilter() string {
  1461. if m != nil {
  1462. return m.Filter
  1463. }
  1464. return ""
  1465. }
  1466. func (m *ListJobsRequest) GetPageToken() string {
  1467. if m != nil {
  1468. return m.PageToken
  1469. }
  1470. return ""
  1471. }
  1472. func (m *ListJobsRequest) GetPageSize() int32 {
  1473. if m != nil {
  1474. return m.PageSize
  1475. }
  1476. return 0
  1477. }
  1478. // Response message for the ListJobs method.
  1479. type ListJobsResponse struct {
  1480. // The list of jobs.
  1481. Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
  1482. // Optional. Pass this token as the `page_token` field of the request for a
  1483. // subsequent call.
  1484. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1485. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1486. XXX_unrecognized []byte `json:"-"`
  1487. XXX_sizecache int32 `json:"-"`
  1488. }
  1489. func (m *ListJobsResponse) Reset() { *m = ListJobsResponse{} }
  1490. func (m *ListJobsResponse) String() string { return proto.CompactTextString(m) }
  1491. func (*ListJobsResponse) ProtoMessage() {}
  1492. func (*ListJobsResponse) Descriptor() ([]byte, []int) {
  1493. return fileDescriptor_job_service_84dcbad41a9d1457, []int{10}
  1494. }
  1495. func (m *ListJobsResponse) XXX_Unmarshal(b []byte) error {
  1496. return xxx_messageInfo_ListJobsResponse.Unmarshal(m, b)
  1497. }
  1498. func (m *ListJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1499. return xxx_messageInfo_ListJobsResponse.Marshal(b, m, deterministic)
  1500. }
  1501. func (dst *ListJobsResponse) XXX_Merge(src proto.Message) {
  1502. xxx_messageInfo_ListJobsResponse.Merge(dst, src)
  1503. }
  1504. func (m *ListJobsResponse) XXX_Size() int {
  1505. return xxx_messageInfo_ListJobsResponse.Size(m)
  1506. }
  1507. func (m *ListJobsResponse) XXX_DiscardUnknown() {
  1508. xxx_messageInfo_ListJobsResponse.DiscardUnknown(m)
  1509. }
  1510. var xxx_messageInfo_ListJobsResponse proto.InternalMessageInfo
  1511. func (m *ListJobsResponse) GetJobs() []*Job {
  1512. if m != nil {
  1513. return m.Jobs
  1514. }
  1515. return nil
  1516. }
  1517. func (m *ListJobsResponse) GetNextPageToken() string {
  1518. if m != nil {
  1519. return m.NextPageToken
  1520. }
  1521. return ""
  1522. }
  1523. // Request message for the GetJob method.
  1524. type GetJobRequest struct {
  1525. // Required. The name of the job to get the description of.
  1526. //
  1527. // Authorization: requires `Viewer` role on the parent project.
  1528. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1529. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1530. XXX_unrecognized []byte `json:"-"`
  1531. XXX_sizecache int32 `json:"-"`
  1532. }
  1533. func (m *GetJobRequest) Reset() { *m = GetJobRequest{} }
  1534. func (m *GetJobRequest) String() string { return proto.CompactTextString(m) }
  1535. func (*GetJobRequest) ProtoMessage() {}
  1536. func (*GetJobRequest) Descriptor() ([]byte, []int) {
  1537. return fileDescriptor_job_service_84dcbad41a9d1457, []int{11}
  1538. }
  1539. func (m *GetJobRequest) XXX_Unmarshal(b []byte) error {
  1540. return xxx_messageInfo_GetJobRequest.Unmarshal(m, b)
  1541. }
  1542. func (m *GetJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1543. return xxx_messageInfo_GetJobRequest.Marshal(b, m, deterministic)
  1544. }
  1545. func (dst *GetJobRequest) XXX_Merge(src proto.Message) {
  1546. xxx_messageInfo_GetJobRequest.Merge(dst, src)
  1547. }
  1548. func (m *GetJobRequest) XXX_Size() int {
  1549. return xxx_messageInfo_GetJobRequest.Size(m)
  1550. }
  1551. func (m *GetJobRequest) XXX_DiscardUnknown() {
  1552. xxx_messageInfo_GetJobRequest.DiscardUnknown(m)
  1553. }
  1554. var xxx_messageInfo_GetJobRequest proto.InternalMessageInfo
  1555. func (m *GetJobRequest) GetName() string {
  1556. if m != nil {
  1557. return m.Name
  1558. }
  1559. return ""
  1560. }
  1561. // Request message for the CancelJob method.
  1562. type CancelJobRequest struct {
  1563. // Required. The name of the job to cancel.
  1564. //
  1565. // Authorization: requires `Editor` role on the parent project.
  1566. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1567. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1568. XXX_unrecognized []byte `json:"-"`
  1569. XXX_sizecache int32 `json:"-"`
  1570. }
  1571. func (m *CancelJobRequest) Reset() { *m = CancelJobRequest{} }
  1572. func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) }
  1573. func (*CancelJobRequest) ProtoMessage() {}
  1574. func (*CancelJobRequest) Descriptor() ([]byte, []int) {
  1575. return fileDescriptor_job_service_84dcbad41a9d1457, []int{12}
  1576. }
  1577. func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error {
  1578. return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b)
  1579. }
  1580. func (m *CancelJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1581. return xxx_messageInfo_CancelJobRequest.Marshal(b, m, deterministic)
  1582. }
  1583. func (dst *CancelJobRequest) XXX_Merge(src proto.Message) {
  1584. xxx_messageInfo_CancelJobRequest.Merge(dst, src)
  1585. }
  1586. func (m *CancelJobRequest) XXX_Size() int {
  1587. return xxx_messageInfo_CancelJobRequest.Size(m)
  1588. }
  1589. func (m *CancelJobRequest) XXX_DiscardUnknown() {
  1590. xxx_messageInfo_CancelJobRequest.DiscardUnknown(m)
  1591. }
  1592. var xxx_messageInfo_CancelJobRequest proto.InternalMessageInfo
  1593. func (m *CancelJobRequest) GetName() string {
  1594. if m != nil {
  1595. return m.Name
  1596. }
  1597. return ""
  1598. }
  1599. func init() {
  1600. proto.RegisterType((*TrainingInput)(nil), "google.cloud.ml.v1.TrainingInput")
  1601. proto.RegisterType((*HyperparameterSpec)(nil), "google.cloud.ml.v1.HyperparameterSpec")
  1602. proto.RegisterType((*ParameterSpec)(nil), "google.cloud.ml.v1.ParameterSpec")
  1603. proto.RegisterType((*HyperparameterOutput)(nil), "google.cloud.ml.v1.HyperparameterOutput")
  1604. proto.RegisterMapType((map[string]string)(nil), "google.cloud.ml.v1.HyperparameterOutput.HyperparametersEntry")
  1605. proto.RegisterType((*HyperparameterOutput_HyperparameterMetric)(nil), "google.cloud.ml.v1.HyperparameterOutput.HyperparameterMetric")
  1606. proto.RegisterType((*TrainingOutput)(nil), "google.cloud.ml.v1.TrainingOutput")
  1607. proto.RegisterType((*PredictionInput)(nil), "google.cloud.ml.v1.PredictionInput")
  1608. proto.RegisterType((*PredictionOutput)(nil), "google.cloud.ml.v1.PredictionOutput")
  1609. proto.RegisterType((*Job)(nil), "google.cloud.ml.v1.Job")
  1610. proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.ml.v1.CreateJobRequest")
  1611. proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.ml.v1.ListJobsRequest")
  1612. proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.ml.v1.ListJobsResponse")
  1613. proto.RegisterType((*GetJobRequest)(nil), "google.cloud.ml.v1.GetJobRequest")
  1614. proto.RegisterType((*CancelJobRequest)(nil), "google.cloud.ml.v1.CancelJobRequest")
  1615. proto.RegisterEnum("google.cloud.ml.v1.TrainingInput_ScaleTier", TrainingInput_ScaleTier_name, TrainingInput_ScaleTier_value)
  1616. proto.RegisterEnum("google.cloud.ml.v1.HyperparameterSpec_GoalType", HyperparameterSpec_GoalType_name, HyperparameterSpec_GoalType_value)
  1617. proto.RegisterEnum("google.cloud.ml.v1.ParameterSpec_ParameterType", ParameterSpec_ParameterType_name, ParameterSpec_ParameterType_value)
  1618. proto.RegisterEnum("google.cloud.ml.v1.ParameterSpec_ScaleType", ParameterSpec_ScaleType_name, ParameterSpec_ScaleType_value)
  1619. proto.RegisterEnum("google.cloud.ml.v1.PredictionInput_DataFormat", PredictionInput_DataFormat_name, PredictionInput_DataFormat_value)
  1620. proto.RegisterEnum("google.cloud.ml.v1.Job_State", Job_State_name, Job_State_value)
  1621. }
  1622. // Reference imports to suppress errors if they are not otherwise used.
  1623. var _ context.Context
  1624. var _ grpc.ClientConn
  1625. // This is a compile-time assertion to ensure that this generated file
  1626. // is compatible with the grpc package it is being compiled against.
  1627. const _ = grpc.SupportPackageIsVersion4
  1628. // JobServiceClient is the client API for JobService service.
  1629. //
  1630. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1631. type JobServiceClient interface {
  1632. // Creates a training or a batch prediction job.
  1633. CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
  1634. // Lists the jobs in the project.
  1635. ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
  1636. // Describes a job.
  1637. GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
  1638. // Cancels a running job.
  1639. CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  1640. }
  1641. type jobServiceClient struct {
  1642. cc *grpc.ClientConn
  1643. }
  1644. func NewJobServiceClient(cc *grpc.ClientConn) JobServiceClient {
  1645. return &jobServiceClient{cc}
  1646. }
  1647. func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) {
  1648. out := new(Job)
  1649. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/CreateJob", in, out, opts...)
  1650. if err != nil {
  1651. return nil, err
  1652. }
  1653. return out, nil
  1654. }
  1655. func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) {
  1656. out := new(ListJobsResponse)
  1657. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/ListJobs", in, out, opts...)
  1658. if err != nil {
  1659. return nil, err
  1660. }
  1661. return out, nil
  1662. }
  1663. func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) {
  1664. out := new(Job)
  1665. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/GetJob", in, out, opts...)
  1666. if err != nil {
  1667. return nil, err
  1668. }
  1669. return out, nil
  1670. }
  1671. func (c *jobServiceClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  1672. out := new(empty.Empty)
  1673. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/CancelJob", in, out, opts...)
  1674. if err != nil {
  1675. return nil, err
  1676. }
  1677. return out, nil
  1678. }
  1679. // JobServiceServer is the server API for JobService service.
  1680. type JobServiceServer interface {
  1681. // Creates a training or a batch prediction job.
  1682. CreateJob(context.Context, *CreateJobRequest) (*Job, error)
  1683. // Lists the jobs in the project.
  1684. ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
  1685. // Describes a job.
  1686. GetJob(context.Context, *GetJobRequest) (*Job, error)
  1687. // Cancels a running job.
  1688. CancelJob(context.Context, *CancelJobRequest) (*empty.Empty, error)
  1689. }
  1690. func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) {
  1691. s.RegisterService(&_JobService_serviceDesc, srv)
  1692. }
  1693. func _JobService_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1694. in := new(CreateJobRequest)
  1695. if err := dec(in); err != nil {
  1696. return nil, err
  1697. }
  1698. if interceptor == nil {
  1699. return srv.(JobServiceServer).CreateJob(ctx, in)
  1700. }
  1701. info := &grpc.UnaryServerInfo{
  1702. Server: srv,
  1703. FullMethod: "/google.cloud.ml.v1.JobService/CreateJob",
  1704. }
  1705. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1706. return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest))
  1707. }
  1708. return interceptor(ctx, in, info, handler)
  1709. }
  1710. func _JobService_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1711. in := new(ListJobsRequest)
  1712. if err := dec(in); err != nil {
  1713. return nil, err
  1714. }
  1715. if interceptor == nil {
  1716. return srv.(JobServiceServer).ListJobs(ctx, in)
  1717. }
  1718. info := &grpc.UnaryServerInfo{
  1719. Server: srv,
  1720. FullMethod: "/google.cloud.ml.v1.JobService/ListJobs",
  1721. }
  1722. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1723. return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest))
  1724. }
  1725. return interceptor(ctx, in, info, handler)
  1726. }
  1727. func _JobService_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1728. in := new(GetJobRequest)
  1729. if err := dec(in); err != nil {
  1730. return nil, err
  1731. }
  1732. if interceptor == nil {
  1733. return srv.(JobServiceServer).GetJob(ctx, in)
  1734. }
  1735. info := &grpc.UnaryServerInfo{
  1736. Server: srv,
  1737. FullMethod: "/google.cloud.ml.v1.JobService/GetJob",
  1738. }
  1739. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1740. return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest))
  1741. }
  1742. return interceptor(ctx, in, info, handler)
  1743. }
  1744. func _JobService_CancelJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1745. in := new(CancelJobRequest)
  1746. if err := dec(in); err != nil {
  1747. return nil, err
  1748. }
  1749. if interceptor == nil {
  1750. return srv.(JobServiceServer).CancelJob(ctx, in)
  1751. }
  1752. info := &grpc.UnaryServerInfo{
  1753. Server: srv,
  1754. FullMethod: "/google.cloud.ml.v1.JobService/CancelJob",
  1755. }
  1756. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1757. return srv.(JobServiceServer).CancelJob(ctx, req.(*CancelJobRequest))
  1758. }
  1759. return interceptor(ctx, in, info, handler)
  1760. }
  1761. var _JobService_serviceDesc = grpc.ServiceDesc{
  1762. ServiceName: "google.cloud.ml.v1.JobService",
  1763. HandlerType: (*JobServiceServer)(nil),
  1764. Methods: []grpc.MethodDesc{
  1765. {
  1766. MethodName: "CreateJob",
  1767. Handler: _JobService_CreateJob_Handler,
  1768. },
  1769. {
  1770. MethodName: "ListJobs",
  1771. Handler: _JobService_ListJobs_Handler,
  1772. },
  1773. {
  1774. MethodName: "GetJob",
  1775. Handler: _JobService_GetJob_Handler,
  1776. },
  1777. {
  1778. MethodName: "CancelJob",
  1779. Handler: _JobService_CancelJob_Handler,
  1780. },
  1781. },
  1782. Streams: []grpc.StreamDesc{},
  1783. Metadata: "google/cloud/ml/v1/job_service.proto",
  1784. }
  1785. func init() {
  1786. proto.RegisterFile("google/cloud/ml/v1/job_service.proto", fileDescriptor_job_service_84dcbad41a9d1457)
  1787. }
  1788. var fileDescriptor_job_service_84dcbad41a9d1457 = []byte{
  1789. // 2070 bytes of a gzipped FileDescriptorProto
  1790. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdb, 0x6e, 0x1b, 0xc9,
  1791. 0x11, 0x15, 0xaf, 0x22, 0x8b, 0x12, 0x39, 0x6e, 0x5b, 0x36, 0x4d, 0xdb, 0x6b, 0x79, 0xe4, 0x38,
  1792. 0xb2, 0x17, 0x21, 0x21, 0xed, 0x06, 0xc8, 0x7a, 0xb1, 0x48, 0x28, 0x72, 0x2c, 0x51, 0x10, 0x29,
  1793. 0xa6, 0x39, 0x74, 0x36, 0x46, 0x90, 0x49, 0x93, 0x6c, 0xd3, 0x23, 0xcf, 0x2d, 0x33, 0x4d, 0x45,
  1794. 0xda, 0x85, 0x81, 0x20, 0x08, 0xf2, 0x03, 0x79, 0x0f, 0xf2, 0x4d, 0xc9, 0x1f, 0x04, 0x01, 0xf2,
  1795. 0x01, 0x79, 0x0e, 0x10, 0xf4, 0x85, 0xc3, 0x8b, 0x28, 0xd9, 0x48, 0xde, 0xd8, 0xa7, 0x4e, 0x55,
  1796. 0x75, 0x57, 0x55, 0x57, 0xd7, 0x10, 0x9e, 0x8e, 0x7d, 0x7f, 0xec, 0xd0, 0xda, 0xd0, 0xf1, 0x27,
  1797. 0xa3, 0x9a, 0xeb, 0xd4, 0xce, 0xf7, 0x6a, 0x67, 0xfe, 0xc0, 0x8a, 0x68, 0x78, 0x6e, 0x0f, 0x69,
  1798. 0x35, 0x08, 0x7d, 0xe6, 0x23, 0x24, 0x59, 0x55, 0xc1, 0xaa, 0xba, 0x4e, 0xf5, 0x7c, 0xaf, 0xf2,
  1799. 0x50, 0x69, 0x92, 0xc0, 0xae, 0x11, 0xcf, 0xf3, 0x19, 0x61, 0xb6, 0xef, 0x45, 0x52, 0xa3, 0xb2,
  1800. 0x35, 0x2f, 0x9d, 0xb0, 0x77, 0x0a, 0x7e, 0xa0, 0x60, 0xb1, 0x1a, 0x4c, 0xde, 0xd6, 0xa8, 0x1b,
  1801. 0xb0, 0x4b, 0x25, 0x7c, 0xbc, 0x2c, 0x64, 0xb6, 0x4b, 0x23, 0x46, 0xdc, 0x40, 0x12, 0xf4, 0x3f,
  1802. 0x66, 0x60, 0xd3, 0x0c, 0x89, 0xed, 0xd9, 0xde, 0xb8, 0xe5, 0x05, 0x13, 0x86, 0x8e, 0x01, 0xa2,
  1803. 0x21, 0x71, 0xa8, 0xc5, 0x6c, 0x1a, 0x96, 0x13, 0xdb, 0x89, 0xdd, 0xe2, 0xfe, 0xe7, 0xd5, 0xab,
  1804. 0xbb, 0xad, 0x2e, 0xa8, 0x55, 0x7b, 0x5c, 0xc7, 0xb4, 0x69, 0x88, 0xf3, 0xd1, 0xf4, 0x27, 0x7a,
  1805. 0x0c, 0x05, 0x97, 0x44, 0x8c, 0x86, 0x16, 0xbb, 0x0c, 0x68, 0x39, 0xb9, 0x9d, 0xd8, 0xcd, 0x63,
  1806. 0x90, 0x90, 0x79, 0x19, 0x50, 0x4e, 0xf8, 0x9d, 0x1f, 0xbe, 0x9f, 0x12, 0x52, 0x92, 0x20, 0x21,
  1807. 0x41, 0xd8, 0x87, 0xad, 0x80, 0x84, 0xc4, 0xa5, 0xdc, 0x08, 0x8f, 0xe0, 0x94, 0x9a, 0x16, 0xd4,
  1808. 0xdb, 0xb1, 0xb0, 0x27, 0x64, 0x42, 0xe7, 0x09, 0x6c, 0x28, 0xa3, 0x43, 0x7f, 0xe2, 0xb1, 0x72,
  1809. 0x66, 0x3b, 0xb1, 0x9b, 0xc2, 0xca, 0x51, 0x83, 0x43, 0xe8, 0x4b, 0xb8, 0x7b, 0xc5, 0xac, 0x24,
  1810. 0x67, 0x05, 0xf9, 0xce, 0x92, 0x5d, 0xa9, 0xf5, 0x04, 0x36, 0x02, 0x32, 0x7c, 0x4f, 0xc6, 0xd4,
  1811. 0x9a, 0x84, 0x76, 0x54, 0x5e, 0xdf, 0x4e, 0xed, 0xe6, 0x71, 0x41, 0x61, 0xfd, 0xd0, 0x8e, 0xd0,
  1812. 0x0e, 0x6c, 0x06, 0x97, 0xec, 0x9d, 0xef, 0x59, 0xae, 0x3f, 0x9a, 0x38, 0xb4, 0x9c, 0x13, 0xfb,
  1813. 0xdc, 0x90, 0x60, 0x5b, 0x60, 0x08, 0x41, 0x9a, 0x84, 0xe3, 0xa8, 0x0c, 0x42, 0x5f, 0xfc, 0x46,
  1814. 0x5d, 0x28, 0xbd, 0xbb, 0x0c, 0x68, 0x18, 0x3b, 0x8e, 0xca, 0x1b, 0xdb, 0x89, 0xdd, 0xc2, 0xfe,
  1815. 0xb3, 0x55, 0xb1, 0x3f, 0x5a, 0xa0, 0xf6, 0x02, 0x3a, 0xc4, 0xcb, 0xea, 0xe8, 0x2e, 0x64, 0x43,
  1816. 0x3a, 0xb6, 0x7d, 0xaf, 0x5c, 0x14, 0x7b, 0x50, 0x2b, 0x74, 0x0f, 0xd6, 0x79, 0x39, 0x8e, 0xec,
  1817. 0xb0, 0xac, 0x49, 0xc1, 0x99, 0x3f, 0x68, 0xda, 0x21, 0xfa, 0x21, 0x94, 0xc2, 0x89, 0xc7, 0x2b,
  1818. 0xc4, 0x3a, 0xa7, 0x61, 0xc4, 0x35, 0x4b, 0x82, 0x50, 0x54, 0xf0, 0x6b, 0x89, 0xea, 0x5d, 0xc8,
  1819. 0xc7, 0xe9, 0x46, 0x79, 0xc8, 0x1c, 0xd4, 0x7b, 0xad, 0x86, 0xb6, 0x86, 0x8a, 0x00, 0x3d, 0xb3,
  1820. 0xde, 0x69, 0xd6, 0x71, 0xd3, 0xda, 0xd3, 0x12, 0x68, 0x13, 0xf2, 0x5d, 0x6c, 0xb4, 0x5b, 0xfd,
  1821. 0xb6, 0xb5, 0xa7, 0xa5, 0xf8, 0x52, 0x30, 0xad, 0xc3, 0x6e, 0x5f, 0xcb, 0x22, 0x80, 0x6c, 0xa3,
  1822. 0xdf, 0x33, 0x4f, 0xdb, 0x5a, 0x46, 0xff, 0x47, 0x12, 0xd0, 0xd5, 0x33, 0xa1, 0x06, 0xa4, 0xc7,
  1823. 0x3e, 0x71, 0x54, 0x15, 0xd6, 0x3e, 0x2d, 0x12, 0xd5, 0x43, 0x9f, 0x38, 0xbc, 0x10, 0xb0, 0x50,
  1824. 0x46, 0x5f, 0x41, 0x56, 0xc8, 0xa3, 0x72, 0x72, 0x3b, 0xb5, 0x5b, 0xd8, 0x7f, 0xb2, 0xca, 0x4c,
  1825. 0x77, 0x21, 0x96, 0x4a, 0x01, 0x3d, 0x02, 0x70, 0xc9, 0x85, 0xc5, 0x42, 0x9b, 0x38, 0x91, 0xa8,
  1826. 0xce, 0x0c, 0xce, 0xbb, 0xe4, 0xc2, 0x14, 0x00, 0xaa, 0xc2, 0x6d, 0x2e, 0xe6, 0x64, 0xc7, 0xa1,
  1827. 0xce, 0x94, 0x97, 0x16, 0xbc, 0x5b, 0x2e, 0xb9, 0xe8, 0x2a, 0x89, 0xe2, 0xbf, 0x84, 0xfb, 0x8b,
  1828. 0x49, 0xb2, 0x5c, 0xca, 0x42, 0x7b, 0x68, 0x31, 0x32, 0x16, 0x55, 0x9a, 0xc7, 0xf7, 0x16, 0x09,
  1829. 0x6d, 0x21, 0x37, 0xc9, 0x58, 0xaf, 0x43, 0x6e, 0x7a, 0x2e, 0x74, 0x1f, 0xb6, 0x0e, 0x4f, 0xeb,
  1830. 0x27, 0x96, 0xf9, 0xcb, 0xae, 0x61, 0xf5, 0x3b, 0xbd, 0xae, 0xd1, 0x68, 0xbd, 0x6a, 0x19, 0x4d,
  1831. 0x6d, 0x0d, 0x6d, 0x40, 0xae, 0x5d, 0xff, 0xb6, 0xd5, 0x6e, 0xbd, 0x31, 0xb4, 0x84, 0x58, 0xb5,
  1832. 0x3a, 0x72, 0x95, 0xd4, 0xff, 0x9a, 0x86, 0xcd, 0x85, 0x73, 0xa2, 0x1f, 0x40, 0x71, 0xb6, 0x17,
  1833. 0x8f, 0xb8, 0x54, 0x44, 0x3a, 0x8f, 0x37, 0x63, 0xb4, 0x43, 0x5c, 0xca, 0xd3, 0x10, 0xdf, 0xb9,
  1834. 0x6b, 0xd2, 0xb0, 0x60, 0x77, 0xb6, 0x92, 0x69, 0xe0, 0xca, 0xe8, 0x01, 0xe4, 0x5d, 0xdb, 0xb3,
  1835. 0xce, 0x89, 0x33, 0x91, 0x9d, 0x20, 0x81, 0x73, 0xae, 0xed, 0xbd, 0xe6, 0x6b, 0x21, 0x24, 0x17,
  1836. 0x4a, 0x98, 0x52, 0x42, 0x72, 0x21, 0x85, 0x3f, 0x02, 0x34, 0x24, 0x8c, 0x8e, 0xfd, 0xd0, 0x1e,
  1837. 0x12, 0x47, 0x92, 0xa2, 0x72, 0x46, 0x5c, 0x9e, 0x5b, 0x73, 0x12, 0xc1, 0x8e, 0x78, 0x19, 0x8f,
  1838. 0xec, 0x68, 0x18, 0x52, 0x46, 0xa7, 0xdc, 0xec, 0x76, 0x6a, 0x37, 0x81, 0x8b, 0x53, 0x58, 0x11,
  1839. 0x67, 0x9d, 0x8e, 0x1f, 0x6e, 0xfd, 0xfa, 0x4e, 0xb7, 0x78, 0x38, 0x59, 0xfa, 0xfc, 0x60, 0xaa,
  1840. 0xd3, 0x5d, 0x06, 0x54, 0x1f, 0xcf, 0x85, 0x56, 0xe4, 0xe8, 0x33, 0xa8, 0x74, 0xeb, 0xb8, 0xde,
  1841. 0x36, 0x4c, 0x03, 0xaf, 0x4a, 0x14, 0x40, 0xb6, 0x79, 0xda, 0x3f, 0x38, 0xe1, 0x69, 0x2a, 0xc0,
  1842. 0x7a, 0xab, 0x63, 0x1a, 0x87, 0x06, 0xd6, 0x92, 0xa8, 0x04, 0x85, 0x46, 0xdd, 0x34, 0x0e, 0x4f,
  1843. 0x71, 0xab, 0x51, 0x3f, 0xd1, 0x52, 0x3c, 0x89, 0xcd, 0x56, 0xaf, 0x81, 0x0d, 0xd3, 0xd0, 0xd2,
  1844. 0xfa, 0xaf, 0xa6, 0x77, 0x8f, 0x3b, 0xc9, 0x41, 0xba, 0x73, 0xda, 0x31, 0xb4, 0x35, 0xb4, 0x05,
  1845. 0xb7, 0xfa, 0x9d, 0x96, 0x69, 0x9d, 0xb4, 0x3a, 0x46, 0x1d, 0x5b, 0xbd, 0x46, 0x5d, 0x58, 0x46,
  1846. 0x50, 0x94, 0xf0, 0xe9, 0xa1, 0xc2, 0x92, 0xa8, 0x02, 0x77, 0x05, 0x86, 0x8d, 0xd7, 0x06, 0xee,
  1847. 0x19, 0x73, 0xb2, 0x94, 0xfe, 0xa7, 0x34, 0xdc, 0x59, 0xbc, 0x51, 0xa7, 0x13, 0xc6, 0x5f, 0x85,
  1848. 0xfb, 0x90, 0x13, 0xd5, 0x6d, 0xd9, 0x23, 0x55, 0x23, 0xeb, 0x62, 0xdd, 0x1a, 0xa1, 0xf1, 0xd5,
  1849. 0xce, 0x25, 0x2f, 0xda, 0x37, 0x1f, 0xbf, 0xaf, 0xd2, 0xfa, 0x12, 0x18, 0x19, 0x1e, 0x0b, 0x2f,
  1850. 0xaf, 0x36, 0xb4, 0xdf, 0xc0, 0xc6, 0x5b, 0xdb, 0x23, 0x8e, 0xba, 0x35, 0xa2, 0x4e, 0xfe, 0x77,
  1851. 0x2f, 0xf2, 0x6a, 0xe1, 0x82, 0x30, 0x29, 0x17, 0xe8, 0xd7, 0x50, 0x20, 0xce, 0xd4, 0x3e, 0xbf,
  1852. 0xc8, 0xa9, 0xff, 0xdf, 0x01, 0x10, 0x47, 0x99, 0x8f, 0x2a, 0xa3, 0xe5, 0xe8, 0x2a, 0xbf, 0x3b,
  1853. 0xb0, 0xc9, 0xd4, 0x6b, 0x6a, 0x45, 0x8c, 0x06, 0x22, 0xc4, 0x29, 0xbc, 0x31, 0x05, 0x7b, 0x8c,
  1854. 0x06, 0xbc, 0xae, 0xfd, 0xc1, 0x19, 0x1d, 0x32, 0xfb, 0x9c, 0x2e, 0x5c, 0xa3, 0x62, 0x0c, 0x8b,
  1855. 0xc2, 0xae, 0x1c, 0x2c, 0x7b, 0x91, 0x01, 0x45, 0x1a, 0xa4, 0xde, 0xd3, 0x4b, 0x95, 0x3e, 0xfe,
  1856. 0x13, 0xdd, 0x81, 0xcc, 0xcc, 0x50, 0x1e, 0xcb, 0xc5, 0xcb, 0xe4, 0x4f, 0x12, 0xfa, 0xbf, 0x13,
  1857. 0x50, 0x9c, 0x3e, 0xf0, 0xaa, 0x04, 0xf6, 0x61, 0x6b, 0xe8, 0xbb, 0x81, 0x43, 0x19, 0x1d, 0xc9,
  1858. 0x56, 0xa7, 0x9e, 0x4c, 0xb9, 0xd9, 0xdb, 0xb1, 0x50, 0x74, 0x3b, 0xf9, 0x62, 0xfe, 0x0c, 0xb2,
  1859. 0xaa, 0x29, 0xca, 0x92, 0xd8, 0xfd, 0xd4, 0x58, 0x62, 0xa5, 0x87, 0x5e, 0xc0, 0xad, 0xa1, 0xef,
  1860. 0x45, 0x13, 0x97, 0x8e, 0x2c, 0xd7, 0xb1, 0x26, 0x9e, 0xcd, 0x22, 0xd5, 0x21, 0x4a, 0x53, 0x41,
  1861. 0xdb, 0xe9, 0x73, 0x18, 0xfd, 0x14, 0x1e, 0xda, 0x91, 0xb5, 0xd4, 0x62, 0xd9, 0x44, 0x84, 0xf5,
  1862. 0xcc, 0x1f, 0x88, 0xfe, 0x95, 0xc3, 0xf7, 0xed, 0x68, 0xd1, 0xa3, 0x29, 0x18, 0xc7, 0xfe, 0x40,
  1863. 0xff, 0x5b, 0x0a, 0x4a, 0xdd, 0x90, 0x8e, 0xec, 0x21, 0x1f, 0xbc, 0xe4, 0x3c, 0xf4, 0x18, 0xc0,
  1864. 0xf5, 0x47, 0xd4, 0x99, 0xeb, 0x8f, 0x47, 0x6b, 0x38, 0x2f, 0x30, 0xd1, 0x1d, 0x77, 0x60, 0x43,
  1865. 0x3d, 0x97, 0x92, 0x92, 0x54, 0x94, 0x82, 0x42, 0x05, 0x09, 0x41, 0x6a, 0x12, 0xda, 0xe5, 0xbc,
  1866. 0x92, 0xf1, 0x05, 0x3a, 0x85, 0xc2, 0x88, 0x30, 0x62, 0xbd, 0xf5, 0x43, 0x97, 0x30, 0x71, 0xa8,
  1867. 0xe2, 0x7e, 0x75, 0x65, 0x03, 0x5a, 0xdc, 0x53, 0xb5, 0x49, 0x18, 0x79, 0x25, 0xb4, 0x30, 0x8c,
  1868. 0xe2, 0xdf, 0x7c, 0x9a, 0xb2, 0xb9, 0xdc, 0x0a, 0x08, 0x7b, 0x27, 0xcb, 0x37, 0x8f, 0x41, 0x40,
  1869. 0x5d, 0x8e, 0x70, 0x82, 0x2f, 0xc2, 0x2b, 0x18, 0xea, 0xc9, 0x01, 0x09, 0x71, 0x06, 0xda, 0x05,
  1870. 0x8d, 0xf7, 0xe1, 0x85, 0xf1, 0x49, 0x4e, 0x44, 0x45, 0x97, 0x5c, 0xfc, 0x62, 0x6e, 0x82, 0x9a,
  1871. 0x4d, 0x17, 0xeb, 0x0b, 0xd3, 0xc5, 0x8a, 0x21, 0x22, 0xb7, 0x72, 0x88, 0x78, 0x0d, 0x30, 0x3b,
  1872. 0x06, 0x7a, 0x00, 0xf7, 0x9a, 0x75, 0xb3, 0x6e, 0xbd, 0x3a, 0xc5, 0xed, 0xba, 0xb9, 0xd4, 0x2b,
  1873. 0x73, 0x90, 0x36, 0x8d, 0x6f, 0x4d, 0x39, 0x51, 0x98, 0xaf, 0x2c, 0x6c, 0x34, 0x4e, 0x71, 0x53,
  1874. 0x4b, 0xf2, 0xf6, 0x16, 0x2f, 0xad, 0xc3, 0x37, 0xad, 0xae, 0x96, 0x3a, 0x28, 0xc1, 0xa6, 0xcc,
  1875. 0x97, 0x72, 0xaf, 0xff, 0x25, 0x01, 0xda, 0x2c, 0x80, 0xaa, 0x98, 0x97, 0x22, 0x91, 0xb8, 0x12,
  1876. 0x89, 0xe7, 0xa0, 0x05, 0xb1, 0x92, 0x8a, 0x44, 0x52, 0x44, 0xa2, 0x34, 0xc3, 0x65, 0x28, 0x1e,
  1877. 0x43, 0x81, 0x86, 0xa1, 0x3f, 0x8d, 0x57, 0x4a, 0xb0, 0x40, 0x40, 0x92, 0xf0, 0x08, 0xc0, 0xf3,
  1878. 0x47, 0xd4, 0x7a, 0xe7, 0x4f, 0x42, 0x39, 0x1e, 0x24, 0x70, 0x9e, 0x23, 0x47, 0x1c, 0xd0, 0xff,
  1879. 0x93, 0x81, 0xd4, 0xb1, 0x3f, 0x40, 0x5b, 0xc0, 0x27, 0xb1, 0x59, 0x87, 0xcd, 0x9c, 0xf9, 0x83,
  1880. 0xd6, 0x08, 0x1d, 0x43, 0x31, 0x6e, 0x0e, 0x22, 0x97, 0x62, 0x1f, 0xd7, 0xcc, 0x31, 0x0b, 0x43,
  1881. 0xf9, 0xd1, 0x1a, 0x8e, 0xfb, 0x8a, 0x2c, 0xe6, 0xee, 0xc2, 0xa9, 0xa4, 0x35, 0xd9, 0x46, 0x77,
  1882. 0x3e, 0xa1, 0xee, 0x8e, 0xd6, 0xe6, 0x0f, 0x2f, 0x2d, 0x7e, 0x0d, 0x85, 0x61, 0x48, 0x09, 0xe3,
  1883. 0xdf, 0x0b, 0xae, 0x1c, 0x11, 0x0a, 0xfb, 0x95, 0xa9, 0xb1, 0xe9, 0x77, 0x47, 0xd5, 0x9c, 0x7e,
  1884. 0x77, 0x60, 0x90, 0x74, 0x0e, 0xa0, 0xaf, 0x00, 0x22, 0x46, 0x42, 0x26, 0x75, 0x33, 0x1f, 0xd5,
  1885. 0xcd, 0x0b, 0xb6, 0x50, 0xfd, 0x31, 0xe4, 0xa8, 0x37, 0x92, 0x8a, 0xd9, 0x8f, 0x2a, 0xae, 0x53,
  1886. 0x6f, 0x24, 0xd4, 0xbe, 0x80, 0x4c, 0xc4, 0x08, 0x9b, 0x3e, 0xf7, 0x8f, 0x56, 0x9d, 0xfa, 0xd8,
  1887. 0x1f, 0x54, 0x7b, 0x9c, 0x84, 0x25, 0x97, 0xb7, 0x67, 0x99, 0x60, 0x97, 0x46, 0x11, 0x19, 0xc7,
  1888. 0x43, 0xbd, 0x00, 0xdb, 0x12, 0x43, 0x6d, 0x28, 0xc5, 0x69, 0x92, 0x75, 0x24, 0x6e, 0x7b, 0x61,
  1889. 0x5f, 0xbf, 0x29, 0x4f, 0xb2, 0x1c, 0x8f, 0x12, 0x38, 0xce, 0xb1, 0x2a, 0xd0, 0x1e, 0xdc, 0x9a,
  1890. 0xcb, 0x94, 0x32, 0x08, 0xc2, 0xe0, 0xd3, 0x9b, 0x53, 0x15, 0x9b, 0x9c, 0x4b, 0xb5, 0xc4, 0xf4,
  1891. 0xdf, 0x27, 0x20, 0x23, 0x4e, 0xc6, 0xe7, 0x85, 0x9e, 0x59, 0x37, 0x57, 0x4c, 0x25, 0x3f, 0xef,
  1892. 0x1b, 0x7d, 0xa3, 0x19, 0x4f, 0xef, 0xdd, 0x3a, 0x6e, 0x75, 0x0e, 0xb5, 0x24, 0x1f, 0x52, 0x70,
  1893. 0xbf, 0xd3, 0xe1, 0x0b, 0x31, 0xca, 0xf7, 0xfa, 0x8d, 0x86, 0x61, 0x34, 0x8d, 0xa6, 0x96, 0xe6,
  1894. 0x6a, 0xaf, 0xea, 0xad, 0x13, 0xa3, 0xa9, 0x65, 0xf8, 0x47, 0x40, 0xa3, 0xde, 0x69, 0x18, 0x27,
  1895. 0x27, 0x9c, 0x9a, 0xe5, 0x54, 0xb5, 0x36, 0x9a, 0xda, 0xfa, 0xc1, 0x3a, 0x64, 0x44, 0xd9, 0x1d,
  1896. 0xe4, 0x20, 0x2b, 0x4f, 0xa5, 0xf7, 0x41, 0x6b, 0x88, 0x9a, 0x38, 0xf6, 0x07, 0x98, 0xfe, 0x76,
  1897. 0x42, 0x23, 0xd1, 0x5e, 0x02, 0x12, 0x52, 0xf5, 0xba, 0xe4, 0xb1, 0x5a, 0xa1, 0xe7, 0x90, 0xe2,
  1898. 0x9d, 0x5c, 0xde, 0x80, 0x7b, 0xd7, 0x64, 0x0f, 0x73, 0x8e, 0xfe, 0x01, 0x4a, 0x27, 0x76, 0xc4,
  1899. 0x8e, 0xfd, 0x41, 0xf4, 0x31, 0xab, 0x77, 0x21, 0xfb, 0xd6, 0x76, 0x18, 0x0d, 0xd5, 0x43, 0xa8,
  1900. 0x56, 0xfc, 0xe2, 0x06, 0xfc, 0x6b, 0x8f, 0xf9, 0xef, 0xa9, 0xa7, 0x3e, 0x39, 0xf3, 0x1c, 0x31,
  1901. 0x39, 0xc0, 0xa7, 0x56, 0x21, 0x8e, 0xec, 0xef, 0x64, 0xf5, 0x66, 0x70, 0x8e, 0x03, 0x3d, 0xfb,
  1902. 0x3b, 0x3e, 0x11, 0x6a, 0x33, 0xf7, 0x51, 0xe0, 0x7b, 0x11, 0x45, 0x9f, 0x43, 0xfa, 0xcc, 0x1f,
  1903. 0x44, 0xe5, 0x84, 0x78, 0x0c, 0xaf, 0xdd, 0xbe, 0x20, 0xa1, 0x67, 0x50, 0xf2, 0xe8, 0x05, 0x6f,
  1904. 0x50, 0xf1, 0x0e, 0xe4, 0xee, 0x36, 0x39, 0xdc, 0x9d, 0xee, 0x42, 0xdf, 0x81, 0xcd, 0x43, 0xca,
  1905. 0xe6, 0x62, 0x87, 0x20, 0x3d, 0x37, 0xcb, 0x8b, 0xdf, 0xfa, 0x33, 0xd0, 0x1a, 0xc4, 0x1b, 0x52,
  1906. 0xe7, 0x66, 0xde, 0xfe, 0xbf, 0x52, 0x00, 0xc7, 0xfe, 0xa0, 0x27, 0xff, 0xab, 0x40, 0x13, 0xc8,
  1907. 0xc7, 0xa9, 0x41, 0x2b, 0xeb, 0x6e, 0x39, 0x73, 0x95, 0xeb, 0x4e, 0xa5, 0x3f, 0xff, 0xc3, 0xdf,
  1908. 0xff, 0xf9, 0xe7, 0xe4, 0x8e, 0xfe, 0xb0, 0x76, 0xbe, 0x57, 0xfb, 0x5e, 0x46, 0xfe, 0x9b, 0x20,
  1909. 0xf4, 0xf9, 0xec, 0x12, 0xd5, 0x5e, 0x7c, 0xa8, 0xf1, 0x53, 0xbf, 0xe4, 0xa9, 0x43, 0xdf, 0x43,
  1910. 0x6e, 0x1a, 0x3b, 0xb4, 0xb2, 0x31, 0x2d, 0x25, 0xb6, 0xf2, 0xf4, 0x66, 0x92, 0x0c, 0xbf, 0xfe,
  1911. 0x54, 0xec, 0xe0, 0x33, 0x74, 0xe3, 0x0e, 0xd0, 0x19, 0x64, 0x65, 0x3c, 0xd1, 0xca, 0x0e, 0xbb,
  1912. 0x10, 0xeb, 0xeb, 0x4f, 0xbb, 0xe8, 0x8b, 0xc7, 0x76, 0xce, 0x93, 0x70, 0x54, 0x7b, 0xf1, 0x01,
  1913. 0x5d, 0x42, 0x3e, 0x4e, 0xcb, 0x35, 0xf1, 0x5d, 0xca, 0x5a, 0xe5, 0xee, 0x95, 0x36, 0x67, 0xb8,
  1914. 0x01, 0xbb, 0xd4, 0xab, 0xc2, 0xe1, 0xae, 0xbe, 0x73, 0x93, 0xc3, 0x97, 0x43, 0x61, 0xee, 0x65,
  1915. 0xe2, 0xc5, 0x01, 0x85, 0xca, 0xd0, 0x77, 0xaf, 0xb8, 0x24, 0x81, 0x5d, 0x3d, 0xdf, 0x3b, 0x28,
  1916. 0xcd, 0x8a, 0xa0, 0xcb, 0xfd, 0x74, 0x13, 0x6f, 0xbe, 0x54, 0xd4, 0xb1, 0xef, 0x10, 0x6f, 0x5c,
  1917. 0xf5, 0xc3, 0x71, 0x6d, 0x4c, 0x3d, 0xb1, 0x8b, 0x9a, 0x14, 0x91, 0xc0, 0x8e, 0xe6, 0xff, 0xf6,
  1918. 0xfa, 0xda, 0x75, 0x06, 0x59, 0x41, 0xf8, 0xe2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x7b,
  1919. 0x72, 0xd5, 0x16, 0x13, 0x00, 0x00,
  1920. }