// Code generated by protoc-gen-go. DO NOT EDIT. // source: oauthAuthorize.proto package wechat import ( fmt "fmt" proto "github.com/golang/protobuf/proto" 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 OauthAuthorizeReq struct { BaseRequest *BaseRequest `protobuf:"bytes,1,req,name=BaseRequest" json:"BaseRequest,omitempty"` OauthUrl *string `protobuf:"bytes,2,opt,name=OauthUrl" json:"OauthUrl,omitempty"` BizUsername *string `protobuf:"bytes,3,opt,name=BizUsername" json:"BizUsername,omitempty"` Scene *uint32 `protobuf:"varint,4,opt,name=Scene" json:"Scene,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OauthAuthorizeReq) Reset() { *m = OauthAuthorizeReq{} } func (m *OauthAuthorizeReq) String() string { return proto.CompactTextString(m) } func (*OauthAuthorizeReq) ProtoMessage() {} func (*OauthAuthorizeReq) Descriptor() ([]byte, []int) { return fileDescriptor_fb60f92e4cda615f, []int{0} } func (m *OauthAuthorizeReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OauthAuthorizeReq.Unmarshal(m, b) } func (m *OauthAuthorizeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OauthAuthorizeReq.Marshal(b, m, deterministic) } func (m *OauthAuthorizeReq) XXX_Merge(src proto.Message) { xxx_messageInfo_OauthAuthorizeReq.Merge(m, src) } func (m *OauthAuthorizeReq) XXX_Size() int { return xxx_messageInfo_OauthAuthorizeReq.Size(m) } func (m *OauthAuthorizeReq) XXX_DiscardUnknown() { xxx_messageInfo_OauthAuthorizeReq.DiscardUnknown(m) } var xxx_messageInfo_OauthAuthorizeReq proto.InternalMessageInfo func (m *OauthAuthorizeReq) GetBaseRequest() *BaseRequest { if m != nil { return m.BaseRequest } return nil } func (m *OauthAuthorizeReq) GetOauthUrl() string { if m != nil && m.OauthUrl != nil { return *m.OauthUrl } return "" } func (m *OauthAuthorizeReq) GetBizUsername() string { if m != nil && m.BizUsername != nil { return *m.BizUsername } return "" } func (m *OauthAuthorizeReq) GetScene() uint32 { if m != nil && m.Scene != nil { return *m.Scene } return 0 } type OauthAuthorizeResp struct { BaseResponse *BaseResponse `protobuf:"bytes,1,req,name=BaseResponse" json:"BaseResponse,omitempty"` AppName *string `protobuf:"bytes,4,opt,name=AppName" json:"AppName,omitempty"` AppIconUrl *string `protobuf:"bytes,5,opt,name=AppIconUrl" json:"AppIconUrl,omitempty"` RedirectUrl *string `protobuf:"bytes,6,opt,name=RedirectUrl" json:"RedirectUrl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *OauthAuthorizeResp) Reset() { *m = OauthAuthorizeResp{} } func (m *OauthAuthorizeResp) String() string { return proto.CompactTextString(m) } func (*OauthAuthorizeResp) ProtoMessage() {} func (*OauthAuthorizeResp) Descriptor() ([]byte, []int) { return fileDescriptor_fb60f92e4cda615f, []int{1} } func (m *OauthAuthorizeResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OauthAuthorizeResp.Unmarshal(m, b) } func (m *OauthAuthorizeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OauthAuthorizeResp.Marshal(b, m, deterministic) } func (m *OauthAuthorizeResp) XXX_Merge(src proto.Message) { xxx_messageInfo_OauthAuthorizeResp.Merge(m, src) } func (m *OauthAuthorizeResp) XXX_Size() int { return xxx_messageInfo_OauthAuthorizeResp.Size(m) } func (m *OauthAuthorizeResp) XXX_DiscardUnknown() { xxx_messageInfo_OauthAuthorizeResp.DiscardUnknown(m) } var xxx_messageInfo_OauthAuthorizeResp proto.InternalMessageInfo func (m *OauthAuthorizeResp) GetBaseResponse() *BaseResponse { if m != nil { return m.BaseResponse } return nil } func (m *OauthAuthorizeResp) GetAppName() string { if m != nil && m.AppName != nil { return *m.AppName } return "" } func (m *OauthAuthorizeResp) GetAppIconUrl() string { if m != nil && m.AppIconUrl != nil { return *m.AppIconUrl } return "" } func (m *OauthAuthorizeResp) GetRedirectUrl() string { if m != nil && m.RedirectUrl != nil { return *m.RedirectUrl } return "" } func init() { proto.RegisterType((*OauthAuthorizeReq)(nil), "wechat_proto.OauthAuthorizeReq") proto.RegisterType((*OauthAuthorizeResp)(nil), "wechat_proto.OauthAuthorizeResp") } func init() { proto.RegisterFile("oauthAuthorize.proto", fileDescriptor_fb60f92e4cda615f) } var fileDescriptor_fb60f92e4cda615f = []byte{ // 249 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x8f, 0x3f, 0x4b, 0xc4, 0x30, 0x18, 0xc6, 0xc9, 0x79, 0xa7, 0xde, 0xdb, 0x73, 0xf0, 0xe5, 0x86, 0xd8, 0x41, 0xca, 0x4d, 0x9d, 0x22, 0xb8, 0x0a, 0x42, 0xbb, 0xb9, 0x28, 0x44, 0x6e, 0x71, 0x91, 0x52, 0x5f, 0x68, 0x41, 0x93, 0x98, 0xa4, 0x08, 0xf7, 0x79, 0xfc, 0x00, 0x7e, 0x44, 0x49, 0x72, 0x4a, 0x4e, 0xdc, 0xfa, 0xfc, 0xe9, 0x9b, 0xdf, 0x03, 0x6b, 0xdd, 0x4d, 0x7e, 0x68, 0x26, 0x3f, 0x68, 0x3b, 0xee, 0x48, 0x18, 0xab, 0xbd, 0xc6, 0xd5, 0x07, 0xf5, 0x43, 0xe7, 0x9f, 0xa3, 0x2a, 0xf7, 0x2a, 0x65, 0x9b, 0x4f, 0x06, 0xe7, 0x0f, 0x07, 0x3f, 0x49, 0x7a, 0xc7, 0x1b, 0x28, 0xda, 0xce, 0x85, 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