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.
 
 
 

2016 lines
87 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/api/servicemanagement/v1/servicemanager.proto
  3. package servicemanagement // import "google.golang.org/genproto/googleapis/api/servicemanagement/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import any "github.com/golang/protobuf/ptypes/any"
  8. import _ "github.com/golang/protobuf/ptypes/struct"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig"
  11. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  12. import _ "google.golang.org/genproto/googleapis/rpc/status"
  13. import _ "google.golang.org/genproto/protobuf/field_mask"
  14. import (
  15. context "golang.org/x/net/context"
  16. grpc "google.golang.org/grpc"
  17. )
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  27. type GetServiceConfigRequest_ConfigView int32
  28. const (
  29. // Server response includes all fields except SourceInfo.
  30. GetServiceConfigRequest_BASIC GetServiceConfigRequest_ConfigView = 0
  31. // Server response includes all fields including SourceInfo.
  32. // SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
  33. // and are only available for configs created using the
  34. // SubmitConfigSource method.
  35. GetServiceConfigRequest_FULL GetServiceConfigRequest_ConfigView = 1
  36. )
  37. var GetServiceConfigRequest_ConfigView_name = map[int32]string{
  38. 0: "BASIC",
  39. 1: "FULL",
  40. }
  41. var GetServiceConfigRequest_ConfigView_value = map[string]int32{
  42. "BASIC": 0,
  43. "FULL": 1,
  44. }
  45. func (x GetServiceConfigRequest_ConfigView) String() string {
  46. return proto.EnumName(GetServiceConfigRequest_ConfigView_name, int32(x))
  47. }
  48. func (GetServiceConfigRequest_ConfigView) EnumDescriptor() ([]byte, []int) {
  49. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{7, 0}
  50. }
  51. // Request message for `ListServices` method.
  52. type ListServicesRequest struct {
  53. // Include services produced by the specified project.
  54. ProducerProjectId string `protobuf:"bytes,1,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"`
  55. // Requested size of the next page of data.
  56. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  57. // Token identifying which result to start with; returned by a previous list
  58. // call.
  59. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  60. // Include services consumed by the specified consumer.
  61. //
  62. // The Google Service Management implementation accepts the following
  63. // forms:
  64. // - project:<project_id>
  65. ConsumerId string `protobuf:"bytes,7,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
  66. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  67. XXX_unrecognized []byte `json:"-"`
  68. XXX_sizecache int32 `json:"-"`
  69. }
  70. func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} }
  71. func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) }
  72. func (*ListServicesRequest) ProtoMessage() {}
  73. func (*ListServicesRequest) Descriptor() ([]byte, []int) {
  74. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{0}
  75. }
  76. func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error {
  77. return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b)
  78. }
  79. func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  80. return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic)
  81. }
  82. func (dst *ListServicesRequest) XXX_Merge(src proto.Message) {
  83. xxx_messageInfo_ListServicesRequest.Merge(dst, src)
  84. }
  85. func (m *ListServicesRequest) XXX_Size() int {
  86. return xxx_messageInfo_ListServicesRequest.Size(m)
  87. }
  88. func (m *ListServicesRequest) XXX_DiscardUnknown() {
  89. xxx_messageInfo_ListServicesRequest.DiscardUnknown(m)
  90. }
  91. var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo
  92. func (m *ListServicesRequest) GetProducerProjectId() string {
  93. if m != nil {
  94. return m.ProducerProjectId
  95. }
  96. return ""
  97. }
  98. func (m *ListServicesRequest) GetPageSize() int32 {
  99. if m != nil {
  100. return m.PageSize
  101. }
  102. return 0
  103. }
  104. func (m *ListServicesRequest) GetPageToken() string {
  105. if m != nil {
  106. return m.PageToken
  107. }
  108. return ""
  109. }
  110. func (m *ListServicesRequest) GetConsumerId() string {
  111. if m != nil {
  112. return m.ConsumerId
  113. }
  114. return ""
  115. }
  116. // Response message for `ListServices` method.
  117. type ListServicesResponse struct {
  118. // The returned services will only have the name field set.
  119. Services []*ManagedService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
  120. // Token that can be passed to `ListServices` to resume a paginated query.
  121. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  122. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  123. XXX_unrecognized []byte `json:"-"`
  124. XXX_sizecache int32 `json:"-"`
  125. }
  126. func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} }
  127. func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) }
  128. func (*ListServicesResponse) ProtoMessage() {}
  129. func (*ListServicesResponse) Descriptor() ([]byte, []int) {
  130. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{1}
  131. }
  132. func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error {
  133. return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b)
  134. }
  135. func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  136. return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic)
  137. }
  138. func (dst *ListServicesResponse) XXX_Merge(src proto.Message) {
  139. xxx_messageInfo_ListServicesResponse.Merge(dst, src)
  140. }
  141. func (m *ListServicesResponse) XXX_Size() int {
  142. return xxx_messageInfo_ListServicesResponse.Size(m)
  143. }
  144. func (m *ListServicesResponse) XXX_DiscardUnknown() {
  145. xxx_messageInfo_ListServicesResponse.DiscardUnknown(m)
  146. }
  147. var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo
  148. func (m *ListServicesResponse) GetServices() []*ManagedService {
  149. if m != nil {
  150. return m.Services
  151. }
  152. return nil
  153. }
  154. func (m *ListServicesResponse) GetNextPageToken() string {
  155. if m != nil {
  156. return m.NextPageToken
  157. }
  158. return ""
  159. }
  160. // Request message for `GetService` method.
  161. type GetServiceRequest struct {
  162. // The name of the service. See the `ServiceManager` overview for naming
  163. // requirements. For example: `example.googleapis.com`.
  164. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  165. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  166. XXX_unrecognized []byte `json:"-"`
  167. XXX_sizecache int32 `json:"-"`
  168. }
  169. func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} }
  170. func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) }
  171. func (*GetServiceRequest) ProtoMessage() {}
  172. func (*GetServiceRequest) Descriptor() ([]byte, []int) {
  173. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{2}
  174. }
  175. func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error {
  176. return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b)
  177. }
  178. func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  179. return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic)
  180. }
  181. func (dst *GetServiceRequest) XXX_Merge(src proto.Message) {
  182. xxx_messageInfo_GetServiceRequest.Merge(dst, src)
  183. }
  184. func (m *GetServiceRequest) XXX_Size() int {
  185. return xxx_messageInfo_GetServiceRequest.Size(m)
  186. }
  187. func (m *GetServiceRequest) XXX_DiscardUnknown() {
  188. xxx_messageInfo_GetServiceRequest.DiscardUnknown(m)
  189. }
  190. var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo
  191. func (m *GetServiceRequest) GetServiceName() string {
  192. if m != nil {
  193. return m.ServiceName
  194. }
  195. return ""
  196. }
  197. // Request message for CreateService method.
  198. type CreateServiceRequest struct {
  199. // Initial values for the service resource.
  200. Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
  201. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  202. XXX_unrecognized []byte `json:"-"`
  203. XXX_sizecache int32 `json:"-"`
  204. }
  205. func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} }
  206. func (m *CreateServiceRequest) String() string { return proto.CompactTextString(m) }
  207. func (*CreateServiceRequest) ProtoMessage() {}
  208. func (*CreateServiceRequest) Descriptor() ([]byte, []int) {
  209. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{3}
  210. }
  211. func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error {
  212. return xxx_messageInfo_CreateServiceRequest.Unmarshal(m, b)
  213. }
  214. func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  215. return xxx_messageInfo_CreateServiceRequest.Marshal(b, m, deterministic)
  216. }
  217. func (dst *CreateServiceRequest) XXX_Merge(src proto.Message) {
  218. xxx_messageInfo_CreateServiceRequest.Merge(dst, src)
  219. }
  220. func (m *CreateServiceRequest) XXX_Size() int {
  221. return xxx_messageInfo_CreateServiceRequest.Size(m)
  222. }
  223. func (m *CreateServiceRequest) XXX_DiscardUnknown() {
  224. xxx_messageInfo_CreateServiceRequest.DiscardUnknown(m)
  225. }
  226. var xxx_messageInfo_CreateServiceRequest proto.InternalMessageInfo
  227. func (m *CreateServiceRequest) GetService() *ManagedService {
  228. if m != nil {
  229. return m.Service
  230. }
  231. return nil
  232. }
  233. // Request message for DeleteService method.
  234. type DeleteServiceRequest struct {
  235. // The name of the service. See the [overview](/service-management/overview)
  236. // for naming requirements. For example: `example.googleapis.com`.
  237. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  238. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  239. XXX_unrecognized []byte `json:"-"`
  240. XXX_sizecache int32 `json:"-"`
  241. }
  242. func (m *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} }
  243. func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) }
  244. func (*DeleteServiceRequest) ProtoMessage() {}
  245. func (*DeleteServiceRequest) Descriptor() ([]byte, []int) {
  246. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{4}
  247. }
  248. func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error {
  249. return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b)
  250. }
  251. func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  252. return xxx_messageInfo_DeleteServiceRequest.Marshal(b, m, deterministic)
  253. }
  254. func (dst *DeleteServiceRequest) XXX_Merge(src proto.Message) {
  255. xxx_messageInfo_DeleteServiceRequest.Merge(dst, src)
  256. }
  257. func (m *DeleteServiceRequest) XXX_Size() int {
  258. return xxx_messageInfo_DeleteServiceRequest.Size(m)
  259. }
  260. func (m *DeleteServiceRequest) XXX_DiscardUnknown() {
  261. xxx_messageInfo_DeleteServiceRequest.DiscardUnknown(m)
  262. }
  263. var xxx_messageInfo_DeleteServiceRequest proto.InternalMessageInfo
  264. func (m *DeleteServiceRequest) GetServiceName() string {
  265. if m != nil {
  266. return m.ServiceName
  267. }
  268. return ""
  269. }
  270. // Request message for UndeleteService method.
  271. type UndeleteServiceRequest struct {
  272. // The name of the service. See the [overview](/service-management/overview)
  273. // for naming requirements. For example: `example.googleapis.com`.
  274. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  275. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  276. XXX_unrecognized []byte `json:"-"`
  277. XXX_sizecache int32 `json:"-"`
  278. }
  279. func (m *UndeleteServiceRequest) Reset() { *m = UndeleteServiceRequest{} }
  280. func (m *UndeleteServiceRequest) String() string { return proto.CompactTextString(m) }
  281. func (*UndeleteServiceRequest) ProtoMessage() {}
  282. func (*UndeleteServiceRequest) Descriptor() ([]byte, []int) {
  283. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{5}
  284. }
  285. func (m *UndeleteServiceRequest) XXX_Unmarshal(b []byte) error {
  286. return xxx_messageInfo_UndeleteServiceRequest.Unmarshal(m, b)
  287. }
  288. func (m *UndeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  289. return xxx_messageInfo_UndeleteServiceRequest.Marshal(b, m, deterministic)
  290. }
  291. func (dst *UndeleteServiceRequest) XXX_Merge(src proto.Message) {
  292. xxx_messageInfo_UndeleteServiceRequest.Merge(dst, src)
  293. }
  294. func (m *UndeleteServiceRequest) XXX_Size() int {
  295. return xxx_messageInfo_UndeleteServiceRequest.Size(m)
  296. }
  297. func (m *UndeleteServiceRequest) XXX_DiscardUnknown() {
  298. xxx_messageInfo_UndeleteServiceRequest.DiscardUnknown(m)
  299. }
  300. var xxx_messageInfo_UndeleteServiceRequest proto.InternalMessageInfo
  301. func (m *UndeleteServiceRequest) GetServiceName() string {
  302. if m != nil {
  303. return m.ServiceName
  304. }
  305. return ""
  306. }
  307. // Response message for UndeleteService method.
  308. type UndeleteServiceResponse struct {
  309. // Revived service resource.
  310. Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
  311. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  312. XXX_unrecognized []byte `json:"-"`
  313. XXX_sizecache int32 `json:"-"`
  314. }
  315. func (m *UndeleteServiceResponse) Reset() { *m = UndeleteServiceResponse{} }
  316. func (m *UndeleteServiceResponse) String() string { return proto.CompactTextString(m) }
  317. func (*UndeleteServiceResponse) ProtoMessage() {}
  318. func (*UndeleteServiceResponse) Descriptor() ([]byte, []int) {
  319. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{6}
  320. }
  321. func (m *UndeleteServiceResponse) XXX_Unmarshal(b []byte) error {
  322. return xxx_messageInfo_UndeleteServiceResponse.Unmarshal(m, b)
  323. }
  324. func (m *UndeleteServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  325. return xxx_messageInfo_UndeleteServiceResponse.Marshal(b, m, deterministic)
  326. }
  327. func (dst *UndeleteServiceResponse) XXX_Merge(src proto.Message) {
  328. xxx_messageInfo_UndeleteServiceResponse.Merge(dst, src)
  329. }
  330. func (m *UndeleteServiceResponse) XXX_Size() int {
  331. return xxx_messageInfo_UndeleteServiceResponse.Size(m)
  332. }
  333. func (m *UndeleteServiceResponse) XXX_DiscardUnknown() {
  334. xxx_messageInfo_UndeleteServiceResponse.DiscardUnknown(m)
  335. }
  336. var xxx_messageInfo_UndeleteServiceResponse proto.InternalMessageInfo
  337. func (m *UndeleteServiceResponse) GetService() *ManagedService {
  338. if m != nil {
  339. return m.Service
  340. }
  341. return nil
  342. }
  343. // Request message for GetServiceConfig method.
  344. type GetServiceConfigRequest struct {
  345. // The name of the service. See the [overview](/service-management/overview)
  346. // for naming requirements. For example: `example.googleapis.com`.
  347. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  348. // The id of the service configuration resource.
  349. ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
  350. // Specifies which parts of the Service Config should be returned in the
  351. // response.
  352. View GetServiceConfigRequest_ConfigView `protobuf:"varint,3,opt,name=view,proto3,enum=google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView" json:"view,omitempty"`
  353. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  354. XXX_unrecognized []byte `json:"-"`
  355. XXX_sizecache int32 `json:"-"`
  356. }
  357. func (m *GetServiceConfigRequest) Reset() { *m = GetServiceConfigRequest{} }
  358. func (m *GetServiceConfigRequest) String() string { return proto.CompactTextString(m) }
  359. func (*GetServiceConfigRequest) ProtoMessage() {}
  360. func (*GetServiceConfigRequest) Descriptor() ([]byte, []int) {
  361. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{7}
  362. }
  363. func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error {
  364. return xxx_messageInfo_GetServiceConfigRequest.Unmarshal(m, b)
  365. }
  366. func (m *GetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  367. return xxx_messageInfo_GetServiceConfigRequest.Marshal(b, m, deterministic)
  368. }
  369. func (dst *GetServiceConfigRequest) XXX_Merge(src proto.Message) {
  370. xxx_messageInfo_GetServiceConfigRequest.Merge(dst, src)
  371. }
  372. func (m *GetServiceConfigRequest) XXX_Size() int {
  373. return xxx_messageInfo_GetServiceConfigRequest.Size(m)
  374. }
  375. func (m *GetServiceConfigRequest) XXX_DiscardUnknown() {
  376. xxx_messageInfo_GetServiceConfigRequest.DiscardUnknown(m)
  377. }
  378. var xxx_messageInfo_GetServiceConfigRequest proto.InternalMessageInfo
  379. func (m *GetServiceConfigRequest) GetServiceName() string {
  380. if m != nil {
  381. return m.ServiceName
  382. }
  383. return ""
  384. }
  385. func (m *GetServiceConfigRequest) GetConfigId() string {
  386. if m != nil {
  387. return m.ConfigId
  388. }
  389. return ""
  390. }
  391. func (m *GetServiceConfigRequest) GetView() GetServiceConfigRequest_ConfigView {
  392. if m != nil {
  393. return m.View
  394. }
  395. return GetServiceConfigRequest_BASIC
  396. }
  397. // Request message for ListServiceConfigs method.
  398. type ListServiceConfigsRequest struct {
  399. // The name of the service. See the [overview](/service-management/overview)
  400. // for naming requirements. For example: `example.googleapis.com`.
  401. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  402. // The token of the page to retrieve.
  403. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  404. // The max number of items to include in the response list.
  405. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  406. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  407. XXX_unrecognized []byte `json:"-"`
  408. XXX_sizecache int32 `json:"-"`
  409. }
  410. func (m *ListServiceConfigsRequest) Reset() { *m = ListServiceConfigsRequest{} }
  411. func (m *ListServiceConfigsRequest) String() string { return proto.CompactTextString(m) }
  412. func (*ListServiceConfigsRequest) ProtoMessage() {}
  413. func (*ListServiceConfigsRequest) Descriptor() ([]byte, []int) {
  414. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{8}
  415. }
  416. func (m *ListServiceConfigsRequest) XXX_Unmarshal(b []byte) error {
  417. return xxx_messageInfo_ListServiceConfigsRequest.Unmarshal(m, b)
  418. }
  419. func (m *ListServiceConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  420. return xxx_messageInfo_ListServiceConfigsRequest.Marshal(b, m, deterministic)
  421. }
  422. func (dst *ListServiceConfigsRequest) XXX_Merge(src proto.Message) {
  423. xxx_messageInfo_ListServiceConfigsRequest.Merge(dst, src)
  424. }
  425. func (m *ListServiceConfigsRequest) XXX_Size() int {
  426. return xxx_messageInfo_ListServiceConfigsRequest.Size(m)
  427. }
  428. func (m *ListServiceConfigsRequest) XXX_DiscardUnknown() {
  429. xxx_messageInfo_ListServiceConfigsRequest.DiscardUnknown(m)
  430. }
  431. var xxx_messageInfo_ListServiceConfigsRequest proto.InternalMessageInfo
  432. func (m *ListServiceConfigsRequest) GetServiceName() string {
  433. if m != nil {
  434. return m.ServiceName
  435. }
  436. return ""
  437. }
  438. func (m *ListServiceConfigsRequest) GetPageToken() string {
  439. if m != nil {
  440. return m.PageToken
  441. }
  442. return ""
  443. }
  444. func (m *ListServiceConfigsRequest) GetPageSize() int32 {
  445. if m != nil {
  446. return m.PageSize
  447. }
  448. return 0
  449. }
  450. // Response message for ListServiceConfigs method.
  451. type ListServiceConfigsResponse struct {
  452. // The list of service configuration resources.
  453. ServiceConfigs []*serviceconfig.Service `protobuf:"bytes,1,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"`
  454. // The token of the next page of results.
  455. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  456. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  457. XXX_unrecognized []byte `json:"-"`
  458. XXX_sizecache int32 `json:"-"`
  459. }
  460. func (m *ListServiceConfigsResponse) Reset() { *m = ListServiceConfigsResponse{} }
  461. func (m *ListServiceConfigsResponse) String() string { return proto.CompactTextString(m) }
  462. func (*ListServiceConfigsResponse) ProtoMessage() {}
  463. func (*ListServiceConfigsResponse) Descriptor() ([]byte, []int) {
  464. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{9}
  465. }
  466. func (m *ListServiceConfigsResponse) XXX_Unmarshal(b []byte) error {
  467. return xxx_messageInfo_ListServiceConfigsResponse.Unmarshal(m, b)
  468. }
  469. func (m *ListServiceConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  470. return xxx_messageInfo_ListServiceConfigsResponse.Marshal(b, m, deterministic)
  471. }
  472. func (dst *ListServiceConfigsResponse) XXX_Merge(src proto.Message) {
  473. xxx_messageInfo_ListServiceConfigsResponse.Merge(dst, src)
  474. }
  475. func (m *ListServiceConfigsResponse) XXX_Size() int {
  476. return xxx_messageInfo_ListServiceConfigsResponse.Size(m)
  477. }
  478. func (m *ListServiceConfigsResponse) XXX_DiscardUnknown() {
  479. xxx_messageInfo_ListServiceConfigsResponse.DiscardUnknown(m)
  480. }
  481. var xxx_messageInfo_ListServiceConfigsResponse proto.InternalMessageInfo
  482. func (m *ListServiceConfigsResponse) GetServiceConfigs() []*serviceconfig.Service {
  483. if m != nil {
  484. return m.ServiceConfigs
  485. }
  486. return nil
  487. }
  488. func (m *ListServiceConfigsResponse) GetNextPageToken() string {
  489. if m != nil {
  490. return m.NextPageToken
  491. }
  492. return ""
  493. }
  494. // Request message for CreateServiceConfig method.
  495. type CreateServiceConfigRequest struct {
  496. // The name of the service. See the [overview](/service-management/overview)
  497. // for naming requirements. For example: `example.googleapis.com`.
  498. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  499. // The service configuration resource.
  500. ServiceConfig *serviceconfig.Service `protobuf:"bytes,2,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
  501. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  502. XXX_unrecognized []byte `json:"-"`
  503. XXX_sizecache int32 `json:"-"`
  504. }
  505. func (m *CreateServiceConfigRequest) Reset() { *m = CreateServiceConfigRequest{} }
  506. func (m *CreateServiceConfigRequest) String() string { return proto.CompactTextString(m) }
  507. func (*CreateServiceConfigRequest) ProtoMessage() {}
  508. func (*CreateServiceConfigRequest) Descriptor() ([]byte, []int) {
  509. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{10}
  510. }
  511. func (m *CreateServiceConfigRequest) XXX_Unmarshal(b []byte) error {
  512. return xxx_messageInfo_CreateServiceConfigRequest.Unmarshal(m, b)
  513. }
  514. func (m *CreateServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  515. return xxx_messageInfo_CreateServiceConfigRequest.Marshal(b, m, deterministic)
  516. }
  517. func (dst *CreateServiceConfigRequest) XXX_Merge(src proto.Message) {
  518. xxx_messageInfo_CreateServiceConfigRequest.Merge(dst, src)
  519. }
  520. func (m *CreateServiceConfigRequest) XXX_Size() int {
  521. return xxx_messageInfo_CreateServiceConfigRequest.Size(m)
  522. }
  523. func (m *CreateServiceConfigRequest) XXX_DiscardUnknown() {
  524. xxx_messageInfo_CreateServiceConfigRequest.DiscardUnknown(m)
  525. }
  526. var xxx_messageInfo_CreateServiceConfigRequest proto.InternalMessageInfo
  527. func (m *CreateServiceConfigRequest) GetServiceName() string {
  528. if m != nil {
  529. return m.ServiceName
  530. }
  531. return ""
  532. }
  533. func (m *CreateServiceConfigRequest) GetServiceConfig() *serviceconfig.Service {
  534. if m != nil {
  535. return m.ServiceConfig
  536. }
  537. return nil
  538. }
  539. // Request message for SubmitConfigSource method.
  540. type SubmitConfigSourceRequest struct {
  541. // The name of the service. See the [overview](/service-management/overview)
  542. // for naming requirements. For example: `example.googleapis.com`.
  543. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  544. // The source configuration for the service.
  545. ConfigSource *ConfigSource `protobuf:"bytes,2,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
  546. // Optional. If set, this will result in the generation of a
  547. // `google.api.Service` configuration based on the `ConfigSource` provided,
  548. // but the generated config and the sources will NOT be persisted.
  549. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
  550. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  551. XXX_unrecognized []byte `json:"-"`
  552. XXX_sizecache int32 `json:"-"`
  553. }
  554. func (m *SubmitConfigSourceRequest) Reset() { *m = SubmitConfigSourceRequest{} }
  555. func (m *SubmitConfigSourceRequest) String() string { return proto.CompactTextString(m) }
  556. func (*SubmitConfigSourceRequest) ProtoMessage() {}
  557. func (*SubmitConfigSourceRequest) Descriptor() ([]byte, []int) {
  558. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{11}
  559. }
  560. func (m *SubmitConfigSourceRequest) XXX_Unmarshal(b []byte) error {
  561. return xxx_messageInfo_SubmitConfigSourceRequest.Unmarshal(m, b)
  562. }
  563. func (m *SubmitConfigSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  564. return xxx_messageInfo_SubmitConfigSourceRequest.Marshal(b, m, deterministic)
  565. }
  566. func (dst *SubmitConfigSourceRequest) XXX_Merge(src proto.Message) {
  567. xxx_messageInfo_SubmitConfigSourceRequest.Merge(dst, src)
  568. }
  569. func (m *SubmitConfigSourceRequest) XXX_Size() int {
  570. return xxx_messageInfo_SubmitConfigSourceRequest.Size(m)
  571. }
  572. func (m *SubmitConfigSourceRequest) XXX_DiscardUnknown() {
  573. xxx_messageInfo_SubmitConfigSourceRequest.DiscardUnknown(m)
  574. }
  575. var xxx_messageInfo_SubmitConfigSourceRequest proto.InternalMessageInfo
  576. func (m *SubmitConfigSourceRequest) GetServiceName() string {
  577. if m != nil {
  578. return m.ServiceName
  579. }
  580. return ""
  581. }
  582. func (m *SubmitConfigSourceRequest) GetConfigSource() *ConfigSource {
  583. if m != nil {
  584. return m.ConfigSource
  585. }
  586. return nil
  587. }
  588. func (m *SubmitConfigSourceRequest) GetValidateOnly() bool {
  589. if m != nil {
  590. return m.ValidateOnly
  591. }
  592. return false
  593. }
  594. // Response message for SubmitConfigSource method.
  595. type SubmitConfigSourceResponse struct {
  596. // The generated service configuration.
  597. ServiceConfig *serviceconfig.Service `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
  598. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  599. XXX_unrecognized []byte `json:"-"`
  600. XXX_sizecache int32 `json:"-"`
  601. }
  602. func (m *SubmitConfigSourceResponse) Reset() { *m = SubmitConfigSourceResponse{} }
  603. func (m *SubmitConfigSourceResponse) String() string { return proto.CompactTextString(m) }
  604. func (*SubmitConfigSourceResponse) ProtoMessage() {}
  605. func (*SubmitConfigSourceResponse) Descriptor() ([]byte, []int) {
  606. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{12}
  607. }
  608. func (m *SubmitConfigSourceResponse) XXX_Unmarshal(b []byte) error {
  609. return xxx_messageInfo_SubmitConfigSourceResponse.Unmarshal(m, b)
  610. }
  611. func (m *SubmitConfigSourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  612. return xxx_messageInfo_SubmitConfigSourceResponse.Marshal(b, m, deterministic)
  613. }
  614. func (dst *SubmitConfigSourceResponse) XXX_Merge(src proto.Message) {
  615. xxx_messageInfo_SubmitConfigSourceResponse.Merge(dst, src)
  616. }
  617. func (m *SubmitConfigSourceResponse) XXX_Size() int {
  618. return xxx_messageInfo_SubmitConfigSourceResponse.Size(m)
  619. }
  620. func (m *SubmitConfigSourceResponse) XXX_DiscardUnknown() {
  621. xxx_messageInfo_SubmitConfigSourceResponse.DiscardUnknown(m)
  622. }
  623. var xxx_messageInfo_SubmitConfigSourceResponse proto.InternalMessageInfo
  624. func (m *SubmitConfigSourceResponse) GetServiceConfig() *serviceconfig.Service {
  625. if m != nil {
  626. return m.ServiceConfig
  627. }
  628. return nil
  629. }
  630. // Request message for 'CreateServiceRollout'
  631. type CreateServiceRolloutRequest struct {
  632. // The name of the service. See the [overview](/service-management/overview)
  633. // for naming requirements. For example: `example.googleapis.com`.
  634. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  635. // The rollout resource. The `service_name` field is output only.
  636. Rollout *Rollout `protobuf:"bytes,2,opt,name=rollout,proto3" json:"rollout,omitempty"`
  637. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  638. XXX_unrecognized []byte `json:"-"`
  639. XXX_sizecache int32 `json:"-"`
  640. }
  641. func (m *CreateServiceRolloutRequest) Reset() { *m = CreateServiceRolloutRequest{} }
  642. func (m *CreateServiceRolloutRequest) String() string { return proto.CompactTextString(m) }
  643. func (*CreateServiceRolloutRequest) ProtoMessage() {}
  644. func (*CreateServiceRolloutRequest) Descriptor() ([]byte, []int) {
  645. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{13}
  646. }
  647. func (m *CreateServiceRolloutRequest) XXX_Unmarshal(b []byte) error {
  648. return xxx_messageInfo_CreateServiceRolloutRequest.Unmarshal(m, b)
  649. }
  650. func (m *CreateServiceRolloutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  651. return xxx_messageInfo_CreateServiceRolloutRequest.Marshal(b, m, deterministic)
  652. }
  653. func (dst *CreateServiceRolloutRequest) XXX_Merge(src proto.Message) {
  654. xxx_messageInfo_CreateServiceRolloutRequest.Merge(dst, src)
  655. }
  656. func (m *CreateServiceRolloutRequest) XXX_Size() int {
  657. return xxx_messageInfo_CreateServiceRolloutRequest.Size(m)
  658. }
  659. func (m *CreateServiceRolloutRequest) XXX_DiscardUnknown() {
  660. xxx_messageInfo_CreateServiceRolloutRequest.DiscardUnknown(m)
  661. }
  662. var xxx_messageInfo_CreateServiceRolloutRequest proto.InternalMessageInfo
  663. func (m *CreateServiceRolloutRequest) GetServiceName() string {
  664. if m != nil {
  665. return m.ServiceName
  666. }
  667. return ""
  668. }
  669. func (m *CreateServiceRolloutRequest) GetRollout() *Rollout {
  670. if m != nil {
  671. return m.Rollout
  672. }
  673. return nil
  674. }
  675. // Request message for 'ListServiceRollouts'
  676. type ListServiceRolloutsRequest struct {
  677. // The name of the service. See the [overview](/service-management/overview)
  678. // for naming requirements. For example: `example.googleapis.com`.
  679. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  680. // The token of the page to retrieve.
  681. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  682. // The max number of items to include in the response list.
  683. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  684. // Use `filter` to return subset of rollouts.
  685. // The following filters are supported:
  686. // -- To limit the results to only those in
  687. // [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
  688. // use filter='status=SUCCESS'
  689. // -- To limit the results to those in
  690. // [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
  691. // or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
  692. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
  693. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  694. XXX_unrecognized []byte `json:"-"`
  695. XXX_sizecache int32 `json:"-"`
  696. }
  697. func (m *ListServiceRolloutsRequest) Reset() { *m = ListServiceRolloutsRequest{} }
  698. func (m *ListServiceRolloutsRequest) String() string { return proto.CompactTextString(m) }
  699. func (*ListServiceRolloutsRequest) ProtoMessage() {}
  700. func (*ListServiceRolloutsRequest) Descriptor() ([]byte, []int) {
  701. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{14}
  702. }
  703. func (m *ListServiceRolloutsRequest) XXX_Unmarshal(b []byte) error {
  704. return xxx_messageInfo_ListServiceRolloutsRequest.Unmarshal(m, b)
  705. }
  706. func (m *ListServiceRolloutsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  707. return xxx_messageInfo_ListServiceRolloutsRequest.Marshal(b, m, deterministic)
  708. }
  709. func (dst *ListServiceRolloutsRequest) XXX_Merge(src proto.Message) {
  710. xxx_messageInfo_ListServiceRolloutsRequest.Merge(dst, src)
  711. }
  712. func (m *ListServiceRolloutsRequest) XXX_Size() int {
  713. return xxx_messageInfo_ListServiceRolloutsRequest.Size(m)
  714. }
  715. func (m *ListServiceRolloutsRequest) XXX_DiscardUnknown() {
  716. xxx_messageInfo_ListServiceRolloutsRequest.DiscardUnknown(m)
  717. }
  718. var xxx_messageInfo_ListServiceRolloutsRequest proto.InternalMessageInfo
  719. func (m *ListServiceRolloutsRequest) GetServiceName() string {
  720. if m != nil {
  721. return m.ServiceName
  722. }
  723. return ""
  724. }
  725. func (m *ListServiceRolloutsRequest) GetPageToken() string {
  726. if m != nil {
  727. return m.PageToken
  728. }
  729. return ""
  730. }
  731. func (m *ListServiceRolloutsRequest) GetPageSize() int32 {
  732. if m != nil {
  733. return m.PageSize
  734. }
  735. return 0
  736. }
  737. func (m *ListServiceRolloutsRequest) GetFilter() string {
  738. if m != nil {
  739. return m.Filter
  740. }
  741. return ""
  742. }
  743. // Response message for ListServiceRollouts method.
  744. type ListServiceRolloutsResponse struct {
  745. // The list of rollout resources.
  746. Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
  747. // The token of the next page of results.
  748. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  749. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  750. XXX_unrecognized []byte `json:"-"`
  751. XXX_sizecache int32 `json:"-"`
  752. }
  753. func (m *ListServiceRolloutsResponse) Reset() { *m = ListServiceRolloutsResponse{} }
  754. func (m *ListServiceRolloutsResponse) String() string { return proto.CompactTextString(m) }
  755. func (*ListServiceRolloutsResponse) ProtoMessage() {}
  756. func (*ListServiceRolloutsResponse) Descriptor() ([]byte, []int) {
  757. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{15}
  758. }
  759. func (m *ListServiceRolloutsResponse) XXX_Unmarshal(b []byte) error {
  760. return xxx_messageInfo_ListServiceRolloutsResponse.Unmarshal(m, b)
  761. }
  762. func (m *ListServiceRolloutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  763. return xxx_messageInfo_ListServiceRolloutsResponse.Marshal(b, m, deterministic)
  764. }
  765. func (dst *ListServiceRolloutsResponse) XXX_Merge(src proto.Message) {
  766. xxx_messageInfo_ListServiceRolloutsResponse.Merge(dst, src)
  767. }
  768. func (m *ListServiceRolloutsResponse) XXX_Size() int {
  769. return xxx_messageInfo_ListServiceRolloutsResponse.Size(m)
  770. }
  771. func (m *ListServiceRolloutsResponse) XXX_DiscardUnknown() {
  772. xxx_messageInfo_ListServiceRolloutsResponse.DiscardUnknown(m)
  773. }
  774. var xxx_messageInfo_ListServiceRolloutsResponse proto.InternalMessageInfo
  775. func (m *ListServiceRolloutsResponse) GetRollouts() []*Rollout {
  776. if m != nil {
  777. return m.Rollouts
  778. }
  779. return nil
  780. }
  781. func (m *ListServiceRolloutsResponse) GetNextPageToken() string {
  782. if m != nil {
  783. return m.NextPageToken
  784. }
  785. return ""
  786. }
  787. // Request message for GetServiceRollout method.
  788. type GetServiceRolloutRequest struct {
  789. // The name of the service. See the [overview](/service-management/overview)
  790. // for naming requirements. For example: `example.googleapis.com`.
  791. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  792. // The id of the rollout resource.
  793. RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
  794. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  795. XXX_unrecognized []byte `json:"-"`
  796. XXX_sizecache int32 `json:"-"`
  797. }
  798. func (m *GetServiceRolloutRequest) Reset() { *m = GetServiceRolloutRequest{} }
  799. func (m *GetServiceRolloutRequest) String() string { return proto.CompactTextString(m) }
  800. func (*GetServiceRolloutRequest) ProtoMessage() {}
  801. func (*GetServiceRolloutRequest) Descriptor() ([]byte, []int) {
  802. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{16}
  803. }
  804. func (m *GetServiceRolloutRequest) XXX_Unmarshal(b []byte) error {
  805. return xxx_messageInfo_GetServiceRolloutRequest.Unmarshal(m, b)
  806. }
  807. func (m *GetServiceRolloutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  808. return xxx_messageInfo_GetServiceRolloutRequest.Marshal(b, m, deterministic)
  809. }
  810. func (dst *GetServiceRolloutRequest) XXX_Merge(src proto.Message) {
  811. xxx_messageInfo_GetServiceRolloutRequest.Merge(dst, src)
  812. }
  813. func (m *GetServiceRolloutRequest) XXX_Size() int {
  814. return xxx_messageInfo_GetServiceRolloutRequest.Size(m)
  815. }
  816. func (m *GetServiceRolloutRequest) XXX_DiscardUnknown() {
  817. xxx_messageInfo_GetServiceRolloutRequest.DiscardUnknown(m)
  818. }
  819. var xxx_messageInfo_GetServiceRolloutRequest proto.InternalMessageInfo
  820. func (m *GetServiceRolloutRequest) GetServiceName() string {
  821. if m != nil {
  822. return m.ServiceName
  823. }
  824. return ""
  825. }
  826. func (m *GetServiceRolloutRequest) GetRolloutId() string {
  827. if m != nil {
  828. return m.RolloutId
  829. }
  830. return ""
  831. }
  832. // Request message for EnableService method.
  833. type EnableServiceRequest struct {
  834. // Name of the service to enable. Specifying an unknown service name will
  835. // cause the request to fail.
  836. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  837. // The identity of consumer resource which service enablement will be
  838. // applied to.
  839. //
  840. // The Google Service Management implementation accepts the following
  841. // forms:
  842. // - "project:<project_id>"
  843. //
  844. // Note: this is made compatible with
  845. // google.api.servicecontrol.v1.Operation.consumer_id.
  846. ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
  847. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  848. XXX_unrecognized []byte `json:"-"`
  849. XXX_sizecache int32 `json:"-"`
  850. }
  851. func (m *EnableServiceRequest) Reset() { *m = EnableServiceRequest{} }
  852. func (m *EnableServiceRequest) String() string { return proto.CompactTextString(m) }
  853. func (*EnableServiceRequest) ProtoMessage() {}
  854. func (*EnableServiceRequest) Descriptor() ([]byte, []int) {
  855. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{17}
  856. }
  857. func (m *EnableServiceRequest) XXX_Unmarshal(b []byte) error {
  858. return xxx_messageInfo_EnableServiceRequest.Unmarshal(m, b)
  859. }
  860. func (m *EnableServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  861. return xxx_messageInfo_EnableServiceRequest.Marshal(b, m, deterministic)
  862. }
  863. func (dst *EnableServiceRequest) XXX_Merge(src proto.Message) {
  864. xxx_messageInfo_EnableServiceRequest.Merge(dst, src)
  865. }
  866. func (m *EnableServiceRequest) XXX_Size() int {
  867. return xxx_messageInfo_EnableServiceRequest.Size(m)
  868. }
  869. func (m *EnableServiceRequest) XXX_DiscardUnknown() {
  870. xxx_messageInfo_EnableServiceRequest.DiscardUnknown(m)
  871. }
  872. var xxx_messageInfo_EnableServiceRequest proto.InternalMessageInfo
  873. func (m *EnableServiceRequest) GetServiceName() string {
  874. if m != nil {
  875. return m.ServiceName
  876. }
  877. return ""
  878. }
  879. func (m *EnableServiceRequest) GetConsumerId() string {
  880. if m != nil {
  881. return m.ConsumerId
  882. }
  883. return ""
  884. }
  885. // Request message for DisableService method.
  886. type DisableServiceRequest struct {
  887. // Name of the service to disable. Specifying an unknown service name
  888. // will cause the request to fail.
  889. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  890. // The identity of consumer resource which service disablement will be
  891. // applied to.
  892. //
  893. // The Google Service Management implementation accepts the following
  894. // forms:
  895. // - "project:<project_id>"
  896. //
  897. // Note: this is made compatible with
  898. // google.api.servicecontrol.v1.Operation.consumer_id.
  899. ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
  900. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  901. XXX_unrecognized []byte `json:"-"`
  902. XXX_sizecache int32 `json:"-"`
  903. }
  904. func (m *DisableServiceRequest) Reset() { *m = DisableServiceRequest{} }
  905. func (m *DisableServiceRequest) String() string { return proto.CompactTextString(m) }
  906. func (*DisableServiceRequest) ProtoMessage() {}
  907. func (*DisableServiceRequest) Descriptor() ([]byte, []int) {
  908. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{18}
  909. }
  910. func (m *DisableServiceRequest) XXX_Unmarshal(b []byte) error {
  911. return xxx_messageInfo_DisableServiceRequest.Unmarshal(m, b)
  912. }
  913. func (m *DisableServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  914. return xxx_messageInfo_DisableServiceRequest.Marshal(b, m, deterministic)
  915. }
  916. func (dst *DisableServiceRequest) XXX_Merge(src proto.Message) {
  917. xxx_messageInfo_DisableServiceRequest.Merge(dst, src)
  918. }
  919. func (m *DisableServiceRequest) XXX_Size() int {
  920. return xxx_messageInfo_DisableServiceRequest.Size(m)
  921. }
  922. func (m *DisableServiceRequest) XXX_DiscardUnknown() {
  923. xxx_messageInfo_DisableServiceRequest.DiscardUnknown(m)
  924. }
  925. var xxx_messageInfo_DisableServiceRequest proto.InternalMessageInfo
  926. func (m *DisableServiceRequest) GetServiceName() string {
  927. if m != nil {
  928. return m.ServiceName
  929. }
  930. return ""
  931. }
  932. func (m *DisableServiceRequest) GetConsumerId() string {
  933. if m != nil {
  934. return m.ConsumerId
  935. }
  936. return ""
  937. }
  938. // Request message for GenerateConfigReport method.
  939. type GenerateConfigReportRequest struct {
  940. // Service configuration for which we want to generate the report.
  941. // For this version of API, the supported types are
  942. // [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef],
  943. // [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource],
  944. // and [google.api.Service][google.api.Service]
  945. NewConfig *any.Any `protobuf:"bytes,1,opt,name=new_config,json=newConfig,proto3" json:"new_config,omitempty"`
  946. // Service configuration against which the comparison will be done.
  947. // For this version of API, the supported types are
  948. // [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef],
  949. // [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource],
  950. // and [google.api.Service][google.api.Service]
  951. OldConfig *any.Any `protobuf:"bytes,2,opt,name=old_config,json=oldConfig,proto3" json:"old_config,omitempty"`
  952. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  953. XXX_unrecognized []byte `json:"-"`
  954. XXX_sizecache int32 `json:"-"`
  955. }
  956. func (m *GenerateConfigReportRequest) Reset() { *m = GenerateConfigReportRequest{} }
  957. func (m *GenerateConfigReportRequest) String() string { return proto.CompactTextString(m) }
  958. func (*GenerateConfigReportRequest) ProtoMessage() {}
  959. func (*GenerateConfigReportRequest) Descriptor() ([]byte, []int) {
  960. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{19}
  961. }
  962. func (m *GenerateConfigReportRequest) XXX_Unmarshal(b []byte) error {
  963. return xxx_messageInfo_GenerateConfigReportRequest.Unmarshal(m, b)
  964. }
  965. func (m *GenerateConfigReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  966. return xxx_messageInfo_GenerateConfigReportRequest.Marshal(b, m, deterministic)
  967. }
  968. func (dst *GenerateConfigReportRequest) XXX_Merge(src proto.Message) {
  969. xxx_messageInfo_GenerateConfigReportRequest.Merge(dst, src)
  970. }
  971. func (m *GenerateConfigReportRequest) XXX_Size() int {
  972. return xxx_messageInfo_GenerateConfigReportRequest.Size(m)
  973. }
  974. func (m *GenerateConfigReportRequest) XXX_DiscardUnknown() {
  975. xxx_messageInfo_GenerateConfigReportRequest.DiscardUnknown(m)
  976. }
  977. var xxx_messageInfo_GenerateConfigReportRequest proto.InternalMessageInfo
  978. func (m *GenerateConfigReportRequest) GetNewConfig() *any.Any {
  979. if m != nil {
  980. return m.NewConfig
  981. }
  982. return nil
  983. }
  984. func (m *GenerateConfigReportRequest) GetOldConfig() *any.Any {
  985. if m != nil {
  986. return m.OldConfig
  987. }
  988. return nil
  989. }
  990. // Response message for GenerateConfigReport method.
  991. type GenerateConfigReportResponse struct {
  992. // Name of the service this report belongs to.
  993. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
  994. // ID of the service configuration this report belongs to.
  995. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  996. // list of ChangeReport, each corresponding to comparison between two
  997. // service configurations.
  998. ChangeReports []*ChangeReport `protobuf:"bytes,3,rep,name=change_reports,json=changeReports,proto3" json:"change_reports,omitempty"`
  999. // Errors / Linter warnings associated with the service definition this
  1000. // report
  1001. // belongs to.
  1002. Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
  1003. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1004. XXX_unrecognized []byte `json:"-"`
  1005. XXX_sizecache int32 `json:"-"`
  1006. }
  1007. func (m *GenerateConfigReportResponse) Reset() { *m = GenerateConfigReportResponse{} }
  1008. func (m *GenerateConfigReportResponse) String() string { return proto.CompactTextString(m) }
  1009. func (*GenerateConfigReportResponse) ProtoMessage() {}
  1010. func (*GenerateConfigReportResponse) Descriptor() ([]byte, []int) {
  1011. return fileDescriptor_servicemanager_4e8bfa8c1a5263e5, []int{20}
  1012. }
  1013. func (m *GenerateConfigReportResponse) XXX_Unmarshal(b []byte) error {
  1014. return xxx_messageInfo_GenerateConfigReportResponse.Unmarshal(m, b)
  1015. }
  1016. func (m *GenerateConfigReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1017. return xxx_messageInfo_GenerateConfigReportResponse.Marshal(b, m, deterministic)
  1018. }
  1019. func (dst *GenerateConfigReportResponse) XXX_Merge(src proto.Message) {
  1020. xxx_messageInfo_GenerateConfigReportResponse.Merge(dst, src)
  1021. }
  1022. func (m *GenerateConfigReportResponse) XXX_Size() int {
  1023. return xxx_messageInfo_GenerateConfigReportResponse.Size(m)
  1024. }
  1025. func (m *GenerateConfigReportResponse) XXX_DiscardUnknown() {
  1026. xxx_messageInfo_GenerateConfigReportResponse.DiscardUnknown(m)
  1027. }
  1028. var xxx_messageInfo_GenerateConfigReportResponse proto.InternalMessageInfo
  1029. func (m *GenerateConfigReportResponse) GetServiceName() string {
  1030. if m != nil {
  1031. return m.ServiceName
  1032. }
  1033. return ""
  1034. }
  1035. func (m *GenerateConfigReportResponse) GetId() string {
  1036. if m != nil {
  1037. return m.Id
  1038. }
  1039. return ""
  1040. }
  1041. func (m *GenerateConfigReportResponse) GetChangeReports() []*ChangeReport {
  1042. if m != nil {
  1043. return m.ChangeReports
  1044. }
  1045. return nil
  1046. }
  1047. func (m *GenerateConfigReportResponse) GetDiagnostics() []*Diagnostic {
  1048. if m != nil {
  1049. return m.Diagnostics
  1050. }
  1051. return nil
  1052. }
  1053. func init() {
  1054. proto.RegisterType((*ListServicesRequest)(nil), "google.api.servicemanagement.v1.ListServicesRequest")
  1055. proto.RegisterType((*ListServicesResponse)(nil), "google.api.servicemanagement.v1.ListServicesResponse")
  1056. proto.RegisterType((*GetServiceRequest)(nil), "google.api.servicemanagement.v1.GetServiceRequest")
  1057. proto.RegisterType((*CreateServiceRequest)(nil), "google.api.servicemanagement.v1.CreateServiceRequest")
  1058. proto.RegisterType((*DeleteServiceRequest)(nil), "google.api.servicemanagement.v1.DeleteServiceRequest")
  1059. proto.RegisterType((*UndeleteServiceRequest)(nil), "google.api.servicemanagement.v1.UndeleteServiceRequest")
  1060. proto.RegisterType((*UndeleteServiceResponse)(nil), "google.api.servicemanagement.v1.UndeleteServiceResponse")
  1061. proto.RegisterType((*GetServiceConfigRequest)(nil), "google.api.servicemanagement.v1.GetServiceConfigRequest")
  1062. proto.RegisterType((*ListServiceConfigsRequest)(nil), "google.api.servicemanagement.v1.ListServiceConfigsRequest")
  1063. proto.RegisterType((*ListServiceConfigsResponse)(nil), "google.api.servicemanagement.v1.ListServiceConfigsResponse")
  1064. proto.RegisterType((*CreateServiceConfigRequest)(nil), "google.api.servicemanagement.v1.CreateServiceConfigRequest")
  1065. proto.RegisterType((*SubmitConfigSourceRequest)(nil), "google.api.servicemanagement.v1.SubmitConfigSourceRequest")
  1066. proto.RegisterType((*SubmitConfigSourceResponse)(nil), "google.api.servicemanagement.v1.SubmitConfigSourceResponse")
  1067. proto.RegisterType((*CreateServiceRolloutRequest)(nil), "google.api.servicemanagement.v1.CreateServiceRolloutRequest")
  1068. proto.RegisterType((*ListServiceRolloutsRequest)(nil), "google.api.servicemanagement.v1.ListServiceRolloutsRequest")
  1069. proto.RegisterType((*ListServiceRolloutsResponse)(nil), "google.api.servicemanagement.v1.ListServiceRolloutsResponse")
  1070. proto.RegisterType((*GetServiceRolloutRequest)(nil), "google.api.servicemanagement.v1.GetServiceRolloutRequest")
  1071. proto.RegisterType((*EnableServiceRequest)(nil), "google.api.servicemanagement.v1.EnableServiceRequest")
  1072. proto.RegisterType((*DisableServiceRequest)(nil), "google.api.servicemanagement.v1.DisableServiceRequest")
  1073. proto.RegisterType((*GenerateConfigReportRequest)(nil), "google.api.servicemanagement.v1.GenerateConfigReportRequest")
  1074. proto.RegisterType((*GenerateConfigReportResponse)(nil), "google.api.servicemanagement.v1.GenerateConfigReportResponse")
  1075. proto.RegisterEnum("google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView", GetServiceConfigRequest_ConfigView_name, GetServiceConfigRequest_ConfigView_value)
  1076. }
  1077. // Reference imports to suppress errors if they are not otherwise used.
  1078. var _ context.Context
  1079. var _ grpc.ClientConn
  1080. // This is a compile-time assertion to ensure that this generated file
  1081. // is compatible with the grpc package it is being compiled against.
  1082. const _ = grpc.SupportPackageIsVersion4
  1083. // ServiceManagerClient is the client API for ServiceManager service.
  1084. //
  1085. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1086. type ServiceManagerClient interface {
  1087. // Lists managed services.
  1088. //
  1089. // Returns all public services. For authenticated users, also returns all
  1090. // services the calling user has "servicemanagement.services.get" permission
  1091. // for.
  1092. //
  1093. // **BETA:** If the caller specifies the `consumer_id`, it returns only the
  1094. // services enabled on the consumer. The `consumer_id` must have the format
  1095. // of "project:{PROJECT-ID}".
  1096. ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
  1097. // Gets a managed service. Authentication is required unless the service is
  1098. // public.
  1099. GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error)
  1100. // Creates a new managed service.
  1101. // Please note one producer project can own no more than 20 services.
  1102. //
  1103. // Operation<response: ManagedService>
  1104. CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1105. // Deletes a managed service. This method will change the service to the
  1106. // `Soft-Delete` state for 30 days. Within this period, service producers may
  1107. // call
  1108. // [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
  1109. // to restore the service. After 30 days, the service will be permanently
  1110. // deleted.
  1111. //
  1112. // Operation<response: google.protobuf.Empty>
  1113. DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1114. // Revives a previously deleted managed service. The method restores the
  1115. // service using the configuration at the time the service was deleted.
  1116. // The target service must exist and must have been deleted within the
  1117. // last 30 days.
  1118. //
  1119. // Operation<response: UndeleteServiceResponse>
  1120. UndeleteService(ctx context.Context, in *UndeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1121. // Lists the history of the service configuration for a managed service,
  1122. // from the newest to the oldest.
  1123. ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error)
  1124. // Gets a service configuration (version) for a managed service.
  1125. GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error)
  1126. // Creates a new service configuration (version) for a managed service.
  1127. // This method only stores the service configuration. To roll out the service
  1128. // configuration to backend systems please call
  1129. // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
  1130. //
  1131. // Only the 100 most recent service configurations and ones referenced by
  1132. // existing rollouts are kept for each service. The rest will be deleted
  1133. // eventually.
  1134. CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error)
  1135. // Creates a new service configuration (version) for a managed service based
  1136. // on
  1137. // user-supplied configuration source files (for example: OpenAPI
  1138. // Specification). This method stores the source configurations as well as the
  1139. // generated service configuration. To rollout the service configuration to
  1140. // other services,
  1141. // please call
  1142. // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
  1143. //
  1144. // Only the 100 most recent configuration sources and ones referenced by
  1145. // existing service configurtions are kept for each service. The rest will be
  1146. // deleted eventually.
  1147. //
  1148. // Operation<response: SubmitConfigSourceResponse>
  1149. SubmitConfigSource(ctx context.Context, in *SubmitConfigSourceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1150. // Lists the history of the service configuration rollouts for a managed
  1151. // service, from the newest to the oldest.
  1152. ListServiceRollouts(ctx context.Context, in *ListServiceRolloutsRequest, opts ...grpc.CallOption) (*ListServiceRolloutsResponse, error)
  1153. // Gets a service configuration
  1154. // [rollout][google.api.servicemanagement.v1.Rollout].
  1155. GetServiceRollout(ctx context.Context, in *GetServiceRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
  1156. // Creates a new service configuration rollout. Based on rollout, the
  1157. // Google Service Management will roll out the service configurations to
  1158. // different backend services. For example, the logging configuration will be
  1159. // pushed to Google Cloud Logging.
  1160. //
  1161. // Please note that any previous pending and running Rollouts and associated
  1162. // Operations will be automatically cancelled so that the latest Rollout will
  1163. // not be blocked by previous Rollouts.
  1164. //
  1165. // Only the 100 most recent (in any state) and the last 10 successful (if not
  1166. // already part of the set of 100 most recent) rollouts are kept for each
  1167. // service. The rest will be deleted eventually.
  1168. //
  1169. // Operation<response: Rollout>
  1170. CreateServiceRollout(ctx context.Context, in *CreateServiceRolloutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1171. // Generates and returns a report (errors, warnings and changes from
  1172. // existing configurations) associated with
  1173. // GenerateConfigReportRequest.new_value
  1174. //
  1175. // If GenerateConfigReportRequest.old_value is specified,
  1176. // GenerateConfigReportRequest will contain a single ChangeReport based on the
  1177. // comparison between GenerateConfigReportRequest.new_value and
  1178. // GenerateConfigReportRequest.old_value.
  1179. // If GenerateConfigReportRequest.old_value is not specified, this method
  1180. // will compare GenerateConfigReportRequest.new_value with the last pushed
  1181. // service configuration.
  1182. GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error)
  1183. // Enables a [service][google.api.servicemanagement.v1.ManagedService] for a
  1184. // project, so it can be used for the project. See [Cloud Auth
  1185. // Guide](https://cloud.google.com/docs/authentication) for more information.
  1186. //
  1187. // Operation<response: EnableServiceResponse>
  1188. EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1189. // Disables a [service][google.api.servicemanagement.v1.ManagedService] for a
  1190. // project, so it can no longer be be used for the project. It prevents
  1191. // accidental usage that may cause unexpected billing charges or security
  1192. // leaks.
  1193. //
  1194. // Operation<response: DisableServiceResponse>
  1195. DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1196. }
  1197. type serviceManagerClient struct {
  1198. cc *grpc.ClientConn
  1199. }
  1200. func NewServiceManagerClient(cc *grpc.ClientConn) ServiceManagerClient {
  1201. return &serviceManagerClient{cc}
  1202. }
  1203. func (c *serviceManagerClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) {
  1204. out := new(ListServicesResponse)
  1205. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServices", in, out, opts...)
  1206. if err != nil {
  1207. return nil, err
  1208. }
  1209. return out, nil
  1210. }
  1211. func (c *serviceManagerClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error) {
  1212. out := new(ManagedService)
  1213. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetService", in, out, opts...)
  1214. if err != nil {
  1215. return nil, err
  1216. }
  1217. return out, nil
  1218. }
  1219. func (c *serviceManagerClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1220. out := new(longrunning.Operation)
  1221. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateService", in, out, opts...)
  1222. if err != nil {
  1223. return nil, err
  1224. }
  1225. return out, nil
  1226. }
  1227. func (c *serviceManagerClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1228. out := new(longrunning.Operation)
  1229. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/DeleteService", in, out, opts...)
  1230. if err != nil {
  1231. return nil, err
  1232. }
  1233. return out, nil
  1234. }
  1235. func (c *serviceManagerClient) UndeleteService(ctx context.Context, in *UndeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1236. out := new(longrunning.Operation)
  1237. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/UndeleteService", in, out, opts...)
  1238. if err != nil {
  1239. return nil, err
  1240. }
  1241. return out, nil
  1242. }
  1243. func (c *serviceManagerClient) ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error) {
  1244. out := new(ListServiceConfigsResponse)
  1245. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServiceConfigs", in, out, opts...)
  1246. if err != nil {
  1247. return nil, err
  1248. }
  1249. return out, nil
  1250. }
  1251. func (c *serviceManagerClient) GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) {
  1252. out := new(serviceconfig.Service)
  1253. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetServiceConfig", in, out, opts...)
  1254. if err != nil {
  1255. return nil, err
  1256. }
  1257. return out, nil
  1258. }
  1259. func (c *serviceManagerClient) CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) {
  1260. out := new(serviceconfig.Service)
  1261. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateServiceConfig", in, out, opts...)
  1262. if err != nil {
  1263. return nil, err
  1264. }
  1265. return out, nil
  1266. }
  1267. func (c *serviceManagerClient) SubmitConfigSource(ctx context.Context, in *SubmitConfigSourceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1268. out := new(longrunning.Operation)
  1269. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/SubmitConfigSource", in, out, opts...)
  1270. if err != nil {
  1271. return nil, err
  1272. }
  1273. return out, nil
  1274. }
  1275. func (c *serviceManagerClient) ListServiceRollouts(ctx context.Context, in *ListServiceRolloutsRequest, opts ...grpc.CallOption) (*ListServiceRolloutsResponse, error) {
  1276. out := new(ListServiceRolloutsResponse)
  1277. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServiceRollouts", in, out, opts...)
  1278. if err != nil {
  1279. return nil, err
  1280. }
  1281. return out, nil
  1282. }
  1283. func (c *serviceManagerClient) GetServiceRollout(ctx context.Context, in *GetServiceRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) {
  1284. out := new(Rollout)
  1285. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetServiceRollout", in, out, opts...)
  1286. if err != nil {
  1287. return nil, err
  1288. }
  1289. return out, nil
  1290. }
  1291. func (c *serviceManagerClient) CreateServiceRollout(ctx context.Context, in *CreateServiceRolloutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1292. out := new(longrunning.Operation)
  1293. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateServiceRollout", in, out, opts...)
  1294. if err != nil {
  1295. return nil, err
  1296. }
  1297. return out, nil
  1298. }
  1299. func (c *serviceManagerClient) GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error) {
  1300. out := new(GenerateConfigReportResponse)
  1301. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GenerateConfigReport", in, out, opts...)
  1302. if err != nil {
  1303. return nil, err
  1304. }
  1305. return out, nil
  1306. }
  1307. func (c *serviceManagerClient) EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1308. out := new(longrunning.Operation)
  1309. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/EnableService", in, out, opts...)
  1310. if err != nil {
  1311. return nil, err
  1312. }
  1313. return out, nil
  1314. }
  1315. func (c *serviceManagerClient) DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1316. out := new(longrunning.Operation)
  1317. err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/DisableService", in, out, opts...)
  1318. if err != nil {
  1319. return nil, err
  1320. }
  1321. return out, nil
  1322. }
  1323. // ServiceManagerServer is the server API for ServiceManager service.
  1324. type ServiceManagerServer interface {
  1325. // Lists managed services.
  1326. //
  1327. // Returns all public services. For authenticated users, also returns all
  1328. // services the calling user has "servicemanagement.services.get" permission
  1329. // for.
  1330. //
  1331. // **BETA:** If the caller specifies the `consumer_id`, it returns only the
  1332. // services enabled on the consumer. The `consumer_id` must have the format
  1333. // of "project:{PROJECT-ID}".
  1334. ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
  1335. // Gets a managed service. Authentication is required unless the service is
  1336. // public.
  1337. GetService(context.Context, *GetServiceRequest) (*ManagedService, error)
  1338. // Creates a new managed service.
  1339. // Please note one producer project can own no more than 20 services.
  1340. //
  1341. // Operation<response: ManagedService>
  1342. CreateService(context.Context, *CreateServiceRequest) (*longrunning.Operation, error)
  1343. // Deletes a managed service. This method will change the service to the
  1344. // `Soft-Delete` state for 30 days. Within this period, service producers may
  1345. // call
  1346. // [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]
  1347. // to restore the service. After 30 days, the service will be permanently
  1348. // deleted.
  1349. //
  1350. // Operation<response: google.protobuf.Empty>
  1351. DeleteService(context.Context, *DeleteServiceRequest) (*longrunning.Operation, error)
  1352. // Revives a previously deleted managed service. The method restores the
  1353. // service using the configuration at the time the service was deleted.
  1354. // The target service must exist and must have been deleted within the
  1355. // last 30 days.
  1356. //
  1357. // Operation<response: UndeleteServiceResponse>
  1358. UndeleteService(context.Context, *UndeleteServiceRequest) (*longrunning.Operation, error)
  1359. // Lists the history of the service configuration for a managed service,
  1360. // from the newest to the oldest.
  1361. ListServiceConfigs(context.Context, *ListServiceConfigsRequest) (*ListServiceConfigsResponse, error)
  1362. // Gets a service configuration (version) for a managed service.
  1363. GetServiceConfig(context.Context, *GetServiceConfigRequest) (*serviceconfig.Service, error)
  1364. // Creates a new service configuration (version) for a managed service.
  1365. // This method only stores the service configuration. To roll out the service
  1366. // configuration to backend systems please call
  1367. // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
  1368. //
  1369. // Only the 100 most recent service configurations and ones referenced by
  1370. // existing rollouts are kept for each service. The rest will be deleted
  1371. // eventually.
  1372. CreateServiceConfig(context.Context, *CreateServiceConfigRequest) (*serviceconfig.Service, error)
  1373. // Creates a new service configuration (version) for a managed service based
  1374. // on
  1375. // user-supplied configuration source files (for example: OpenAPI
  1376. // Specification). This method stores the source configurations as well as the
  1377. // generated service configuration. To rollout the service configuration to
  1378. // other services,
  1379. // please call
  1380. // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
  1381. //
  1382. // Only the 100 most recent configuration sources and ones referenced by
  1383. // existing service configurtions are kept for each service. The rest will be
  1384. // deleted eventually.
  1385. //
  1386. // Operation<response: SubmitConfigSourceResponse>
  1387. SubmitConfigSource(context.Context, *SubmitConfigSourceRequest) (*longrunning.Operation, error)
  1388. // Lists the history of the service configuration rollouts for a managed
  1389. // service, from the newest to the oldest.
  1390. ListServiceRollouts(context.Context, *ListServiceRolloutsRequest) (*ListServiceRolloutsResponse, error)
  1391. // Gets a service configuration
  1392. // [rollout][google.api.servicemanagement.v1.Rollout].
  1393. GetServiceRollout(context.Context, *GetServiceRolloutRequest) (*Rollout, error)
  1394. // Creates a new service configuration rollout. Based on rollout, the
  1395. // Google Service Management will roll out the service configurations to
  1396. // different backend services. For example, the logging configuration will be
  1397. // pushed to Google Cloud Logging.
  1398. //
  1399. // Please note that any previous pending and running Rollouts and associated
  1400. // Operations will be automatically cancelled so that the latest Rollout will
  1401. // not be blocked by previous Rollouts.
  1402. //
  1403. // Only the 100 most recent (in any state) and the last 10 successful (if not
  1404. // already part of the set of 100 most recent) rollouts are kept for each
  1405. // service. The rest will be deleted eventually.
  1406. //
  1407. // Operation<response: Rollout>
  1408. CreateServiceRollout(context.Context, *CreateServiceRolloutRequest) (*longrunning.Operation, error)
  1409. // Generates and returns a report (errors, warnings and changes from
  1410. // existing configurations) associated with
  1411. // GenerateConfigReportRequest.new_value
  1412. //
  1413. // If GenerateConfigReportRequest.old_value is specified,
  1414. // GenerateConfigReportRequest will contain a single ChangeReport based on the
  1415. // comparison between GenerateConfigReportRequest.new_value and
  1416. // GenerateConfigReportRequest.old_value.
  1417. // If GenerateConfigReportRequest.old_value is not specified, this method
  1418. // will compare GenerateConfigReportRequest.new_value with the last pushed
  1419. // service configuration.
  1420. GenerateConfigReport(context.Context, *GenerateConfigReportRequest) (*GenerateConfigReportResponse, error)
  1421. // Enables a [service][google.api.servicemanagement.v1.ManagedService] for a
  1422. // project, so it can be used for the project. See [Cloud Auth
  1423. // Guide](https://cloud.google.com/docs/authentication) for more information.
  1424. //
  1425. // Operation<response: EnableServiceResponse>
  1426. EnableService(context.Context, *EnableServiceRequest) (*longrunning.Operation, error)
  1427. // Disables a [service][google.api.servicemanagement.v1.ManagedService] for a
  1428. // project, so it can no longer be be used for the project. It prevents
  1429. // accidental usage that may cause unexpected billing charges or security
  1430. // leaks.
  1431. //
  1432. // Operation<response: DisableServiceResponse>
  1433. DisableService(context.Context, *DisableServiceRequest) (*longrunning.Operation, error)
  1434. }
  1435. func RegisterServiceManagerServer(s *grpc.Server, srv ServiceManagerServer) {
  1436. s.RegisterService(&_ServiceManager_serviceDesc, srv)
  1437. }
  1438. func _ServiceManager_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1439. in := new(ListServicesRequest)
  1440. if err := dec(in); err != nil {
  1441. return nil, err
  1442. }
  1443. if interceptor == nil {
  1444. return srv.(ServiceManagerServer).ListServices(ctx, in)
  1445. }
  1446. info := &grpc.UnaryServerInfo{
  1447. Server: srv,
  1448. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServices",
  1449. }
  1450. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1451. return srv.(ServiceManagerServer).ListServices(ctx, req.(*ListServicesRequest))
  1452. }
  1453. return interceptor(ctx, in, info, handler)
  1454. }
  1455. func _ServiceManager_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1456. in := new(GetServiceRequest)
  1457. if err := dec(in); err != nil {
  1458. return nil, err
  1459. }
  1460. if interceptor == nil {
  1461. return srv.(ServiceManagerServer).GetService(ctx, in)
  1462. }
  1463. info := &grpc.UnaryServerInfo{
  1464. Server: srv,
  1465. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetService",
  1466. }
  1467. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1468. return srv.(ServiceManagerServer).GetService(ctx, req.(*GetServiceRequest))
  1469. }
  1470. return interceptor(ctx, in, info, handler)
  1471. }
  1472. func _ServiceManager_CreateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1473. in := new(CreateServiceRequest)
  1474. if err := dec(in); err != nil {
  1475. return nil, err
  1476. }
  1477. if interceptor == nil {
  1478. return srv.(ServiceManagerServer).CreateService(ctx, in)
  1479. }
  1480. info := &grpc.UnaryServerInfo{
  1481. Server: srv,
  1482. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateService",
  1483. }
  1484. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1485. return srv.(ServiceManagerServer).CreateService(ctx, req.(*CreateServiceRequest))
  1486. }
  1487. return interceptor(ctx, in, info, handler)
  1488. }
  1489. func _ServiceManager_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1490. in := new(DeleteServiceRequest)
  1491. if err := dec(in); err != nil {
  1492. return nil, err
  1493. }
  1494. if interceptor == nil {
  1495. return srv.(ServiceManagerServer).DeleteService(ctx, in)
  1496. }
  1497. info := &grpc.UnaryServerInfo{
  1498. Server: srv,
  1499. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/DeleteService",
  1500. }
  1501. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1502. return srv.(ServiceManagerServer).DeleteService(ctx, req.(*DeleteServiceRequest))
  1503. }
  1504. return interceptor(ctx, in, info, handler)
  1505. }
  1506. func _ServiceManager_UndeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1507. in := new(UndeleteServiceRequest)
  1508. if err := dec(in); err != nil {
  1509. return nil, err
  1510. }
  1511. if interceptor == nil {
  1512. return srv.(ServiceManagerServer).UndeleteService(ctx, in)
  1513. }
  1514. info := &grpc.UnaryServerInfo{
  1515. Server: srv,
  1516. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/UndeleteService",
  1517. }
  1518. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1519. return srv.(ServiceManagerServer).UndeleteService(ctx, req.(*UndeleteServiceRequest))
  1520. }
  1521. return interceptor(ctx, in, info, handler)
  1522. }
  1523. func _ServiceManager_ListServiceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1524. in := new(ListServiceConfigsRequest)
  1525. if err := dec(in); err != nil {
  1526. return nil, err
  1527. }
  1528. if interceptor == nil {
  1529. return srv.(ServiceManagerServer).ListServiceConfigs(ctx, in)
  1530. }
  1531. info := &grpc.UnaryServerInfo{
  1532. Server: srv,
  1533. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServiceConfigs",
  1534. }
  1535. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1536. return srv.(ServiceManagerServer).ListServiceConfigs(ctx, req.(*ListServiceConfigsRequest))
  1537. }
  1538. return interceptor(ctx, in, info, handler)
  1539. }
  1540. func _ServiceManager_GetServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1541. in := new(GetServiceConfigRequest)
  1542. if err := dec(in); err != nil {
  1543. return nil, err
  1544. }
  1545. if interceptor == nil {
  1546. return srv.(ServiceManagerServer).GetServiceConfig(ctx, in)
  1547. }
  1548. info := &grpc.UnaryServerInfo{
  1549. Server: srv,
  1550. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetServiceConfig",
  1551. }
  1552. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1553. return srv.(ServiceManagerServer).GetServiceConfig(ctx, req.(*GetServiceConfigRequest))
  1554. }
  1555. return interceptor(ctx, in, info, handler)
  1556. }
  1557. func _ServiceManager_CreateServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1558. in := new(CreateServiceConfigRequest)
  1559. if err := dec(in); err != nil {
  1560. return nil, err
  1561. }
  1562. if interceptor == nil {
  1563. return srv.(ServiceManagerServer).CreateServiceConfig(ctx, in)
  1564. }
  1565. info := &grpc.UnaryServerInfo{
  1566. Server: srv,
  1567. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateServiceConfig",
  1568. }
  1569. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1570. return srv.(ServiceManagerServer).CreateServiceConfig(ctx, req.(*CreateServiceConfigRequest))
  1571. }
  1572. return interceptor(ctx, in, info, handler)
  1573. }
  1574. func _ServiceManager_SubmitConfigSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1575. in := new(SubmitConfigSourceRequest)
  1576. if err := dec(in); err != nil {
  1577. return nil, err
  1578. }
  1579. if interceptor == nil {
  1580. return srv.(ServiceManagerServer).SubmitConfigSource(ctx, in)
  1581. }
  1582. info := &grpc.UnaryServerInfo{
  1583. Server: srv,
  1584. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/SubmitConfigSource",
  1585. }
  1586. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1587. return srv.(ServiceManagerServer).SubmitConfigSource(ctx, req.(*SubmitConfigSourceRequest))
  1588. }
  1589. return interceptor(ctx, in, info, handler)
  1590. }
  1591. func _ServiceManager_ListServiceRollouts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1592. in := new(ListServiceRolloutsRequest)
  1593. if err := dec(in); err != nil {
  1594. return nil, err
  1595. }
  1596. if interceptor == nil {
  1597. return srv.(ServiceManagerServer).ListServiceRollouts(ctx, in)
  1598. }
  1599. info := &grpc.UnaryServerInfo{
  1600. Server: srv,
  1601. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServiceRollouts",
  1602. }
  1603. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1604. return srv.(ServiceManagerServer).ListServiceRollouts(ctx, req.(*ListServiceRolloutsRequest))
  1605. }
  1606. return interceptor(ctx, in, info, handler)
  1607. }
  1608. func _ServiceManager_GetServiceRollout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1609. in := new(GetServiceRolloutRequest)
  1610. if err := dec(in); err != nil {
  1611. return nil, err
  1612. }
  1613. if interceptor == nil {
  1614. return srv.(ServiceManagerServer).GetServiceRollout(ctx, in)
  1615. }
  1616. info := &grpc.UnaryServerInfo{
  1617. Server: srv,
  1618. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetServiceRollout",
  1619. }
  1620. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1621. return srv.(ServiceManagerServer).GetServiceRollout(ctx, req.(*GetServiceRolloutRequest))
  1622. }
  1623. return interceptor(ctx, in, info, handler)
  1624. }
  1625. func _ServiceManager_CreateServiceRollout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1626. in := new(CreateServiceRolloutRequest)
  1627. if err := dec(in); err != nil {
  1628. return nil, err
  1629. }
  1630. if interceptor == nil {
  1631. return srv.(ServiceManagerServer).CreateServiceRollout(ctx, in)
  1632. }
  1633. info := &grpc.UnaryServerInfo{
  1634. Server: srv,
  1635. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateServiceRollout",
  1636. }
  1637. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1638. return srv.(ServiceManagerServer).CreateServiceRollout(ctx, req.(*CreateServiceRolloutRequest))
  1639. }
  1640. return interceptor(ctx, in, info, handler)
  1641. }
  1642. func _ServiceManager_GenerateConfigReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1643. in := new(GenerateConfigReportRequest)
  1644. if err := dec(in); err != nil {
  1645. return nil, err
  1646. }
  1647. if interceptor == nil {
  1648. return srv.(ServiceManagerServer).GenerateConfigReport(ctx, in)
  1649. }
  1650. info := &grpc.UnaryServerInfo{
  1651. Server: srv,
  1652. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GenerateConfigReport",
  1653. }
  1654. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1655. return srv.(ServiceManagerServer).GenerateConfigReport(ctx, req.(*GenerateConfigReportRequest))
  1656. }
  1657. return interceptor(ctx, in, info, handler)
  1658. }
  1659. func _ServiceManager_EnableService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1660. in := new(EnableServiceRequest)
  1661. if err := dec(in); err != nil {
  1662. return nil, err
  1663. }
  1664. if interceptor == nil {
  1665. return srv.(ServiceManagerServer).EnableService(ctx, in)
  1666. }
  1667. info := &grpc.UnaryServerInfo{
  1668. Server: srv,
  1669. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/EnableService",
  1670. }
  1671. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1672. return srv.(ServiceManagerServer).EnableService(ctx, req.(*EnableServiceRequest))
  1673. }
  1674. return interceptor(ctx, in, info, handler)
  1675. }
  1676. func _ServiceManager_DisableService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1677. in := new(DisableServiceRequest)
  1678. if err := dec(in); err != nil {
  1679. return nil, err
  1680. }
  1681. if interceptor == nil {
  1682. return srv.(ServiceManagerServer).DisableService(ctx, in)
  1683. }
  1684. info := &grpc.UnaryServerInfo{
  1685. Server: srv,
  1686. FullMethod: "/google.api.servicemanagement.v1.ServiceManager/DisableService",
  1687. }
  1688. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1689. return srv.(ServiceManagerServer).DisableService(ctx, req.(*DisableServiceRequest))
  1690. }
  1691. return interceptor(ctx, in, info, handler)
  1692. }
  1693. var _ServiceManager_serviceDesc = grpc.ServiceDesc{
  1694. ServiceName: "google.api.servicemanagement.v1.ServiceManager",
  1695. HandlerType: (*ServiceManagerServer)(nil),
  1696. Methods: []grpc.MethodDesc{
  1697. {
  1698. MethodName: "ListServices",
  1699. Handler: _ServiceManager_ListServices_Handler,
  1700. },
  1701. {
  1702. MethodName: "GetService",
  1703. Handler: _ServiceManager_GetService_Handler,
  1704. },
  1705. {
  1706. MethodName: "CreateService",
  1707. Handler: _ServiceManager_CreateService_Handler,
  1708. },
  1709. {
  1710. MethodName: "DeleteService",
  1711. Handler: _ServiceManager_DeleteService_Handler,
  1712. },
  1713. {
  1714. MethodName: "UndeleteService",
  1715. Handler: _ServiceManager_UndeleteService_Handler,
  1716. },
  1717. {
  1718. MethodName: "ListServiceConfigs",
  1719. Handler: _ServiceManager_ListServiceConfigs_Handler,
  1720. },
  1721. {
  1722. MethodName: "GetServiceConfig",
  1723. Handler: _ServiceManager_GetServiceConfig_Handler,
  1724. },
  1725. {
  1726. MethodName: "CreateServiceConfig",
  1727. Handler: _ServiceManager_CreateServiceConfig_Handler,
  1728. },
  1729. {
  1730. MethodName: "SubmitConfigSource",
  1731. Handler: _ServiceManager_SubmitConfigSource_Handler,
  1732. },
  1733. {
  1734. MethodName: "ListServiceRollouts",
  1735. Handler: _ServiceManager_ListServiceRollouts_Handler,
  1736. },
  1737. {
  1738. MethodName: "GetServiceRollout",
  1739. Handler: _ServiceManager_GetServiceRollout_Handler,
  1740. },
  1741. {
  1742. MethodName: "CreateServiceRollout",
  1743. Handler: _ServiceManager_CreateServiceRollout_Handler,
  1744. },
  1745. {
  1746. MethodName: "GenerateConfigReport",
  1747. Handler: _ServiceManager_GenerateConfigReport_Handler,
  1748. },
  1749. {
  1750. MethodName: "EnableService",
  1751. Handler: _ServiceManager_EnableService_Handler,
  1752. },
  1753. {
  1754. MethodName: "DisableService",
  1755. Handler: _ServiceManager_DisableService_Handler,
  1756. },
  1757. },
  1758. Streams: []grpc.StreamDesc{},
  1759. Metadata: "google/api/servicemanagement/v1/servicemanager.proto",
  1760. }
  1761. func init() {
  1762. proto.RegisterFile("google/api/servicemanagement/v1/servicemanager.proto", fileDescriptor_servicemanager_4e8bfa8c1a5263e5)
  1763. }
  1764. var fileDescriptor_servicemanager_4e8bfa8c1a5263e5 = []byte{
  1765. // 1447 bytes of a gzipped FileDescriptorProto
  1766. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x6f, 0xdc, 0x44,
  1767. 0x14, 0x66, 0x36, 0x69, 0x9b, 0xbc, 0x64, 0xb7, 0xed, 0x64, 0x69, 0xb6, 0x9b, 0x46, 0x4d, 0x9c,
  1768. 0x52, 0xa2, 0x94, 0xda, 0x4a, 0xfa, 0x03, 0xba, 0x29, 0x87, 0x26, 0x81, 0x28, 0xa2, 0xa5, 0xd1,
  1769. 0xa6, 0x3f, 0x50, 0x09, 0x5a, 0x39, 0xf6, 0xc4, 0x98, 0x7a, 0x67, 0x16, 0xdb, 0x9b, 0x90, 0x46,
  1770. 0xbd, 0x54, 0x95, 0x90, 0xe0, 0x84, 0x8a, 0xe8, 0xbd, 0x42, 0x1c, 0x7a, 0xe5, 0x80, 0xc4, 0x01,
  1771. 0xc1, 0x95, 0x2b, 0x70, 0xe4, 0xc6, 0xdf, 0xc0, 0x19, 0xed, 0x78, 0xbc, 0xf1, 0xec, 0x3a, 0x6b,
  1772. 0x7b, 0x05, 0x1c, 0xe7, 0xcd, 0x7c, 0xef, 0x7d, 0xf3, 0xe6, 0xbd, 0x99, 0xcf, 0x86, 0xcb, 0x16,
  1773. 0x63, 0x96, 0x43, 0x34, 0xbd, 0x61, 0x6b, 0x1e, 0x71, 0x77, 0x6c, 0x83, 0xd4, 0x75, 0xaa, 0x5b,
  1774. 0xa4, 0x4e, 0xa8, 0xaf, 0xed, 0xcc, 0xcb, 0x46, 0x57, 0x6d, 0xb8, 0xcc, 0x67, 0xf8, 0x6c, 0x80,
  1775. 0x52, 0xf5, 0x86, 0xad, 0x76, 0xa1, 0xd4, 0x9d, 0xf9, 0xf2, 0x99, 0x88, 0x5b, 0x9d, 0x52, 0xe6,
  1776. 0xeb, 0xbe, 0xcd, 0xa8, 0x17, 0xc0, 0xcb, 0xa5, 0xee, 0xa0, 0x62, 0x46, 0x4b, 0xa2, 0xe3, 0x12,
  1777. 0x8f, 0x35, 0x5d, 0x83, 0x84, 0xae, 0x66, 0x04, 0xc0, 0x61, 0xd4, 0x72, 0x9b, 0x94, 0xda, 0xd4,
  1778. 0xd2, 0x58, 0x83, 0xb8, 0x52, 0xbc, 0xd3, 0x62, 0x11, 0x1f, 0x6d, 0x35, 0xb7, 0x35, 0x9d, 0xee,
  1779. 0x89, 0xa9, 0xa9, 0xce, 0xa9, 0x6d, 0x9b, 0x38, 0x66, 0xad, 0xae, 0x7b, 0x0f, 0xc5, 0x8a, 0x33,
  1780. 0x9d, 0x2b, 0x3c, 0xdf, 0x6d, 0x1a, 0xbe, 0x98, 0x1d, 0x17, 0xb3, 0x6e, 0xc3, 0xd0, 0x3c, 0x5f,
  1781. 0xf7, 0x9b, 0x22, 0xa6, 0xf2, 0x02, 0xc1, 0xd8, 0x4d, 0xdb, 0xf3, 0x37, 0x82, 0x5d, 0x78, 0x55,
  1782. 0xf2, 0x69, 0x93, 0x78, 0x3e, 0x56, 0x61, 0xac, 0xe1, 0x32, 0xb3, 0x69, 0x10, 0xb7, 0xd6, 0x70,
  1783. 0xd9, 0x27, 0xc4, 0xf0, 0x6b, 0xb6, 0x59, 0x42, 0x53, 0x68, 0x76, 0xb8, 0x7a, 0x32, 0x9c, 0x5a,
  1784. 0x0f, 0x66, 0xd6, 0x4c, 0x3c, 0x01, 0xc3, 0x0d, 0xdd, 0x22, 0x35, 0xcf, 0x7e, 0x44, 0x4a, 0x47,
  1785. 0xa6, 0xd0, 0xec, 0x91, 0xea, 0x50, 0xcb, 0xb0, 0x61, 0x3f, 0x22, 0x78, 0x12, 0x80, 0x4f, 0xfa,
  1786. 0xec, 0x21, 0xa1, 0xa5, 0xa3, 0xdc, 0x07, 0x5f, 0x7e, 0xa7, 0x65, 0xc0, 0x67, 0x61, 0xc4, 0x60,
  1787. 0xd4, 0x6b, 0xd6, 0x89, 0xdb, 0x8a, 0x71, 0x8c, 0xcf, 0x43, 0x68, 0x5a, 0x33, 0x95, 0x2f, 0x11,
  1788. 0x14, 0x65, 0x92, 0x5e, 0x83, 0x51, 0x8f, 0xe0, 0xf7, 0x60, 0x48, 0xa4, 0xdf, 0x2b, 0xa1, 0xa9,
  1789. 0x81, 0xd9, 0x91, 0x05, 0x4d, 0x4d, 0x38, 0x73, 0xf5, 0x16, 0x1f, 0x99, 0xc2, 0x57, 0xb5, 0xed,
  1790. 0x00, 0x9f, 0x87, 0xe3, 0x94, 0x7c, 0xe6, 0xd7, 0x22, 0x54, 0x73, 0x9c, 0x4a, 0xbe, 0x65, 0x5e,
  1791. 0x0f, 0xe9, 0x2a, 0x57, 0xe1, 0xe4, 0x2a, 0x09, 0xb9, 0x84, 0xf9, 0x9a, 0x86, 0x51, 0xe1, 0xa8,
  1792. 0x46, 0xf5, 0x3a, 0x11, 0x89, 0x1a, 0x11, 0xb6, 0xf7, 0xf5, 0x3a, 0x51, 0x74, 0x28, 0x2e, 0xbb,
  1793. 0x44, 0xf7, 0x49, 0x07, 0x74, 0x0d, 0x8e, 0x89, 0x65, 0x1c, 0xd5, 0xc7, 0x1e, 0x42, 0xbc, 0x72,
  1794. 0x0d, 0x8a, 0x2b, 0xc4, 0x21, 0x5d, 0x21, 0x52, 0xb0, 0x5b, 0x84, 0x53, 0x77, 0xa9, 0xd9, 0x27,
  1795. 0xd8, 0x84, 0xf1, 0x2e, 0xb0, 0x38, 0xa2, 0x7f, 0x71, 0x77, 0x7f, 0x20, 0x18, 0x3f, 0xc8, 0xfc,
  1796. 0x32, 0xa3, 0xdb, 0xb6, 0x95, 0x9e, 0x64, 0xab, 0x44, 0x0d, 0x8e, 0x69, 0x15, 0x59, 0x70, 0xb2,
  1797. 0x43, 0x81, 0x61, 0xcd, 0xc4, 0xf7, 0x61, 0x70, 0xc7, 0x26, 0xbb, 0xa5, 0x81, 0x29, 0x34, 0x5b,
  1798. 0x58, 0x58, 0x4e, 0xe4, 0x78, 0x08, 0x0f, 0x35, 0x18, 0xdd, 0xb3, 0xc9, 0x6e, 0x95, 0x3b, 0x54,
  1799. 0xa6, 0x01, 0x0e, 0x6c, 0x78, 0x18, 0x8e, 0x2c, 0xdd, 0xd8, 0x58, 0x5b, 0x3e, 0xf1, 0x0a, 0x1e,
  1800. 0x82, 0xc1, 0x77, 0xef, 0xde, 0xbc, 0x79, 0x02, 0x29, 0x8f, 0xe0, 0x74, 0xa4, 0xba, 0x83, 0xd5,
  1801. 0x5e, 0x86, 0x8d, 0xc9, 0xed, 0x95, 0xeb, 0x6c, 0x2f, 0xa9, 0x35, 0x07, 0xe4, 0xd6, 0x54, 0x9e,
  1802. 0x20, 0x28, 0xc7, 0x05, 0x17, 0xa7, 0x77, 0x1d, 0x8e, 0x87, 0xd1, 0x83, 0x54, 0x85, 0x7d, 0x36,
  1803. 0x16, 0xcd, 0x50, 0x78, 0x52, 0x05, 0x4f, 0xf2, 0x92, 0xba, 0xa3, 0xf6, 0xa1, 0x2c, 0x75, 0x46,
  1804. 0xe6, 0xa3, 0xad, 0x40, 0x41, 0xa6, 0xc9, 0xe3, 0x1c, 0xc2, 0x32, 0x2f, 0xb1, 0x54, 0x7e, 0x40,
  1805. 0x70, 0x7a, 0xa3, 0xb9, 0x55, 0xb7, 0xfd, 0xc0, 0xb0, 0xc1, 0x2f, 0xee, 0x0c, 0xc1, 0xab, 0x90,
  1806. 0x17, 0x75, 0x15, 0xdc, 0xf9, 0x22, 0xf6, 0xc5, 0xc4, 0x1a, 0x92, 0xe2, 0x8d, 0x1a, 0x91, 0x11,
  1807. 0x9e, 0x81, 0xfc, 0x8e, 0xee, 0xd8, 0xa6, 0xee, 0x93, 0x1a, 0xa3, 0xce, 0x1e, 0x3f, 0xb7, 0xa1,
  1808. 0xea, 0x68, 0x68, 0xbc, 0x4d, 0x9d, 0x3d, 0xe5, 0x03, 0x28, 0xc7, 0x11, 0x17, 0x47, 0xd7, 0x9d,
  1809. 0x13, 0x94, 0x3a, 0x27, 0x4f, 0x11, 0x4c, 0xc8, 0x77, 0x15, 0x73, 0x1c, 0xd6, 0xf4, 0x33, 0x64,
  1810. 0x65, 0x09, 0x8e, 0xb9, 0x01, 0x48, 0xe4, 0x63, 0x36, 0x31, 0x1f, 0x61, 0x90, 0x10, 0xa8, 0x3c,
  1811. 0x93, 0x8b, 0x53, 0xcc, 0xff, 0x4f, 0xad, 0x81, 0x4f, 0xc1, 0xd1, 0x6d, 0xdb, 0xf1, 0x89, 0x5b,
  1812. 0x1a, 0xe4, 0x38, 0x31, 0x6a, 0xbd, 0x46, 0x13, 0xb1, 0xac, 0x44, 0xe2, 0x57, 0x60, 0x48, 0x6c,
  1813. 0x20, 0x6c, 0x96, 0xf4, 0x5b, 0x6f, 0x23, 0x53, 0xf7, 0xce, 0x26, 0x94, 0x22, 0xaf, 0x51, 0xe6,
  1814. 0x63, 0x9a, 0x04, 0x10, 0x21, 0x0f, 0x6e, 0xc5, 0x61, 0x61, 0x59, 0x33, 0x95, 0x07, 0x50, 0x7c,
  1815. 0x87, 0xea, 0x5b, 0x4e, 0xf6, 0x37, 0xa1, 0xf3, 0x55, 0xcf, 0x75, 0xbd, 0xea, 0x1f, 0xc2, 0xab,
  1816. 0x2b, 0xb6, 0xf7, 0x1f, 0x39, 0xff, 0x1c, 0xc1, 0xc4, 0x2a, 0xa1, 0x2d, 0x85, 0xd5, 0xbe, 0x4e,
  1817. 0x1a, 0xcc, 0x6d, 0xa7, 0xe6, 0x12, 0x00, 0x25, 0xbb, 0x72, 0x67, 0x14, 0xc3, 0x63, 0x0a, 0x35,
  1818. 0x94, 0x7a, 0x83, 0xee, 0x55, 0x87, 0x29, 0xd9, 0x0d, 0x3c, 0xb4, 0x40, 0xcc, 0x31, 0xe5, 0x2b,
  1819. 0xe6, 0x10, 0x10, 0x73, 0x4c, 0xd1, 0x4b, 0x7f, 0x23, 0x38, 0x13, 0xcf, 0x44, 0xd4, 0x4b, 0x8a,
  1820. 0xed, 0x16, 0x20, 0xd7, 0xde, 0x65, 0xce, 0x36, 0xf1, 0x1d, 0x28, 0x18, 0x1f, 0xeb, 0xd4, 0x22,
  1821. 0x35, 0x97, 0xfb, 0xf2, 0x4a, 0x03, 0xbc, 0xd0, 0x52, 0xdc, 0x39, 0x1c, 0x26, 0x18, 0xe4, 0x8d,
  1822. 0xc8, 0xc8, 0xc3, 0xb7, 0x60, 0xc4, 0xb4, 0x75, 0x8b, 0x32, 0xcf, 0xb7, 0x0d, 0xaf, 0x34, 0xc8,
  1823. 0x5d, 0x5e, 0x48, 0x74, 0xb9, 0xd2, 0xc6, 0x54, 0xa3, 0xf8, 0x85, 0xdf, 0xc7, 0xa0, 0x20, 0x4e,
  1824. 0x36, 0x78, 0xd1, 0x5d, 0xfc, 0x15, 0x82, 0xd1, 0xa8, 0x90, 0xc3, 0x97, 0x13, 0xbd, 0xc7, 0x88,
  1825. 0xd3, 0xf2, 0x95, 0x8c, 0xa8, 0x20, 0xd1, 0x4a, 0xf1, 0xc9, 0x6f, 0x7f, 0x3d, 0xcb, 0x15, 0xf0,
  1826. 0x68, 0xe4, 0x83, 0xc1, 0xc3, 0xdf, 0x20, 0x80, 0x83, 0x0e, 0xc2, 0x0b, 0x19, 0x9e, 0xfe, 0x90,
  1827. 0x4f, 0x56, 0x49, 0xa3, 0xcc, 0x70, 0x26, 0x93, 0x78, 0x22, 0xca, 0x44, 0xdb, 0x8f, 0x96, 0xc1,
  1828. 0x63, 0xfc, 0x14, 0x41, 0x5e, 0xba, 0x84, 0x71, 0xf2, 0xbe, 0xe3, 0x04, 0x66, 0x79, 0x32, 0x84,
  1829. 0x45, 0xbe, 0x3e, 0xd4, 0xdb, 0xe1, 0xd7, 0x87, 0x32, 0xc9, 0xc9, 0x8c, 0x2b, 0x52, 0x5a, 0x2a,
  1830. 0xa1, 0xea, 0xc2, 0x5f, 0x20, 0xc8, 0x4b, 0xa2, 0x32, 0x05, 0x8d, 0x38, 0x11, 0x9a, 0x44, 0x43,
  1831. 0xe4, 0x64, 0xae, 0x67, 0x4e, 0x9e, 0x23, 0x38, 0xde, 0xa1, 0x34, 0xf1, 0x9b, 0x89, 0x74, 0xe2,
  1832. 0x85, 0x6d, 0x12, 0xa1, 0x37, 0x38, 0xa1, 0xf3, 0xca, 0xb9, 0x1e, 0x84, 0x2a, 0x4d, 0xe1, 0x1a,
  1833. 0xff, 0x88, 0x00, 0x77, 0x0b, 0x29, 0x5c, 0xc9, 0x52, 0xaa, 0xb2, 0xf4, 0x2b, 0x2f, 0xf6, 0x85,
  1834. 0x15, 0xc5, 0x7e, 0x81, 0xb3, 0x7f, 0x0d, 0xcf, 0xf4, 0x60, 0xaf, 0x09, 0x4d, 0x87, 0x7f, 0x46,
  1835. 0x70, 0xa2, 0x53, 0xd1, 0xe2, 0xb7, 0xfa, 0x15, 0xc1, 0xe5, 0x38, 0x89, 0xa1, 0x7c, 0xc4, 0x09,
  1836. 0xdd, 0xc7, 0x5a, 0x0a, 0x42, 0xda, 0x7e, 0x5b, 0xa9, 0x3f, 0x7e, 0x70, 0x0e, 0x2b, 0xc9, 0x10,
  1837. 0xfc, 0x2d, 0x82, 0xb1, 0x18, 0x11, 0x89, 0x17, 0xb3, 0xf5, 0x4c, 0x8a, 0x8d, 0x2c, 0xf2, 0x8d,
  1838. 0x5c, 0x51, 0xd2, 0x64, 0xb6, 0xd2, 0xa1, 0xc1, 0xf0, 0x77, 0x08, 0x70, 0xb7, 0x68, 0x4b, 0x51,
  1839. 0x26, 0x87, 0x4a, 0xd4, 0xa4, 0x32, 0xbe, 0xc2, 0xe9, 0x6a, 0xca, 0x5c, 0x1a, 0xba, 0x1e, 0x8f,
  1840. 0x52, 0x41, 0x73, 0xf8, 0x27, 0xf9, 0xc7, 0x40, 0xa8, 0x72, 0x70, 0xa6, 0xa2, 0xec, 0x50, 0x6c,
  1841. 0xe5, 0xeb, 0xfd, 0x81, 0x45, 0x49, 0x8b, 0x86, 0xc4, 0xbd, 0x1a, 0x52, 0x6b, 0x0b, 0xa8, 0xef,
  1842. 0x91, 0xf4, 0x9d, 0x1e, 0x98, 0xf1, 0xb5, 0x2c, 0xd7, 0xbb, 0xa4, 0xa6, 0xca, 0xa9, 0x55, 0x9c,
  1843. 0x72, 0x8d, 0x13, 0xbd, 0x84, 0xe7, 0xd3, 0x10, 0xd5, 0xf6, 0x0f, 0x04, 0xd8, 0x63, 0xfc, 0x12,
  1844. 0x75, 0xfe, 0x25, 0x10, 0xc4, 0xaf, 0x67, 0xbc, 0xfb, 0x65, 0xee, 0x29, 0x6b, 0x24, 0x55, 0x66,
  1845. 0x2b, 0xa1, 0x3e, 0xc7, 0xbf, 0x20, 0x28, 0xc6, 0x49, 0x9b, 0x14, 0x64, 0x7b, 0x68, 0xb3, 0xf2,
  1846. 0xdb, 0x7d, 0xa2, 0xe5, 0x32, 0x51, 0xa6, 0xa5, 0xf7, 0xcc, 0x8a, 0x81, 0xb4, 0xea, 0xfc, 0x6b,
  1847. 0x04, 0x79, 0x49, 0xe2, 0xa6, 0x78, 0xde, 0xe2, 0x24, 0x71, 0x52, 0x8a, 0x2f, 0x72, 0x56, 0xaf,
  1848. 0x2b, 0xbd, 0xee, 0xb2, 0x0a, 0xe1, 0x8e, 0x5b, 0xb4, 0x9e, 0x23, 0x28, 0xc8, 0xea, 0x18, 0x5f,
  1849. 0x4d, 0xa1, 0xc4, 0xbc, 0xec, 0xc4, 0x54, 0x4e, 0x6c, 0xb6, 0xe7, 0x75, 0x56, 0x31, 0x03, 0xcf,
  1850. 0x15, 0x34, 0xb7, 0xf4, 0x27, 0x82, 0x19, 0x83, 0xd5, 0x93, 0xc8, 0x2c, 0x8d, 0xc9, 0xda, 0x6f,
  1851. 0xbd, 0x25, 0x8f, 0xd7, 0xd1, 0x83, 0x75, 0x81, 0xb3, 0x98, 0xa3, 0x53, 0x4b, 0x65, 0xae, 0xa5,
  1852. 0x59, 0x84, 0x72, 0xf1, 0x2c, 0xfe, 0xaa, 0xea, 0x0d, 0xdb, 0x3b, 0xf4, 0xcf, 0xea, 0x62, 0x97,
  1853. 0xf1, 0x45, 0x6e, 0x70, 0xf5, 0xc6, 0xc6, 0xad, 0x97, 0xb9, 0xe9, 0xd5, 0xc0, 0xf3, 0xb2, 0xc3,
  1854. 0x9a, 0xa6, 0x2a, 0x45, 0xe7, 0x9c, 0xee, 0xcd, 0xff, 0x1a, 0xae, 0xd9, 0xe4, 0x6b, 0x36, 0xbb,
  1855. 0xd6, 0x6c, 0xde, 0x9b, 0xdf, 0x3a, 0xca, 0xb9, 0x5c, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x0e,
  1856. 0x92, 0xfd, 0x90, 0x73, 0x16, 0x00, 0x00,
  1857. }