// Code generated by protoc-gen-go. DO NOT EDIT.
// source: pbgo.proto

package pbgo

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
	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.ProtoPackageIsVersion3 // please upgrade the proto package

type ServiceOptions struct {
	Rename               string   `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ServiceOptions) Reset()         { *m = ServiceOptions{} }
func (m *ServiceOptions) String() string { return proto.CompactTextString(m) }
func (*ServiceOptions) ProtoMessage()    {}
func (*ServiceOptions) Descriptor() ([]byte, []int) {
	return fileDescriptor_b985d811f57ce1c6, []int{0}
}

func (m *ServiceOptions) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ServiceOptions.Unmarshal(m, b)
}
func (m *ServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ServiceOptions.Marshal(b, m, deterministic)
}
func (m *ServiceOptions) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ServiceOptions.Merge(m, src)
}
func (m *ServiceOptions) XXX_Size() int {
	return xxx_messageInfo_ServiceOptions.Size(m)
}
func (m *ServiceOptions) XXX_DiscardUnknown() {
	xxx_messageInfo_ServiceOptions.DiscardUnknown(m)
}

var xxx_messageInfo_ServiceOptions proto.InternalMessageInfo

func (m *ServiceOptions) GetRename() string {
	if m != nil {
		return m.Rename
	}
	return ""
}

type HttpRule struct {
	Get                  string            `protobuf:"bytes,1,opt,name=get,proto3" json:"get,omitempty"`
	Put                  string            `protobuf:"bytes,2,opt,name=put,proto3" json:"put,omitempty"`
	Post                 string            `protobuf:"bytes,3,opt,name=post,proto3" json:"post,omitempty"`
	Delete               string            `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"`
	Patch                string            `protobuf:"bytes,5,opt,name=patch,proto3" json:"patch,omitempty"`
	AdditionalBindings   []*CustomHttpRule `protobuf:"bytes,6,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *HttpRule) Reset()         { *m = HttpRule{} }
func (m *HttpRule) String() string { return proto.CompactTextString(m) }
func (*HttpRule) ProtoMessage()    {}
func (*HttpRule) Descriptor() ([]byte, []int) {
	return fileDescriptor_b985d811f57ce1c6, []int{1}
}

func (m *HttpRule) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HttpRule.Unmarshal(m, b)
}
func (m *HttpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HttpRule.Marshal(b, m, deterministic)
}
func (m *HttpRule) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HttpRule.Merge(m, src)
}
func (m *HttpRule) XXX_Size() int {
	return xxx_messageInfo_HttpRule.Size(m)
}
func (m *HttpRule) XXX_DiscardUnknown() {
	xxx_messageInfo_HttpRule.DiscardUnknown(m)
}

var xxx_messageInfo_HttpRule proto.InternalMessageInfo

func (m *HttpRule) GetGet() string {
	if m != nil {
		return m.Get
	}
	return ""
}

func (m *HttpRule) GetPut() string {
	if m != nil {
		return m.Put
	}
	return ""
}

func (m *HttpRule) GetPost() string {
	if m != nil {
		return m.Post
	}
	return ""
}

func (m *HttpRule) GetDelete() string {
	if m != nil {
		return m.Delete
	}
	return ""
}

func (m *HttpRule) GetPatch() string {
	if m != nil {
		return m.Patch
	}
	return ""
}

func (m *HttpRule) GetAdditionalBindings() []*CustomHttpRule {
	if m != nil {
		return m.AdditionalBindings
	}
	return nil
}

type CustomHttpRule struct {
	Method               string   `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Url                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	ContentType          string   `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	ContentBody          string   `protobuf:"bytes,4,opt,name=content_body,json=contentBody,proto3" json:"content_body,omitempty"`
	CustomHeader         string   `protobuf:"bytes,5,opt,name=custom_header,json=customHeader,proto3" json:"custom_header,omitempty"`
	RequestBody          string   `protobuf:"bytes,6,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CustomHttpRule) Reset()         { *m = CustomHttpRule{} }
func (m *CustomHttpRule) String() string { return proto.CompactTextString(m) }
func (*CustomHttpRule) ProtoMessage()    {}
func (*CustomHttpRule) Descriptor() ([]byte, []int) {
	return fileDescriptor_b985d811f57ce1c6, []int{2}
}

func (m *CustomHttpRule) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CustomHttpRule.Unmarshal(m, b)
}
func (m *CustomHttpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CustomHttpRule.Marshal(b, m, deterministic)
}
func (m *CustomHttpRule) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CustomHttpRule.Merge(m, src)
}
func (m *CustomHttpRule) XXX_Size() int {
	return xxx_messageInfo_CustomHttpRule.Size(m)
}
func (m *CustomHttpRule) XXX_DiscardUnknown() {
	xxx_messageInfo_CustomHttpRule.DiscardUnknown(m)
}

var xxx_messageInfo_CustomHttpRule proto.InternalMessageInfo

func (m *CustomHttpRule) GetMethod() string {
	if m != nil {
		return m.Method
	}
	return ""
}

func (m *CustomHttpRule) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

func (m *CustomHttpRule) GetContentType() string {
	if m != nil {
		return m.ContentType
	}
	return ""
}

func (m *CustomHttpRule) GetContentBody() string {
	if m != nil {
		return m.ContentBody
	}
	return ""
}

func (m *CustomHttpRule) GetCustomHeader() string {
	if m != nil {
		return m.CustomHeader
	}
	return ""
}

func (m *CustomHttpRule) GetRequestBody() string {
	if m != nil {
		return m.RequestBody
	}
	return ""
}

var E_ServiceOpt = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ServiceOptions)(nil),
	Field:         20180715,
	Name:          "pbgo.service_opt",
	Tag:           "bytes,20180715,opt,name=service_opt",
	Filename:      "pbgo.proto",
}

var E_RestApi = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*HttpRule)(nil),
	Field:         20180715,
	Name:          "pbgo.rest_api",
	Tag:           "bytes,20180715,opt,name=rest_api",
	Filename:      "pbgo.proto",
}

func init() {
	proto.RegisterType((*ServiceOptions)(nil), "pbgo.ServiceOptions")
	proto.RegisterType((*HttpRule)(nil), "pbgo.HttpRule")
	proto.RegisterType((*CustomHttpRule)(nil), "pbgo.CustomHttpRule")
	proto.RegisterExtension(E_ServiceOpt)
	proto.RegisterExtension(E_RestApi)
}

func init() {
	proto.RegisterFile("pbgo.proto", fileDescriptor_b985d811f57ce1c6)
}

var fileDescriptor_b985d811f57ce1c6 = []byte{
	// 412 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x8e, 0x94, 0x40,
	0x10, 0xc6, 0x83, 0x33, 0x8b, 0xbb, 0x3d, 0xeb, 0xc4, 0xb4, 0x1b, 0x43, 0x4c, 0x74, 0x71, 0xbc,
	0xcc, 0x09, 0xd6, 0xf5, 0xb6, 0x9e, 0x1c, 0x63, 0xb2, 0x07, 0x8d, 0x09, 0x7a, 0xd1, 0x0b, 0x01,
	0xba, 0x84, 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