| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google.golang.org/appengine/internal/capability/capability_service.proto |
| |
| package capability |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| |
| // 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 |
| |
| type IsEnabledResponse_SummaryStatus int32 |
| |
| const ( |
| IsEnabledResponse_DEFAULT IsEnabledResponse_SummaryStatus = 0 |
| IsEnabledResponse_ENABLED IsEnabledResponse_SummaryStatus = 1 |
| IsEnabledResponse_SCHEDULED_FUTURE IsEnabledResponse_SummaryStatus = 2 |
| IsEnabledResponse_SCHEDULED_NOW IsEnabledResponse_SummaryStatus = 3 |
| IsEnabledResponse_DISABLED IsEnabledResponse_SummaryStatus = 4 |
| IsEnabledResponse_UNKNOWN IsEnabledResponse_SummaryStatus = 5 |
| ) |
| |
| var IsEnabledResponse_SummaryStatus_name = map[int32]string{ |
| 0: "DEFAULT", |
| 1: "ENABLED", |
| 2: "SCHEDULED_FUTURE", |
| 3: "SCHEDULED_NOW", |
| 4: "DISABLED", |
| 5: "UNKNOWN", |
| } |
| var IsEnabledResponse_SummaryStatus_value = map[string]int32{ |
| "DEFAULT": 0, |
| "ENABLED": 1, |
| "SCHEDULED_FUTURE": 2, |
| "SCHEDULED_NOW": 3, |
| "DISABLED": 4, |
| "UNKNOWN": 5, |
| } |
| |
| func (x IsEnabledResponse_SummaryStatus) Enum() *IsEnabledResponse_SummaryStatus { |
| p := new(IsEnabledResponse_SummaryStatus) |
| *p = x |
| return p |
| } |
| func (x IsEnabledResponse_SummaryStatus) String() string { |
| return proto.EnumName(IsEnabledResponse_SummaryStatus_name, int32(x)) |
| } |
| func (x *IsEnabledResponse_SummaryStatus) UnmarshalJSON(data []byte) error { |
| value, err := proto.UnmarshalJSONEnum(IsEnabledResponse_SummaryStatus_value, data, "IsEnabledResponse_SummaryStatus") |
| if err != nil { |
| return err |
| } |
| *x = IsEnabledResponse_SummaryStatus(value) |
| return nil |
| } |
| func (IsEnabledResponse_SummaryStatus) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_capability_service_030277ff00db7e72, []int{1, 0} |
| } |
| |
| type IsEnabledRequest struct { |
| Package *string `protobuf:"bytes,1,req,name=package" json:"package,omitempty"` |
| Capability []string `protobuf:"bytes,2,rep,name=capability" json:"capability,omitempty"` |
| Call []string `protobuf:"bytes,3,rep,name=call" json:"call,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IsEnabledRequest) Reset() { *m = IsEnabledRequest{} } |
| func (m *IsEnabledRequest) String() string { return proto.CompactTextString(m) } |
| func (*IsEnabledRequest) ProtoMessage() {} |
| func (*IsEnabledRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_capability_service_030277ff00db7e72, []int{0} |
| } |
| func (m *IsEnabledRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IsEnabledRequest.Unmarshal(m, b) |
| } |
| func (m *IsEnabledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IsEnabledRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *IsEnabledRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IsEnabledRequest.Merge(dst, src) |
| } |
| func (m *IsEnabledRequest) XXX_Size() int { |
| return xxx_messageInfo_IsEnabledRequest.Size(m) |
| } |
| func (m *IsEnabledRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_IsEnabledRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IsEnabledRequest proto.InternalMessageInfo |
| |
| func (m *IsEnabledRequest) GetPackage() string { |
| if m != nil && m.Package != nil { |
| return *m.Package |
| } |
| return "" |
| } |
| |
| func (m *IsEnabledRequest) GetCapability() []string { |
| if m != nil { |
| return m.Capability |
| } |
| return nil |
| } |
| |
| func (m *IsEnabledRequest) GetCall() []string { |
| if m != nil { |
| return m.Call |
| } |
| return nil |
| } |
| |
| type IsEnabledResponse struct { |
| SummaryStatus *IsEnabledResponse_SummaryStatus `protobuf:"varint,1,opt,name=summary_status,json=summaryStatus,enum=appengine.IsEnabledResponse_SummaryStatus" json:"summary_status,omitempty"` |
| TimeUntilScheduled *int64 `protobuf:"varint,2,opt,name=time_until_scheduled,json=timeUntilScheduled" json:"time_until_scheduled,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IsEnabledResponse) Reset() { *m = IsEnabledResponse{} } |
| func (m *IsEnabledResponse) String() string { return proto.CompactTextString(m) } |
| func (*IsEnabledResponse) ProtoMessage() {} |
| func (*IsEnabledResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_capability_service_030277ff00db7e72, []int{1} |
| } |
| func (m *IsEnabledResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IsEnabledResponse.Unmarshal(m, b) |
| } |
| func (m *IsEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IsEnabledResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *IsEnabledResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IsEnabledResponse.Merge(dst, src) |
| } |
| func (m *IsEnabledResponse) XXX_Size() int { |
| return xxx_messageInfo_IsEnabledResponse.Size(m) |
| } |
| func (m *IsEnabledResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_IsEnabledResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IsEnabledResponse proto.InternalMessageInfo |
| |
| func (m *IsEnabledResponse) GetSummaryStatus() IsEnabledResponse_SummaryStatus { |
| if m != nil && m.SummaryStatus != nil { |
| return *m.SummaryStatus |
| } |
| return IsEnabledResponse_DEFAULT |
| } |
| |
| func (m *IsEnabledResponse) GetTimeUntilScheduled() int64 { |
| if m != nil && m.TimeUntilScheduled != nil { |
| return *m.TimeUntilScheduled |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*IsEnabledRequest)(nil), "appengine.IsEnabledRequest") |
| proto.RegisterType((*IsEnabledResponse)(nil), "appengine.IsEnabledResponse") |
| } |
| |
| func init() { |
| proto.RegisterFile("google.golang.org/appengine/v2/internal/capability/capability_service.proto", fileDescriptor_capability_service_030277ff00db7e72) |
| } |
| |
| var fileDescriptor_capability_service_030277ff00db7e72 = []byte{ |
| // 359 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x8a, 0x9b, 0x40, |
| 0x14, 0x86, 0xa3, 0xa6, 0xa4, 0x9e, 0x26, 0xc1, 0x0c, 0xb9, 0x90, 0xb6, 0x14, 0xf1, 0x4a, 0x7a, |
| 0x61, 0x4a, 0xde, 0x20, 0x89, 0x86, 0x84, 0x06, 0x43, 0x35, 0x12, 0x28, 0x14, 0x3b, 0x31, 0x83, |
| 0x95, 0x8e, 0xa3, 0xeb, 0x8c, 0x0b, 0x79, 0x82, 0x7d, 0xed, 0x45, 0x43, 0x8c, 0xcb, 0x2e, 0x7b, |
| 0x77, 0xce, 0xf9, 0xf9, 0xfe, 0x99, 0x73, 0x7e, 0xd8, 0x24, 0x79, 0x9e, 0x50, 0x62, 0x27, 0x39, |
| 0xc5, 0x2c, 0xb1, 0xf3, 0x32, 0x99, 0xe1, 0xa2, 0x20, 0x2c, 0x49, 0x19, 0x99, 0xa5, 0x4c, 0x90, |
| 0x92, 0x61, 0x3a, 0x8b, 0x71, 0x81, 0x4f, 0x29, 0x4d, 0x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