Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

1053 строки
43 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/support/v1alpha1/cloud_support.proto
  3. package support // import "google.golang.org/genproto/googleapis/cloud/support/v1alpha1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/empty"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import common "google.golang.org/genproto/googleapis/cloud/support/common"
  10. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  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. // The request message for `GetSupportAccount`.
  25. type GetSupportAccountRequest struct {
  26. // The resource name of the support accounts. For example:
  27. // `supportAccounts/accountA`.
  28. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *GetSupportAccountRequest) Reset() { *m = GetSupportAccountRequest{} }
  34. func (m *GetSupportAccountRequest) String() string { return proto.CompactTextString(m) }
  35. func (*GetSupportAccountRequest) ProtoMessage() {}
  36. func (*GetSupportAccountRequest) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{0}
  38. }
  39. func (m *GetSupportAccountRequest) XXX_Unmarshal(b []byte) error {
  40. return xxx_messageInfo_GetSupportAccountRequest.Unmarshal(m, b)
  41. }
  42. func (m *GetSupportAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. return xxx_messageInfo_GetSupportAccountRequest.Marshal(b, m, deterministic)
  44. }
  45. func (dst *GetSupportAccountRequest) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_GetSupportAccountRequest.Merge(dst, src)
  47. }
  48. func (m *GetSupportAccountRequest) XXX_Size() int {
  49. return xxx_messageInfo_GetSupportAccountRequest.Size(m)
  50. }
  51. func (m *GetSupportAccountRequest) XXX_DiscardUnknown() {
  52. xxx_messageInfo_GetSupportAccountRequest.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_GetSupportAccountRequest proto.InternalMessageInfo
  55. func (m *GetSupportAccountRequest) GetName() string {
  56. if m != nil {
  57. return m.Name
  58. }
  59. return ""
  60. }
  61. // The request message for `ListSupportAccount`.
  62. type ListSupportAccountsRequest struct {
  63. // The filter applied to search results. It only supports filtering a support
  64. // account list by a cloud_resource. For example, to filter results by support
  65. // accounts associated with an Organization, its value should be:
  66. // "cloud_resource:organizations/<organization_id>"
  67. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
  68. // Maximum number of accounts fetched with each request.
  69. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  70. // A token identifying the page of results to return. If unspecified, the
  71. // first page is retrieved.
  72. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  73. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  74. XXX_unrecognized []byte `json:"-"`
  75. XXX_sizecache int32 `json:"-"`
  76. }
  77. func (m *ListSupportAccountsRequest) Reset() { *m = ListSupportAccountsRequest{} }
  78. func (m *ListSupportAccountsRequest) String() string { return proto.CompactTextString(m) }
  79. func (*ListSupportAccountsRequest) ProtoMessage() {}
  80. func (*ListSupportAccountsRequest) Descriptor() ([]byte, []int) {
  81. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{1}
  82. }
  83. func (m *ListSupportAccountsRequest) XXX_Unmarshal(b []byte) error {
  84. return xxx_messageInfo_ListSupportAccountsRequest.Unmarshal(m, b)
  85. }
  86. func (m *ListSupportAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  87. return xxx_messageInfo_ListSupportAccountsRequest.Marshal(b, m, deterministic)
  88. }
  89. func (dst *ListSupportAccountsRequest) XXX_Merge(src proto.Message) {
  90. xxx_messageInfo_ListSupportAccountsRequest.Merge(dst, src)
  91. }
  92. func (m *ListSupportAccountsRequest) XXX_Size() int {
  93. return xxx_messageInfo_ListSupportAccountsRequest.Size(m)
  94. }
  95. func (m *ListSupportAccountsRequest) XXX_DiscardUnknown() {
  96. xxx_messageInfo_ListSupportAccountsRequest.DiscardUnknown(m)
  97. }
  98. var xxx_messageInfo_ListSupportAccountsRequest proto.InternalMessageInfo
  99. func (m *ListSupportAccountsRequest) GetFilter() string {
  100. if m != nil {
  101. return m.Filter
  102. }
  103. return ""
  104. }
  105. func (m *ListSupportAccountsRequest) GetPageSize() int64 {
  106. if m != nil {
  107. return m.PageSize
  108. }
  109. return 0
  110. }
  111. func (m *ListSupportAccountsRequest) GetPageToken() string {
  112. if m != nil {
  113. return m.PageToken
  114. }
  115. return ""
  116. }
  117. // The response message for `ListSupportAccount`.
  118. type ListSupportAccountsResponse struct {
  119. // A list of support accounts.
  120. Accounts []*common.SupportAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
  121. // A token to retrieve the next page of results. This should be passed on in
  122. // `page_token` field of `ListSupportAccountRequest` for next request. If
  123. // unspecified, there are no more results to retrieve.
  124. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  125. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  126. XXX_unrecognized []byte `json:"-"`
  127. XXX_sizecache int32 `json:"-"`
  128. }
  129. func (m *ListSupportAccountsResponse) Reset() { *m = ListSupportAccountsResponse{} }
  130. func (m *ListSupportAccountsResponse) String() string { return proto.CompactTextString(m) }
  131. func (*ListSupportAccountsResponse) ProtoMessage() {}
  132. func (*ListSupportAccountsResponse) Descriptor() ([]byte, []int) {
  133. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{2}
  134. }
  135. func (m *ListSupportAccountsResponse) XXX_Unmarshal(b []byte) error {
  136. return xxx_messageInfo_ListSupportAccountsResponse.Unmarshal(m, b)
  137. }
  138. func (m *ListSupportAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  139. return xxx_messageInfo_ListSupportAccountsResponse.Marshal(b, m, deterministic)
  140. }
  141. func (dst *ListSupportAccountsResponse) XXX_Merge(src proto.Message) {
  142. xxx_messageInfo_ListSupportAccountsResponse.Merge(dst, src)
  143. }
  144. func (m *ListSupportAccountsResponse) XXX_Size() int {
  145. return xxx_messageInfo_ListSupportAccountsResponse.Size(m)
  146. }
  147. func (m *ListSupportAccountsResponse) XXX_DiscardUnknown() {
  148. xxx_messageInfo_ListSupportAccountsResponse.DiscardUnknown(m)
  149. }
  150. var xxx_messageInfo_ListSupportAccountsResponse proto.InternalMessageInfo
  151. func (m *ListSupportAccountsResponse) GetAccounts() []*common.SupportAccount {
  152. if m != nil {
  153. return m.Accounts
  154. }
  155. return nil
  156. }
  157. func (m *ListSupportAccountsResponse) GetNextPageToken() string {
  158. if m != nil {
  159. return m.NextPageToken
  160. }
  161. return ""
  162. }
  163. // The request message for `GetCase` method.
  164. type GetCaseRequest struct {
  165. // Name of case resource requested.
  166. // For example: "supportAccounts/accountA/cases/123"
  167. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  168. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  169. XXX_unrecognized []byte `json:"-"`
  170. XXX_sizecache int32 `json:"-"`
  171. }
  172. func (m *GetCaseRequest) Reset() { *m = GetCaseRequest{} }
  173. func (m *GetCaseRequest) String() string { return proto.CompactTextString(m) }
  174. func (*GetCaseRequest) ProtoMessage() {}
  175. func (*GetCaseRequest) Descriptor() ([]byte, []int) {
  176. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{3}
  177. }
  178. func (m *GetCaseRequest) XXX_Unmarshal(b []byte) error {
  179. return xxx_messageInfo_GetCaseRequest.Unmarshal(m, b)
  180. }
  181. func (m *GetCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  182. return xxx_messageInfo_GetCaseRequest.Marshal(b, m, deterministic)
  183. }
  184. func (dst *GetCaseRequest) XXX_Merge(src proto.Message) {
  185. xxx_messageInfo_GetCaseRequest.Merge(dst, src)
  186. }
  187. func (m *GetCaseRequest) XXX_Size() int {
  188. return xxx_messageInfo_GetCaseRequest.Size(m)
  189. }
  190. func (m *GetCaseRequest) XXX_DiscardUnknown() {
  191. xxx_messageInfo_GetCaseRequest.DiscardUnknown(m)
  192. }
  193. var xxx_messageInfo_GetCaseRequest proto.InternalMessageInfo
  194. func (m *GetCaseRequest) GetName() string {
  195. if m != nil {
  196. return m.Name
  197. }
  198. return ""
  199. }
  200. // The request message for `ListCase` method.
  201. type ListCasesRequest struct {
  202. // Name of the account resource for which cases are requested. For example:
  203. // "supportAccounts/accountA"
  204. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  205. // The filter applied to the search results. Currently it only accepts "OPEN"
  206. // or "CLOSED" strings, filtering out cases that are open or resolved.
  207. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
  208. // Maximum number of cases fetched with each request.
  209. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  210. // A token identifying the page of results to return. If unspecified, the
  211. // first page is retrieved.
  212. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  213. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  214. XXX_unrecognized []byte `json:"-"`
  215. XXX_sizecache int32 `json:"-"`
  216. }
  217. func (m *ListCasesRequest) Reset() { *m = ListCasesRequest{} }
  218. func (m *ListCasesRequest) String() string { return proto.CompactTextString(m) }
  219. func (*ListCasesRequest) ProtoMessage() {}
  220. func (*ListCasesRequest) Descriptor() ([]byte, []int) {
  221. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{4}
  222. }
  223. func (m *ListCasesRequest) XXX_Unmarshal(b []byte) error {
  224. return xxx_messageInfo_ListCasesRequest.Unmarshal(m, b)
  225. }
  226. func (m *ListCasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  227. return xxx_messageInfo_ListCasesRequest.Marshal(b, m, deterministic)
  228. }
  229. func (dst *ListCasesRequest) XXX_Merge(src proto.Message) {
  230. xxx_messageInfo_ListCasesRequest.Merge(dst, src)
  231. }
  232. func (m *ListCasesRequest) XXX_Size() int {
  233. return xxx_messageInfo_ListCasesRequest.Size(m)
  234. }
  235. func (m *ListCasesRequest) XXX_DiscardUnknown() {
  236. xxx_messageInfo_ListCasesRequest.DiscardUnknown(m)
  237. }
  238. var xxx_messageInfo_ListCasesRequest proto.InternalMessageInfo
  239. func (m *ListCasesRequest) GetName() string {
  240. if m != nil {
  241. return m.Name
  242. }
  243. return ""
  244. }
  245. func (m *ListCasesRequest) GetFilter() string {
  246. if m != nil {
  247. return m.Filter
  248. }
  249. return ""
  250. }
  251. func (m *ListCasesRequest) GetPageSize() int64 {
  252. if m != nil {
  253. return m.PageSize
  254. }
  255. return 0
  256. }
  257. func (m *ListCasesRequest) GetPageToken() string {
  258. if m != nil {
  259. return m.PageToken
  260. }
  261. return ""
  262. }
  263. // The response message for `ListCase` method.
  264. type ListCasesResponse struct {
  265. // A list of cases.
  266. Cases []*common.Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
  267. // A token to retrieve the next page of results. This should be passed on in
  268. // `page_token` field of `ListCaseRequest` for next request. If unspecified,
  269. // there are no more results to retrieve.
  270. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  271. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  272. XXX_unrecognized []byte `json:"-"`
  273. XXX_sizecache int32 `json:"-"`
  274. }
  275. func (m *ListCasesResponse) Reset() { *m = ListCasesResponse{} }
  276. func (m *ListCasesResponse) String() string { return proto.CompactTextString(m) }
  277. func (*ListCasesResponse) ProtoMessage() {}
  278. func (*ListCasesResponse) Descriptor() ([]byte, []int) {
  279. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{5}
  280. }
  281. func (m *ListCasesResponse) XXX_Unmarshal(b []byte) error {
  282. return xxx_messageInfo_ListCasesResponse.Unmarshal(m, b)
  283. }
  284. func (m *ListCasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  285. return xxx_messageInfo_ListCasesResponse.Marshal(b, m, deterministic)
  286. }
  287. func (dst *ListCasesResponse) XXX_Merge(src proto.Message) {
  288. xxx_messageInfo_ListCasesResponse.Merge(dst, src)
  289. }
  290. func (m *ListCasesResponse) XXX_Size() int {
  291. return xxx_messageInfo_ListCasesResponse.Size(m)
  292. }
  293. func (m *ListCasesResponse) XXX_DiscardUnknown() {
  294. xxx_messageInfo_ListCasesResponse.DiscardUnknown(m)
  295. }
  296. var xxx_messageInfo_ListCasesResponse proto.InternalMessageInfo
  297. func (m *ListCasesResponse) GetCases() []*common.Case {
  298. if m != nil {
  299. return m.Cases
  300. }
  301. return nil
  302. }
  303. func (m *ListCasesResponse) GetNextPageToken() string {
  304. if m != nil {
  305. return m.NextPageToken
  306. }
  307. return ""
  308. }
  309. // The request message for `ListComments` method.
  310. type ListCommentsRequest struct {
  311. // The resource name of case for which comments should be listed.
  312. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  313. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  314. XXX_unrecognized []byte `json:"-"`
  315. XXX_sizecache int32 `json:"-"`
  316. }
  317. func (m *ListCommentsRequest) Reset() { *m = ListCommentsRequest{} }
  318. func (m *ListCommentsRequest) String() string { return proto.CompactTextString(m) }
  319. func (*ListCommentsRequest) ProtoMessage() {}
  320. func (*ListCommentsRequest) Descriptor() ([]byte, []int) {
  321. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{6}
  322. }
  323. func (m *ListCommentsRequest) XXX_Unmarshal(b []byte) error {
  324. return xxx_messageInfo_ListCommentsRequest.Unmarshal(m, b)
  325. }
  326. func (m *ListCommentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  327. return xxx_messageInfo_ListCommentsRequest.Marshal(b, m, deterministic)
  328. }
  329. func (dst *ListCommentsRequest) XXX_Merge(src proto.Message) {
  330. xxx_messageInfo_ListCommentsRequest.Merge(dst, src)
  331. }
  332. func (m *ListCommentsRequest) XXX_Size() int {
  333. return xxx_messageInfo_ListCommentsRequest.Size(m)
  334. }
  335. func (m *ListCommentsRequest) XXX_DiscardUnknown() {
  336. xxx_messageInfo_ListCommentsRequest.DiscardUnknown(m)
  337. }
  338. var xxx_messageInfo_ListCommentsRequest proto.InternalMessageInfo
  339. func (m *ListCommentsRequest) GetName() string {
  340. if m != nil {
  341. return m.Name
  342. }
  343. return ""
  344. }
  345. // The response message for `ListComments` method.
  346. type ListCommentsResponse struct {
  347. // A list of comments.
  348. Comments []*common.Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
  349. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  350. XXX_unrecognized []byte `json:"-"`
  351. XXX_sizecache int32 `json:"-"`
  352. }
  353. func (m *ListCommentsResponse) Reset() { *m = ListCommentsResponse{} }
  354. func (m *ListCommentsResponse) String() string { return proto.CompactTextString(m) }
  355. func (*ListCommentsResponse) ProtoMessage() {}
  356. func (*ListCommentsResponse) Descriptor() ([]byte, []int) {
  357. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{7}
  358. }
  359. func (m *ListCommentsResponse) XXX_Unmarshal(b []byte) error {
  360. return xxx_messageInfo_ListCommentsResponse.Unmarshal(m, b)
  361. }
  362. func (m *ListCommentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  363. return xxx_messageInfo_ListCommentsResponse.Marshal(b, m, deterministic)
  364. }
  365. func (dst *ListCommentsResponse) XXX_Merge(src proto.Message) {
  366. xxx_messageInfo_ListCommentsResponse.Merge(dst, src)
  367. }
  368. func (m *ListCommentsResponse) XXX_Size() int {
  369. return xxx_messageInfo_ListCommentsResponse.Size(m)
  370. }
  371. func (m *ListCommentsResponse) XXX_DiscardUnknown() {
  372. xxx_messageInfo_ListCommentsResponse.DiscardUnknown(m)
  373. }
  374. var xxx_messageInfo_ListCommentsResponse proto.InternalMessageInfo
  375. func (m *ListCommentsResponse) GetComments() []*common.Comment {
  376. if m != nil {
  377. return m.Comments
  378. }
  379. return nil
  380. }
  381. // The request message for `CreateCase` method.
  382. type CreateCaseRequest struct {
  383. // The resource name for `SupportAccount` under which this case is created.
  384. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  385. // The case resource to create.
  386. Case *common.Case `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"`
  387. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  388. XXX_unrecognized []byte `json:"-"`
  389. XXX_sizecache int32 `json:"-"`
  390. }
  391. func (m *CreateCaseRequest) Reset() { *m = CreateCaseRequest{} }
  392. func (m *CreateCaseRequest) String() string { return proto.CompactTextString(m) }
  393. func (*CreateCaseRequest) ProtoMessage() {}
  394. func (*CreateCaseRequest) Descriptor() ([]byte, []int) {
  395. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{8}
  396. }
  397. func (m *CreateCaseRequest) XXX_Unmarshal(b []byte) error {
  398. return xxx_messageInfo_CreateCaseRequest.Unmarshal(m, b)
  399. }
  400. func (m *CreateCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  401. return xxx_messageInfo_CreateCaseRequest.Marshal(b, m, deterministic)
  402. }
  403. func (dst *CreateCaseRequest) XXX_Merge(src proto.Message) {
  404. xxx_messageInfo_CreateCaseRequest.Merge(dst, src)
  405. }
  406. func (m *CreateCaseRequest) XXX_Size() int {
  407. return xxx_messageInfo_CreateCaseRequest.Size(m)
  408. }
  409. func (m *CreateCaseRequest) XXX_DiscardUnknown() {
  410. xxx_messageInfo_CreateCaseRequest.DiscardUnknown(m)
  411. }
  412. var xxx_messageInfo_CreateCaseRequest proto.InternalMessageInfo
  413. func (m *CreateCaseRequest) GetParent() string {
  414. if m != nil {
  415. return m.Parent
  416. }
  417. return ""
  418. }
  419. func (m *CreateCaseRequest) GetCase() *common.Case {
  420. if m != nil {
  421. return m.Case
  422. }
  423. return nil
  424. }
  425. // The request message for `UpdateCase` method.
  426. type UpdateCaseRequest struct {
  427. // The case resource to update.
  428. Case *common.Case `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
  429. // A field that represents attributes of a Case object that should be updated
  430. // as part of this request.
  431. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  432. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  433. XXX_unrecognized []byte `json:"-"`
  434. XXX_sizecache int32 `json:"-"`
  435. }
  436. func (m *UpdateCaseRequest) Reset() { *m = UpdateCaseRequest{} }
  437. func (m *UpdateCaseRequest) String() string { return proto.CompactTextString(m) }
  438. func (*UpdateCaseRequest) ProtoMessage() {}
  439. func (*UpdateCaseRequest) Descriptor() ([]byte, []int) {
  440. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{9}
  441. }
  442. func (m *UpdateCaseRequest) XXX_Unmarshal(b []byte) error {
  443. return xxx_messageInfo_UpdateCaseRequest.Unmarshal(m, b)
  444. }
  445. func (m *UpdateCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  446. return xxx_messageInfo_UpdateCaseRequest.Marshal(b, m, deterministic)
  447. }
  448. func (dst *UpdateCaseRequest) XXX_Merge(src proto.Message) {
  449. xxx_messageInfo_UpdateCaseRequest.Merge(dst, src)
  450. }
  451. func (m *UpdateCaseRequest) XXX_Size() int {
  452. return xxx_messageInfo_UpdateCaseRequest.Size(m)
  453. }
  454. func (m *UpdateCaseRequest) XXX_DiscardUnknown() {
  455. xxx_messageInfo_UpdateCaseRequest.DiscardUnknown(m)
  456. }
  457. var xxx_messageInfo_UpdateCaseRequest proto.InternalMessageInfo
  458. func (m *UpdateCaseRequest) GetCase() *common.Case {
  459. if m != nil {
  460. return m.Case
  461. }
  462. return nil
  463. }
  464. func (m *UpdateCaseRequest) GetUpdateMask() *field_mask.FieldMask {
  465. if m != nil {
  466. return m.UpdateMask
  467. }
  468. return nil
  469. }
  470. // The request message for `CreateComment` method.
  471. type CreateCommentRequest struct {
  472. // The resource name of case to which this comment should be added.
  473. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  474. // The `Comment` to be added to this case.
  475. Comment *common.Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
  476. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  477. XXX_unrecognized []byte `json:"-"`
  478. XXX_sizecache int32 `json:"-"`
  479. }
  480. func (m *CreateCommentRequest) Reset() { *m = CreateCommentRequest{} }
  481. func (m *CreateCommentRequest) String() string { return proto.CompactTextString(m) }
  482. func (*CreateCommentRequest) ProtoMessage() {}
  483. func (*CreateCommentRequest) Descriptor() ([]byte, []int) {
  484. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{10}
  485. }
  486. func (m *CreateCommentRequest) XXX_Unmarshal(b []byte) error {
  487. return xxx_messageInfo_CreateCommentRequest.Unmarshal(m, b)
  488. }
  489. func (m *CreateCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  490. return xxx_messageInfo_CreateCommentRequest.Marshal(b, m, deterministic)
  491. }
  492. func (dst *CreateCommentRequest) XXX_Merge(src proto.Message) {
  493. xxx_messageInfo_CreateCommentRequest.Merge(dst, src)
  494. }
  495. func (m *CreateCommentRequest) XXX_Size() int {
  496. return xxx_messageInfo_CreateCommentRequest.Size(m)
  497. }
  498. func (m *CreateCommentRequest) XXX_DiscardUnknown() {
  499. xxx_messageInfo_CreateCommentRequest.DiscardUnknown(m)
  500. }
  501. var xxx_messageInfo_CreateCommentRequest proto.InternalMessageInfo
  502. func (m *CreateCommentRequest) GetName() string {
  503. if m != nil {
  504. return m.Name
  505. }
  506. return ""
  507. }
  508. func (m *CreateCommentRequest) GetComment() *common.Comment {
  509. if m != nil {
  510. return m.Comment
  511. }
  512. return nil
  513. }
  514. // The request message for `GetIssueTaxonomy` method.
  515. type GetIssueTaxonomyRequest struct {
  516. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  517. XXX_unrecognized []byte `json:"-"`
  518. XXX_sizecache int32 `json:"-"`
  519. }
  520. func (m *GetIssueTaxonomyRequest) Reset() { *m = GetIssueTaxonomyRequest{} }
  521. func (m *GetIssueTaxonomyRequest) String() string { return proto.CompactTextString(m) }
  522. func (*GetIssueTaxonomyRequest) ProtoMessage() {}
  523. func (*GetIssueTaxonomyRequest) Descriptor() ([]byte, []int) {
  524. return fileDescriptor_cloud_support_51bbe4bf2d48609d, []int{11}
  525. }
  526. func (m *GetIssueTaxonomyRequest) XXX_Unmarshal(b []byte) error {
  527. return xxx_messageInfo_GetIssueTaxonomyRequest.Unmarshal(m, b)
  528. }
  529. func (m *GetIssueTaxonomyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  530. return xxx_messageInfo_GetIssueTaxonomyRequest.Marshal(b, m, deterministic)
  531. }
  532. func (dst *GetIssueTaxonomyRequest) XXX_Merge(src proto.Message) {
  533. xxx_messageInfo_GetIssueTaxonomyRequest.Merge(dst, src)
  534. }
  535. func (m *GetIssueTaxonomyRequest) XXX_Size() int {
  536. return xxx_messageInfo_GetIssueTaxonomyRequest.Size(m)
  537. }
  538. func (m *GetIssueTaxonomyRequest) XXX_DiscardUnknown() {
  539. xxx_messageInfo_GetIssueTaxonomyRequest.DiscardUnknown(m)
  540. }
  541. var xxx_messageInfo_GetIssueTaxonomyRequest proto.InternalMessageInfo
  542. func init() {
  543. proto.RegisterType((*GetSupportAccountRequest)(nil), "google.cloud.support.v1alpha1.GetSupportAccountRequest")
  544. proto.RegisterType((*ListSupportAccountsRequest)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsRequest")
  545. proto.RegisterType((*ListSupportAccountsResponse)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsResponse")
  546. proto.RegisterType((*GetCaseRequest)(nil), "google.cloud.support.v1alpha1.GetCaseRequest")
  547. proto.RegisterType((*ListCasesRequest)(nil), "google.cloud.support.v1alpha1.ListCasesRequest")
  548. proto.RegisterType((*ListCasesResponse)(nil), "google.cloud.support.v1alpha1.ListCasesResponse")
  549. proto.RegisterType((*ListCommentsRequest)(nil), "google.cloud.support.v1alpha1.ListCommentsRequest")
  550. proto.RegisterType((*ListCommentsResponse)(nil), "google.cloud.support.v1alpha1.ListCommentsResponse")
  551. proto.RegisterType((*CreateCaseRequest)(nil), "google.cloud.support.v1alpha1.CreateCaseRequest")
  552. proto.RegisterType((*UpdateCaseRequest)(nil), "google.cloud.support.v1alpha1.UpdateCaseRequest")
  553. proto.RegisterType((*CreateCommentRequest)(nil), "google.cloud.support.v1alpha1.CreateCommentRequest")
  554. proto.RegisterType((*GetIssueTaxonomyRequest)(nil), "google.cloud.support.v1alpha1.GetIssueTaxonomyRequest")
  555. }
  556. // Reference imports to suppress errors if they are not otherwise used.
  557. var _ context.Context
  558. var _ grpc.ClientConn
  559. // This is a compile-time assertion to ensure that this generated file
  560. // is compatible with the grpc package it is being compiled against.
  561. const _ = grpc.SupportPackageIsVersion4
  562. // CloudSupportClient is the client API for CloudSupport service.
  563. //
  564. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  565. type CloudSupportClient interface {
  566. // Retrieves the support account details given an account identifier.
  567. // The authenticated user calling this method must be the account owner.
  568. GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*common.SupportAccount, error)
  569. // Retrieves the list of accounts the current authenticated user has access
  570. // to.
  571. ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error)
  572. // Retrieves the details for a support case. The current authenticated user
  573. // calling this method must have permissions to view this case.
  574. GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
  575. // Retrieves the list of support cases associated with an account. The current
  576. // authenticated user must have the permission to list and view these cases.
  577. ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error)
  578. // Lists all comments from a case.
  579. ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error)
  580. // Creates a case and associates it with a
  581. // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
  582. // authenticated user attempting this action must have permissions to create a
  583. // `Case` under that [SupportAccount].
  584. CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
  585. // Updates a support case. Only a small set of details (priority, subject and
  586. // cc_address) can be update after a case is created.
  587. UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*common.Case, error)
  588. // Adds a new comment to a case.
  589. CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*common.Comment, error)
  590. // Retrieves the taxonomy of product categories and components to be used
  591. // while creating a support case.
  592. GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*common.IssueTaxonomy, error)
  593. }
  594. type cloudSupportClient struct {
  595. cc *grpc.ClientConn
  596. }
  597. func NewCloudSupportClient(cc *grpc.ClientConn) CloudSupportClient {
  598. return &cloudSupportClient{cc}
  599. }
  600. func (c *cloudSupportClient) GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*common.SupportAccount, error) {
  601. out := new(common.SupportAccount)
  602. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount", in, out, opts...)
  603. if err != nil {
  604. return nil, err
  605. }
  606. return out, nil
  607. }
  608. func (c *cloudSupportClient) ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error) {
  609. out := new(ListSupportAccountsResponse)
  610. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts", in, out, opts...)
  611. if err != nil {
  612. return nil, err
  613. }
  614. return out, nil
  615. }
  616. func (c *cloudSupportClient) GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*common.Case, error) {
  617. out := new(common.Case)
  618. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetCase", in, out, opts...)
  619. if err != nil {
  620. return nil, err
  621. }
  622. return out, nil
  623. }
  624. func (c *cloudSupportClient) ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error) {
  625. out := new(ListCasesResponse)
  626. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListCases", in, out, opts...)
  627. if err != nil {
  628. return nil, err
  629. }
  630. return out, nil
  631. }
  632. func (c *cloudSupportClient) ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) {
  633. out := new(ListCommentsResponse)
  634. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListComments", in, out, opts...)
  635. if err != nil {
  636. return nil, err
  637. }
  638. return out, nil
  639. }
  640. func (c *cloudSupportClient) CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) {
  641. out := new(common.Case)
  642. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateCase", in, out, opts...)
  643. if err != nil {
  644. return nil, err
  645. }
  646. return out, nil
  647. }
  648. func (c *cloudSupportClient) UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) {
  649. out := new(common.Case)
  650. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase", in, out, opts...)
  651. if err != nil {
  652. return nil, err
  653. }
  654. return out, nil
  655. }
  656. func (c *cloudSupportClient) CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*common.Comment, error) {
  657. out := new(common.Comment)
  658. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateComment", in, out, opts...)
  659. if err != nil {
  660. return nil, err
  661. }
  662. return out, nil
  663. }
  664. func (c *cloudSupportClient) GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*common.IssueTaxonomy, error) {
  665. out := new(common.IssueTaxonomy)
  666. err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy", in, out, opts...)
  667. if err != nil {
  668. return nil, err
  669. }
  670. return out, nil
  671. }
  672. // CloudSupportServer is the server API for CloudSupport service.
  673. type CloudSupportServer interface {
  674. // Retrieves the support account details given an account identifier.
  675. // The authenticated user calling this method must be the account owner.
  676. GetSupportAccount(context.Context, *GetSupportAccountRequest) (*common.SupportAccount, error)
  677. // Retrieves the list of accounts the current authenticated user has access
  678. // to.
  679. ListSupportAccounts(context.Context, *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error)
  680. // Retrieves the details for a support case. The current authenticated user
  681. // calling this method must have permissions to view this case.
  682. GetCase(context.Context, *GetCaseRequest) (*common.Case, error)
  683. // Retrieves the list of support cases associated with an account. The current
  684. // authenticated user must have the permission to list and view these cases.
  685. ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)
  686. // Lists all comments from a case.
  687. ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
  688. // Creates a case and associates it with a
  689. // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
  690. // authenticated user attempting this action must have permissions to create a
  691. // `Case` under that [SupportAccount].
  692. CreateCase(context.Context, *CreateCaseRequest) (*common.Case, error)
  693. // Updates a support case. Only a small set of details (priority, subject and
  694. // cc_address) can be update after a case is created.
  695. UpdateCase(context.Context, *UpdateCaseRequest) (*common.Case, error)
  696. // Adds a new comment to a case.
  697. CreateComment(context.Context, *CreateCommentRequest) (*common.Comment, error)
  698. // Retrieves the taxonomy of product categories and components to be used
  699. // while creating a support case.
  700. GetIssueTaxonomy(context.Context, *GetIssueTaxonomyRequest) (*common.IssueTaxonomy, error)
  701. }
  702. func RegisterCloudSupportServer(s *grpc.Server, srv CloudSupportServer) {
  703. s.RegisterService(&_CloudSupport_serviceDesc, srv)
  704. }
  705. func _CloudSupport_GetSupportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  706. in := new(GetSupportAccountRequest)
  707. if err := dec(in); err != nil {
  708. return nil, err
  709. }
  710. if interceptor == nil {
  711. return srv.(CloudSupportServer).GetSupportAccount(ctx, in)
  712. }
  713. info := &grpc.UnaryServerInfo{
  714. Server: srv,
  715. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount",
  716. }
  717. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  718. return srv.(CloudSupportServer).GetSupportAccount(ctx, req.(*GetSupportAccountRequest))
  719. }
  720. return interceptor(ctx, in, info, handler)
  721. }
  722. func _CloudSupport_ListSupportAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  723. in := new(ListSupportAccountsRequest)
  724. if err := dec(in); err != nil {
  725. return nil, err
  726. }
  727. if interceptor == nil {
  728. return srv.(CloudSupportServer).ListSupportAccounts(ctx, in)
  729. }
  730. info := &grpc.UnaryServerInfo{
  731. Server: srv,
  732. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts",
  733. }
  734. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  735. return srv.(CloudSupportServer).ListSupportAccounts(ctx, req.(*ListSupportAccountsRequest))
  736. }
  737. return interceptor(ctx, in, info, handler)
  738. }
  739. func _CloudSupport_GetCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  740. in := new(GetCaseRequest)
  741. if err := dec(in); err != nil {
  742. return nil, err
  743. }
  744. if interceptor == nil {
  745. return srv.(CloudSupportServer).GetCase(ctx, in)
  746. }
  747. info := &grpc.UnaryServerInfo{
  748. Server: srv,
  749. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetCase",
  750. }
  751. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  752. return srv.(CloudSupportServer).GetCase(ctx, req.(*GetCaseRequest))
  753. }
  754. return interceptor(ctx, in, info, handler)
  755. }
  756. func _CloudSupport_ListCases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  757. in := new(ListCasesRequest)
  758. if err := dec(in); err != nil {
  759. return nil, err
  760. }
  761. if interceptor == nil {
  762. return srv.(CloudSupportServer).ListCases(ctx, in)
  763. }
  764. info := &grpc.UnaryServerInfo{
  765. Server: srv,
  766. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListCases",
  767. }
  768. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  769. return srv.(CloudSupportServer).ListCases(ctx, req.(*ListCasesRequest))
  770. }
  771. return interceptor(ctx, in, info, handler)
  772. }
  773. func _CloudSupport_ListComments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  774. in := new(ListCommentsRequest)
  775. if err := dec(in); err != nil {
  776. return nil, err
  777. }
  778. if interceptor == nil {
  779. return srv.(CloudSupportServer).ListComments(ctx, in)
  780. }
  781. info := &grpc.UnaryServerInfo{
  782. Server: srv,
  783. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListComments",
  784. }
  785. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  786. return srv.(CloudSupportServer).ListComments(ctx, req.(*ListCommentsRequest))
  787. }
  788. return interceptor(ctx, in, info, handler)
  789. }
  790. func _CloudSupport_CreateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  791. in := new(CreateCaseRequest)
  792. if err := dec(in); err != nil {
  793. return nil, err
  794. }
  795. if interceptor == nil {
  796. return srv.(CloudSupportServer).CreateCase(ctx, in)
  797. }
  798. info := &grpc.UnaryServerInfo{
  799. Server: srv,
  800. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateCase",
  801. }
  802. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  803. return srv.(CloudSupportServer).CreateCase(ctx, req.(*CreateCaseRequest))
  804. }
  805. return interceptor(ctx, in, info, handler)
  806. }
  807. func _CloudSupport_UpdateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  808. in := new(UpdateCaseRequest)
  809. if err := dec(in); err != nil {
  810. return nil, err
  811. }
  812. if interceptor == nil {
  813. return srv.(CloudSupportServer).UpdateCase(ctx, in)
  814. }
  815. info := &grpc.UnaryServerInfo{
  816. Server: srv,
  817. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase",
  818. }
  819. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  820. return srv.(CloudSupportServer).UpdateCase(ctx, req.(*UpdateCaseRequest))
  821. }
  822. return interceptor(ctx, in, info, handler)
  823. }
  824. func _CloudSupport_CreateComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  825. in := new(CreateCommentRequest)
  826. if err := dec(in); err != nil {
  827. return nil, err
  828. }
  829. if interceptor == nil {
  830. return srv.(CloudSupportServer).CreateComment(ctx, in)
  831. }
  832. info := &grpc.UnaryServerInfo{
  833. Server: srv,
  834. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateComment",
  835. }
  836. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  837. return srv.(CloudSupportServer).CreateComment(ctx, req.(*CreateCommentRequest))
  838. }
  839. return interceptor(ctx, in, info, handler)
  840. }
  841. func _CloudSupport_GetIssueTaxonomy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  842. in := new(GetIssueTaxonomyRequest)
  843. if err := dec(in); err != nil {
  844. return nil, err
  845. }
  846. if interceptor == nil {
  847. return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, in)
  848. }
  849. info := &grpc.UnaryServerInfo{
  850. Server: srv,
  851. FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy",
  852. }
  853. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  854. return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, req.(*GetIssueTaxonomyRequest))
  855. }
  856. return interceptor(ctx, in, info, handler)
  857. }
  858. var _CloudSupport_serviceDesc = grpc.ServiceDesc{
  859. ServiceName: "google.cloud.support.v1alpha1.CloudSupport",
  860. HandlerType: (*CloudSupportServer)(nil),
  861. Methods: []grpc.MethodDesc{
  862. {
  863. MethodName: "GetSupportAccount",
  864. Handler: _CloudSupport_GetSupportAccount_Handler,
  865. },
  866. {
  867. MethodName: "ListSupportAccounts",
  868. Handler: _CloudSupport_ListSupportAccounts_Handler,
  869. },
  870. {
  871. MethodName: "GetCase",
  872. Handler: _CloudSupport_GetCase_Handler,
  873. },
  874. {
  875. MethodName: "ListCases",
  876. Handler: _CloudSupport_ListCases_Handler,
  877. },
  878. {
  879. MethodName: "ListComments",
  880. Handler: _CloudSupport_ListComments_Handler,
  881. },
  882. {
  883. MethodName: "CreateCase",
  884. Handler: _CloudSupport_CreateCase_Handler,
  885. },
  886. {
  887. MethodName: "UpdateCase",
  888. Handler: _CloudSupport_UpdateCase_Handler,
  889. },
  890. {
  891. MethodName: "CreateComment",
  892. Handler: _CloudSupport_CreateComment_Handler,
  893. },
  894. {
  895. MethodName: "GetIssueTaxonomy",
  896. Handler: _CloudSupport_GetIssueTaxonomy_Handler,
  897. },
  898. },
  899. Streams: []grpc.StreamDesc{},
  900. Metadata: "google/cloud/support/v1alpha1/cloud_support.proto",
  901. }
  902. func init() {
  903. proto.RegisterFile("google/cloud/support/v1alpha1/cloud_support.proto", fileDescriptor_cloud_support_51bbe4bf2d48609d)
  904. }
  905. var fileDescriptor_cloud_support_51bbe4bf2d48609d = []byte{
  906. // 863 bytes of a gzipped FileDescriptorProto
  907. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x4f, 0x33, 0x45,
  908. 0x18, 0xce, 0xb4, 0xc8, 0x07, 0x2f, 0xdf, 0xa7, 0x5f, 0x47, 0x82, 0x65, 0x0b, 0x49, 0x3b, 0x21,
  909. 0xa6, 0x56, 0xdd, 0x85, 0x36, 0x88, 0x96, 0x40, 0x14, 0x88, 0x8d, 0x89, 0x26, 0xa4, 0x60, 0x62,
  910. 0xbc, 0x34, 0x43, 0x19, 0xd6, 0x95, 0xee, 0xce, 0xda, 0x99, 0x1a, 0x40, 0xbd, 0x78, 0xf1, 0xa6,
  911. 0x07, 0x6f, 0x7a, 0xe1, 0xe2, 0x59, 0x0f, 0xfe, 0x13, 0xff, 0x82, 0xfe, 0x0f, 0xb3, 0xb3, 0xb3,
  912. 0xed, 0x76, 0x69, 0x77, 0x17, 0x6e, 0xdd, 0x77, 0xde, 0xe7, 0x7d, 0x9f, 0x79, 0xe6, 0x9d, 0x67,
  913. 0x0a, 0x3b, 0x36, 0xe7, 0xf6, 0x80, 0x59, 0xfd, 0x01, 0x1f, 0x5d, 0x5a, 0x62, 0xe4, 0xfb, 0x7c,
  914. 0x28, 0xad, 0x6f, 0x77, 0xe8, 0xc0, 0xff, 0x8a, 0xee, 0x84, 0xe1, 0x9e, 0x0e, 0x9b, 0xfe, 0x90,
  915. 0x4b, 0x8e, 0x37, 0x43, 0x88, 0xa9, 0xd6, 0xcc, 0x68, 0x2d, 0x82, 0x18, 0x1b, 0xba, 0x22, 0xf5,
  916. 0x1d, 0x8b, 0x7a, 0x1e, 0x97, 0x54, 0x3a, 0xdc, 0x13, 0x21, 0xd8, 0xa8, 0xcd, 0xec, 0xd7, 0xe7,
  917. 0xae, 0xcb, 0x3d, 0x9d, 0x52, 0xd1, 0x29, 0xea, 0xeb, 0x62, 0x74, 0x65, 0x31, 0xd7, 0x97, 0xb7,
  918. 0x7a, 0xb1, 0x9a, 0x5c, 0xbc, 0x72, 0xd8, 0xe0, 0xb2, 0xe7, 0x52, 0x71, 0x1d, 0x66, 0x10, 0x13,
  919. 0xca, 0x1d, 0x26, 0xcf, 0xc2, 0xca, 0x1f, 0xf5, 0xfb, 0x7c, 0xe4, 0xc9, 0x2e, 0xfb, 0x66, 0xc4,
  920. 0x84, 0xc4, 0x18, 0x16, 0x3c, 0xea, 0xb2, 0x32, 0xaa, 0xa2, 0xfa, 0x72, 0x57, 0xfd, 0x26, 0x3e,
  921. 0x18, 0x9f, 0x3a, 0x22, 0x01, 0x10, 0x11, 0x62, 0x0d, 0x16, 0xaf, 0x9c, 0x81, 0x64, 0x43, 0x8d,
  922. 0xd1, 0x5f, 0xb8, 0x02, 0xcb, 0x3e, 0xb5, 0x59, 0x4f, 0x38, 0x77, 0xac, 0x5c, 0xa8, 0xa2, 0x7a,
  923. 0xb1, 0xbb, 0x14, 0x04, 0xce, 0x9c, 0x3b, 0x86, 0x37, 0x01, 0xd4, 0xa2, 0xe4, 0xd7, 0xcc, 0x2b,
  924. 0x17, 0x15, 0x50, 0xa5, 0x9f, 0x07, 0x01, 0xf2, 0x33, 0x82, 0xca, 0xcc, 0x96, 0xc2, 0xe7, 0x9e,
  925. 0x60, 0xb8, 0x03, 0x4b, 0x54, 0xc7, 0xca, 0xa8, 0x5a, 0xac, 0xaf, 0x34, 0xdf, 0x36, 0x67, 0x6a,
  926. 0xae, 0x65, 0x4b, 0xec, 0x75, 0x0c, 0xc6, 0x6f, 0xc2, 0x6b, 0x1e, 0xbb, 0x91, 0xbd, 0x18, 0x99,
  927. 0x82, 0x22, 0xf3, 0x22, 0x08, 0x9f, 0x8e, 0x09, 0x6d, 0xc1, 0xab, 0x1d, 0x26, 0x8f, 0xa9, 0x60,
  928. 0x69, 0x42, 0xdd, 0xc1, 0xcb, 0x80, 0x75, 0x90, 0x26, 0x52, 0xf2, 0x62, 0x92, 0x15, 0xe6, 0x4b,
  929. 0x56, 0x4c, 0x95, 0x6c, 0x21, 0x29, 0x99, 0x84, 0x52, 0xac, 0xb7, 0xd6, 0x69, 0x0f, 0x5e, 0xe9,
  930. 0x07, 0x01, 0x2d, 0x52, 0x2d, 0x55, 0x24, 0xb5, 0xbb, 0x30, 0x3f, 0xb7, 0x2e, 0x6f, 0xc1, 0xeb,
  931. 0xaa, 0x2b, 0x77, 0x5d, 0x16, 0x9b, 0x89, 0x59, 0xe2, 0x7c, 0x01, 0xab, 0xd3, 0xa9, 0x9a, 0xe3,
  932. 0x87, 0xb0, 0xd4, 0xd7, 0x31, 0x4d, 0x73, 0x2b, 0x9d, 0x66, 0x98, 0xdc, 0x1d, 0xa3, 0xc8, 0x05,
  933. 0x94, 0x8e, 0x87, 0x8c, 0x4a, 0x16, 0x3f, 0x9f, 0x35, 0x58, 0xf4, 0xe9, 0x90, 0x79, 0x32, 0x1a,
  934. 0xcb, 0xf0, 0x0b, 0xef, 0xc2, 0x42, 0xb0, 0x45, 0xb5, 0x9d, 0x5c, 0x8a, 0xa8, 0x74, 0xf2, 0x13,
  935. 0x82, 0xd2, 0xe7, 0xfe, 0x65, 0xa2, 0x49, 0x54, 0x0c, 0x3d, 0xaa, 0x18, 0xde, 0x87, 0x95, 0x91,
  936. 0xaa, 0xa5, 0x6e, 0xa5, 0xa6, 0x62, 0x44, 0xe8, 0xe8, 0xe2, 0x9a, 0x1f, 0x07, 0x17, 0xf7, 0x33,
  937. 0x2a, 0xae, 0xbb, 0x10, 0xa6, 0x07, 0xbf, 0xc9, 0xd7, 0xb0, 0xaa, 0x77, 0xab, 0x85, 0x48, 0x19,
  938. 0xb4, 0x43, 0x78, 0xa6, 0x55, 0xd2, 0x4d, 0xf2, 0x49, 0x1b, 0x81, 0xc8, 0x3a, 0xbc, 0xd1, 0x61,
  939. 0xf2, 0x13, 0x21, 0x46, 0xec, 0x9c, 0xde, 0x70, 0x8f, 0xbb, 0xb7, 0xba, 0x5d, 0xf3, 0xbf, 0x15,
  940. 0x78, 0x7e, 0x1c, 0x14, 0xd1, 0x77, 0x0b, 0xff, 0x81, 0xa0, 0xf4, 0xc0, 0x56, 0xf0, 0x9e, 0x99,
  941. 0xea, 0x85, 0xe6, 0x3c, 0x23, 0x32, 0x1e, 0x73, 0xa1, 0x49, 0xe3, 0xc7, 0x7f, 0xfe, 0xfd, 0xb5,
  942. 0xb0, 0x85, 0xc9, 0xc4, 0x97, 0xbf, 0x0b, 0x04, 0x38, 0x10, 0xd3, 0x06, 0x62, 0x35, 0x7e, 0xc0,
  943. 0x7f, 0xa2, 0x70, 0x66, 0x13, 0xde, 0x82, 0x3f, 0xc8, 0x60, 0x3a, 0xdf, 0x02, 0x8d, 0xf6, 0x53,
  944. 0xa0, 0xe1, 0xf8, 0x93, 0x9a, 0xa2, 0x5e, 0xc1, 0xeb, 0x13, 0xea, 0x09, 0xd2, 0xf8, 0x17, 0x04,
  945. 0xcf, 0xb4, 0xfb, 0xe0, 0x77, 0xb3, 0xf5, 0x8c, 0x0d, 0xa8, 0x91, 0x3d, 0x92, 0xa4, 0xa9, 0x08,
  946. 0xbc, 0x83, 0x1b, 0x99, 0xda, 0x59, 0xca, 0x1b, 0x02, 0x0d, 0xef, 0x11, 0x2c, 0x8f, 0xdd, 0x06,
  947. 0x5b, 0x39, 0xb6, 0x1f, 0xf7, 0x44, 0x63, 0x3b, 0x3f, 0x40, 0xab, 0xb4, 0xad, 0x48, 0x36, 0x70,
  948. 0x3d, 0xfb, 0x80, 0x43, 0x96, 0xf8, 0x6f, 0x04, 0xcf, 0xe3, 0x7e, 0x83, 0x9b, 0x79, 0x9a, 0x4e,
  949. 0xfb, 0x98, 0xd1, 0x7a, 0x14, 0x46, 0x73, 0xdd, 0x57, 0x5c, 0x77, 0x71, 0x2b, 0xbf, 0xa0, 0x56,
  950. 0xe4, 0x65, 0xf8, 0x77, 0x04, 0x30, 0x31, 0x33, 0x9c, 0xa5, 0xd4, 0x03, 0xdf, 0xcb, 0x73, 0xe2,
  951. 0xef, 0x2b, 0x82, 0x4d, 0x12, 0x3f, 0xf1, 0xd0, 0x1d, 0xe7, 0xca, 0xd9, 0x0e, 0x8d, 0xeb, 0x1e,
  952. 0x01, 0x4c, 0x5c, 0x30, 0x93, 0xdd, 0x03, 0xc3, 0xcc, 0xc3, 0xee, 0x40, 0xb1, 0xdb, 0x6b, 0x5a,
  953. 0x31, 0x76, 0x41, 0x73, 0x33, 0x43, 0x43, 0x4d, 0xf1, 0x2f, 0x04, 0x2f, 0xa6, 0xfc, 0x11, 0xb7,
  954. 0xf2, 0x69, 0x38, 0xe5, 0xa6, 0x46, 0x2e, 0xa3, 0x24, 0x27, 0x8a, 0xeb, 0x21, 0x79, 0xca, 0x51,
  955. 0xb7, 0x23, 0x97, 0xc5, 0xbf, 0x21, 0x78, 0x99, 0xb4, 0x59, 0xfc, 0x5e, 0xf6, 0x45, 0x9f, 0xe5,
  956. 0xcb, 0x46, 0x23, 0x95, 0xf8, 0x14, 0x84, 0x10, 0x45, 0x7f, 0x03, 0x1b, 0x63, 0xfa, 0x6d, 0x3b,
  957. 0x51, 0xf6, 0xe8, 0x7b, 0xa8, 0xf5, 0xb9, 0x9b, 0x4e, 0xe6, 0xa8, 0x14, 0x7f, 0x09, 0x4e, 0x83,
  958. 0xf7, 0xeb, 0xcb, 0x13, 0x8d, 0xb0, 0xf9, 0x80, 0x7a, 0xb6, 0xc9, 0x87, 0xb6, 0x65, 0x33, 0x4f,
  959. 0xbd, 0x6d, 0x56, 0xb8, 0x44, 0x7d, 0x47, 0xcc, 0xf9, 0x57, 0xbd, 0xaf, 0x03, 0x17, 0x8b, 0x0a,
  960. 0xd0, 0xfa, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xad, 0xe1, 0xf2, 0x57, 0x85, 0x0b, 0x00, 0x00,
  961. }