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.
 
 
 

1366 lines
54 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/ml/v1/model_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 timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
  10. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  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. // Represents a machine learning solution.
  25. //
  26. // A model can have multiple versions, each of which is a deployed, trained
  27. // model ready to receive prediction requests. The model itself is just a
  28. // container.
  29. type Model struct {
  30. // Required. The name specified for the model when it was created.
  31. //
  32. // The model name must be unique within the project it is created in.
  33. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  34. // Optional. The description specified for the model when it was created.
  35. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  36. // Output only. The default version of the model. This version will be used to
  37. // handle prediction requests that do not specify a version.
  38. //
  39. // You can change the default version by calling
  40. // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  41. DefaultVersion *Version `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
  42. // Optional. The list of regions where the model is going to be deployed.
  43. // Currently only one region per model is supported.
  44. // Defaults to 'us-central1' if nothing is set.
  45. Regions []string `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`
  46. // Optional. If true, enables StackDriver Logging for online prediction.
  47. // Default is false.
  48. OnlinePredictionLogging bool `protobuf:"varint,5,opt,name=online_prediction_logging,json=onlinePredictionLogging,proto3" json:"online_prediction_logging,omitempty"`
  49. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  50. XXX_unrecognized []byte `json:"-"`
  51. XXX_sizecache int32 `json:"-"`
  52. }
  53. func (m *Model) Reset() { *m = Model{} }
  54. func (m *Model) String() string { return proto.CompactTextString(m) }
  55. func (*Model) ProtoMessage() {}
  56. func (*Model) Descriptor() ([]byte, []int) {
  57. return fileDescriptor_model_service_39e6c1c813d15a86, []int{0}
  58. }
  59. func (m *Model) XXX_Unmarshal(b []byte) error {
  60. return xxx_messageInfo_Model.Unmarshal(m, b)
  61. }
  62. func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  63. return xxx_messageInfo_Model.Marshal(b, m, deterministic)
  64. }
  65. func (dst *Model) XXX_Merge(src proto.Message) {
  66. xxx_messageInfo_Model.Merge(dst, src)
  67. }
  68. func (m *Model) XXX_Size() int {
  69. return xxx_messageInfo_Model.Size(m)
  70. }
  71. func (m *Model) XXX_DiscardUnknown() {
  72. xxx_messageInfo_Model.DiscardUnknown(m)
  73. }
  74. var xxx_messageInfo_Model proto.InternalMessageInfo
  75. func (m *Model) GetName() string {
  76. if m != nil {
  77. return m.Name
  78. }
  79. return ""
  80. }
  81. func (m *Model) GetDescription() string {
  82. if m != nil {
  83. return m.Description
  84. }
  85. return ""
  86. }
  87. func (m *Model) GetDefaultVersion() *Version {
  88. if m != nil {
  89. return m.DefaultVersion
  90. }
  91. return nil
  92. }
  93. func (m *Model) GetRegions() []string {
  94. if m != nil {
  95. return m.Regions
  96. }
  97. return nil
  98. }
  99. func (m *Model) GetOnlinePredictionLogging() bool {
  100. if m != nil {
  101. return m.OnlinePredictionLogging
  102. }
  103. return false
  104. }
  105. // Represents a version of the model.
  106. //
  107. // Each version is a trained model deployed in the cloud, ready to handle
  108. // prediction requests. A model can have multiple versions. You can get
  109. // information about all of the versions of a given model by calling
  110. // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
  111. type Version struct {
  112. // Required.The name specified for the version when it was created.
  113. //
  114. // The version name must be unique within the model it is created in.
  115. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  116. // Optional. The description specified for the version when it was created.
  117. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  118. // Output only. If true, this version will be used to handle prediction
  119. // requests that do not specify a version.
  120. //
  121. // You can change the default version by calling
  122. // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  123. IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
  124. // Required. The Google Cloud Storage location of the trained model used to
  125. // create the version. See the
  126. // [overview of model deployment](/ml/docs/concepts/deployment-overview) for
  127. // more informaiton.
  128. //
  129. // When passing Version to
  130. // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create)
  131. // the model service uses the specified location as the source of the model.
  132. // Once deployed, the model version is hosted by the prediction service, so
  133. // this location is useful only as a historical record.
  134. DeploymentUri string `protobuf:"bytes,4,opt,name=deployment_uri,json=deploymentUri,proto3" json:"deployment_uri,omitempty"`
  135. // Output only. The time the version was created.
  136. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  137. // Output only. The time the version was last used for prediction.
  138. LastUseTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_use_time,json=lastUseTime,proto3" json:"last_use_time,omitempty"`
  139. // Optional. The Google Cloud ML runtime version to use for this deployment.
  140. // If not set, Google Cloud ML will choose a version.
  141. RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
  142. // Optional. Manually select the number of nodes to use for serving the
  143. // model. If unset (i.e., by default), the number of nodes used to serve
  144. // the model automatically scales with traffic. However, care should be
  145. // taken to ramp up traffic according to the model's ability to scale. If
  146. // your model needs to handle bursts of traffic beyond it's ability to
  147. // scale, it is recommended you set this field appropriately.
  148. ManualScaling *ManualScaling `protobuf:"bytes,9,opt,name=manual_scaling,json=manualScaling,proto3" json:"manual_scaling,omitempty"`
  149. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  150. XXX_unrecognized []byte `json:"-"`
  151. XXX_sizecache int32 `json:"-"`
  152. }
  153. func (m *Version) Reset() { *m = Version{} }
  154. func (m *Version) String() string { return proto.CompactTextString(m) }
  155. func (*Version) ProtoMessage() {}
  156. func (*Version) Descriptor() ([]byte, []int) {
  157. return fileDescriptor_model_service_39e6c1c813d15a86, []int{1}
  158. }
  159. func (m *Version) XXX_Unmarshal(b []byte) error {
  160. return xxx_messageInfo_Version.Unmarshal(m, b)
  161. }
  162. func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  163. return xxx_messageInfo_Version.Marshal(b, m, deterministic)
  164. }
  165. func (dst *Version) XXX_Merge(src proto.Message) {
  166. xxx_messageInfo_Version.Merge(dst, src)
  167. }
  168. func (m *Version) XXX_Size() int {
  169. return xxx_messageInfo_Version.Size(m)
  170. }
  171. func (m *Version) XXX_DiscardUnknown() {
  172. xxx_messageInfo_Version.DiscardUnknown(m)
  173. }
  174. var xxx_messageInfo_Version proto.InternalMessageInfo
  175. func (m *Version) GetName() string {
  176. if m != nil {
  177. return m.Name
  178. }
  179. return ""
  180. }
  181. func (m *Version) GetDescription() string {
  182. if m != nil {
  183. return m.Description
  184. }
  185. return ""
  186. }
  187. func (m *Version) GetIsDefault() bool {
  188. if m != nil {
  189. return m.IsDefault
  190. }
  191. return false
  192. }
  193. func (m *Version) GetDeploymentUri() string {
  194. if m != nil {
  195. return m.DeploymentUri
  196. }
  197. return ""
  198. }
  199. func (m *Version) GetCreateTime() *timestamp.Timestamp {
  200. if m != nil {
  201. return m.CreateTime
  202. }
  203. return nil
  204. }
  205. func (m *Version) GetLastUseTime() *timestamp.Timestamp {
  206. if m != nil {
  207. return m.LastUseTime
  208. }
  209. return nil
  210. }
  211. func (m *Version) GetRuntimeVersion() string {
  212. if m != nil {
  213. return m.RuntimeVersion
  214. }
  215. return ""
  216. }
  217. func (m *Version) GetManualScaling() *ManualScaling {
  218. if m != nil {
  219. return m.ManualScaling
  220. }
  221. return nil
  222. }
  223. // Options for manually scaling a model.
  224. type ManualScaling struct {
  225. // The number of nodes to allocate for this model. These nodes are always up,
  226. // starting from the time the model is deployed, so the cost of operating
  227. // this model will be proportional to nodes * number of hours since
  228. // deployment.
  229. Nodes int32 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"`
  230. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  231. XXX_unrecognized []byte `json:"-"`
  232. XXX_sizecache int32 `json:"-"`
  233. }
  234. func (m *ManualScaling) Reset() { *m = ManualScaling{} }
  235. func (m *ManualScaling) String() string { return proto.CompactTextString(m) }
  236. func (*ManualScaling) ProtoMessage() {}
  237. func (*ManualScaling) Descriptor() ([]byte, []int) {
  238. return fileDescriptor_model_service_39e6c1c813d15a86, []int{2}
  239. }
  240. func (m *ManualScaling) XXX_Unmarshal(b []byte) error {
  241. return xxx_messageInfo_ManualScaling.Unmarshal(m, b)
  242. }
  243. func (m *ManualScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  244. return xxx_messageInfo_ManualScaling.Marshal(b, m, deterministic)
  245. }
  246. func (dst *ManualScaling) XXX_Merge(src proto.Message) {
  247. xxx_messageInfo_ManualScaling.Merge(dst, src)
  248. }
  249. func (m *ManualScaling) XXX_Size() int {
  250. return xxx_messageInfo_ManualScaling.Size(m)
  251. }
  252. func (m *ManualScaling) XXX_DiscardUnknown() {
  253. xxx_messageInfo_ManualScaling.DiscardUnknown(m)
  254. }
  255. var xxx_messageInfo_ManualScaling proto.InternalMessageInfo
  256. func (m *ManualScaling) GetNodes() int32 {
  257. if m != nil {
  258. return m.Nodes
  259. }
  260. return 0
  261. }
  262. // Request message for the CreateModel method.
  263. type CreateModelRequest struct {
  264. // Required. The project name.
  265. //
  266. // Authorization: requires `Editor` role on the specified project.
  267. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  268. // Required. The model to create.
  269. Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
  270. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  271. XXX_unrecognized []byte `json:"-"`
  272. XXX_sizecache int32 `json:"-"`
  273. }
  274. func (m *CreateModelRequest) Reset() { *m = CreateModelRequest{} }
  275. func (m *CreateModelRequest) String() string { return proto.CompactTextString(m) }
  276. func (*CreateModelRequest) ProtoMessage() {}
  277. func (*CreateModelRequest) Descriptor() ([]byte, []int) {
  278. return fileDescriptor_model_service_39e6c1c813d15a86, []int{3}
  279. }
  280. func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error {
  281. return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b)
  282. }
  283. func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  284. return xxx_messageInfo_CreateModelRequest.Marshal(b, m, deterministic)
  285. }
  286. func (dst *CreateModelRequest) XXX_Merge(src proto.Message) {
  287. xxx_messageInfo_CreateModelRequest.Merge(dst, src)
  288. }
  289. func (m *CreateModelRequest) XXX_Size() int {
  290. return xxx_messageInfo_CreateModelRequest.Size(m)
  291. }
  292. func (m *CreateModelRequest) XXX_DiscardUnknown() {
  293. xxx_messageInfo_CreateModelRequest.DiscardUnknown(m)
  294. }
  295. var xxx_messageInfo_CreateModelRequest proto.InternalMessageInfo
  296. func (m *CreateModelRequest) GetParent() string {
  297. if m != nil {
  298. return m.Parent
  299. }
  300. return ""
  301. }
  302. func (m *CreateModelRequest) GetModel() *Model {
  303. if m != nil {
  304. return m.Model
  305. }
  306. return nil
  307. }
  308. // Request message for the ListModels method.
  309. type ListModelsRequest struct {
  310. // Required. The name of the project whose models are to be listed.
  311. //
  312. // Authorization: requires `Viewer` role on the specified project.
  313. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  314. // Optional. A page token to request the next page of results.
  315. //
  316. // You get the token from the `next_page_token` field of the response from
  317. // the previous call.
  318. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  319. // Optional. The number of models to retrieve per "page" of results. If there
  320. // are more remaining results than this number, the response message will
  321. // contain a valid value in the `next_page_token` field.
  322. //
  323. // The default value is 20, and the maximum page size is 100.
  324. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  325. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  326. XXX_unrecognized []byte `json:"-"`
  327. XXX_sizecache int32 `json:"-"`
  328. }
  329. func (m *ListModelsRequest) Reset() { *m = ListModelsRequest{} }
  330. func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) }
  331. func (*ListModelsRequest) ProtoMessage() {}
  332. func (*ListModelsRequest) Descriptor() ([]byte, []int) {
  333. return fileDescriptor_model_service_39e6c1c813d15a86, []int{4}
  334. }
  335. func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error {
  336. return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b)
  337. }
  338. func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  339. return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic)
  340. }
  341. func (dst *ListModelsRequest) XXX_Merge(src proto.Message) {
  342. xxx_messageInfo_ListModelsRequest.Merge(dst, src)
  343. }
  344. func (m *ListModelsRequest) XXX_Size() int {
  345. return xxx_messageInfo_ListModelsRequest.Size(m)
  346. }
  347. func (m *ListModelsRequest) XXX_DiscardUnknown() {
  348. xxx_messageInfo_ListModelsRequest.DiscardUnknown(m)
  349. }
  350. var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo
  351. func (m *ListModelsRequest) GetParent() string {
  352. if m != nil {
  353. return m.Parent
  354. }
  355. return ""
  356. }
  357. func (m *ListModelsRequest) GetPageToken() string {
  358. if m != nil {
  359. return m.PageToken
  360. }
  361. return ""
  362. }
  363. func (m *ListModelsRequest) GetPageSize() int32 {
  364. if m != nil {
  365. return m.PageSize
  366. }
  367. return 0
  368. }
  369. // Response message for the ListModels method.
  370. type ListModelsResponse struct {
  371. // The list of models.
  372. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
  373. // Optional. Pass this token as the `page_token` field of the request for a
  374. // subsequent call.
  375. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  376. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  377. XXX_unrecognized []byte `json:"-"`
  378. XXX_sizecache int32 `json:"-"`
  379. }
  380. func (m *ListModelsResponse) Reset() { *m = ListModelsResponse{} }
  381. func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) }
  382. func (*ListModelsResponse) ProtoMessage() {}
  383. func (*ListModelsResponse) Descriptor() ([]byte, []int) {
  384. return fileDescriptor_model_service_39e6c1c813d15a86, []int{5}
  385. }
  386. func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error {
  387. return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b)
  388. }
  389. func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  390. return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic)
  391. }
  392. func (dst *ListModelsResponse) XXX_Merge(src proto.Message) {
  393. xxx_messageInfo_ListModelsResponse.Merge(dst, src)
  394. }
  395. func (m *ListModelsResponse) XXX_Size() int {
  396. return xxx_messageInfo_ListModelsResponse.Size(m)
  397. }
  398. func (m *ListModelsResponse) XXX_DiscardUnknown() {
  399. xxx_messageInfo_ListModelsResponse.DiscardUnknown(m)
  400. }
  401. var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo
  402. func (m *ListModelsResponse) GetModels() []*Model {
  403. if m != nil {
  404. return m.Models
  405. }
  406. return nil
  407. }
  408. func (m *ListModelsResponse) GetNextPageToken() string {
  409. if m != nil {
  410. return m.NextPageToken
  411. }
  412. return ""
  413. }
  414. // Request message for the GetModel method.
  415. type GetModelRequest struct {
  416. // Required. The name of the model.
  417. //
  418. // Authorization: requires `Viewer` role on the parent project.
  419. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  420. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  421. XXX_unrecognized []byte `json:"-"`
  422. XXX_sizecache int32 `json:"-"`
  423. }
  424. func (m *GetModelRequest) Reset() { *m = GetModelRequest{} }
  425. func (m *GetModelRequest) String() string { return proto.CompactTextString(m) }
  426. func (*GetModelRequest) ProtoMessage() {}
  427. func (*GetModelRequest) Descriptor() ([]byte, []int) {
  428. return fileDescriptor_model_service_39e6c1c813d15a86, []int{6}
  429. }
  430. func (m *GetModelRequest) XXX_Unmarshal(b []byte) error {
  431. return xxx_messageInfo_GetModelRequest.Unmarshal(m, b)
  432. }
  433. func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  434. return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic)
  435. }
  436. func (dst *GetModelRequest) XXX_Merge(src proto.Message) {
  437. xxx_messageInfo_GetModelRequest.Merge(dst, src)
  438. }
  439. func (m *GetModelRequest) XXX_Size() int {
  440. return xxx_messageInfo_GetModelRequest.Size(m)
  441. }
  442. func (m *GetModelRequest) XXX_DiscardUnknown() {
  443. xxx_messageInfo_GetModelRequest.DiscardUnknown(m)
  444. }
  445. var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo
  446. func (m *GetModelRequest) GetName() string {
  447. if m != nil {
  448. return m.Name
  449. }
  450. return ""
  451. }
  452. // Request message for the DeleteModel method.
  453. type DeleteModelRequest struct {
  454. // Required. The name of the model.
  455. //
  456. // Authorization: requires `Editor` role on the parent project.
  457. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  458. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  459. XXX_unrecognized []byte `json:"-"`
  460. XXX_sizecache int32 `json:"-"`
  461. }
  462. func (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} }
  463. func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) }
  464. func (*DeleteModelRequest) ProtoMessage() {}
  465. func (*DeleteModelRequest) Descriptor() ([]byte, []int) {
  466. return fileDescriptor_model_service_39e6c1c813d15a86, []int{7}
  467. }
  468. func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error {
  469. return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b)
  470. }
  471. func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  472. return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic)
  473. }
  474. func (dst *DeleteModelRequest) XXX_Merge(src proto.Message) {
  475. xxx_messageInfo_DeleteModelRequest.Merge(dst, src)
  476. }
  477. func (m *DeleteModelRequest) XXX_Size() int {
  478. return xxx_messageInfo_DeleteModelRequest.Size(m)
  479. }
  480. func (m *DeleteModelRequest) XXX_DiscardUnknown() {
  481. xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m)
  482. }
  483. var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo
  484. func (m *DeleteModelRequest) GetName() string {
  485. if m != nil {
  486. return m.Name
  487. }
  488. return ""
  489. }
  490. // Uploads the provided trained model version to Cloud Machine Learning.
  491. type CreateVersionRequest struct {
  492. // Required. The name of the model.
  493. //
  494. // Authorization: requires `Editor` role on the parent project.
  495. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  496. // Required. The version details.
  497. Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  498. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  499. XXX_unrecognized []byte `json:"-"`
  500. XXX_sizecache int32 `json:"-"`
  501. }
  502. func (m *CreateVersionRequest) Reset() { *m = CreateVersionRequest{} }
  503. func (m *CreateVersionRequest) String() string { return proto.CompactTextString(m) }
  504. func (*CreateVersionRequest) ProtoMessage() {}
  505. func (*CreateVersionRequest) Descriptor() ([]byte, []int) {
  506. return fileDescriptor_model_service_39e6c1c813d15a86, []int{8}
  507. }
  508. func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error {
  509. return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b)
  510. }
  511. func (m *CreateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  512. return xxx_messageInfo_CreateVersionRequest.Marshal(b, m, deterministic)
  513. }
  514. func (dst *CreateVersionRequest) XXX_Merge(src proto.Message) {
  515. xxx_messageInfo_CreateVersionRequest.Merge(dst, src)
  516. }
  517. func (m *CreateVersionRequest) XXX_Size() int {
  518. return xxx_messageInfo_CreateVersionRequest.Size(m)
  519. }
  520. func (m *CreateVersionRequest) XXX_DiscardUnknown() {
  521. xxx_messageInfo_CreateVersionRequest.DiscardUnknown(m)
  522. }
  523. var xxx_messageInfo_CreateVersionRequest proto.InternalMessageInfo
  524. func (m *CreateVersionRequest) GetParent() string {
  525. if m != nil {
  526. return m.Parent
  527. }
  528. return ""
  529. }
  530. func (m *CreateVersionRequest) GetVersion() *Version {
  531. if m != nil {
  532. return m.Version
  533. }
  534. return nil
  535. }
  536. // Request message for the ListVersions method.
  537. type ListVersionsRequest struct {
  538. // Required. The name of the model for which to list the version.
  539. //
  540. // Authorization: requires `Viewer` role on the parent project.
  541. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  542. // Optional. A page token to request the next page of results.
  543. //
  544. // You get the token from the `next_page_token` field of the response from
  545. // the previous call.
  546. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  547. // Optional. The number of versions to retrieve per "page" of results. If
  548. // there are more remaining results than this number, the response message
  549. // will contain a valid value in the `next_page_token` field.
  550. //
  551. // The default value is 20, and the maximum page size is 100.
  552. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  553. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  554. XXX_unrecognized []byte `json:"-"`
  555. XXX_sizecache int32 `json:"-"`
  556. }
  557. func (m *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} }
  558. func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) }
  559. func (*ListVersionsRequest) ProtoMessage() {}
  560. func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
  561. return fileDescriptor_model_service_39e6c1c813d15a86, []int{9}
  562. }
  563. func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error {
  564. return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b)
  565. }
  566. func (m *ListVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  567. return xxx_messageInfo_ListVersionsRequest.Marshal(b, m, deterministic)
  568. }
  569. func (dst *ListVersionsRequest) XXX_Merge(src proto.Message) {
  570. xxx_messageInfo_ListVersionsRequest.Merge(dst, src)
  571. }
  572. func (m *ListVersionsRequest) XXX_Size() int {
  573. return xxx_messageInfo_ListVersionsRequest.Size(m)
  574. }
  575. func (m *ListVersionsRequest) XXX_DiscardUnknown() {
  576. xxx_messageInfo_ListVersionsRequest.DiscardUnknown(m)
  577. }
  578. var xxx_messageInfo_ListVersionsRequest proto.InternalMessageInfo
  579. func (m *ListVersionsRequest) GetParent() string {
  580. if m != nil {
  581. return m.Parent
  582. }
  583. return ""
  584. }
  585. func (m *ListVersionsRequest) GetPageToken() string {
  586. if m != nil {
  587. return m.PageToken
  588. }
  589. return ""
  590. }
  591. func (m *ListVersionsRequest) GetPageSize() int32 {
  592. if m != nil {
  593. return m.PageSize
  594. }
  595. return 0
  596. }
  597. // Response message for the ListVersions method.
  598. type ListVersionsResponse struct {
  599. // The list of versions.
  600. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
  601. // Optional. Pass this token as the `page_token` field of the request for a
  602. // subsequent call.
  603. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  604. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  605. XXX_unrecognized []byte `json:"-"`
  606. XXX_sizecache int32 `json:"-"`
  607. }
  608. func (m *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} }
  609. func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) }
  610. func (*ListVersionsResponse) ProtoMessage() {}
  611. func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
  612. return fileDescriptor_model_service_39e6c1c813d15a86, []int{10}
  613. }
  614. func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error {
  615. return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b)
  616. }
  617. func (m *ListVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  618. return xxx_messageInfo_ListVersionsResponse.Marshal(b, m, deterministic)
  619. }
  620. func (dst *ListVersionsResponse) XXX_Merge(src proto.Message) {
  621. xxx_messageInfo_ListVersionsResponse.Merge(dst, src)
  622. }
  623. func (m *ListVersionsResponse) XXX_Size() int {
  624. return xxx_messageInfo_ListVersionsResponse.Size(m)
  625. }
  626. func (m *ListVersionsResponse) XXX_DiscardUnknown() {
  627. xxx_messageInfo_ListVersionsResponse.DiscardUnknown(m)
  628. }
  629. var xxx_messageInfo_ListVersionsResponse proto.InternalMessageInfo
  630. func (m *ListVersionsResponse) GetVersions() []*Version {
  631. if m != nil {
  632. return m.Versions
  633. }
  634. return nil
  635. }
  636. func (m *ListVersionsResponse) GetNextPageToken() string {
  637. if m != nil {
  638. return m.NextPageToken
  639. }
  640. return ""
  641. }
  642. // Request message for the GetVersion method.
  643. type GetVersionRequest struct {
  644. // Required. The name of the version.
  645. //
  646. // Authorization: requires `Viewer` role on the parent project.
  647. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  648. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  649. XXX_unrecognized []byte `json:"-"`
  650. XXX_sizecache int32 `json:"-"`
  651. }
  652. func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} }
  653. func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) }
  654. func (*GetVersionRequest) ProtoMessage() {}
  655. func (*GetVersionRequest) Descriptor() ([]byte, []int) {
  656. return fileDescriptor_model_service_39e6c1c813d15a86, []int{11}
  657. }
  658. func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error {
  659. return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b)
  660. }
  661. func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  662. return xxx_messageInfo_GetVersionRequest.Marshal(b, m, deterministic)
  663. }
  664. func (dst *GetVersionRequest) XXX_Merge(src proto.Message) {
  665. xxx_messageInfo_GetVersionRequest.Merge(dst, src)
  666. }
  667. func (m *GetVersionRequest) XXX_Size() int {
  668. return xxx_messageInfo_GetVersionRequest.Size(m)
  669. }
  670. func (m *GetVersionRequest) XXX_DiscardUnknown() {
  671. xxx_messageInfo_GetVersionRequest.DiscardUnknown(m)
  672. }
  673. var xxx_messageInfo_GetVersionRequest proto.InternalMessageInfo
  674. func (m *GetVersionRequest) GetName() string {
  675. if m != nil {
  676. return m.Name
  677. }
  678. return ""
  679. }
  680. // Request message for the DeleteVerionRequest method.
  681. type DeleteVersionRequest struct {
  682. // Required. The name of the version. You can get the names of all the
  683. // versions of a model by calling
  684. // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
  685. //
  686. // Authorization: requires `Editor` role on the parent project.
  687. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  688. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  689. XXX_unrecognized []byte `json:"-"`
  690. XXX_sizecache int32 `json:"-"`
  691. }
  692. func (m *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} }
  693. func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) }
  694. func (*DeleteVersionRequest) ProtoMessage() {}
  695. func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
  696. return fileDescriptor_model_service_39e6c1c813d15a86, []int{12}
  697. }
  698. func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error {
  699. return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b)
  700. }
  701. func (m *DeleteVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  702. return xxx_messageInfo_DeleteVersionRequest.Marshal(b, m, deterministic)
  703. }
  704. func (dst *DeleteVersionRequest) XXX_Merge(src proto.Message) {
  705. xxx_messageInfo_DeleteVersionRequest.Merge(dst, src)
  706. }
  707. func (m *DeleteVersionRequest) XXX_Size() int {
  708. return xxx_messageInfo_DeleteVersionRequest.Size(m)
  709. }
  710. func (m *DeleteVersionRequest) XXX_DiscardUnknown() {
  711. xxx_messageInfo_DeleteVersionRequest.DiscardUnknown(m)
  712. }
  713. var xxx_messageInfo_DeleteVersionRequest proto.InternalMessageInfo
  714. func (m *DeleteVersionRequest) GetName() string {
  715. if m != nil {
  716. return m.Name
  717. }
  718. return ""
  719. }
  720. // Request message for the SetDefaultVersion request.
  721. type SetDefaultVersionRequest struct {
  722. // Required. The name of the version to make the default for the model. You
  723. // can get the names of all the versions of a model by calling
  724. // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list).
  725. //
  726. // Authorization: requires `Editor` role on the parent project.
  727. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  728. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  729. XXX_unrecognized []byte `json:"-"`
  730. XXX_sizecache int32 `json:"-"`
  731. }
  732. func (m *SetDefaultVersionRequest) Reset() { *m = SetDefaultVersionRequest{} }
  733. func (m *SetDefaultVersionRequest) String() string { return proto.CompactTextString(m) }
  734. func (*SetDefaultVersionRequest) ProtoMessage() {}
  735. func (*SetDefaultVersionRequest) Descriptor() ([]byte, []int) {
  736. return fileDescriptor_model_service_39e6c1c813d15a86, []int{13}
  737. }
  738. func (m *SetDefaultVersionRequest) XXX_Unmarshal(b []byte) error {
  739. return xxx_messageInfo_SetDefaultVersionRequest.Unmarshal(m, b)
  740. }
  741. func (m *SetDefaultVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  742. return xxx_messageInfo_SetDefaultVersionRequest.Marshal(b, m, deterministic)
  743. }
  744. func (dst *SetDefaultVersionRequest) XXX_Merge(src proto.Message) {
  745. xxx_messageInfo_SetDefaultVersionRequest.Merge(dst, src)
  746. }
  747. func (m *SetDefaultVersionRequest) XXX_Size() int {
  748. return xxx_messageInfo_SetDefaultVersionRequest.Size(m)
  749. }
  750. func (m *SetDefaultVersionRequest) XXX_DiscardUnknown() {
  751. xxx_messageInfo_SetDefaultVersionRequest.DiscardUnknown(m)
  752. }
  753. var xxx_messageInfo_SetDefaultVersionRequest proto.InternalMessageInfo
  754. func (m *SetDefaultVersionRequest) GetName() string {
  755. if m != nil {
  756. return m.Name
  757. }
  758. return ""
  759. }
  760. func init() {
  761. proto.RegisterType((*Model)(nil), "google.cloud.ml.v1.Model")
  762. proto.RegisterType((*Version)(nil), "google.cloud.ml.v1.Version")
  763. proto.RegisterType((*ManualScaling)(nil), "google.cloud.ml.v1.ManualScaling")
  764. proto.RegisterType((*CreateModelRequest)(nil), "google.cloud.ml.v1.CreateModelRequest")
  765. proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.ml.v1.ListModelsRequest")
  766. proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.ml.v1.ListModelsResponse")
  767. proto.RegisterType((*GetModelRequest)(nil), "google.cloud.ml.v1.GetModelRequest")
  768. proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.ml.v1.DeleteModelRequest")
  769. proto.RegisterType((*CreateVersionRequest)(nil), "google.cloud.ml.v1.CreateVersionRequest")
  770. proto.RegisterType((*ListVersionsRequest)(nil), "google.cloud.ml.v1.ListVersionsRequest")
  771. proto.RegisterType((*ListVersionsResponse)(nil), "google.cloud.ml.v1.ListVersionsResponse")
  772. proto.RegisterType((*GetVersionRequest)(nil), "google.cloud.ml.v1.GetVersionRequest")
  773. proto.RegisterType((*DeleteVersionRequest)(nil), "google.cloud.ml.v1.DeleteVersionRequest")
  774. proto.RegisterType((*SetDefaultVersionRequest)(nil), "google.cloud.ml.v1.SetDefaultVersionRequest")
  775. }
  776. // Reference imports to suppress errors if they are not otherwise used.
  777. var _ context.Context
  778. var _ grpc.ClientConn
  779. // This is a compile-time assertion to ensure that this generated file
  780. // is compatible with the grpc package it is being compiled against.
  781. const _ = grpc.SupportPackageIsVersion4
  782. // ModelServiceClient is the client API for ModelService service.
  783. //
  784. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  785. type ModelServiceClient interface {
  786. // Creates a model which will later contain one or more versions.
  787. //
  788. // You must add at least one version before you can request predictions from
  789. // the model. Add versions by calling
  790. // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create).
  791. CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error)
  792. // Lists the models in a project.
  793. //
  794. // Each project can contain multiple models, and each model can have multiple
  795. // versions.
  796. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
  797. // Gets information about a model, including its name, the description (if
  798. // set), and the default version (if at least one version of the model has
  799. // been deployed).
  800. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
  801. // Deletes a model.
  802. //
  803. // You can only delete a model if there are no versions in it. You can delete
  804. // versions by calling
  805. // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete).
  806. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  807. // Creates a new version of a model from a trained TensorFlow model.
  808. //
  809. // If the version created in the cloud by this call is the first deployed
  810. // version of the specified model, it will be made the default version of the
  811. // model. When you add a version to a model that already has one or more
  812. // versions, the default version does not automatically change. If you want a
  813. // new version to be the default, you must call
  814. // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  815. CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  816. // Gets basic information about all the versions of a model.
  817. //
  818. // If you expect that a model has a lot of versions, or if you need to handle
  819. // only a limited number of results at a time, you can request that the list
  820. // be retrieved in batches (called pages):
  821. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
  822. // Gets information about a model version.
  823. //
  824. // Models can have multiple versions. You can call
  825. // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list)
  826. // to get the same information that this method returns for all of the
  827. // versions of a model.
  828. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
  829. // Deletes a model version.
  830. //
  831. // Each model can have multiple versions deployed and in use at any given
  832. // time. Use this method to remove a single version.
  833. //
  834. // Note: You cannot delete the version that is set as the default version
  835. // of the model unless it is the only remaining version.
  836. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  837. // Designates a version to be the default for the model.
  838. //
  839. // The default version is used for prediction requests made against the model
  840. // that don't specify a version.
  841. //
  842. // The first version to be created for a model is automatically set as the
  843. // default. You must make any subsequent changes to the default version
  844. // setting manually using this method.
  845. SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error)
  846. }
  847. type modelServiceClient struct {
  848. cc *grpc.ClientConn
  849. }
  850. func NewModelServiceClient(cc *grpc.ClientConn) ModelServiceClient {
  851. return &modelServiceClient{cc}
  852. }
  853. func (c *modelServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) {
  854. out := new(Model)
  855. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateModel", in, out, opts...)
  856. if err != nil {
  857. return nil, err
  858. }
  859. return out, nil
  860. }
  861. func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) {
  862. out := new(ListModelsResponse)
  863. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListModels", in, out, opts...)
  864. if err != nil {
  865. return nil, err
  866. }
  867. return out, nil
  868. }
  869. func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) {
  870. out := new(Model)
  871. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetModel", in, out, opts...)
  872. if err != nil {
  873. return nil, err
  874. }
  875. return out, nil
  876. }
  877. func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  878. out := new(longrunning.Operation)
  879. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteModel", in, out, opts...)
  880. if err != nil {
  881. return nil, err
  882. }
  883. return out, nil
  884. }
  885. func (c *modelServiceClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  886. out := new(longrunning.Operation)
  887. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateVersion", in, out, opts...)
  888. if err != nil {
  889. return nil, err
  890. }
  891. return out, nil
  892. }
  893. func (c *modelServiceClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) {
  894. out := new(ListVersionsResponse)
  895. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListVersions", in, out, opts...)
  896. if err != nil {
  897. return nil, err
  898. }
  899. return out, nil
  900. }
  901. func (c *modelServiceClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) {
  902. out := new(Version)
  903. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetVersion", in, out, opts...)
  904. if err != nil {
  905. return nil, err
  906. }
  907. return out, nil
  908. }
  909. func (c *modelServiceClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  910. out := new(longrunning.Operation)
  911. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteVersion", in, out, opts...)
  912. if err != nil {
  913. return nil, err
  914. }
  915. return out, nil
  916. }
  917. func (c *modelServiceClient) SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) {
  918. out := new(Version)
  919. err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/SetDefaultVersion", in, out, opts...)
  920. if err != nil {
  921. return nil, err
  922. }
  923. return out, nil
  924. }
  925. // ModelServiceServer is the server API for ModelService service.
  926. type ModelServiceServer interface {
  927. // Creates a model which will later contain one or more versions.
  928. //
  929. // You must add at least one version before you can request predictions from
  930. // the model. Add versions by calling
  931. // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create).
  932. CreateModel(context.Context, *CreateModelRequest) (*Model, error)
  933. // Lists the models in a project.
  934. //
  935. // Each project can contain multiple models, and each model can have multiple
  936. // versions.
  937. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
  938. // Gets information about a model, including its name, the description (if
  939. // set), and the default version (if at least one version of the model has
  940. // been deployed).
  941. GetModel(context.Context, *GetModelRequest) (*Model, error)
  942. // Deletes a model.
  943. //
  944. // You can only delete a model if there are no versions in it. You can delete
  945. // versions by calling
  946. // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete).
  947. DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error)
  948. // Creates a new version of a model from a trained TensorFlow model.
  949. //
  950. // If the version created in the cloud by this call is the first deployed
  951. // version of the specified model, it will be made the default version of the
  952. // model. When you add a version to a model that already has one or more
  953. // versions, the default version does not automatically change. If you want a
  954. // new version to be the default, you must call
  955. // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault).
  956. CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error)
  957. // Gets basic information about all the versions of a model.
  958. //
  959. // If you expect that a model has a lot of versions, or if you need to handle
  960. // only a limited number of results at a time, you can request that the list
  961. // be retrieved in batches (called pages):
  962. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
  963. // Gets information about a model version.
  964. //
  965. // Models can have multiple versions. You can call
  966. // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list)
  967. // to get the same information that this method returns for all of the
  968. // versions of a model.
  969. GetVersion(context.Context, *GetVersionRequest) (*Version, error)
  970. // Deletes a model version.
  971. //
  972. // Each model can have multiple versions deployed and in use at any given
  973. // time. Use this method to remove a single version.
  974. //
  975. // Note: You cannot delete the version that is set as the default version
  976. // of the model unless it is the only remaining version.
  977. DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error)
  978. // Designates a version to be the default for the model.
  979. //
  980. // The default version is used for prediction requests made against the model
  981. // that don't specify a version.
  982. //
  983. // The first version to be created for a model is automatically set as the
  984. // default. You must make any subsequent changes to the default version
  985. // setting manually using this method.
  986. SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error)
  987. }
  988. func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) {
  989. s.RegisterService(&_ModelService_serviceDesc, srv)
  990. }
  991. func _ModelService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  992. in := new(CreateModelRequest)
  993. if err := dec(in); err != nil {
  994. return nil, err
  995. }
  996. if interceptor == nil {
  997. return srv.(ModelServiceServer).CreateModel(ctx, in)
  998. }
  999. info := &grpc.UnaryServerInfo{
  1000. Server: srv,
  1001. FullMethod: "/google.cloud.ml.v1.ModelService/CreateModel",
  1002. }
  1003. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1004. return srv.(ModelServiceServer).CreateModel(ctx, req.(*CreateModelRequest))
  1005. }
  1006. return interceptor(ctx, in, info, handler)
  1007. }
  1008. func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1009. in := new(ListModelsRequest)
  1010. if err := dec(in); err != nil {
  1011. return nil, err
  1012. }
  1013. if interceptor == nil {
  1014. return srv.(ModelServiceServer).ListModels(ctx, in)
  1015. }
  1016. info := &grpc.UnaryServerInfo{
  1017. Server: srv,
  1018. FullMethod: "/google.cloud.ml.v1.ModelService/ListModels",
  1019. }
  1020. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1021. return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest))
  1022. }
  1023. return interceptor(ctx, in, info, handler)
  1024. }
  1025. func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1026. in := new(GetModelRequest)
  1027. if err := dec(in); err != nil {
  1028. return nil, err
  1029. }
  1030. if interceptor == nil {
  1031. return srv.(ModelServiceServer).GetModel(ctx, in)
  1032. }
  1033. info := &grpc.UnaryServerInfo{
  1034. Server: srv,
  1035. FullMethod: "/google.cloud.ml.v1.ModelService/GetModel",
  1036. }
  1037. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1038. return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest))
  1039. }
  1040. return interceptor(ctx, in, info, handler)
  1041. }
  1042. func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1043. in := new(DeleteModelRequest)
  1044. if err := dec(in); err != nil {
  1045. return nil, err
  1046. }
  1047. if interceptor == nil {
  1048. return srv.(ModelServiceServer).DeleteModel(ctx, in)
  1049. }
  1050. info := &grpc.UnaryServerInfo{
  1051. Server: srv,
  1052. FullMethod: "/google.cloud.ml.v1.ModelService/DeleteModel",
  1053. }
  1054. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1055. return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest))
  1056. }
  1057. return interceptor(ctx, in, info, handler)
  1058. }
  1059. func _ModelService_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1060. in := new(CreateVersionRequest)
  1061. if err := dec(in); err != nil {
  1062. return nil, err
  1063. }
  1064. if interceptor == nil {
  1065. return srv.(ModelServiceServer).CreateVersion(ctx, in)
  1066. }
  1067. info := &grpc.UnaryServerInfo{
  1068. Server: srv,
  1069. FullMethod: "/google.cloud.ml.v1.ModelService/CreateVersion",
  1070. }
  1071. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1072. return srv.(ModelServiceServer).CreateVersion(ctx, req.(*CreateVersionRequest))
  1073. }
  1074. return interceptor(ctx, in, info, handler)
  1075. }
  1076. func _ModelService_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1077. in := new(ListVersionsRequest)
  1078. if err := dec(in); err != nil {
  1079. return nil, err
  1080. }
  1081. if interceptor == nil {
  1082. return srv.(ModelServiceServer).ListVersions(ctx, in)
  1083. }
  1084. info := &grpc.UnaryServerInfo{
  1085. Server: srv,
  1086. FullMethod: "/google.cloud.ml.v1.ModelService/ListVersions",
  1087. }
  1088. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1089. return srv.(ModelServiceServer).ListVersions(ctx, req.(*ListVersionsRequest))
  1090. }
  1091. return interceptor(ctx, in, info, handler)
  1092. }
  1093. func _ModelService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1094. in := new(GetVersionRequest)
  1095. if err := dec(in); err != nil {
  1096. return nil, err
  1097. }
  1098. if interceptor == nil {
  1099. return srv.(ModelServiceServer).GetVersion(ctx, in)
  1100. }
  1101. info := &grpc.UnaryServerInfo{
  1102. Server: srv,
  1103. FullMethod: "/google.cloud.ml.v1.ModelService/GetVersion",
  1104. }
  1105. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1106. return srv.(ModelServiceServer).GetVersion(ctx, req.(*GetVersionRequest))
  1107. }
  1108. return interceptor(ctx, in, info, handler)
  1109. }
  1110. func _ModelService_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1111. in := new(DeleteVersionRequest)
  1112. if err := dec(in); err != nil {
  1113. return nil, err
  1114. }
  1115. if interceptor == nil {
  1116. return srv.(ModelServiceServer).DeleteVersion(ctx, in)
  1117. }
  1118. info := &grpc.UnaryServerInfo{
  1119. Server: srv,
  1120. FullMethod: "/google.cloud.ml.v1.ModelService/DeleteVersion",
  1121. }
  1122. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1123. return srv.(ModelServiceServer).DeleteVersion(ctx, req.(*DeleteVersionRequest))
  1124. }
  1125. return interceptor(ctx, in, info, handler)
  1126. }
  1127. func _ModelService_SetDefaultVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1128. in := new(SetDefaultVersionRequest)
  1129. if err := dec(in); err != nil {
  1130. return nil, err
  1131. }
  1132. if interceptor == nil {
  1133. return srv.(ModelServiceServer).SetDefaultVersion(ctx, in)
  1134. }
  1135. info := &grpc.UnaryServerInfo{
  1136. Server: srv,
  1137. FullMethod: "/google.cloud.ml.v1.ModelService/SetDefaultVersion",
  1138. }
  1139. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1140. return srv.(ModelServiceServer).SetDefaultVersion(ctx, req.(*SetDefaultVersionRequest))
  1141. }
  1142. return interceptor(ctx, in, info, handler)
  1143. }
  1144. var _ModelService_serviceDesc = grpc.ServiceDesc{
  1145. ServiceName: "google.cloud.ml.v1.ModelService",
  1146. HandlerType: (*ModelServiceServer)(nil),
  1147. Methods: []grpc.MethodDesc{
  1148. {
  1149. MethodName: "CreateModel",
  1150. Handler: _ModelService_CreateModel_Handler,
  1151. },
  1152. {
  1153. MethodName: "ListModels",
  1154. Handler: _ModelService_ListModels_Handler,
  1155. },
  1156. {
  1157. MethodName: "GetModel",
  1158. Handler: _ModelService_GetModel_Handler,
  1159. },
  1160. {
  1161. MethodName: "DeleteModel",
  1162. Handler: _ModelService_DeleteModel_Handler,
  1163. },
  1164. {
  1165. MethodName: "CreateVersion",
  1166. Handler: _ModelService_CreateVersion_Handler,
  1167. },
  1168. {
  1169. MethodName: "ListVersions",
  1170. Handler: _ModelService_ListVersions_Handler,
  1171. },
  1172. {
  1173. MethodName: "GetVersion",
  1174. Handler: _ModelService_GetVersion_Handler,
  1175. },
  1176. {
  1177. MethodName: "DeleteVersion",
  1178. Handler: _ModelService_DeleteVersion_Handler,
  1179. },
  1180. {
  1181. MethodName: "SetDefaultVersion",
  1182. Handler: _ModelService_SetDefaultVersion_Handler,
  1183. },
  1184. },
  1185. Streams: []grpc.StreamDesc{},
  1186. Metadata: "google/cloud/ml/v1/model_service.proto",
  1187. }
  1188. func init() {
  1189. proto.RegisterFile("google/cloud/ml/v1/model_service.proto", fileDescriptor_model_service_39e6c1c813d15a86)
  1190. }
  1191. var fileDescriptor_model_service_39e6c1c813d15a86 = []byte{
  1192. // 996 bytes of a gzipped FileDescriptorProto
  1193. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0xe3, 0x44,
  1194. 0x14, 0x96, 0xdb, 0xa6, 0x4d, 0x5e, 0x36, 0xad, 0x3a, 0x14, 0xc8, 0x66, 0x29, 0x04, 0xaf, 0xda,
  1195. 0x86, 0x00, 0xb6, 0x52, 0x8a, 0x10, 0x59, 0x01, 0xd2, 0x52, 0x69, 0x39, 0xec, 0x8a, 0xca, 0xdd,
  1196. 0xe5, 0x80, 0x84, 0x2c, 0x6f, 0x32, 0x6b, 0x06, 0xec, 0x19, 0xe3, 0x19, 0x07, 0x58, 0x58, 0x21,
  1197. 0xc1, 0x91, 0x23, 0xdc, 0xf9, 0xa3, 0x38, 0x71, 0xe7, 0xc6, 0x99, 0x3b, 0x9a, 0x1f, 0x4e, 0xed,
  1198. 0xc4, 0x89, 0x0b, 0x12, 0x37, 0xcf, 0x9b, 0xef, 0xcd, 0xfb, 0xe6, 0x7d, 0xef, 0xbd, 0x31, 0x1c,
  1199. 0x87, 0x8c, 0x85, 0x11, 0x76, 0x27, 0x11, 0xcb, 0xa6, 0x6e, 0x1c, 0xb9, 0xb3, 0x91, 0x1b, 0xb3,
  1200. 0x29, 0x8e, 0x7c, 0x8e, 0xd3, 0x19, 0x99, 0x60, 0x27, 0x49, 0x99, 0x60, 0x08, 0x69, 0x9c, 0xa3,
  1201. 0x70, 0x4e, 0x1c, 0x39, 0xb3, 0x51, 0xef, 0x25, 0xe3, 0x1b, 0x24, 0xc4, 0x0d, 0x28, 0x65, 0x22,
  1202. 0x10, 0x84, 0x51, 0xae, 0x3d, 0x7a, 0xcf, 0x17, 0x77, 0x33, 0xf1, 0xb9, 0x31, 0xdf, 0x36, 0xe6,
  1203. 0x88, 0xd1, 0x30, 0xcd, 0x28, 0x25, 0x34, 0x74, 0x59, 0x82, 0xd3, 0x92, 0xef, 0x2b, 0x06, 0xa4,
  1204. 0x56, 0x8f, 0xb3, 0x27, 0xae, 0x20, 0x31, 0xe6, 0x22, 0x88, 0x13, 0x0d, 0xb0, 0xff, 0xb0, 0xa0,
  1205. 0xf1, 0x40, 0xd2, 0x44, 0x08, 0xb6, 0x68, 0x10, 0xe3, 0xae, 0xd5, 0xb7, 0x06, 0x2d, 0x4f, 0x7d,
  1206. 0xa3, 0x3e, 0xb4, 0xa7, 0x98, 0x4f, 0x52, 0x92, 0xc8, 0x43, 0xbb, 0x1b, 0x6a, 0xab, 0x68, 0x42,
  1207. 0xe7, 0xb0, 0x37, 0xc5, 0x4f, 0x82, 0x2c, 0x12, 0xfe, 0x0c, 0xa7, 0x5c, 0xa2, 0x36, 0xfb, 0xd6,
  1208. 0xa0, 0x7d, 0x7a, 0xcb, 0x59, 0xbe, 0xa8, 0xf3, 0x89, 0x86, 0x78, 0xbb, 0xc6, 0xc7, 0xac, 0x51,
  1209. 0x17, 0x76, 0x52, 0x1c, 0x4a, 0xde, 0xdd, 0xad, 0xfe, 0xe6, 0xa0, 0xe5, 0xe5, 0x4b, 0x34, 0x86,
  1210. 0x9b, 0x8c, 0x46, 0x84, 0x62, 0x3f, 0x49, 0xf1, 0x94, 0x4c, 0x64, 0x50, 0x3f, 0x62, 0x61, 0x48,
  1211. 0x68, 0xd8, 0x6d, 0xf4, 0xad, 0x41, 0xd3, 0x7b, 0x51, 0x03, 0x2e, 0xe6, 0xfb, 0xf7, 0xf5, 0xb6,
  1212. 0xfd, 0xf7, 0x06, 0xec, 0xe4, 0x11, 0xfe, 0xdb, 0xed, 0x0e, 0x01, 0x08, 0xf7, 0x0d, 0x59, 0x75,
  1213. 0xb1, 0xa6, 0xd7, 0x22, 0xfc, 0x5c, 0x1b, 0xd0, 0x11, 0xec, 0x4e, 0x71, 0x12, 0xb1, 0x6f, 0x63,
  1214. 0x4c, 0x85, 0x9f, 0xa5, 0xa4, 0xbb, 0xa5, 0xce, 0xe8, 0x5c, 0x59, 0x1f, 0xa5, 0x04, 0xdd, 0x81,
  1215. 0xf6, 0x24, 0xc5, 0x81, 0xc0, 0xbe, 0xcc, 0xbe, 0x62, 0xdd, 0x3e, 0xed, 0xe5, 0xf9, 0xc9, 0xa5,
  1216. 0x71, 0x1e, 0xe6, 0xd2, 0x78, 0xa0, 0xe1, 0xd2, 0x80, 0xde, 0x87, 0x4e, 0x14, 0x70, 0xe1, 0x67,
  1217. 0xdc, 0xb8, 0x6f, 0xd7, 0xba, 0xb7, 0xa5, 0xc3, 0x23, 0xae, 0xfd, 0x4f, 0x60, 0x2f, 0xcd, 0xa8,
  1218. 0xf4, 0x9c, 0x0b, 0xd4, 0x54, 0x24, 0x77, 0x8d, 0x39, 0xcf, 0xd0, 0x47, 0xb0, 0x1b, 0x07, 0x34,
  1219. 0x0b, 0x22, 0x9f, 0x4f, 0x82, 0x48, 0xa6, 0xb7, 0xa5, 0x22, 0xbd, 0x5a, 0x25, 0xe4, 0x03, 0x85,
  1220. 0xbc, 0xd4, 0x40, 0xaf, 0x13, 0x17, 0x97, 0xf6, 0x11, 0x74, 0x4a, 0xfb, 0xe8, 0x00, 0x1a, 0x94,
  1221. 0x4d, 0x31, 0x57, 0xd9, 0x6f, 0x78, 0x7a, 0x61, 0x7f, 0x06, 0xe8, 0x43, 0x75, 0x4f, 0x55, 0x7f,
  1222. 0x1e, 0xfe, 0x2a, 0xc3, 0x5c, 0xa0, 0x17, 0x60, 0x3b, 0x09, 0x52, 0x4c, 0x85, 0x91, 0xca, 0xac,
  1223. 0x90, 0x0b, 0x0d, 0xd5, 0x4e, 0x4a, 0xa6, 0xf6, 0xe9, 0xcd, 0x4a, 0x56, 0xea, 0x20, 0x8d, 0xb3,
  1224. 0x43, 0xd8, 0xbf, 0x4f, 0xb8, 0x50, 0x36, 0x5e, 0x77, 0xfa, 0x21, 0x40, 0x12, 0x84, 0xd8, 0x17,
  1225. 0xec, 0x4b, 0x4c, 0x8d, 0x8a, 0x2d, 0x69, 0x79, 0x28, 0x0d, 0xe8, 0x16, 0xa8, 0x85, 0xcf, 0xc9,
  1226. 0x53, 0xad, 0x5f, 0xc3, 0x6b, 0x4a, 0xc3, 0x25, 0x79, 0x8a, 0x6d, 0x06, 0xa8, 0x18, 0x88, 0x27,
  1227. 0x8c, 0x72, 0x8c, 0x46, 0xb0, 0xad, 0x78, 0xc8, 0x4b, 0x6f, 0xae, 0x27, 0x6c, 0x80, 0xe8, 0x18,
  1228. 0xf6, 0x28, 0xfe, 0x46, 0xf8, 0x05, 0x26, 0xba, 0x26, 0x3b, 0xd2, 0x7c, 0x91, 0xb3, 0xb1, 0x8f,
  1229. 0x60, 0xef, 0x1e, 0x16, 0xa5, 0xac, 0x55, 0x94, 0xb7, 0x3d, 0x00, 0x74, 0x8e, 0x23, 0xbc, 0x90,
  1230. 0xdf, 0x2a, 0x24, 0x86, 0x03, 0xad, 0x44, 0xde, 0x9f, 0x35, 0xd9, 0x7a, 0x1b, 0x76, 0xf2, 0x5a,
  1231. 0xda, 0xa8, 0x6f, 0xf6, 0x1c, 0x6b, 0x13, 0x78, 0x4e, 0x26, 0xca, 0xd8, 0xff, 0x57, 0x4d, 0xbe,
  1232. 0x86, 0x83, 0x72, 0x28, 0xa3, 0xca, 0x3b, 0xd0, 0x34, 0x6c, 0x72, 0x5d, 0xd6, 0x52, 0x9f, 0x83,
  1233. 0xaf, 0xad, 0xcd, 0x09, 0xec, 0xdf, 0xc3, 0x62, 0x21, 0x8f, 0x55, 0x39, 0x1f, 0xc2, 0x81, 0x56,
  1234. 0xe7, 0x1a, 0x58, 0x07, 0xba, 0x97, 0x58, 0x9c, 0x97, 0x66, 0xe6, 0x1a, 0xfc, 0xe9, 0x5f, 0x2d,
  1235. 0xb8, 0xa1, 0x44, 0xbf, 0xd4, 0x4f, 0x0f, 0xfa, 0x01, 0xda, 0x85, 0x56, 0x43, 0xc7, 0x55, 0x77,
  1236. 0x5e, 0xee, 0xc5, 0xde, 0xea, 0x9a, 0xb5, 0xdf, 0xfc, 0xf1, 0xf7, 0x3f, 0x7f, 0xd9, 0x38, 0xb1,
  1237. 0x5f, 0x96, 0xef, 0xdc, 0x77, 0x5a, 0xb1, 0xf7, 0x92, 0x94, 0x7d, 0x81, 0x27, 0x82, 0xbb, 0xc3,
  1238. 0x67, 0xfa, 0xed, 0xe3, 0x63, 0xdd, 0x8c, 0xe8, 0x27, 0x0b, 0xe0, 0xaa, 0x49, 0xd0, 0x51, 0xd5,
  1239. 0xc1, 0x4b, 0xdd, 0xda, 0x3b, 0xae, 0x83, 0x69, 0x55, 0xed, 0x63, 0x45, 0xa6, 0x8f, 0x6a, 0xc8,
  1240. 0xa0, 0x14, 0x9a, 0x79, 0xe3, 0xa0, 0xdb, 0x55, 0x67, 0x2f, 0xb4, 0xd5, 0xba, 0x04, 0x94, 0x63,
  1241. 0xca, 0xb4, 0x17, 0x22, 0x9a, 0x80, 0xee, 0xf0, 0x19, 0xfa, 0x1e, 0xda, 0x85, 0x2e, 0xac, 0x4e,
  1242. 0xfd, 0x72, 0x9b, 0xf6, 0x0e, 0x73, 0x5c, 0xe1, 0x79, 0x77, 0x3e, 0xce, 0x9f, 0xf7, 0x3c, 0xfa,
  1243. 0xb0, 0x2e, 0xfa, 0xaf, 0x16, 0x74, 0x4a, 0xad, 0x8d, 0x06, 0xab, 0xb5, 0x2f, 0x57, 0x56, 0x1d,
  1244. 0x85, 0xb1, 0xa2, 0x70, 0x66, 0xbf, 0x56, 0x9d, 0xf4, 0x2b, 0x12, 0x6e, 0xde, 0x44, 0xe3, 0x7c,
  1245. 0x12, 0x48, 0x5a, 0x37, 0x8a, 0xfd, 0x89, 0x4e, 0x56, 0x29, 0xbd, 0x30, 0x2c, 0x7a, 0x83, 0x7a,
  1246. 0xa0, 0x29, 0x8a, 0x91, 0xe2, 0xf7, 0x3a, 0xba, 0x3e, 0x3f, 0x55, 0xa5, 0x57, 0xdd, 0x5b, 0x5d,
  1247. 0xa5, 0x4b, 0xdd, 0xdd, 0x5b, 0x37, 0x41, 0x16, 0x58, 0xac, 0x12, 0x6a, 0x4e, 0x41, 0x6a, 0xf6,
  1248. 0xb3, 0x05, 0x9d, 0xd2, 0x68, 0xa8, 0xd6, 0xac, 0x6a, 0x7a, 0xd4, 0x69, 0x66, 0xd8, 0x0c, 0xff,
  1249. 0x05, 0x9b, 0xdf, 0x2c, 0xd8, 0x5f, 0x1a, 0x3e, 0xe8, 0x8d, 0x2a, 0x46, 0xab, 0x66, 0xd4, 0xfa,
  1250. 0x0c, 0x7d, 0xa0, 0x38, 0xbd, 0x6b, 0x9f, 0x5d, 0x9b, 0xd3, 0x98, 0xcf, 0x03, 0x8d, 0xad, 0xe1,
  1251. 0xdd, 0x10, 0x7a, 0x13, 0x16, 0x2f, 0x85, 0x08, 0x12, 0xe2, 0xcc, 0x46, 0x77, 0xf7, 0x8b, 0x83,
  1252. 0xf0, 0x42, 0xfe, 0x2c, 0x5d, 0x58, 0x9f, 0x9e, 0x19, 0x70, 0xc8, 0xa2, 0x80, 0x86, 0x0e, 0x4b,
  1253. 0x43, 0x37, 0xc4, 0x54, 0xfd, 0x4a, 0xb9, 0x7a, 0x2b, 0x48, 0x08, 0x2f, 0xfe, 0xcb, 0xdf, 0x89,
  1254. 0xa3, 0xc7, 0xdb, 0x0a, 0xf0, 0xd6, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x07, 0x42, 0xf7,
  1255. 0xeb, 0x0b, 0x00, 0x00,
  1256. }