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.
 
 
 

1590 lines
63 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/automl/v1beta1/service.proto
  3. package automl // import "google.golang.org/genproto/googleapis/cloud/automl/v1beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  9. import _ "google.golang.org/genproto/protobuf/field_mask"
  10. import (
  11. context "golang.org/x/net/context"
  12. grpc "google.golang.org/grpc"
  13. )
  14. // Reference imports to suppress errors if they are not otherwise used.
  15. var _ = proto.Marshal
  16. var _ = fmt.Errorf
  17. var _ = math.Inf
  18. // This is a compile-time assertion to ensure that this generated file
  19. // is compatible with the proto package it is being compiled against.
  20. // A compilation error at this line likely means your copy of the
  21. // proto package needs to be updated.
  22. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  23. // Request message for
  24. // [AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset].
  25. type CreateDatasetRequest struct {
  26. // The resource name of the project to create the dataset for.
  27. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  28. // The dataset to create.
  29. Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
  30. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  31. XXX_unrecognized []byte `json:"-"`
  32. XXX_sizecache int32 `json:"-"`
  33. }
  34. func (m *CreateDatasetRequest) Reset() { *m = CreateDatasetRequest{} }
  35. func (m *CreateDatasetRequest) String() string { return proto.CompactTextString(m) }
  36. func (*CreateDatasetRequest) ProtoMessage() {}
  37. func (*CreateDatasetRequest) Descriptor() ([]byte, []int) {
  38. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{0}
  39. }
  40. func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error {
  41. return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b)
  42. }
  43. func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  44. return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic)
  45. }
  46. func (dst *CreateDatasetRequest) XXX_Merge(src proto.Message) {
  47. xxx_messageInfo_CreateDatasetRequest.Merge(dst, src)
  48. }
  49. func (m *CreateDatasetRequest) XXX_Size() int {
  50. return xxx_messageInfo_CreateDatasetRequest.Size(m)
  51. }
  52. func (m *CreateDatasetRequest) XXX_DiscardUnknown() {
  53. xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m)
  54. }
  55. var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo
  56. func (m *CreateDatasetRequest) GetParent() string {
  57. if m != nil {
  58. return m.Parent
  59. }
  60. return ""
  61. }
  62. func (m *CreateDatasetRequest) GetDataset() *Dataset {
  63. if m != nil {
  64. return m.Dataset
  65. }
  66. return nil
  67. }
  68. // Request message for
  69. // [AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset].
  70. type GetDatasetRequest struct {
  71. // The resource name of the dataset to retrieve.
  72. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  73. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  74. XXX_unrecognized []byte `json:"-"`
  75. XXX_sizecache int32 `json:"-"`
  76. }
  77. func (m *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} }
  78. func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) }
  79. func (*GetDatasetRequest) ProtoMessage() {}
  80. func (*GetDatasetRequest) Descriptor() ([]byte, []int) {
  81. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{1}
  82. }
  83. func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error {
  84. return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b)
  85. }
  86. func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  87. return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic)
  88. }
  89. func (dst *GetDatasetRequest) XXX_Merge(src proto.Message) {
  90. xxx_messageInfo_GetDatasetRequest.Merge(dst, src)
  91. }
  92. func (m *GetDatasetRequest) XXX_Size() int {
  93. return xxx_messageInfo_GetDatasetRequest.Size(m)
  94. }
  95. func (m *GetDatasetRequest) XXX_DiscardUnknown() {
  96. xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m)
  97. }
  98. var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo
  99. func (m *GetDatasetRequest) GetName() string {
  100. if m != nil {
  101. return m.Name
  102. }
  103. return ""
  104. }
  105. // Request message for
  106. // [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].
  107. type ListDatasetsRequest struct {
  108. // The resource name of the project from which to list datasets.
  109. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  110. // An expression for filtering the results of the request.
  111. //
  112. // * `dataset_metadata` - for existence of the case.
  113. //
  114. // An example of using the filter is:
  115. //
  116. // * `translation_dataset_metadata:*` --> The dataset has
  117. // translation_dataset_metadata.
  118. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
  119. // Requested page size. Server may return fewer results than requested.
  120. // If unspecified, server will pick a default size.
  121. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  122. // A token identifying a page of results for the server to return
  123. // Typically obtained via
  124. // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token]
  125. // of the previous
  126. // [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets]
  127. // call.
  128. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  129. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  130. XXX_unrecognized []byte `json:"-"`
  131. XXX_sizecache int32 `json:"-"`
  132. }
  133. func (m *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} }
  134. func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) }
  135. func (*ListDatasetsRequest) ProtoMessage() {}
  136. func (*ListDatasetsRequest) Descriptor() ([]byte, []int) {
  137. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{2}
  138. }
  139. func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error {
  140. return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b)
  141. }
  142. func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  143. return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic)
  144. }
  145. func (dst *ListDatasetsRequest) XXX_Merge(src proto.Message) {
  146. xxx_messageInfo_ListDatasetsRequest.Merge(dst, src)
  147. }
  148. func (m *ListDatasetsRequest) XXX_Size() int {
  149. return xxx_messageInfo_ListDatasetsRequest.Size(m)
  150. }
  151. func (m *ListDatasetsRequest) XXX_DiscardUnknown() {
  152. xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m)
  153. }
  154. var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo
  155. func (m *ListDatasetsRequest) GetParent() string {
  156. if m != nil {
  157. return m.Parent
  158. }
  159. return ""
  160. }
  161. func (m *ListDatasetsRequest) GetFilter() string {
  162. if m != nil {
  163. return m.Filter
  164. }
  165. return ""
  166. }
  167. func (m *ListDatasetsRequest) GetPageSize() int32 {
  168. if m != nil {
  169. return m.PageSize
  170. }
  171. return 0
  172. }
  173. func (m *ListDatasetsRequest) GetPageToken() string {
  174. if m != nil {
  175. return m.PageToken
  176. }
  177. return ""
  178. }
  179. // Response message for
  180. // [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets].
  181. type ListDatasetsResponse struct {
  182. // The datasets read.
  183. Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"`
  184. // A token to retrieve next page of results.
  185. // Pass to
  186. // [ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token]
  187. // to obtain that page.
  188. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  189. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  190. XXX_unrecognized []byte `json:"-"`
  191. XXX_sizecache int32 `json:"-"`
  192. }
  193. func (m *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} }
  194. func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) }
  195. func (*ListDatasetsResponse) ProtoMessage() {}
  196. func (*ListDatasetsResponse) Descriptor() ([]byte, []int) {
  197. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{3}
  198. }
  199. func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error {
  200. return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b)
  201. }
  202. func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  203. return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic)
  204. }
  205. func (dst *ListDatasetsResponse) XXX_Merge(src proto.Message) {
  206. xxx_messageInfo_ListDatasetsResponse.Merge(dst, src)
  207. }
  208. func (m *ListDatasetsResponse) XXX_Size() int {
  209. return xxx_messageInfo_ListDatasetsResponse.Size(m)
  210. }
  211. func (m *ListDatasetsResponse) XXX_DiscardUnknown() {
  212. xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m)
  213. }
  214. var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo
  215. func (m *ListDatasetsResponse) GetDatasets() []*Dataset {
  216. if m != nil {
  217. return m.Datasets
  218. }
  219. return nil
  220. }
  221. func (m *ListDatasetsResponse) GetNextPageToken() string {
  222. if m != nil {
  223. return m.NextPageToken
  224. }
  225. return ""
  226. }
  227. // Request message for
  228. // [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset].
  229. type DeleteDatasetRequest struct {
  230. // The resource name of the dataset to delete.
  231. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  232. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  233. XXX_unrecognized []byte `json:"-"`
  234. XXX_sizecache int32 `json:"-"`
  235. }
  236. func (m *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} }
  237. func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) }
  238. func (*DeleteDatasetRequest) ProtoMessage() {}
  239. func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) {
  240. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{4}
  241. }
  242. func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error {
  243. return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b)
  244. }
  245. func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  246. return xxx_messageInfo_DeleteDatasetRequest.Marshal(b, m, deterministic)
  247. }
  248. func (dst *DeleteDatasetRequest) XXX_Merge(src proto.Message) {
  249. xxx_messageInfo_DeleteDatasetRequest.Merge(dst, src)
  250. }
  251. func (m *DeleteDatasetRequest) XXX_Size() int {
  252. return xxx_messageInfo_DeleteDatasetRequest.Size(m)
  253. }
  254. func (m *DeleteDatasetRequest) XXX_DiscardUnknown() {
  255. xxx_messageInfo_DeleteDatasetRequest.DiscardUnknown(m)
  256. }
  257. var xxx_messageInfo_DeleteDatasetRequest proto.InternalMessageInfo
  258. func (m *DeleteDatasetRequest) GetName() string {
  259. if m != nil {
  260. return m.Name
  261. }
  262. return ""
  263. }
  264. // Request message for
  265. // [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData].
  266. type ImportDataRequest struct {
  267. // Required. Dataset name. Dataset must already exist. All imported
  268. // annotations and examples will be added.
  269. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  270. // Required. The desired input location.
  271. InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
  272. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  273. XXX_unrecognized []byte `json:"-"`
  274. XXX_sizecache int32 `json:"-"`
  275. }
  276. func (m *ImportDataRequest) Reset() { *m = ImportDataRequest{} }
  277. func (m *ImportDataRequest) String() string { return proto.CompactTextString(m) }
  278. func (*ImportDataRequest) ProtoMessage() {}
  279. func (*ImportDataRequest) Descriptor() ([]byte, []int) {
  280. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{5}
  281. }
  282. func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error {
  283. return xxx_messageInfo_ImportDataRequest.Unmarshal(m, b)
  284. }
  285. func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  286. return xxx_messageInfo_ImportDataRequest.Marshal(b, m, deterministic)
  287. }
  288. func (dst *ImportDataRequest) XXX_Merge(src proto.Message) {
  289. xxx_messageInfo_ImportDataRequest.Merge(dst, src)
  290. }
  291. func (m *ImportDataRequest) XXX_Size() int {
  292. return xxx_messageInfo_ImportDataRequest.Size(m)
  293. }
  294. func (m *ImportDataRequest) XXX_DiscardUnknown() {
  295. xxx_messageInfo_ImportDataRequest.DiscardUnknown(m)
  296. }
  297. var xxx_messageInfo_ImportDataRequest proto.InternalMessageInfo
  298. func (m *ImportDataRequest) GetName() string {
  299. if m != nil {
  300. return m.Name
  301. }
  302. return ""
  303. }
  304. func (m *ImportDataRequest) GetInputConfig() *InputConfig {
  305. if m != nil {
  306. return m.InputConfig
  307. }
  308. return nil
  309. }
  310. // Request message for
  311. // [AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData].
  312. type ExportDataRequest struct {
  313. // Required. The resource name of the dataset.
  314. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  315. // Required. The desired output location.
  316. OutputConfig *OutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
  317. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  318. XXX_unrecognized []byte `json:"-"`
  319. XXX_sizecache int32 `json:"-"`
  320. }
  321. func (m *ExportDataRequest) Reset() { *m = ExportDataRequest{} }
  322. func (m *ExportDataRequest) String() string { return proto.CompactTextString(m) }
  323. func (*ExportDataRequest) ProtoMessage() {}
  324. func (*ExportDataRequest) Descriptor() ([]byte, []int) {
  325. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{6}
  326. }
  327. func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error {
  328. return xxx_messageInfo_ExportDataRequest.Unmarshal(m, b)
  329. }
  330. func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  331. return xxx_messageInfo_ExportDataRequest.Marshal(b, m, deterministic)
  332. }
  333. func (dst *ExportDataRequest) XXX_Merge(src proto.Message) {
  334. xxx_messageInfo_ExportDataRequest.Merge(dst, src)
  335. }
  336. func (m *ExportDataRequest) XXX_Size() int {
  337. return xxx_messageInfo_ExportDataRequest.Size(m)
  338. }
  339. func (m *ExportDataRequest) XXX_DiscardUnknown() {
  340. xxx_messageInfo_ExportDataRequest.DiscardUnknown(m)
  341. }
  342. var xxx_messageInfo_ExportDataRequest proto.InternalMessageInfo
  343. func (m *ExportDataRequest) GetName() string {
  344. if m != nil {
  345. return m.Name
  346. }
  347. return ""
  348. }
  349. func (m *ExportDataRequest) GetOutputConfig() *OutputConfig {
  350. if m != nil {
  351. return m.OutputConfig
  352. }
  353. return nil
  354. }
  355. // Request message for
  356. // [AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel].
  357. type CreateModelRequest struct {
  358. // Resource name of the parent project where the model is being created.
  359. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  360. // The model to create.
  361. Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
  362. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  363. XXX_unrecognized []byte `json:"-"`
  364. XXX_sizecache int32 `json:"-"`
  365. }
  366. func (m *CreateModelRequest) Reset() { *m = CreateModelRequest{} }
  367. func (m *CreateModelRequest) String() string { return proto.CompactTextString(m) }
  368. func (*CreateModelRequest) ProtoMessage() {}
  369. func (*CreateModelRequest) Descriptor() ([]byte, []int) {
  370. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{7}
  371. }
  372. func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error {
  373. return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b)
  374. }
  375. func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  376. return xxx_messageInfo_CreateModelRequest.Marshal(b, m, deterministic)
  377. }
  378. func (dst *CreateModelRequest) XXX_Merge(src proto.Message) {
  379. xxx_messageInfo_CreateModelRequest.Merge(dst, src)
  380. }
  381. func (m *CreateModelRequest) XXX_Size() int {
  382. return xxx_messageInfo_CreateModelRequest.Size(m)
  383. }
  384. func (m *CreateModelRequest) XXX_DiscardUnknown() {
  385. xxx_messageInfo_CreateModelRequest.DiscardUnknown(m)
  386. }
  387. var xxx_messageInfo_CreateModelRequest proto.InternalMessageInfo
  388. func (m *CreateModelRequest) GetParent() string {
  389. if m != nil {
  390. return m.Parent
  391. }
  392. return ""
  393. }
  394. func (m *CreateModelRequest) GetModel() *Model {
  395. if m != nil {
  396. return m.Model
  397. }
  398. return nil
  399. }
  400. // Request message for
  401. // [AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel].
  402. type GetModelRequest struct {
  403. // Resource name of the model.
  404. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  405. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  406. XXX_unrecognized []byte `json:"-"`
  407. XXX_sizecache int32 `json:"-"`
  408. }
  409. func (m *GetModelRequest) Reset() { *m = GetModelRequest{} }
  410. func (m *GetModelRequest) String() string { return proto.CompactTextString(m) }
  411. func (*GetModelRequest) ProtoMessage() {}
  412. func (*GetModelRequest) Descriptor() ([]byte, []int) {
  413. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{8}
  414. }
  415. func (m *GetModelRequest) XXX_Unmarshal(b []byte) error {
  416. return xxx_messageInfo_GetModelRequest.Unmarshal(m, b)
  417. }
  418. func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  419. return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic)
  420. }
  421. func (dst *GetModelRequest) XXX_Merge(src proto.Message) {
  422. xxx_messageInfo_GetModelRequest.Merge(dst, src)
  423. }
  424. func (m *GetModelRequest) XXX_Size() int {
  425. return xxx_messageInfo_GetModelRequest.Size(m)
  426. }
  427. func (m *GetModelRequest) XXX_DiscardUnknown() {
  428. xxx_messageInfo_GetModelRequest.DiscardUnknown(m)
  429. }
  430. var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo
  431. func (m *GetModelRequest) GetName() string {
  432. if m != nil {
  433. return m.Name
  434. }
  435. return ""
  436. }
  437. // Request message for
  438. // [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].
  439. type ListModelsRequest struct {
  440. // Resource name of the project, from which to list the models.
  441. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  442. // An expression for filtering the results of the request.
  443. //
  444. // * `model_metadata` - for existence of the case.
  445. // * `dataset_id` - for = or !=.
  446. //
  447. // Some examples of using the filter are:
  448. //
  449. // * `image_classification_model_metadata:*` --> The model has
  450. // image_classification_model_metadata.
  451. // * `dataset_id=5` --> The model was created from a sibling dataset with
  452. // ID 5.
  453. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
  454. // Requested page size.
  455. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  456. // A token identifying a page of results for the server to return
  457. // Typically obtained via
  458. // [ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token]
  459. // of the previous
  460. // [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels] call.
  461. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  462. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  463. XXX_unrecognized []byte `json:"-"`
  464. XXX_sizecache int32 `json:"-"`
  465. }
  466. func (m *ListModelsRequest) Reset() { *m = ListModelsRequest{} }
  467. func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) }
  468. func (*ListModelsRequest) ProtoMessage() {}
  469. func (*ListModelsRequest) Descriptor() ([]byte, []int) {
  470. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{9}
  471. }
  472. func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error {
  473. return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b)
  474. }
  475. func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  476. return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic)
  477. }
  478. func (dst *ListModelsRequest) XXX_Merge(src proto.Message) {
  479. xxx_messageInfo_ListModelsRequest.Merge(dst, src)
  480. }
  481. func (m *ListModelsRequest) XXX_Size() int {
  482. return xxx_messageInfo_ListModelsRequest.Size(m)
  483. }
  484. func (m *ListModelsRequest) XXX_DiscardUnknown() {
  485. xxx_messageInfo_ListModelsRequest.DiscardUnknown(m)
  486. }
  487. var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo
  488. func (m *ListModelsRequest) GetParent() string {
  489. if m != nil {
  490. return m.Parent
  491. }
  492. return ""
  493. }
  494. func (m *ListModelsRequest) GetFilter() string {
  495. if m != nil {
  496. return m.Filter
  497. }
  498. return ""
  499. }
  500. func (m *ListModelsRequest) GetPageSize() int32 {
  501. if m != nil {
  502. return m.PageSize
  503. }
  504. return 0
  505. }
  506. func (m *ListModelsRequest) GetPageToken() string {
  507. if m != nil {
  508. return m.PageToken
  509. }
  510. return ""
  511. }
  512. // Response message for
  513. // [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels].
  514. type ListModelsResponse struct {
  515. // List of models in the requested page.
  516. Model []*Model `protobuf:"bytes,1,rep,name=model,proto3" json:"model,omitempty"`
  517. // A token to retrieve next page of results.
  518. // Pass to [ListModels.page_token][] to obtain that page.
  519. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  520. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  521. XXX_unrecognized []byte `json:"-"`
  522. XXX_sizecache int32 `json:"-"`
  523. }
  524. func (m *ListModelsResponse) Reset() { *m = ListModelsResponse{} }
  525. func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) }
  526. func (*ListModelsResponse) ProtoMessage() {}
  527. func (*ListModelsResponse) Descriptor() ([]byte, []int) {
  528. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{10}
  529. }
  530. func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error {
  531. return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b)
  532. }
  533. func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  534. return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic)
  535. }
  536. func (dst *ListModelsResponse) XXX_Merge(src proto.Message) {
  537. xxx_messageInfo_ListModelsResponse.Merge(dst, src)
  538. }
  539. func (m *ListModelsResponse) XXX_Size() int {
  540. return xxx_messageInfo_ListModelsResponse.Size(m)
  541. }
  542. func (m *ListModelsResponse) XXX_DiscardUnknown() {
  543. xxx_messageInfo_ListModelsResponse.DiscardUnknown(m)
  544. }
  545. var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo
  546. func (m *ListModelsResponse) GetModel() []*Model {
  547. if m != nil {
  548. return m.Model
  549. }
  550. return nil
  551. }
  552. func (m *ListModelsResponse) GetNextPageToken() string {
  553. if m != nil {
  554. return m.NextPageToken
  555. }
  556. return ""
  557. }
  558. // Request message for
  559. // [AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel].
  560. type DeleteModelRequest struct {
  561. // Resource name of the model being deleted.
  562. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  563. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  564. XXX_unrecognized []byte `json:"-"`
  565. XXX_sizecache int32 `json:"-"`
  566. }
  567. func (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} }
  568. func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) }
  569. func (*DeleteModelRequest) ProtoMessage() {}
  570. func (*DeleteModelRequest) Descriptor() ([]byte, []int) {
  571. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{11}
  572. }
  573. func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error {
  574. return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b)
  575. }
  576. func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  577. return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic)
  578. }
  579. func (dst *DeleteModelRequest) XXX_Merge(src proto.Message) {
  580. xxx_messageInfo_DeleteModelRequest.Merge(dst, src)
  581. }
  582. func (m *DeleteModelRequest) XXX_Size() int {
  583. return xxx_messageInfo_DeleteModelRequest.Size(m)
  584. }
  585. func (m *DeleteModelRequest) XXX_DiscardUnknown() {
  586. xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m)
  587. }
  588. var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo
  589. func (m *DeleteModelRequest) GetName() string {
  590. if m != nil {
  591. return m.Name
  592. }
  593. return ""
  594. }
  595. // Request message for
  596. // [AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel].
  597. type DeployModelRequest struct {
  598. // Resource name of the model to deploy.
  599. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  600. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  601. XXX_unrecognized []byte `json:"-"`
  602. XXX_sizecache int32 `json:"-"`
  603. }
  604. func (m *DeployModelRequest) Reset() { *m = DeployModelRequest{} }
  605. func (m *DeployModelRequest) String() string { return proto.CompactTextString(m) }
  606. func (*DeployModelRequest) ProtoMessage() {}
  607. func (*DeployModelRequest) Descriptor() ([]byte, []int) {
  608. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{12}
  609. }
  610. func (m *DeployModelRequest) XXX_Unmarshal(b []byte) error {
  611. return xxx_messageInfo_DeployModelRequest.Unmarshal(m, b)
  612. }
  613. func (m *DeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  614. return xxx_messageInfo_DeployModelRequest.Marshal(b, m, deterministic)
  615. }
  616. func (dst *DeployModelRequest) XXX_Merge(src proto.Message) {
  617. xxx_messageInfo_DeployModelRequest.Merge(dst, src)
  618. }
  619. func (m *DeployModelRequest) XXX_Size() int {
  620. return xxx_messageInfo_DeployModelRequest.Size(m)
  621. }
  622. func (m *DeployModelRequest) XXX_DiscardUnknown() {
  623. xxx_messageInfo_DeployModelRequest.DiscardUnknown(m)
  624. }
  625. var xxx_messageInfo_DeployModelRequest proto.InternalMessageInfo
  626. func (m *DeployModelRequest) GetName() string {
  627. if m != nil {
  628. return m.Name
  629. }
  630. return ""
  631. }
  632. // Request message for
  633. // [AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel].
  634. type UndeployModelRequest struct {
  635. // Resource name of the model to undeploy.
  636. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  637. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  638. XXX_unrecognized []byte `json:"-"`
  639. XXX_sizecache int32 `json:"-"`
  640. }
  641. func (m *UndeployModelRequest) Reset() { *m = UndeployModelRequest{} }
  642. func (m *UndeployModelRequest) String() string { return proto.CompactTextString(m) }
  643. func (*UndeployModelRequest) ProtoMessage() {}
  644. func (*UndeployModelRequest) Descriptor() ([]byte, []int) {
  645. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{13}
  646. }
  647. func (m *UndeployModelRequest) XXX_Unmarshal(b []byte) error {
  648. return xxx_messageInfo_UndeployModelRequest.Unmarshal(m, b)
  649. }
  650. func (m *UndeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  651. return xxx_messageInfo_UndeployModelRequest.Marshal(b, m, deterministic)
  652. }
  653. func (dst *UndeployModelRequest) XXX_Merge(src proto.Message) {
  654. xxx_messageInfo_UndeployModelRequest.Merge(dst, src)
  655. }
  656. func (m *UndeployModelRequest) XXX_Size() int {
  657. return xxx_messageInfo_UndeployModelRequest.Size(m)
  658. }
  659. func (m *UndeployModelRequest) XXX_DiscardUnknown() {
  660. xxx_messageInfo_UndeployModelRequest.DiscardUnknown(m)
  661. }
  662. var xxx_messageInfo_UndeployModelRequest proto.InternalMessageInfo
  663. func (m *UndeployModelRequest) GetName() string {
  664. if m != nil {
  665. return m.Name
  666. }
  667. return ""
  668. }
  669. // Request message for
  670. // [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation].
  671. type GetModelEvaluationRequest struct {
  672. // Resource name for the model evaluation.
  673. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  674. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  675. XXX_unrecognized []byte `json:"-"`
  676. XXX_sizecache int32 `json:"-"`
  677. }
  678. func (m *GetModelEvaluationRequest) Reset() { *m = GetModelEvaluationRequest{} }
  679. func (m *GetModelEvaluationRequest) String() string { return proto.CompactTextString(m) }
  680. func (*GetModelEvaluationRequest) ProtoMessage() {}
  681. func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int) {
  682. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{14}
  683. }
  684. func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error {
  685. return xxx_messageInfo_GetModelEvaluationRequest.Unmarshal(m, b)
  686. }
  687. func (m *GetModelEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  688. return xxx_messageInfo_GetModelEvaluationRequest.Marshal(b, m, deterministic)
  689. }
  690. func (dst *GetModelEvaluationRequest) XXX_Merge(src proto.Message) {
  691. xxx_messageInfo_GetModelEvaluationRequest.Merge(dst, src)
  692. }
  693. func (m *GetModelEvaluationRequest) XXX_Size() int {
  694. return xxx_messageInfo_GetModelEvaluationRequest.Size(m)
  695. }
  696. func (m *GetModelEvaluationRequest) XXX_DiscardUnknown() {
  697. xxx_messageInfo_GetModelEvaluationRequest.DiscardUnknown(m)
  698. }
  699. var xxx_messageInfo_GetModelEvaluationRequest proto.InternalMessageInfo
  700. func (m *GetModelEvaluationRequest) GetName() string {
  701. if m != nil {
  702. return m.Name
  703. }
  704. return ""
  705. }
  706. // Request message for
  707. // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].
  708. type ListModelEvaluationsRequest struct {
  709. // Resource name of the model to list the model evaluations for.
  710. // If modelId is set as "-", this will list model evaluations from across all
  711. // models of the parent location.
  712. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  713. // An expression for filtering the results of the request.
  714. //
  715. // * `annotation_spec_id` - for =, != or existence. See example below for
  716. // the last.
  717. //
  718. // Some examples of using the filter are:
  719. //
  720. // * `annotation_spec_id!=4` --> The model evaluation was done for
  721. // annotation spec with ID different than 4.
  722. // * `NOT annotation_spec_id:*` --> The model evaluation was done for
  723. // aggregate of all annotation specs.
  724. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
  725. // Requested page size.
  726. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  727. // A token identifying a page of results for the server to return.
  728. // Typically obtained via
  729. // `ListModelEvaluationsResponse.next_page_token` of the previous
  730. // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations]
  731. // call.
  732. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  733. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  734. XXX_unrecognized []byte `json:"-"`
  735. XXX_sizecache int32 `json:"-"`
  736. }
  737. func (m *ListModelEvaluationsRequest) Reset() { *m = ListModelEvaluationsRequest{} }
  738. func (m *ListModelEvaluationsRequest) String() string { return proto.CompactTextString(m) }
  739. func (*ListModelEvaluationsRequest) ProtoMessage() {}
  740. func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int) {
  741. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{15}
  742. }
  743. func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error {
  744. return xxx_messageInfo_ListModelEvaluationsRequest.Unmarshal(m, b)
  745. }
  746. func (m *ListModelEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  747. return xxx_messageInfo_ListModelEvaluationsRequest.Marshal(b, m, deterministic)
  748. }
  749. func (dst *ListModelEvaluationsRequest) XXX_Merge(src proto.Message) {
  750. xxx_messageInfo_ListModelEvaluationsRequest.Merge(dst, src)
  751. }
  752. func (m *ListModelEvaluationsRequest) XXX_Size() int {
  753. return xxx_messageInfo_ListModelEvaluationsRequest.Size(m)
  754. }
  755. func (m *ListModelEvaluationsRequest) XXX_DiscardUnknown() {
  756. xxx_messageInfo_ListModelEvaluationsRequest.DiscardUnknown(m)
  757. }
  758. var xxx_messageInfo_ListModelEvaluationsRequest proto.InternalMessageInfo
  759. func (m *ListModelEvaluationsRequest) GetParent() string {
  760. if m != nil {
  761. return m.Parent
  762. }
  763. return ""
  764. }
  765. func (m *ListModelEvaluationsRequest) GetFilter() string {
  766. if m != nil {
  767. return m.Filter
  768. }
  769. return ""
  770. }
  771. func (m *ListModelEvaluationsRequest) GetPageSize() int32 {
  772. if m != nil {
  773. return m.PageSize
  774. }
  775. return 0
  776. }
  777. func (m *ListModelEvaluationsRequest) GetPageToken() string {
  778. if m != nil {
  779. return m.PageToken
  780. }
  781. return ""
  782. }
  783. // Response message for
  784. // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations].
  785. type ListModelEvaluationsResponse struct {
  786. // List of model evaluations in the requested page.
  787. ModelEvaluation []*ModelEvaluation `protobuf:"bytes,1,rep,name=model_evaluation,json=modelEvaluation,proto3" json:"model_evaluation,omitempty"`
  788. // A token to retrieve next page of results.
  789. // Pass to [ListModelEvaluations.page_token][] to obtain that page.
  790. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  791. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  792. XXX_unrecognized []byte `json:"-"`
  793. XXX_sizecache int32 `json:"-"`
  794. }
  795. func (m *ListModelEvaluationsResponse) Reset() { *m = ListModelEvaluationsResponse{} }
  796. func (m *ListModelEvaluationsResponse) String() string { return proto.CompactTextString(m) }
  797. func (*ListModelEvaluationsResponse) ProtoMessage() {}
  798. func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int) {
  799. return fileDescriptor_service_b4ecd4b3d5c9ee33, []int{16}
  800. }
  801. func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error {
  802. return xxx_messageInfo_ListModelEvaluationsResponse.Unmarshal(m, b)
  803. }
  804. func (m *ListModelEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  805. return xxx_messageInfo_ListModelEvaluationsResponse.Marshal(b, m, deterministic)
  806. }
  807. func (dst *ListModelEvaluationsResponse) XXX_Merge(src proto.Message) {
  808. xxx_messageInfo_ListModelEvaluationsResponse.Merge(dst, src)
  809. }
  810. func (m *ListModelEvaluationsResponse) XXX_Size() int {
  811. return xxx_messageInfo_ListModelEvaluationsResponse.Size(m)
  812. }
  813. func (m *ListModelEvaluationsResponse) XXX_DiscardUnknown() {
  814. xxx_messageInfo_ListModelEvaluationsResponse.DiscardUnknown(m)
  815. }
  816. var xxx_messageInfo_ListModelEvaluationsResponse proto.InternalMessageInfo
  817. func (m *ListModelEvaluationsResponse) GetModelEvaluation() []*ModelEvaluation {
  818. if m != nil {
  819. return m.ModelEvaluation
  820. }
  821. return nil
  822. }
  823. func (m *ListModelEvaluationsResponse) GetNextPageToken() string {
  824. if m != nil {
  825. return m.NextPageToken
  826. }
  827. return ""
  828. }
  829. func init() {
  830. proto.RegisterType((*CreateDatasetRequest)(nil), "google.cloud.automl.v1beta1.CreateDatasetRequest")
  831. proto.RegisterType((*GetDatasetRequest)(nil), "google.cloud.automl.v1beta1.GetDatasetRequest")
  832. proto.RegisterType((*ListDatasetsRequest)(nil), "google.cloud.automl.v1beta1.ListDatasetsRequest")
  833. proto.RegisterType((*ListDatasetsResponse)(nil), "google.cloud.automl.v1beta1.ListDatasetsResponse")
  834. proto.RegisterType((*DeleteDatasetRequest)(nil), "google.cloud.automl.v1beta1.DeleteDatasetRequest")
  835. proto.RegisterType((*ImportDataRequest)(nil), "google.cloud.automl.v1beta1.ImportDataRequest")
  836. proto.RegisterType((*ExportDataRequest)(nil), "google.cloud.automl.v1beta1.ExportDataRequest")
  837. proto.RegisterType((*CreateModelRequest)(nil), "google.cloud.automl.v1beta1.CreateModelRequest")
  838. proto.RegisterType((*GetModelRequest)(nil), "google.cloud.automl.v1beta1.GetModelRequest")
  839. proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.automl.v1beta1.ListModelsRequest")
  840. proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.automl.v1beta1.ListModelsResponse")
  841. proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.automl.v1beta1.DeleteModelRequest")
  842. proto.RegisterType((*DeployModelRequest)(nil), "google.cloud.automl.v1beta1.DeployModelRequest")
  843. proto.RegisterType((*UndeployModelRequest)(nil), "google.cloud.automl.v1beta1.UndeployModelRequest")
  844. proto.RegisterType((*GetModelEvaluationRequest)(nil), "google.cloud.automl.v1beta1.GetModelEvaluationRequest")
  845. proto.RegisterType((*ListModelEvaluationsRequest)(nil), "google.cloud.automl.v1beta1.ListModelEvaluationsRequest")
  846. proto.RegisterType((*ListModelEvaluationsResponse)(nil), "google.cloud.automl.v1beta1.ListModelEvaluationsResponse")
  847. }
  848. // Reference imports to suppress errors if they are not otherwise used.
  849. var _ context.Context
  850. var _ grpc.ClientConn
  851. // This is a compile-time assertion to ensure that this generated file
  852. // is compatible with the grpc package it is being compiled against.
  853. const _ = grpc.SupportPackageIsVersion4
  854. // AutoMlClient is the client API for AutoMl service.
  855. //
  856. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  857. type AutoMlClient interface {
  858. // Creates a dataset.
  859. CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
  860. // Gets a dataset.
  861. GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error)
  862. // Lists datasets in a project.
  863. ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error)
  864. // Deletes a dataset and all of its contents.
  865. // Returns empty response in the
  866. // [response][google.longrunning.Operation.response] field when it completes,
  867. // and `delete_details` in the
  868. // [metadata][google.longrunning.Operation.metadata] field.
  869. DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  870. // Imports data into a dataset.
  871. // Returns an empty response in the
  872. // [response][google.longrunning.Operation.response] field when it completes.
  873. ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  874. // Exports dataset's data to a Google Cloud Storage bucket.
  875. // Returns an empty response in the
  876. // [response][google.longrunning.Operation.response] field when it completes.
  877. ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  878. // Creates a model.
  879. // Returns a Model in the [response][google.longrunning.Operation.response]
  880. // field when it completes.
  881. // When you create a model, several model evaluations are created for it:
  882. // a global evaluation, and one evaluation for each annotation spec.
  883. CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  884. // Gets a model.
  885. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
  886. // Lists models.
  887. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
  888. // Deletes a model.
  889. // If a model is already deployed, this only deletes the model in AutoML BE,
  890. // and does not change the status of the deployed model in the production
  891. // environment.
  892. // Returns `google.protobuf.Empty` in the
  893. // [response][google.longrunning.Operation.response] field when it completes,
  894. // and `delete_details` in the
  895. // [metadata][google.longrunning.Operation.metadata] field.
  896. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  897. // Deploys model.
  898. // Returns a [DeployModelResponse][] in the
  899. // [response][google.longrunning.Operation.response] field when it completes.
  900. DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  901. // Undeploys model.
  902. // Returns an `UndeployModelResponse` in the
  903. // [response][google.longrunning.Operation.response] field when it completes.
  904. UndeployModel(ctx context.Context, in *UndeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  905. // Gets a model evaluation.
  906. GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error)
  907. // Lists model evaluations.
  908. ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error)
  909. }
  910. type autoMlClient struct {
  911. cc *grpc.ClientConn
  912. }
  913. func NewAutoMlClient(cc *grpc.ClientConn) AutoMlClient {
  914. return &autoMlClient{cc}
  915. }
  916. func (c *autoMlClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
  917. out := new(Dataset)
  918. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/CreateDataset", in, out, opts...)
  919. if err != nil {
  920. return nil, err
  921. }
  922. return out, nil
  923. }
  924. func (c *autoMlClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) {
  925. out := new(Dataset)
  926. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetDataset", in, out, opts...)
  927. if err != nil {
  928. return nil, err
  929. }
  930. return out, nil
  931. }
  932. func (c *autoMlClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) {
  933. out := new(ListDatasetsResponse)
  934. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListDatasets", in, out, opts...)
  935. if err != nil {
  936. return nil, err
  937. }
  938. return out, nil
  939. }
  940. func (c *autoMlClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  941. out := new(longrunning.Operation)
  942. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeleteDataset", in, out, opts...)
  943. if err != nil {
  944. return nil, err
  945. }
  946. return out, nil
  947. }
  948. func (c *autoMlClient) ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  949. out := new(longrunning.Operation)
  950. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ImportData", in, out, opts...)
  951. if err != nil {
  952. return nil, err
  953. }
  954. return out, nil
  955. }
  956. func (c *autoMlClient) ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  957. out := new(longrunning.Operation)
  958. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ExportData", in, out, opts...)
  959. if err != nil {
  960. return nil, err
  961. }
  962. return out, nil
  963. }
  964. func (c *autoMlClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  965. out := new(longrunning.Operation)
  966. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/CreateModel", in, out, opts...)
  967. if err != nil {
  968. return nil, err
  969. }
  970. return out, nil
  971. }
  972. func (c *autoMlClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) {
  973. out := new(Model)
  974. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetModel", in, out, opts...)
  975. if err != nil {
  976. return nil, err
  977. }
  978. return out, nil
  979. }
  980. func (c *autoMlClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) {
  981. out := new(ListModelsResponse)
  982. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListModels", in, out, opts...)
  983. if err != nil {
  984. return nil, err
  985. }
  986. return out, nil
  987. }
  988. func (c *autoMlClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  989. out := new(longrunning.Operation)
  990. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeleteModel", in, out, opts...)
  991. if err != nil {
  992. return nil, err
  993. }
  994. return out, nil
  995. }
  996. func (c *autoMlClient) DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  997. out := new(longrunning.Operation)
  998. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeployModel", in, out, opts...)
  999. if err != nil {
  1000. return nil, err
  1001. }
  1002. return out, nil
  1003. }
  1004. func (c *autoMlClient) UndeployModel(ctx context.Context, in *UndeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1005. out := new(longrunning.Operation)
  1006. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/UndeployModel", in, out, opts...)
  1007. if err != nil {
  1008. return nil, err
  1009. }
  1010. return out, nil
  1011. }
  1012. func (c *autoMlClient) GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) {
  1013. out := new(ModelEvaluation)
  1014. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetModelEvaluation", in, out, opts...)
  1015. if err != nil {
  1016. return nil, err
  1017. }
  1018. return out, nil
  1019. }
  1020. func (c *autoMlClient) ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) {
  1021. out := new(ListModelEvaluationsResponse)
  1022. err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListModelEvaluations", in, out, opts...)
  1023. if err != nil {
  1024. return nil, err
  1025. }
  1026. return out, nil
  1027. }
  1028. // AutoMlServer is the server API for AutoMl service.
  1029. type AutoMlServer interface {
  1030. // Creates a dataset.
  1031. CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error)
  1032. // Gets a dataset.
  1033. GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
  1034. // Lists datasets in a project.
  1035. ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
  1036. // Deletes a dataset and all of its contents.
  1037. // Returns empty response in the
  1038. // [response][google.longrunning.Operation.response] field when it completes,
  1039. // and `delete_details` in the
  1040. // [metadata][google.longrunning.Operation.metadata] field.
  1041. DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error)
  1042. // Imports data into a dataset.
  1043. // Returns an empty response in the
  1044. // [response][google.longrunning.Operation.response] field when it completes.
  1045. ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error)
  1046. // Exports dataset's data to a Google Cloud Storage bucket.
  1047. // Returns an empty response in the
  1048. // [response][google.longrunning.Operation.response] field when it completes.
  1049. ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error)
  1050. // Creates a model.
  1051. // Returns a Model in the [response][google.longrunning.Operation.response]
  1052. // field when it completes.
  1053. // When you create a model, several model evaluations are created for it:
  1054. // a global evaluation, and one evaluation for each annotation spec.
  1055. CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error)
  1056. // Gets a model.
  1057. GetModel(context.Context, *GetModelRequest) (*Model, error)
  1058. // Lists models.
  1059. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
  1060. // Deletes a model.
  1061. // If a model is already deployed, this only deletes the model in AutoML BE,
  1062. // and does not change the status of the deployed model in the production
  1063. // environment.
  1064. // Returns `google.protobuf.Empty` in the
  1065. // [response][google.longrunning.Operation.response] field when it completes,
  1066. // and `delete_details` in the
  1067. // [metadata][google.longrunning.Operation.metadata] field.
  1068. DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error)
  1069. // Deploys model.
  1070. // Returns a [DeployModelResponse][] in the
  1071. // [response][google.longrunning.Operation.response] field when it completes.
  1072. DeployModel(context.Context, *DeployModelRequest) (*longrunning.Operation, error)
  1073. // Undeploys model.
  1074. // Returns an `UndeployModelResponse` in the
  1075. // [response][google.longrunning.Operation.response] field when it completes.
  1076. UndeployModel(context.Context, *UndeployModelRequest) (*longrunning.Operation, error)
  1077. // Gets a model evaluation.
  1078. GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error)
  1079. // Lists model evaluations.
  1080. ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error)
  1081. }
  1082. func RegisterAutoMlServer(s *grpc.Server, srv AutoMlServer) {
  1083. s.RegisterService(&_AutoMl_serviceDesc, srv)
  1084. }
  1085. func _AutoMl_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1086. in := new(CreateDatasetRequest)
  1087. if err := dec(in); err != nil {
  1088. return nil, err
  1089. }
  1090. if interceptor == nil {
  1091. return srv.(AutoMlServer).CreateDataset(ctx, in)
  1092. }
  1093. info := &grpc.UnaryServerInfo{
  1094. Server: srv,
  1095. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/CreateDataset",
  1096. }
  1097. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1098. return srv.(AutoMlServer).CreateDataset(ctx, req.(*CreateDatasetRequest))
  1099. }
  1100. return interceptor(ctx, in, info, handler)
  1101. }
  1102. func _AutoMl_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1103. in := new(GetDatasetRequest)
  1104. if err := dec(in); err != nil {
  1105. return nil, err
  1106. }
  1107. if interceptor == nil {
  1108. return srv.(AutoMlServer).GetDataset(ctx, in)
  1109. }
  1110. info := &grpc.UnaryServerInfo{
  1111. Server: srv,
  1112. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetDataset",
  1113. }
  1114. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1115. return srv.(AutoMlServer).GetDataset(ctx, req.(*GetDatasetRequest))
  1116. }
  1117. return interceptor(ctx, in, info, handler)
  1118. }
  1119. func _AutoMl_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1120. in := new(ListDatasetsRequest)
  1121. if err := dec(in); err != nil {
  1122. return nil, err
  1123. }
  1124. if interceptor == nil {
  1125. return srv.(AutoMlServer).ListDatasets(ctx, in)
  1126. }
  1127. info := &grpc.UnaryServerInfo{
  1128. Server: srv,
  1129. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListDatasets",
  1130. }
  1131. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1132. return srv.(AutoMlServer).ListDatasets(ctx, req.(*ListDatasetsRequest))
  1133. }
  1134. return interceptor(ctx, in, info, handler)
  1135. }
  1136. func _AutoMl_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1137. in := new(DeleteDatasetRequest)
  1138. if err := dec(in); err != nil {
  1139. return nil, err
  1140. }
  1141. if interceptor == nil {
  1142. return srv.(AutoMlServer).DeleteDataset(ctx, in)
  1143. }
  1144. info := &grpc.UnaryServerInfo{
  1145. Server: srv,
  1146. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeleteDataset",
  1147. }
  1148. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1149. return srv.(AutoMlServer).DeleteDataset(ctx, req.(*DeleteDatasetRequest))
  1150. }
  1151. return interceptor(ctx, in, info, handler)
  1152. }
  1153. func _AutoMl_ImportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1154. in := new(ImportDataRequest)
  1155. if err := dec(in); err != nil {
  1156. return nil, err
  1157. }
  1158. if interceptor == nil {
  1159. return srv.(AutoMlServer).ImportData(ctx, in)
  1160. }
  1161. info := &grpc.UnaryServerInfo{
  1162. Server: srv,
  1163. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ImportData",
  1164. }
  1165. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1166. return srv.(AutoMlServer).ImportData(ctx, req.(*ImportDataRequest))
  1167. }
  1168. return interceptor(ctx, in, info, handler)
  1169. }
  1170. func _AutoMl_ExportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1171. in := new(ExportDataRequest)
  1172. if err := dec(in); err != nil {
  1173. return nil, err
  1174. }
  1175. if interceptor == nil {
  1176. return srv.(AutoMlServer).ExportData(ctx, in)
  1177. }
  1178. info := &grpc.UnaryServerInfo{
  1179. Server: srv,
  1180. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ExportData",
  1181. }
  1182. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1183. return srv.(AutoMlServer).ExportData(ctx, req.(*ExportDataRequest))
  1184. }
  1185. return interceptor(ctx, in, info, handler)
  1186. }
  1187. func _AutoMl_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1188. in := new(CreateModelRequest)
  1189. if err := dec(in); err != nil {
  1190. return nil, err
  1191. }
  1192. if interceptor == nil {
  1193. return srv.(AutoMlServer).CreateModel(ctx, in)
  1194. }
  1195. info := &grpc.UnaryServerInfo{
  1196. Server: srv,
  1197. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/CreateModel",
  1198. }
  1199. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1200. return srv.(AutoMlServer).CreateModel(ctx, req.(*CreateModelRequest))
  1201. }
  1202. return interceptor(ctx, in, info, handler)
  1203. }
  1204. func _AutoMl_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1205. in := new(GetModelRequest)
  1206. if err := dec(in); err != nil {
  1207. return nil, err
  1208. }
  1209. if interceptor == nil {
  1210. return srv.(AutoMlServer).GetModel(ctx, in)
  1211. }
  1212. info := &grpc.UnaryServerInfo{
  1213. Server: srv,
  1214. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetModel",
  1215. }
  1216. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1217. return srv.(AutoMlServer).GetModel(ctx, req.(*GetModelRequest))
  1218. }
  1219. return interceptor(ctx, in, info, handler)
  1220. }
  1221. func _AutoMl_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1222. in := new(ListModelsRequest)
  1223. if err := dec(in); err != nil {
  1224. return nil, err
  1225. }
  1226. if interceptor == nil {
  1227. return srv.(AutoMlServer).ListModels(ctx, in)
  1228. }
  1229. info := &grpc.UnaryServerInfo{
  1230. Server: srv,
  1231. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListModels",
  1232. }
  1233. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1234. return srv.(AutoMlServer).ListModels(ctx, req.(*ListModelsRequest))
  1235. }
  1236. return interceptor(ctx, in, info, handler)
  1237. }
  1238. func _AutoMl_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1239. in := new(DeleteModelRequest)
  1240. if err := dec(in); err != nil {
  1241. return nil, err
  1242. }
  1243. if interceptor == nil {
  1244. return srv.(AutoMlServer).DeleteModel(ctx, in)
  1245. }
  1246. info := &grpc.UnaryServerInfo{
  1247. Server: srv,
  1248. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeleteModel",
  1249. }
  1250. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1251. return srv.(AutoMlServer).DeleteModel(ctx, req.(*DeleteModelRequest))
  1252. }
  1253. return interceptor(ctx, in, info, handler)
  1254. }
  1255. func _AutoMl_DeployModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1256. in := new(DeployModelRequest)
  1257. if err := dec(in); err != nil {
  1258. return nil, err
  1259. }
  1260. if interceptor == nil {
  1261. return srv.(AutoMlServer).DeployModel(ctx, in)
  1262. }
  1263. info := &grpc.UnaryServerInfo{
  1264. Server: srv,
  1265. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeployModel",
  1266. }
  1267. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1268. return srv.(AutoMlServer).DeployModel(ctx, req.(*DeployModelRequest))
  1269. }
  1270. return interceptor(ctx, in, info, handler)
  1271. }
  1272. func _AutoMl_UndeployModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1273. in := new(UndeployModelRequest)
  1274. if err := dec(in); err != nil {
  1275. return nil, err
  1276. }
  1277. if interceptor == nil {
  1278. return srv.(AutoMlServer).UndeployModel(ctx, in)
  1279. }
  1280. info := &grpc.UnaryServerInfo{
  1281. Server: srv,
  1282. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/UndeployModel",
  1283. }
  1284. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1285. return srv.(AutoMlServer).UndeployModel(ctx, req.(*UndeployModelRequest))
  1286. }
  1287. return interceptor(ctx, in, info, handler)
  1288. }
  1289. func _AutoMl_GetModelEvaluation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1290. in := new(GetModelEvaluationRequest)
  1291. if err := dec(in); err != nil {
  1292. return nil, err
  1293. }
  1294. if interceptor == nil {
  1295. return srv.(AutoMlServer).GetModelEvaluation(ctx, in)
  1296. }
  1297. info := &grpc.UnaryServerInfo{
  1298. Server: srv,
  1299. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetModelEvaluation",
  1300. }
  1301. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1302. return srv.(AutoMlServer).GetModelEvaluation(ctx, req.(*GetModelEvaluationRequest))
  1303. }
  1304. return interceptor(ctx, in, info, handler)
  1305. }
  1306. func _AutoMl_ListModelEvaluations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1307. in := new(ListModelEvaluationsRequest)
  1308. if err := dec(in); err != nil {
  1309. return nil, err
  1310. }
  1311. if interceptor == nil {
  1312. return srv.(AutoMlServer).ListModelEvaluations(ctx, in)
  1313. }
  1314. info := &grpc.UnaryServerInfo{
  1315. Server: srv,
  1316. FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListModelEvaluations",
  1317. }
  1318. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1319. return srv.(AutoMlServer).ListModelEvaluations(ctx, req.(*ListModelEvaluationsRequest))
  1320. }
  1321. return interceptor(ctx, in, info, handler)
  1322. }
  1323. var _AutoMl_serviceDesc = grpc.ServiceDesc{
  1324. ServiceName: "google.cloud.automl.v1beta1.AutoMl",
  1325. HandlerType: (*AutoMlServer)(nil),
  1326. Methods: []grpc.MethodDesc{
  1327. {
  1328. MethodName: "CreateDataset",
  1329. Handler: _AutoMl_CreateDataset_Handler,
  1330. },
  1331. {
  1332. MethodName: "GetDataset",
  1333. Handler: _AutoMl_GetDataset_Handler,
  1334. },
  1335. {
  1336. MethodName: "ListDatasets",
  1337. Handler: _AutoMl_ListDatasets_Handler,
  1338. },
  1339. {
  1340. MethodName: "DeleteDataset",
  1341. Handler: _AutoMl_DeleteDataset_Handler,
  1342. },
  1343. {
  1344. MethodName: "ImportData",
  1345. Handler: _AutoMl_ImportData_Handler,
  1346. },
  1347. {
  1348. MethodName: "ExportData",
  1349. Handler: _AutoMl_ExportData_Handler,
  1350. },
  1351. {
  1352. MethodName: "CreateModel",
  1353. Handler: _AutoMl_CreateModel_Handler,
  1354. },
  1355. {
  1356. MethodName: "GetModel",
  1357. Handler: _AutoMl_GetModel_Handler,
  1358. },
  1359. {
  1360. MethodName: "ListModels",
  1361. Handler: _AutoMl_ListModels_Handler,
  1362. },
  1363. {
  1364. MethodName: "DeleteModel",
  1365. Handler: _AutoMl_DeleteModel_Handler,
  1366. },
  1367. {
  1368. MethodName: "DeployModel",
  1369. Handler: _AutoMl_DeployModel_Handler,
  1370. },
  1371. {
  1372. MethodName: "UndeployModel",
  1373. Handler: _AutoMl_UndeployModel_Handler,
  1374. },
  1375. {
  1376. MethodName: "GetModelEvaluation",
  1377. Handler: _AutoMl_GetModelEvaluation_Handler,
  1378. },
  1379. {
  1380. MethodName: "ListModelEvaluations",
  1381. Handler: _AutoMl_ListModelEvaluations_Handler,
  1382. },
  1383. },
  1384. Streams: []grpc.StreamDesc{},
  1385. Metadata: "google/cloud/automl/v1beta1/service.proto",
  1386. }
  1387. func init() {
  1388. proto.RegisterFile("google/cloud/automl/v1beta1/service.proto", fileDescriptor_service_b4ecd4b3d5c9ee33)
  1389. }
  1390. var fileDescriptor_service_b4ecd4b3d5c9ee33 = []byte{
  1391. // 1098 bytes of a gzipped FileDescriptorProto
  1392. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6f, 0x1b, 0x45,
  1393. 0x18, 0xd7, 0xa4, 0x6d, 0x48, 0x3f, 0xc7, 0x0a, 0x19, 0xa2, 0xca, 0x38, 0xad, 0xb0, 0x96, 0x42,
  1394. 0x5d, 0x2b, 0xf2, 0x62, 0x17, 0x95, 0xd4, 0x7d, 0x88, 0x3c, 0xaa, 0xa8, 0x40, 0x69, 0x14, 0x5e,
  1395. 0x12, 0x8a, 0x64, 0x6d, 0xec, 0xf1, 0x6a, 0xe9, 0x7a, 0x66, 0xd9, 0x9d, 0x0d, 0x69, 0x51, 0xc5,
  1396. 0xe3, 0xc6, 0x11, 0x21, 0x38, 0x51, 0xc1, 0x01, 0xf5, 0x84, 0xf8, 0x33, 0x38, 0x70, 0xe5, 0xc0,
  1397. 0x8d, 0x13, 0x7f, 0x08, 0xda, 0x99, 0x59, 0xef, 0xda, 0xbb, 0xec, 0xac, 0x2b, 0xa1, 0xde, 0x32,
  1398. 0xe3, 0xdf, 0x37, 0xdf, 0x6f, 0xbe, 0xc7, 0xfc, 0xbe, 0x0d, 0x5c, 0xb6, 0x19, 0xb3, 0x5d, 0x62,
  1399. 0x0e, 0x5c, 0x16, 0x0e, 0x4d, 0x2b, 0xe4, 0x6c, 0xec, 0x9a, 0xc7, 0x9d, 0x23, 0xc2, 0xad, 0x8e,
  1400. 0x19, 0x10, 0xff, 0xd8, 0x19, 0x90, 0xb6, 0xe7, 0x33, 0xce, 0xf0, 0xba, 0x84, 0xb6, 0x05, 0xb4,
  1401. 0x2d, 0xa1, 0x6d, 0x05, 0xad, 0x9f, 0x57, 0xe7, 0x58, 0x9e, 0x63, 0x5a, 0x94, 0x32, 0x6e, 0x71,
  1402. 0x87, 0xd1, 0x40, 0x9a, 0xd6, 0x5f, 0x2f, 0xf2, 0x92, 0xc0, 0xfb, 0x9e, 0xf5, 0xc0, 0x65, 0xd6,
  1403. 0x50, 0x59, 0x15, 0x72, 0x1b, 0x5a, 0xdc, 0x0a, 0x08, 0x57, 0xd0, 0x8b, 0x45, 0x50, 0x87, 0x29,
  1404. 0xd4, 0xa5, 0x22, 0xd4, 0x98, 0x0d, 0x89, 0xab, 0x80, 0x5d, 0x2d, 0xb0, 0x4f, 0x8e, 0x2d, 0x37,
  1405. 0x14, 0xac, 0x95, 0xcd, 0x46, 0x91, 0x0d, 0xf3, 0x88, 0x3f, 0x15, 0x91, 0x97, 0x15, 0xda, 0x65,
  1406. 0xd4, 0xf6, 0x43, 0x4a, 0x1d, 0x6a, 0x67, 0x41, 0x0d, 0x05, 0x12, 0xab, 0xa3, 0x70, 0x64, 0x8e,
  1407. 0x1c, 0xe2, 0x0e, 0xfb, 0x63, 0x2b, 0xb8, 0x2f, 0x11, 0x06, 0x85, 0xb5, 0x1d, 0x9f, 0x58, 0x9c,
  1408. 0xec, 0xca, 0x70, 0x1c, 0x90, 0x4f, 0x43, 0x12, 0x70, 0x7c, 0x0e, 0x16, 0x3d, 0xcb, 0x27, 0x94,
  1409. 0xd7, 0x50, 0x03, 0x35, 0xcf, 0x1e, 0xa8, 0x15, 0xbe, 0x05, 0xcf, 0xa9, 0xc0, 0xd5, 0x16, 0x1a,
  1410. 0xa8, 0x59, 0xe9, 0x5e, 0x6c, 0x17, 0x64, 0xb5, 0x1d, 0x9f, 0x1a, 0x1b, 0x19, 0x97, 0x60, 0x75,
  1411. 0x8f, 0xf0, 0x19, 0x67, 0x18, 0x4e, 0x53, 0x6b, 0x4c, 0x94, 0x2b, 0xf1, 0xb7, 0xf1, 0x15, 0x82,
  1412. 0x17, 0xde, 0x71, 0x82, 0x18, 0x1a, 0xe8, 0x88, 0x9d, 0x83, 0xc5, 0x91, 0xe3, 0x72, 0xe2, 0xd7,
  1413. 0x4e, 0xc9, 0x7d, 0xb9, 0xc2, 0xeb, 0x70, 0xd6, 0xb3, 0x6c, 0xd2, 0x0f, 0x9c, 0x87, 0xa4, 0x76,
  1414. 0xba, 0x81, 0x9a, 0x67, 0x0e, 0x96, 0xa2, 0x8d, 0xf7, 0x9c, 0x87, 0x04, 0x5f, 0x00, 0x10, 0x3f,
  1415. 0x72, 0x76, 0x9f, 0xd0, 0xda, 0xa2, 0x30, 0x14, 0xf0, 0xf7, 0xa3, 0x0d, 0xe3, 0x4b, 0x04, 0x6b,
  1416. 0xd3, 0x1c, 0x02, 0x8f, 0xd1, 0x80, 0xe0, 0x37, 0x61, 0x49, 0x5d, 0x28, 0xa8, 0xa1, 0xc6, 0xa9,
  1417. 0xd2, 0x61, 0x98, 0x58, 0xe1, 0x57, 0x61, 0x85, 0x92, 0x13, 0xde, 0x4f, 0xb9, 0x5f, 0x10, 0xee,
  1418. 0xab, 0xd1, 0xf6, 0xfe, 0x84, 0x42, 0x0b, 0xd6, 0x76, 0x89, 0x4b, 0x32, 0xf9, 0xc9, 0x0b, 0x19,
  1419. 0x87, 0xd5, 0x3b, 0x63, 0x8f, 0xf9, 0x82, 0x6f, 0x01, 0x10, 0xbf, 0x0d, 0xcb, 0x0e, 0xf5, 0x42,
  1420. 0xde, 0x1f, 0x30, 0x3a, 0x72, 0x6c, 0x11, 0xb1, 0x4a, 0xb7, 0x59, 0x78, 0x85, 0x3b, 0x91, 0xc1,
  1421. 0x8e, 0xc0, 0x1f, 0x54, 0x9c, 0x64, 0x61, 0x7c, 0x06, 0xab, 0xb7, 0x4f, 0xca, 0x78, 0x7d, 0x17,
  1422. 0xaa, 0x2c, 0xe4, 0x19, 0xb7, 0x97, 0x0b, 0xdd, 0xde, 0x13, 0x16, 0xca, 0xef, 0x32, 0x4b, 0xad,
  1423. 0x8c, 0x11, 0x60, 0x59, 0xba, 0x77, 0xa3, 0x7e, 0xd2, 0xd5, 0xc7, 0x26, 0x9c, 0x11, 0x7d, 0x27,
  1424. 0x6a, 0xa0, 0xd2, 0x35, 0x0a, 0xbd, 0xca, 0x13, 0xa5, 0x81, 0xf1, 0x0a, 0xac, 0xec, 0x11, 0x3e,
  1425. 0xe5, 0x24, 0x2f, 0xfa, 0x5f, 0xc0, 0x6a, 0x54, 0x2b, 0x02, 0xf7, 0x4c, 0xaa, 0xf5, 0x18, 0x70,
  1426. 0x9a, 0x80, 0x2a, 0xd5, 0xc9, 0xbd, 0x65, 0x9d, 0x96, 0xbf, 0x77, 0xe9, 0x12, 0x6d, 0x02, 0x96,
  1427. 0x25, 0xaa, 0x0d, 0x91, 0x40, 0x7a, 0x2e, 0x7b, 0xa0, 0x45, 0xb6, 0x60, 0xed, 0x03, 0x3a, 0x2c,
  1428. 0x87, 0x35, 0xe1, 0xc5, 0x38, 0x3f, 0xb7, 0x27, 0x6f, 0x6a, 0x91, 0xc1, 0x37, 0x08, 0xd6, 0x27,
  1429. 0x91, 0x4a, 0x4c, 0x9e, 0x49, 0xd2, 0x7e, 0x42, 0x70, 0x3e, 0x9f, 0x8b, 0xca, 0xdf, 0x47, 0xf0,
  1430. 0xfc, 0xac, 0x5e, 0xa8, 0x54, 0x6e, 0xe8, 0x53, 0x99, 0x8a, 0xc7, 0xca, 0x78, 0x7a, 0xa3, 0x6c,
  1431. 0x7a, 0xbb, 0x7f, 0x63, 0x58, 0xdc, 0x0a, 0x39, 0xbb, 0xeb, 0xe2, 0x5f, 0x11, 0x54, 0xa7, 0xd4,
  1432. 0x02, 0x77, 0x0a, 0x39, 0xe4, 0x29, 0x4b, 0xbd, 0xd4, 0x4b, 0x69, 0x6c, 0x7f, 0xfd, 0xe7, 0x3f,
  1433. 0xdf, 0x2d, 0xdc, 0x30, 0x3a, 0x13, 0x05, 0xfc, 0x5c, 0x66, 0xe1, 0xa6, 0xe7, 0xb3, 0x4f, 0xc8,
  1434. 0x80, 0x07, 0x66, 0xcb, 0x74, 0xd9, 0x40, 0x46, 0xcb, 0x6c, 0x3d, 0x8a, 0xf5, 0x3c, 0xe8, 0xc5,
  1435. 0x5a, 0x83, 0x1f, 0x23, 0x80, 0x44, 0x6c, 0x70, 0xbb, 0xd0, 0x71, 0x46, 0x95, 0x4a, 0x12, 0xbd,
  1436. 0x26, 0x88, 0x5e, 0xc1, 0x29, 0xa2, 0x51, 0x91, 0xfd, 0x07, 0xcd, 0x09, 0x4b, 0xb3, 0xf5, 0x08,
  1437. 0xff, 0x86, 0x60, 0x39, 0x2d, 0x2f, 0xf8, 0xb5, 0x42, 0x8f, 0x39, 0x6a, 0x58, 0xef, 0xcc, 0x61,
  1438. 0x21, 0x0b, 0x2a, 0x8f, 0x70, 0xc9, 0xc8, 0xe2, 0x1f, 0x11, 0x54, 0xa7, 0xd4, 0x48, 0x93, 0xff,
  1439. 0x3c, 0xe5, 0xaa, 0x5f, 0x88, 0x4d, 0x52, 0x93, 0x4b, 0xfb, 0x5e, 0x3c, 0xb9, 0xc4, 0xf4, 0x5a,
  1440. 0x4f, 0x11, 0xcf, 0x5f, 0x10, 0x40, 0x22, 0x80, 0x9a, 0x7c, 0x67, 0x94, 0x52, 0x47, 0x6c, 0x4f,
  1441. 0x10, 0xdb, 0x32, 0x6e, 0xcc, 0x4d, 0xac, 0xe7, 0x4c, 0x7c, 0xf5, 0x50, 0x4b, 0xd0, 0x4c, 0x14,
  1442. 0x53, 0x43, 0x33, 0x23, 0xad, 0xff, 0x23, 0x4d, 0x72, 0x92, 0xa6, 0xf9, 0x18, 0x41, 0x25, 0xa5,
  1443. 0xaf, 0xd8, 0x2c, 0xd1, 0xea, 0xe9, 0xb7, 0x5a, 0x47, 0xf4, 0x96, 0x20, 0xba, 0x69, 0x98, 0xa5,
  1444. 0xeb, 0x50, 0xbc, 0x60, 0x41, 0x4f, 0xc9, 0xd3, 0xf7, 0x08, 0x96, 0xe2, 0x77, 0x1f, 0x6f, 0xe8,
  1445. 0x7a, 0x7b, 0x8a, 0x59, 0x09, 0x11, 0x34, 0xde, 0x10, 0xf4, 0x3a, 0xd8, 0x2c, 0x17, 0x47, 0xc9,
  1446. 0x2d, 0xaa, 0xc2, 0x27, 0x08, 0x20, 0xd1, 0x61, 0x4d, 0x7a, 0x33, 0x13, 0x43, 0xdd, 0x2c, 0x8d,
  1447. 0x57, 0xfd, 0x9c, 0x43, 0xb4, 0x54, 0x1c, 0xf1, 0x0f, 0x08, 0x2a, 0x29, 0xe1, 0xd6, 0x24, 0x38,
  1448. 0x2b, 0xf1, 0xba, 0x04, 0x2b, 0x62, 0xad, 0xb9, 0x23, 0xf8, 0xb3, 0x20, 0x36, 0xd1, 0x7e, 0x2d,
  1449. 0xb1, 0xd9, 0x29, 0x41, 0x47, 0x6c, 0x4b, 0x10, 0xbb, 0x6e, 0x5c, 0x9d, 0x93, 0x58, 0x4f, 0x0e,
  1450. 0x24, 0x51, 0x73, 0x3c, 0x41, 0x50, 0x9d, 0x1a, 0x50, 0x34, 0x2f, 0x61, 0xde, 0x30, 0xa3, 0xa3,
  1451. 0xb9, 0x23, 0x68, 0xde, 0x34, 0x36, 0xe7, 0xa5, 0x19, 0xd2, 0x84, 0xe8, 0xef, 0x08, 0x70, 0x76,
  1452. 0x3a, 0xc2, 0x57, 0x4b, 0xf5, 0x4b, 0x66, 0x9c, 0xaa, 0xcf, 0x35, 0x73, 0x18, 0x6f, 0x89, 0x1b,
  1453. 0xec, 0xe2, 0xed, 0xf9, 0x6e, 0x60, 0xce, 0x8c, 0x2a, 0xa2, 0x28, 0xfe, 0x52, 0xdf, 0x62, 0xb3,
  1454. 0x83, 0x12, 0xde, 0x2c, 0xd7, 0x30, 0xd9, 0x39, 0xaf, 0x7e, 0xed, 0x29, 0x2c, 0x55, 0xd3, 0xe5,
  1455. 0xdc, 0xac, 0xb0, 0xe9, 0x92, 0xec, 0x64, 0x2e, 0xb7, 0xfd, 0x2d, 0x82, 0x97, 0x06, 0x6c, 0x5c,
  1456. 0x44, 0x66, 0xbb, 0x22, 0x27, 0xb0, 0xfd, 0xe8, 0x9b, 0x7d, 0x1f, 0x7d, 0xbc, 0xa5, 0xb0, 0x36,
  1457. 0x73, 0x2d, 0x6a, 0xb7, 0x99, 0x6f, 0x9b, 0x36, 0xa1, 0xe2, 0x8b, 0xde, 0x94, 0x3f, 0x59, 0x9e,
  1458. 0x13, 0xe4, 0xfe, 0x27, 0xe1, 0xba, 0x5c, 0xfe, 0xb1, 0xb0, 0xbe, 0x27, 0x80, 0x87, 0x3b, 0x11,
  1459. 0xe8, 0x50, 0x9e, 0x7f, 0xf8, 0xa1, 0x04, 0x1d, 0x2d, 0x8a, 0xb3, 0xae, 0xfc, 0x1b, 0x00, 0x00,
  1460. 0xff, 0xff, 0x9e, 0x6b, 0xe8, 0xad, 0xde, 0x11, 0x00, 0x00,
  1461. }