| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/appengine/v1/appengine.proto |
| |
| package appengine // import "google.golang.org/genproto/googleapis/appengine/v1" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import _ "github.com/golang/protobuf/ptypes/empty" |
| import _ "google.golang.org/genproto/googleapis/api/annotations" |
| import _ "google.golang.org/genproto/googleapis/iam/v1" |
| import longrunning "google.golang.org/genproto/googleapis/longrunning" |
| import field_mask "google.golang.org/genproto/protobuf/field_mask" |
| |
| import ( |
| context "golang.org/x/net/context" |
| grpc "google.golang.org/grpc" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| |
| // Fields that should be returned when [Version][google.appengine.v1.Version] resources |
| // are retreived. |
| type VersionView int32 |
| |
| const ( |
| // Basic version information including scaling and inbound services, |
| // but not detailed deployment information. |
| VersionView_BASIC VersionView = 0 |
| // The information from `BASIC`, plus detailed information about the |
| // deployment. This format is required when creating resources, but |
| // is not returned in `Get` or `List` by default. |
| VersionView_FULL VersionView = 1 |
| ) |
| |
| var VersionView_name = map[int32]string{ |
| 0: "BASIC", |
| 1: "FULL", |
| } |
| var VersionView_value = map[string]int32{ |
| "BASIC": 0, |
| "FULL": 1, |
| } |
| |
| func (x VersionView) String() string { |
| return proto.EnumName(VersionView_name, int32(x)) |
| } |
| func (VersionView) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{0} |
| } |
| |
| // Request message for `Applications.GetApplication`. |
| type GetApplicationRequest struct { |
| // Name of the Application resource to get. Example: `apps/myapp`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetApplicationRequest) Reset() { *m = GetApplicationRequest{} } |
| func (m *GetApplicationRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetApplicationRequest) ProtoMessage() {} |
| func (*GetApplicationRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{0} |
| } |
| func (m *GetApplicationRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetApplicationRequest.Unmarshal(m, b) |
| } |
| func (m *GetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetApplicationRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetApplicationRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetApplicationRequest.Merge(dst, src) |
| } |
| func (m *GetApplicationRequest) XXX_Size() int { |
| return xxx_messageInfo_GetApplicationRequest.Size(m) |
| } |
| func (m *GetApplicationRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetApplicationRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetApplicationRequest proto.InternalMessageInfo |
| |
| func (m *GetApplicationRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for 'Applications.RepairApplication'. |
| type RepairApplicationRequest struct { |
| // Name of the application to repair. Example: `apps/myapp` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RepairApplicationRequest) Reset() { *m = RepairApplicationRequest{} } |
| func (m *RepairApplicationRequest) String() string { return proto.CompactTextString(m) } |
| func (*RepairApplicationRequest) ProtoMessage() {} |
| func (*RepairApplicationRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{1} |
| } |
| func (m *RepairApplicationRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RepairApplicationRequest.Unmarshal(m, b) |
| } |
| func (m *RepairApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RepairApplicationRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *RepairApplicationRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RepairApplicationRequest.Merge(dst, src) |
| } |
| func (m *RepairApplicationRequest) XXX_Size() int { |
| return xxx_messageInfo_RepairApplicationRequest.Size(m) |
| } |
| func (m *RepairApplicationRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_RepairApplicationRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RepairApplicationRequest proto.InternalMessageInfo |
| |
| func (m *RepairApplicationRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Services.ListServices`. |
| type ListServicesRequest struct { |
| // Name of the parent Application resource. Example: `apps/myapp`. |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Maximum results to return per page. |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // Continuation token for fetching the next page of results. |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } |
| func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListServicesRequest) ProtoMessage() {} |
| func (*ListServicesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{2} |
| } |
| func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) |
| } |
| func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *ListServicesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListServicesRequest.Merge(dst, src) |
| } |
| func (m *ListServicesRequest) XXX_Size() int { |
| return xxx_messageInfo_ListServicesRequest.Size(m) |
| } |
| func (m *ListServicesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo |
| |
| func (m *ListServicesRequest) GetParent() string { |
| if m != nil { |
| return m.Parent |
| } |
| return "" |
| } |
| |
| func (m *ListServicesRequest) GetPageSize() int32 { |
| if m != nil { |
| return m.PageSize |
| } |
| return 0 |
| } |
| |
| func (m *ListServicesRequest) GetPageToken() string { |
| if m != nil { |
| return m.PageToken |
| } |
| return "" |
| } |
| |
| // Response message for `Services.ListServices`. |
| type ListServicesResponse struct { |
| // The services belonging to the requested application. |
| Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` |
| // Continuation token for fetching the next page of results. |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } |
| func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListServicesResponse) ProtoMessage() {} |
| func (*ListServicesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{3} |
| } |
| func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) |
| } |
| func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *ListServicesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListServicesResponse.Merge(dst, src) |
| } |
| func (m *ListServicesResponse) XXX_Size() int { |
| return xxx_messageInfo_ListServicesResponse.Size(m) |
| } |
| func (m *ListServicesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo |
| |
| func (m *ListServicesResponse) GetServices() []*Service { |
| if m != nil { |
| return m.Services |
| } |
| return nil |
| } |
| |
| func (m *ListServicesResponse) GetNextPageToken() string { |
| if m != nil { |
| return m.NextPageToken |
| } |
| return "" |
| } |
| |
| // Request message for `Services.GetService`. |
| type GetServiceRequest struct { |
| // Name of the resource requested. Example: `apps/myapp/services/default`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } |
| func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetServiceRequest) ProtoMessage() {} |
| func (*GetServiceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{4} |
| } |
| func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) |
| } |
| func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetServiceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetServiceRequest.Merge(dst, src) |
| } |
| func (m *GetServiceRequest) XXX_Size() int { |
| return xxx_messageInfo_GetServiceRequest.Size(m) |
| } |
| func (m *GetServiceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo |
| |
| func (m *GetServiceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Services.UpdateService`. |
| type UpdateServiceRequest struct { |
| // Name of the resource to update. Example: `apps/myapp/services/default`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // A Service resource containing the updated service. Only fields set in the |
| // field mask will be updated. |
| Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` |
| // Standard field mask for the set of fields to be updated. |
| UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| // Set to `true` to gradually shift traffic from one version to another |
| // single version. By default, traffic is shifted immediately. |
| // For gradual traffic migration, the target version |
| // must be located within instances that are configured for both |
| // [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) |
| // and |
| // [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). |
| // You must specify the |
| // [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) |
| // field in the Service resource. Gradual traffic migration is not |
| // supported in the App Engine flexible environment. For examples, see |
| // [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). |
| MigrateTraffic bool `protobuf:"varint,4,opt,name=migrate_traffic,json=migrateTraffic,proto3" json:"migrate_traffic,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } |
| func (m *UpdateServiceRequest) String() string { return proto.CompactTextString(m) } |
| func (*UpdateServiceRequest) ProtoMessage() {} |
| func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{5} |
| } |
| func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdateServiceRequest.Unmarshal(m, b) |
| } |
| func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdateServiceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *UpdateServiceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdateServiceRequest.Merge(dst, src) |
| } |
| func (m *UpdateServiceRequest) XXX_Size() int { |
| return xxx_messageInfo_UpdateServiceRequest.Size(m) |
| } |
| func (m *UpdateServiceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdateServiceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdateServiceRequest proto.InternalMessageInfo |
| |
| func (m *UpdateServiceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *UpdateServiceRequest) GetService() *Service { |
| if m != nil { |
| return m.Service |
| } |
| return nil |
| } |
| |
| func (m *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { |
| if m != nil { |
| return m.UpdateMask |
| } |
| return nil |
| } |
| |
| func (m *UpdateServiceRequest) GetMigrateTraffic() bool { |
| if m != nil { |
| return m.MigrateTraffic |
| } |
| return false |
| } |
| |
| // Request message for `Services.DeleteService`. |
| type DeleteServiceRequest struct { |
| // Name of the resource requested. Example: `apps/myapp/services/default`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} } |
| func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteServiceRequest) ProtoMessage() {} |
| func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{6} |
| } |
| func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteServiceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DeleteServiceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteServiceRequest.Merge(dst, src) |
| } |
| func (m *DeleteServiceRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteServiceRequest.Size(m) |
| } |
| func (m *DeleteServiceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteServiceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteServiceRequest proto.InternalMessageInfo |
| |
| func (m *DeleteServiceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Versions.ListVersions`. |
| type ListVersionsRequest struct { |
| // Name of the parent Service resource. Example: |
| // `apps/myapp/services/default`. |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Controls the set of fields returned in the `List` response. |
| View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` |
| // Maximum results to return per page. |
| PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // Continuation token for fetching the next page of results. |
| PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} } |
| func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListVersionsRequest) ProtoMessage() {} |
| func (*ListVersionsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{7} |
| } |
| func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b) |
| } |
| func (m *ListVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListVersionsRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *ListVersionsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListVersionsRequest.Merge(dst, src) |
| } |
| func (m *ListVersionsRequest) XXX_Size() int { |
| return xxx_messageInfo_ListVersionsRequest.Size(m) |
| } |
| func (m *ListVersionsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListVersionsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListVersionsRequest proto.InternalMessageInfo |
| |
| func (m *ListVersionsRequest) GetParent() string { |
| if m != nil { |
| return m.Parent |
| } |
| return "" |
| } |
| |
| func (m *ListVersionsRequest) GetView() VersionView { |
| if m != nil { |
| return m.View |
| } |
| return VersionView_BASIC |
| } |
| |
| func (m *ListVersionsRequest) GetPageSize() int32 { |
| if m != nil { |
| return m.PageSize |
| } |
| return 0 |
| } |
| |
| func (m *ListVersionsRequest) GetPageToken() string { |
| if m != nil { |
| return m.PageToken |
| } |
| return "" |
| } |
| |
| // Response message for `Versions.ListVersions`. |
| type ListVersionsResponse struct { |
| // The versions belonging to the requested service. |
| Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` |
| // Continuation token for fetching the next page of results. |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} } |
| func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListVersionsResponse) ProtoMessage() {} |
| func (*ListVersionsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{8} |
| } |
| func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b) |
| } |
| func (m *ListVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListVersionsResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *ListVersionsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListVersionsResponse.Merge(dst, src) |
| } |
| func (m *ListVersionsResponse) XXX_Size() int { |
| return xxx_messageInfo_ListVersionsResponse.Size(m) |
| } |
| func (m *ListVersionsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListVersionsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListVersionsResponse proto.InternalMessageInfo |
| |
| func (m *ListVersionsResponse) GetVersions() []*Version { |
| if m != nil { |
| return m.Versions |
| } |
| return nil |
| } |
| |
| func (m *ListVersionsResponse) GetNextPageToken() string { |
| if m != nil { |
| return m.NextPageToken |
| } |
| return "" |
| } |
| |
| // Request message for `Versions.GetVersion`. |
| type GetVersionRequest struct { |
| // Name of the resource requested. Example: |
| // `apps/myapp/services/default/versions/v1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Controls the set of fields returned in the `Get` response. |
| View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} } |
| func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetVersionRequest) ProtoMessage() {} |
| func (*GetVersionRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{9} |
| } |
| func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) |
| } |
| func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetVersionRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetVersionRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetVersionRequest.Merge(dst, src) |
| } |
| func (m *GetVersionRequest) XXX_Size() int { |
| return xxx_messageInfo_GetVersionRequest.Size(m) |
| } |
| func (m *GetVersionRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetVersionRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetVersionRequest proto.InternalMessageInfo |
| |
| func (m *GetVersionRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *GetVersionRequest) GetView() VersionView { |
| if m != nil { |
| return m.View |
| } |
| return VersionView_BASIC |
| } |
| |
| // Request message for `Versions.CreateVersion`. |
| type CreateVersionRequest struct { |
| // Name of the parent resource to create this version under. Example: |
| // `apps/myapp/services/default`. |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Application deployment configuration. |
| Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CreateVersionRequest) Reset() { *m = CreateVersionRequest{} } |
| func (m *CreateVersionRequest) String() string { return proto.CompactTextString(m) } |
| func (*CreateVersionRequest) ProtoMessage() {} |
| func (*CreateVersionRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{10} |
| } |
| func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b) |
| } |
| func (m *CreateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CreateVersionRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *CreateVersionRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CreateVersionRequest.Merge(dst, src) |
| } |
| func (m *CreateVersionRequest) XXX_Size() int { |
| return xxx_messageInfo_CreateVersionRequest.Size(m) |
| } |
| func (m *CreateVersionRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CreateVersionRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CreateVersionRequest proto.InternalMessageInfo |
| |
| func (m *CreateVersionRequest) GetParent() string { |
| if m != nil { |
| return m.Parent |
| } |
| return "" |
| } |
| |
| func (m *CreateVersionRequest) GetVersion() *Version { |
| if m != nil { |
| return m.Version |
| } |
| return nil |
| } |
| |
| // Request message for `Versions.UpdateVersion`. |
| type UpdateVersionRequest struct { |
| // Name of the resource to update. Example: |
| // `apps/myapp/services/default/versions/1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // A Version containing the updated resource. Only fields set in the field |
| // mask will be updated. |
| Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` |
| // Standard field mask for the set of fields to be updated. |
| UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdateVersionRequest) Reset() { *m = UpdateVersionRequest{} } |
| func (m *UpdateVersionRequest) String() string { return proto.CompactTextString(m) } |
| func (*UpdateVersionRequest) ProtoMessage() {} |
| func (*UpdateVersionRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{11} |
| } |
| func (m *UpdateVersionRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdateVersionRequest.Unmarshal(m, b) |
| } |
| func (m *UpdateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdateVersionRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *UpdateVersionRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdateVersionRequest.Merge(dst, src) |
| } |
| func (m *UpdateVersionRequest) XXX_Size() int { |
| return xxx_messageInfo_UpdateVersionRequest.Size(m) |
| } |
| func (m *UpdateVersionRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdateVersionRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdateVersionRequest proto.InternalMessageInfo |
| |
| func (m *UpdateVersionRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *UpdateVersionRequest) GetVersion() *Version { |
| if m != nil { |
| return m.Version |
| } |
| return nil |
| } |
| |
| func (m *UpdateVersionRequest) GetUpdateMask() *field_mask.FieldMask { |
| if m != nil { |
| return m.UpdateMask |
| } |
| return nil |
| } |
| |
| // Request message for `Versions.DeleteVersion`. |
| type DeleteVersionRequest struct { |
| // Name of the resource requested. Example: |
| // `apps/myapp/services/default/versions/v1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} } |
| func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteVersionRequest) ProtoMessage() {} |
| func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{12} |
| } |
| func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteVersionRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DeleteVersionRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteVersionRequest.Merge(dst, src) |
| } |
| func (m *DeleteVersionRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteVersionRequest.Size(m) |
| } |
| func (m *DeleteVersionRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteVersionRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteVersionRequest proto.InternalMessageInfo |
| |
| func (m *DeleteVersionRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Instances.ListInstances`. |
| type ListInstancesRequest struct { |
| // Name of the parent Version resource. Example: |
| // `apps/myapp/services/default/versions/v1`. |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Maximum results to return per page. |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // Continuation token for fetching the next page of results. |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } |
| func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListInstancesRequest) ProtoMessage() {} |
| func (*ListInstancesRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{13} |
| } |
| func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) |
| } |
| func (m *ListInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListInstancesRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *ListInstancesRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListInstancesRequest.Merge(dst, src) |
| } |
| func (m *ListInstancesRequest) XXX_Size() int { |
| return xxx_messageInfo_ListInstancesRequest.Size(m) |
| } |
| func (m *ListInstancesRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListInstancesRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListInstancesRequest proto.InternalMessageInfo |
| |
| func (m *ListInstancesRequest) GetParent() string { |
| if m != nil { |
| return m.Parent |
| } |
| return "" |
| } |
| |
| func (m *ListInstancesRequest) GetPageSize() int32 { |
| if m != nil { |
| return m.PageSize |
| } |
| return 0 |
| } |
| |
| func (m *ListInstancesRequest) GetPageToken() string { |
| if m != nil { |
| return m.PageToken |
| } |
| return "" |
| } |
| |
| // Response message for `Instances.ListInstances`. |
| type ListInstancesResponse struct { |
| // The instances belonging to the requested version. |
| Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` |
| // Continuation token for fetching the next page of results. |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } |
| func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListInstancesResponse) ProtoMessage() {} |
| func (*ListInstancesResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{14} |
| } |
| func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) |
| } |
| func (m *ListInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListInstancesResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *ListInstancesResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListInstancesResponse.Merge(dst, src) |
| } |
| func (m *ListInstancesResponse) XXX_Size() int { |
| return xxx_messageInfo_ListInstancesResponse.Size(m) |
| } |
| func (m *ListInstancesResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListInstancesResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListInstancesResponse proto.InternalMessageInfo |
| |
| func (m *ListInstancesResponse) GetInstances() []*Instance { |
| if m != nil { |
| return m.Instances |
| } |
| return nil |
| } |
| |
| func (m *ListInstancesResponse) GetNextPageToken() string { |
| if m != nil { |
| return m.NextPageToken |
| } |
| return "" |
| } |
| |
| // Request message for `Instances.GetInstance`. |
| type GetInstanceRequest struct { |
| // Name of the resource requested. Example: |
| // `apps/myapp/services/default/versions/v1/instances/instance-1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } |
| func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetInstanceRequest) ProtoMessage() {} |
| func (*GetInstanceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{15} |
| } |
| func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) |
| } |
| func (m *GetInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetInstanceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetInstanceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetInstanceRequest.Merge(dst, src) |
| } |
| func (m *GetInstanceRequest) XXX_Size() int { |
| return xxx_messageInfo_GetInstanceRequest.Size(m) |
| } |
| func (m *GetInstanceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetInstanceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetInstanceRequest proto.InternalMessageInfo |
| |
| func (m *GetInstanceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Instances.DeleteInstance`. |
| type DeleteInstanceRequest struct { |
| // Name of the resource requested. Example: |
| // `apps/myapp/services/default/versions/v1/instances/instance-1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } |
| func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeleteInstanceRequest) ProtoMessage() {} |
| func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{16} |
| } |
| func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) |
| } |
| func (m *DeleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeleteInstanceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DeleteInstanceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeleteInstanceRequest.Merge(dst, src) |
| } |
| func (m *DeleteInstanceRequest) XXX_Size() int { |
| return xxx_messageInfo_DeleteInstanceRequest.Size(m) |
| } |
| func (m *DeleteInstanceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeleteInstanceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeleteInstanceRequest proto.InternalMessageInfo |
| |
| func (m *DeleteInstanceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // Request message for `Instances.DebugInstance`. |
| type DebugInstanceRequest struct { |
| // Name of the resource requested. Example: |
| // `apps/myapp/services/default/versions/v1/instances/instance-1`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DebugInstanceRequest) Reset() { *m = DebugInstanceRequest{} } |
| func (m *DebugInstanceRequest) String() string { return proto.CompactTextString(m) } |
| func (*DebugInstanceRequest) ProtoMessage() {} |
| func (*DebugInstanceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_appengine_2fc15a0f1846cd0f, []int{17} |
| } |
| func (m *DebugInstanceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DebugInstanceRequest.Unmarshal(m, b) |
| } |
| func (m *DebugInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DebugInstanceRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DebugInstanceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DebugInstanceRequest.Merge(dst, src) |
| } |
| func (m *DebugInstanceRequest) XXX_Size() int { |
| return xxx_messageInfo_DebugInstanceRequest.Size(m) |
| } |
| func (m *DebugInstanceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DebugInstanceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DebugInstanceRequest proto.InternalMessageInfo |
| |
| func (m *DebugInstanceRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*GetApplicationRequest)(nil), "google.appengine.v1.GetApplicationRequest") |
| proto.RegisterType((*RepairApplicationRequest)(nil), "google.appengine.v1.RepairApplicationRequest") |
| proto.RegisterType((*ListServicesRequest)(nil), "google.appengine.v1.ListServicesRequest") |
| proto.RegisterType((*ListServicesResponse)(nil), "google.appengine.v1.ListServicesResponse") |
| proto.RegisterType((*GetServiceRequest)(nil), "google.appengine.v1.GetServiceRequest") |
| proto.RegisterType((*UpdateServiceRequest)(nil), "google.appengine.v1.UpdateServiceRequest") |
| proto.RegisterType((*DeleteServiceRequest)(nil), "google.appengine.v1.DeleteServiceRequest") |
| proto.RegisterType((*ListVersionsRequest)(nil), "google.appengine.v1.ListVersionsRequest") |
| proto.RegisterType((*ListVersionsResponse)(nil), "google.appengine.v1.ListVersionsResponse") |
| proto.RegisterType((*GetVersionRequest)(nil), "google.appengine.v1.GetVersionRequest") |
| proto.RegisterType((*CreateVersionRequest)(nil), "google.appengine.v1.CreateVersionRequest") |
| proto.RegisterType((*UpdateVersionRequest)(nil), "google.appengine.v1.UpdateVersionRequest") |
| proto.RegisterType((*DeleteVersionRequest)(nil), "google.appengine.v1.DeleteVersionRequest") |
| proto.RegisterType((*ListInstancesRequest)(nil), "google.appengine.v1.ListInstancesRequest") |
| proto.RegisterType((*ListInstancesResponse)(nil), "google.appengine.v1.ListInstancesResponse") |
| proto.RegisterType((*GetInstanceRequest)(nil), "google.appengine.v1.GetInstanceRequest") |
| proto.RegisterType((*DeleteInstanceRequest)(nil), "google.appengine.v1.DeleteInstanceRequest") |
| proto.RegisterType((*DebugInstanceRequest)(nil), "google.appengine.v1.DebugInstanceRequest") |
| proto.RegisterEnum("google.appengine.v1.VersionView", VersionView_name, VersionView_value) |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // InstancesClient is the client API for Instances service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type InstancesClient interface { |
| // Lists the instances of a version. |
| ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) |
| // Gets instance information. |
| GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) |
| // Stops a running instance. |
| DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Enables debugging on a VM instance. This allows you to use the SSH |
| // command to connect to the virtual machine where the instance lives. |
| // While in "debug mode", the instance continues to serve live traffic. |
| // You should delete the instance when you are done debugging and then |
| // allow the system to take over and determine if another instance |
| // should be started. |
| // |
| // Only applicable for instances in App Engine flexible environment. |
| DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| } |
| |
| type instancesClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewInstancesClient(cc *grpc.ClientConn) InstancesClient { |
| return &instancesClient{cc} |
| } |
| |
| func (c *instancesClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { |
| out := new(ListInstancesResponse) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/ListInstances", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *instancesClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { |
| out := new(Instance) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/GetInstance", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *instancesClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/DeleteInstance", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *instancesClient) DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/DebugInstance", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // InstancesServer is the server API for Instances service. |
| type InstancesServer interface { |
| // Lists the instances of a version. |
| ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) |
| // Gets instance information. |
| GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) |
| // Stops a running instance. |
| DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) |
| // Enables debugging on a VM instance. This allows you to use the SSH |
| // command to connect to the virtual machine where the instance lives. |
| // While in "debug mode", the instance continues to serve live traffic. |
| // You should delete the instance when you are done debugging and then |
| // allow the system to take over and determine if another instance |
| // should be started. |
| // |
| // Only applicable for instances in App Engine flexible environment. |
| DebugInstance(context.Context, *DebugInstanceRequest) (*longrunning.Operation, error) |
| } |
| |
| func RegisterInstancesServer(s *grpc.Server, srv InstancesServer) { |
| s.RegisterService(&_Instances_serviceDesc, srv) |
| } |
| |
| func _Instances_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListInstancesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(InstancesServer).ListInstances(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Instances/ListInstances", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(InstancesServer).ListInstances(ctx, req.(*ListInstancesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Instances_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetInstanceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(InstancesServer).GetInstance(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Instances/GetInstance", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(InstancesServer).GetInstance(ctx, req.(*GetInstanceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Instances_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteInstanceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(InstancesServer).DeleteInstance(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Instances/DeleteInstance", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(InstancesServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Instances_DebugInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DebugInstanceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(InstancesServer).DebugInstance(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Instances/DebugInstance", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(InstancesServer).DebugInstance(ctx, req.(*DebugInstanceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Instances_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.appengine.v1.Instances", |
| HandlerType: (*InstancesServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "ListInstances", |
| Handler: _Instances_ListInstances_Handler, |
| }, |
| { |
| MethodName: "GetInstance", |
| Handler: _Instances_GetInstance_Handler, |
| }, |
| { |
| MethodName: "DeleteInstance", |
| Handler: _Instances_DeleteInstance_Handler, |
| }, |
| { |
| MethodName: "DebugInstance", |
| Handler: _Instances_DebugInstance_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/appengine/v1/appengine.proto", |
| } |
| |
| // VersionsClient is the client API for Versions service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type VersionsClient interface { |
| // Lists the versions of a service. |
| ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) |
| // Gets the specified Version resource. |
| // By default, only a `BASIC_VIEW` will be returned. |
| // Specify the `FULL_VIEW` parameter to get the full resource. |
| GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) |
| // Deploys code and resource files to a new version. |
| CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Updates the specified Version resource. |
| // You can specify the following fields depending on the App Engine |
| // environment and type of scaling that the version resource uses: |
| // |
| // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): |
| // For Version resources that use basic scaling, manual scaling, or run in |
| // the App Engine flexible environment. |
| // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): |
| // For Version resources that run in the App Engine standard environment. |
| // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): |
| // For Version resources that use automatic scaling and run in the App |
| // Engine standard environment. |
| // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): |
| // For Version resources that use automatic scaling and run in the App |
| // Engine standard environment. |
| UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Deletes an existing Version resource. |
| DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| } |
| |
| type versionsClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewVersionsClient(cc *grpc.ClientConn) VersionsClient { |
| return &versionsClient{cc} |
| } |
| |
| func (c *versionsClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) { |
| out := new(ListVersionsResponse) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/ListVersions", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *versionsClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) { |
| out := new(Version) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/GetVersion", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *versionsClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/CreateVersion", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *versionsClient) UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/UpdateVersion", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *versionsClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/DeleteVersion", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // VersionsServer is the server API for Versions service. |
| type VersionsServer interface { |
| // Lists the versions of a service. |
| ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) |
| // Gets the specified Version resource. |
| // By default, only a `BASIC_VIEW` will be returned. |
| // Specify the `FULL_VIEW` parameter to get the full resource. |
| GetVersion(context.Context, *GetVersionRequest) (*Version, error) |
| // Deploys code and resource files to a new version. |
| CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) |
| // Updates the specified Version resource. |
| // You can specify the following fields depending on the App Engine |
| // environment and type of scaling that the version resource uses: |
| // |
| // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): |
| // For Version resources that use basic scaling, manual scaling, or run in |
| // the App Engine flexible environment. |
| // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): |
| // For Version resources that run in the App Engine standard environment. |
| // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): |
| // For Version resources that use automatic scaling and run in the App |
| // Engine standard environment. |
| // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): |
| // For Version resources that use automatic scaling and run in the App |
| // Engine standard environment. |
| UpdateVersion(context.Context, *UpdateVersionRequest) (*longrunning.Operation, error) |
| // Deletes an existing Version resource. |
| DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) |
| } |
| |
| func RegisterVersionsServer(s *grpc.Server, srv VersionsServer) { |
| s.RegisterService(&_Versions_serviceDesc, srv) |
| } |
| |
| func _Versions_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListVersionsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(VersionsServer).ListVersions(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Versions/ListVersions", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(VersionsServer).ListVersions(ctx, req.(*ListVersionsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Versions_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetVersionRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(VersionsServer).GetVersion(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Versions/GetVersion", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(VersionsServer).GetVersion(ctx, req.(*GetVersionRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Versions_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CreateVersionRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(VersionsServer).CreateVersion(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Versions/CreateVersion", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(VersionsServer).CreateVersion(ctx, req.(*CreateVersionRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Versions_UpdateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(UpdateVersionRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(VersionsServer).UpdateVersion(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Versions/UpdateVersion", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(VersionsServer).UpdateVersion(ctx, req.(*UpdateVersionRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Versions_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteVersionRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(VersionsServer).DeleteVersion(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Versions/DeleteVersion", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(VersionsServer).DeleteVersion(ctx, req.(*DeleteVersionRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Versions_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.appengine.v1.Versions", |
| HandlerType: (*VersionsServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "ListVersions", |
| Handler: _Versions_ListVersions_Handler, |
| }, |
| { |
| MethodName: "GetVersion", |
| Handler: _Versions_GetVersion_Handler, |
| }, |
| { |
| MethodName: "CreateVersion", |
| Handler: _Versions_CreateVersion_Handler, |
| }, |
| { |
| MethodName: "UpdateVersion", |
| Handler: _Versions_UpdateVersion_Handler, |
| }, |
| { |
| MethodName: "DeleteVersion", |
| Handler: _Versions_DeleteVersion_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/appengine/v1/appengine.proto", |
| } |
| |
| // ServicesClient is the client API for Services service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type ServicesClient interface { |
| // Lists all the services in the application. |
| ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) |
| // Gets the current configuration of the specified service. |
| GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) |
| // Updates the configuration of the specified service. |
| UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| // Deletes the specified service and all enclosed versions. |
| DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| } |
| |
| type servicesClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewServicesClient(cc *grpc.ClientConn) ServicesClient { |
| return &servicesClient{cc} |
| } |
| |
| func (c *servicesClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { |
| out := new(ListServicesResponse) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/ListServices", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *servicesClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) { |
| out := new(Service) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/GetService", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *servicesClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/UpdateService", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *servicesClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/DeleteService", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // ServicesServer is the server API for Services service. |
| type ServicesServer interface { |
| // Lists all the services in the application. |
| ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) |
| // Gets the current configuration of the specified service. |
| GetService(context.Context, *GetServiceRequest) (*Service, error) |
| // Updates the configuration of the specified service. |
| UpdateService(context.Context, *UpdateServiceRequest) (*longrunning.Operation, error) |
| // Deletes the specified service and all enclosed versions. |
| DeleteService(context.Context, *DeleteServiceRequest) (*longrunning.Operation, error) |
| } |
| |
| func RegisterServicesServer(s *grpc.Server, srv ServicesServer) { |
| s.RegisterService(&_Services_serviceDesc, srv) |
| } |
| |
| func _Services_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListServicesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ServicesServer).ListServices(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Services/ListServices", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ServicesServer).ListServices(ctx, req.(*ListServicesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Services_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetServiceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ServicesServer).GetService(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Services/GetService", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ServicesServer).GetService(ctx, req.(*GetServiceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Services_UpdateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(UpdateServiceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ServicesServer).UpdateService(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Services/UpdateService", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ServicesServer).UpdateService(ctx, req.(*UpdateServiceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Services_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeleteServiceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ServicesServer).DeleteService(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Services/DeleteService", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ServicesServer).DeleteService(ctx, req.(*DeleteServiceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Services_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.appengine.v1.Services", |
| HandlerType: (*ServicesServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "ListServices", |
| Handler: _Services_ListServices_Handler, |
| }, |
| { |
| MethodName: "GetService", |
| Handler: _Services_GetService_Handler, |
| }, |
| { |
| MethodName: "UpdateService", |
| Handler: _Services_UpdateService_Handler, |
| }, |
| { |
| MethodName: "DeleteService", |
| Handler: _Services_DeleteService_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/appengine/v1/appengine.proto", |
| } |
| |
| // ApplicationsClient is the client API for Applications service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type ApplicationsClient interface { |
| // Gets information about an application. |
| GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) |
| // Recreates the required App Engine features for the application in your |
| // project, for example a Cloud Storage bucket or App Engine service account. |
| // Use this method if you receive an error message about a missing feature, |
| // for example "*Error retrieving the App Engine service account*". |
| RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| } |
| |
| type applicationsClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewApplicationsClient(cc *grpc.ClientConn) ApplicationsClient { |
| return &applicationsClient{cc} |
| } |
| |
| func (c *applicationsClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) { |
| out := new(Application) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Applications/GetApplication", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *applicationsClient) RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| out := new(longrunning.Operation) |
| err := c.cc.Invoke(ctx, "/google.appengine.v1.Applications/RepairApplication", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // ApplicationsServer is the server API for Applications service. |
| type ApplicationsServer interface { |
| // Gets information about an application. |
| GetApplication(context.Context, *GetApplicationRequest) (*Application, error) |
| // Recreates the required App Engine features for the application in your |
| // project, for example a Cloud Storage bucket or App Engine service account. |
| // Use this method if you receive an error message about a missing feature, |
| // for example "*Error retrieving the App Engine service account*". |
| RepairApplication(context.Context, *RepairApplicationRequest) (*longrunning.Operation, error) |
| } |
| |
| func RegisterApplicationsServer(s *grpc.Server, srv ApplicationsServer) { |
| s.RegisterService(&_Applications_serviceDesc, srv) |
| } |
| |
| func _Applications_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetApplicationRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ApplicationsServer).GetApplication(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Applications/GetApplication", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ApplicationsServer).GetApplication(ctx, req.(*GetApplicationRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Applications_RepairApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(RepairApplicationRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ApplicationsServer).RepairApplication(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.appengine.v1.Applications/RepairApplication", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ApplicationsServer).RepairApplication(ctx, req.(*RepairApplicationRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Applications_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.appengine.v1.Applications", |
| HandlerType: (*ApplicationsServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetApplication", |
| Handler: _Applications_GetApplication_Handler, |
| }, |
| { |
| MethodName: "RepairApplication", |
| Handler: _Applications_RepairApplication_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/appengine/v1/appengine.proto", |
| } |
| |
| func init() { |
| proto.RegisterFile("google/appengine/v1/appengine.proto", fileDescriptor_appengine_2fc15a0f1846cd0f) |
| } |
| |
| var fileDescriptor_appengine_2fc15a0f1846cd0f = []byte{ |
| // 1134 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdf, 0x6f, 0xdb, 0x54, |
| 0x14, 0xc6, 0x6d, 0xba, 0x25, 0x27, 0x6b, 0xb6, 0xde, 0xb6, 0x10, 0xbc, 0x76, 0x0a, 0x1e, 0x2c, |
| 0xa9, 0xa7, 0xc5, 0x9a, 0x07, 0xd3, 0x48, 0x01, 0xa9, 0xdd, 0xb4, 0x6a, 0x52, 0x11, 0x95, 0xbb, |
| 0xed, 0x01, 0x09, 0x55, 0x6e, 0x7a, 0x63, 0x5d, 0x9a, 0xd8, 0xc6, 0x76, 0xb2, 0x6e, 0x10, 0x21, |
| 0x31, 0x09, 0x01, 0x8f, 0x1b, 0x0f, 0x3c, 0x20, 0xed, 0x81, 0x7f, 0x86, 0x77, 0xfe, 0x01, 0x1e, |
| 0xf8, 0x43, 0x90, 0xaf, 0xef, 0xb5, 0x63, 0xc7, 0xbf, 0x54, 0xc4, 0x5b, 0x7c, 0xef, 0x77, 0xef, |
| 0xf9, 0xee, 0x77, 0x3e, 0xfb, 0x9c, 0x1b, 0xb8, 0x6e, 0x58, 0x96, 0x31, 0xc4, 0x8a, 0x6e, 0xdb, |
| 0xd8, 0x34, 0x88, 0x89, 0x95, 0xc9, 0xed, 0xe8, 0xa1, 0x6b, 0x3b, 0x96, 0x67, 0xa1, 0xd5, 0x00, |
| 0xd4, 0x8d, 0xc6, 0x27, 0xb7, 0xc5, 0x8d, 0x70, 0x25, 0x51, 0x74, 0xd3, 0xb4, 0x3c, 0xdd, 0x23, |
| 0x96, 0xe9, 0x06, 0x4b, 0xc4, 0x0f, 0x32, 0xf6, 0x1d, 0x92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, |
| 0xda, 0xfe, 0xe1, 0xaf, 0x7f, 0x5e, 0x2f, 0x7c, 0x84, 0xee, 0xf8, 0x85, 0xf9, 0xdb, 0x20, 0xd9, |
| 0x9f, 0xea, 0xb6, 0xed, 0x2a, 0x32, 0xef, 0x03, 0xfc, 0x9f, 0xfc, 0xa5, 0x57, 0xe4, 0xa9, 0x12, |
| 0xa5, 0xe0, 0x95, 0x00, 0xf5, 0x19, 0x6d, 0x51, 0x3b, 0x35, 0xf0, 0xbc, 0xfa, 0x62, 0x7e, 0x96, |
| 0x13, 0xa4, 0x7c, 0x09, 0x73, 0x29, 0x45, 0x8c, 0x14, 0x79, 0x8a, 0x7e, 0x13, 0xa0, 0x11, 0x4f, |
| 0x23, 0x4a, 0x17, 0x24, 0x35, 0xd7, 0x11, 0xb5, 0x99, 0x86, 0xa4, 0xfb, 0x05, 0x6f, 0x48, 0x38, |
| 0x35, 0xf9, 0x5c, 0xd4, 0xde, 0x08, 0xb0, 0x1c, 0x33, 0x4d, 0x46, 0x56, 0xd3, 0x8c, 0x55, 0x44, |
| 0xec, 0x01, 0x25, 0xf6, 0x99, 0xf4, 0xf1, 0x39, 0x88, 0xf5, 0x4e, 0xfc, 0x80, 0x3d, 0x41, 0x56, |
| 0xff, 0x5e, 0x82, 0x2a, 0x2f, 0x11, 0xe8, 0x57, 0x01, 0x2e, 0xcd, 0xd6, 0x0c, 0xd4, 0xc9, 0x34, |
| 0x56, 0xa2, 0xee, 0x89, 0x5b, 0x25, 0x90, 0xcc, 0x81, 0x0a, 0x25, 0xbe, 0x85, 0xda, 0xb9, 0x0e, |
| 0x9c, 0x86, 0xdc, 0xd1, 0x4b, 0x01, 0x20, 0x2a, 0x28, 0xe8, 0x46, 0x96, 0xe9, 0xe2, 0x5f, 0x41, |
| 0x31, 0xf7, 0x0b, 0x9c, 0x60, 0x51, 0x28, 0xdf, 0x14, 0xbd, 0x16, 0x60, 0x39, 0x56, 0x77, 0x32, |
| 0x72, 0x99, 0x56, 0x9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