You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
799 lines
18 KiB
799 lines
18 KiB
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
|
// source: sns.proto |
|
|
|
/* |
|
Package model is a generated protocol buffer package. |
|
|
|
It is generated from these files: |
|
sns.proto |
|
|
|
It has these top-level messages: |
|
SnsProto |
|
Oauth2Proto |
|
*/ |
|
package model |
|
|
|
import proto "github.com/golang/protobuf/proto" |
|
import fmt "fmt" |
|
import math "math" |
|
import _ "github.com/gogo/protobuf/gogoproto" |
|
|
|
import io "io" |
|
|
|
// 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 SnsProto struct { |
|
Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` |
|
UnionID string `protobuf:"bytes,2,opt,name=UnionID,proto3" json:"unionid"` |
|
Platform int32 `protobuf:"varint,3,opt,name=Platform,proto3" json:"platform"` |
|
Expires int64 `protobuf:"varint,4,opt,name=Expires,proto3" json:"expires"` |
|
} |
|
|
|
func (m *SnsProto) Reset() { *m = SnsProto{} } |
|
func (m *SnsProto) String() string { return proto.CompactTextString(m) } |
|
func (*SnsProto) ProtoMessage() {} |
|
func (*SnsProto) Descriptor() ([]byte, []int) { return fileDescriptorSns, []int{0} } |
|
|
|
func (m *SnsProto) GetMid() int64 { |
|
if m != nil { |
|
return m.Mid |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *SnsProto) GetUnionID() string { |
|
if m != nil { |
|
return m.UnionID |
|
} |
|
return "" |
|
} |
|
|
|
func (m *SnsProto) GetPlatform() int32 { |
|
if m != nil { |
|
return m.Platform |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *SnsProto) GetExpires() int64 { |
|
if m != nil { |
|
return m.Expires |
|
} |
|
return 0 |
|
} |
|
|
|
type Oauth2Proto struct { |
|
Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` |
|
UnionID string `protobuf:"bytes,2,opt,name=UnionID,proto3" json:"unionid"` |
|
OpenID string `protobuf:"bytes,3,opt,name=OpenID,proto3" json:"openid"` |
|
Platform int32 `protobuf:"varint,4,opt,name=Platform,proto3" json:"platform"` |
|
AppID string `protobuf:"bytes,5,opt,name=AppID,proto3" json:"appid"` |
|
Token string `protobuf:"bytes,6,opt,name=Token,proto3" json:"token"` |
|
Expires int64 `protobuf:"varint,7,opt,name=Expires,proto3" json:"expires"` |
|
} |
|
|
|
func (m *Oauth2Proto) Reset() { *m = Oauth2Proto{} } |
|
func (m *Oauth2Proto) String() string { return proto.CompactTextString(m) } |
|
func (*Oauth2Proto) ProtoMessage() {} |
|
func (*Oauth2Proto) Descriptor() ([]byte, []int) { return fileDescriptorSns, []int{1} } |
|
|
|
func (m *Oauth2Proto) GetMid() int64 { |
|
if m != nil { |
|
return m.Mid |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *Oauth2Proto) GetUnionID() string { |
|
if m != nil { |
|
return m.UnionID |
|
} |
|
return "" |
|
} |
|
|
|
func (m *Oauth2Proto) GetOpenID() string { |
|
if m != nil { |
|
return m.OpenID |
|
} |
|
return "" |
|
} |
|
|
|
func (m *Oauth2Proto) GetPlatform() int32 { |
|
if m != nil { |
|
return m.Platform |
|
} |
|
return 0 |
|
} |
|
|
|
func (m *Oauth2Proto) GetAppID() string { |
|
if m != nil { |
|
return m.AppID |
|
} |
|
return "" |
|
} |
|
|
|
func (m *Oauth2Proto) GetToken() string { |
|
if m != nil { |
|
return m.Token |
|
} |
|
return "" |
|
} |
|
|
|
func (m *Oauth2Proto) GetExpires() int64 { |
|
if m != nil { |
|
return m.Expires |
|
} |
|
return 0 |
|
} |
|
|
|
func init() { |
|
proto.RegisterType((*SnsProto)(nil), "passport.service.sns.SnsProto") |
|
proto.RegisterType((*Oauth2Proto)(nil), "passport.service.sns.Oauth2Proto") |
|
} |
|
func (m *SnsProto) Marshal() (dAtA []byte, err error) { |
|
size := m.Size() |
|
dAtA = make([]byte, size) |
|
n, err := m.MarshalTo(dAtA) |
|
if err != nil { |
|
return nil, err |
|
} |
|
return dAtA[:n], nil |
|
} |
|
|
|
func (m *SnsProto) MarshalTo(dAtA []byte) (int, error) { |
|
var i int |
|
_ = i |
|
var l int |
|
_ = l |
|
if m.Mid != 0 { |
|
dAtA[i] = 0x8 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Mid)) |
|
} |
|
if len(m.UnionID) > 0 { |
|
dAtA[i] = 0x12 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(len(m.UnionID))) |
|
i += copy(dAtA[i:], m.UnionID) |
|
} |
|
if m.Platform != 0 { |
|
dAtA[i] = 0x18 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Platform)) |
|
} |
|
if m.Expires != 0 { |
|
dAtA[i] = 0x20 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Expires)) |
|
} |
|
return i, nil |
|
} |
|
|
|
func (m *Oauth2Proto) Marshal() (dAtA []byte, err error) { |
|
size := m.Size() |
|
dAtA = make([]byte, size) |
|
n, err := m.MarshalTo(dAtA) |
|
if err != nil { |
|
return nil, err |
|
} |
|
return dAtA[:n], nil |
|
} |
|
|
|
func (m *Oauth2Proto) MarshalTo(dAtA []byte) (int, error) { |
|
var i int |
|
_ = i |
|
var l int |
|
_ = l |
|
if m.Mid != 0 { |
|
dAtA[i] = 0x8 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Mid)) |
|
} |
|
if len(m.UnionID) > 0 { |
|
dAtA[i] = 0x12 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(len(m.UnionID))) |
|
i += copy(dAtA[i:], m.UnionID) |
|
} |
|
if len(m.OpenID) > 0 { |
|
dAtA[i] = 0x1a |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(len(m.OpenID))) |
|
i += copy(dAtA[i:], m.OpenID) |
|
} |
|
if m.Platform != 0 { |
|
dAtA[i] = 0x20 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Platform)) |
|
} |
|
if len(m.AppID) > 0 { |
|
dAtA[i] = 0x2a |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(len(m.AppID))) |
|
i += copy(dAtA[i:], m.AppID) |
|
} |
|
if len(m.Token) > 0 { |
|
dAtA[i] = 0x32 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(len(m.Token))) |
|
i += copy(dAtA[i:], m.Token) |
|
} |
|
if m.Expires != 0 { |
|
dAtA[i] = 0x38 |
|
i++ |
|
i = encodeVarintSns(dAtA, i, uint64(m.Expires)) |
|
} |
|
return i, nil |
|
} |
|
|
|
func encodeVarintSns(dAtA []byte, offset int, v uint64) int { |
|
for v >= 1<<7 { |
|
dAtA[offset] = uint8(v&0x7f | 0x80) |
|
v >>= 7 |
|
offset++ |
|
} |
|
dAtA[offset] = uint8(v) |
|
return offset + 1 |
|
} |
|
func (m *SnsProto) Size() (n int) { |
|
var l int |
|
_ = l |
|
if m.Mid != 0 { |
|
n += 1 + sovSns(uint64(m.Mid)) |
|
} |
|
l = len(m.UnionID) |
|
if l > 0 { |
|
n += 1 + l + sovSns(uint64(l)) |
|
} |
|
if m.Platform != 0 { |
|
n += 1 + sovSns(uint64(m.Platform)) |
|
} |
|
if m.Expires != 0 { |
|
n += 1 + sovSns(uint64(m.Expires)) |
|
} |
|
return n |
|
} |
|
|
|
func (m *Oauth2Proto) Size() (n int) { |
|
var l int |
|
_ = l |
|
if m.Mid != 0 { |
|
n += 1 + sovSns(uint64(m.Mid)) |
|
} |
|
l = len(m.UnionID) |
|
if l > 0 { |
|
n += 1 + l + sovSns(uint64(l)) |
|
} |
|
l = len(m.OpenID) |
|
if l > 0 { |
|
n += 1 + l + sovSns(uint64(l)) |
|
} |
|
if m.Platform != 0 { |
|
n += 1 + sovSns(uint64(m.Platform)) |
|
} |
|
l = len(m.AppID) |
|
if l > 0 { |
|
n += 1 + l + sovSns(uint64(l)) |
|
} |
|
l = len(m.Token) |
|
if l > 0 { |
|
n += 1 + l + sovSns(uint64(l)) |
|
} |
|
if m.Expires != 0 { |
|
n += 1 + sovSns(uint64(m.Expires)) |
|
} |
|
return n |
|
} |
|
|
|
func sovSns(x uint64) (n int) { |
|
for { |
|
n++ |
|
x >>= 7 |
|
if x == 0 { |
|
break |
|
} |
|
} |
|
return n |
|
} |
|
func sozSns(x uint64) (n int) { |
|
return sovSns(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
|
} |
|
func (m *SnsProto) Unmarshal(dAtA []byte) error { |
|
l := len(dAtA) |
|
iNdEx := 0 |
|
for iNdEx < l { |
|
preIndex := iNdEx |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
fieldNum := int32(wire >> 3) |
|
wireType := int(wire & 0x7) |
|
if wireType == 4 { |
|
return fmt.Errorf("proto: SnsProto: wiretype end group for non-group") |
|
} |
|
if fieldNum <= 0 { |
|
return fmt.Errorf("proto: SnsProto: illegal tag %d (wire type %d)", fieldNum, wire) |
|
} |
|
switch fieldNum { |
|
case 1: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType) |
|
} |
|
m.Mid = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Mid |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 2: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field UnionID", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.UnionID = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 3: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType) |
|
} |
|
m.Platform = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Platform |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 4: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) |
|
} |
|
m.Expires = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Expires |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
default: |
|
iNdEx = preIndex |
|
skippy, err := skipSns(dAtA[iNdEx:]) |
|
if err != nil { |
|
return err |
|
} |
|
if skippy < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
if (iNdEx + skippy) > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
iNdEx += skippy |
|
} |
|
} |
|
|
|
if iNdEx > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
return nil |
|
} |
|
func (m *Oauth2Proto) Unmarshal(dAtA []byte) error { |
|
l := len(dAtA) |
|
iNdEx := 0 |
|
for iNdEx < l { |
|
preIndex := iNdEx |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
fieldNum := int32(wire >> 3) |
|
wireType := int(wire & 0x7) |
|
if wireType == 4 { |
|
return fmt.Errorf("proto: Oauth2Proto: wiretype end group for non-group") |
|
} |
|
if fieldNum <= 0 { |
|
return fmt.Errorf("proto: Oauth2Proto: illegal tag %d (wire type %d)", fieldNum, wire) |
|
} |
|
switch fieldNum { |
|
case 1: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType) |
|
} |
|
m.Mid = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Mid |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 2: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field UnionID", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.UnionID = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 3: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field OpenID", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.OpenID = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 4: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType) |
|
} |
|
m.Platform = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Platform |= (int32(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
case 5: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field AppID", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.AppID = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 6: |
|
if wireType != 2 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) |
|
} |
|
var stringLen uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
stringLen |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
intStringLen := int(stringLen) |
|
if intStringLen < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
postIndex := iNdEx + intStringLen |
|
if postIndex > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
m.Token = string(dAtA[iNdEx:postIndex]) |
|
iNdEx = postIndex |
|
case 7: |
|
if wireType != 0 { |
|
return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) |
|
} |
|
m.Expires = 0 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
m.Expires |= (int64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
default: |
|
iNdEx = preIndex |
|
skippy, err := skipSns(dAtA[iNdEx:]) |
|
if err != nil { |
|
return err |
|
} |
|
if skippy < 0 { |
|
return ErrInvalidLengthSns |
|
} |
|
if (iNdEx + skippy) > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
iNdEx += skippy |
|
} |
|
} |
|
|
|
if iNdEx > l { |
|
return io.ErrUnexpectedEOF |
|
} |
|
return nil |
|
} |
|
func skipSns(dAtA []byte) (n int, err error) { |
|
l := len(dAtA) |
|
iNdEx := 0 |
|
for iNdEx < l { |
|
var wire uint64 |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
wire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
wireType := int(wire & 0x7) |
|
switch wireType { |
|
case 0: |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
iNdEx++ |
|
if dAtA[iNdEx-1] < 0x80 { |
|
break |
|
} |
|
} |
|
return iNdEx, nil |
|
case 1: |
|
iNdEx += 8 |
|
return iNdEx, nil |
|
case 2: |
|
var length int |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
length |= (int(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
iNdEx += length |
|
if length < 0 { |
|
return 0, ErrInvalidLengthSns |
|
} |
|
return iNdEx, nil |
|
case 3: |
|
for { |
|
var innerWire uint64 |
|
var start int = iNdEx |
|
for shift := uint(0); ; shift += 7 { |
|
if shift >= 64 { |
|
return 0, ErrIntOverflowSns |
|
} |
|
if iNdEx >= l { |
|
return 0, io.ErrUnexpectedEOF |
|
} |
|
b := dAtA[iNdEx] |
|
iNdEx++ |
|
innerWire |= (uint64(b) & 0x7F) << shift |
|
if b < 0x80 { |
|
break |
|
} |
|
} |
|
innerWireType := int(innerWire & 0x7) |
|
if innerWireType == 4 { |
|
break |
|
} |
|
next, err := skipSns(dAtA[start:]) |
|
if err != nil { |
|
return 0, err |
|
} |
|
iNdEx = start + next |
|
} |
|
return iNdEx, nil |
|
case 4: |
|
return iNdEx, nil |
|
case 5: |
|
iNdEx += 4 |
|
return iNdEx, nil |
|
default: |
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
|
} |
|
} |
|
panic("unreachable") |
|
} |
|
|
|
var ( |
|
ErrInvalidLengthSns = fmt.Errorf("proto: negative length found during unmarshaling") |
|
ErrIntOverflowSns = fmt.Errorf("proto: integer overflow") |
|
) |
|
|
|
func init() { proto.RegisterFile("sns.proto", fileDescriptorSns) } |
|
|
|
var fileDescriptorSns = []byte{ |
|
// 326 bytes of a gzipped FileDescriptorProto |
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0x3f, 0x4e, 0xf3, 0x30, |
|
0x18, 0xc6, 0x3f, 0x37, 0x4d, 0xd2, 0xba, 0xdf, 0x54, 0x21, 0x61, 0x18, 0xe2, 0xaa, 0x12, 0x52, |
|
0x16, 0x52, 0x09, 0x4e, 0x40, 0x54, 0x86, 0x0e, 0xa8, 0x95, 0x81, 0x85, 0x2d, 0x6d, 0xdc, 0xd6, |
|
0xa2, 0xb1, 0xad, 0xd8, 0x41, 0x9c, 0x80, 0x33, 0xb0, 0x70, 0x1f, 0x46, 0x4e, 0x10, 0xa1, 0xb0, |
|
0xe5, 0x14, 0xc8, 0x4e, 0xcb, 0x9f, 0x01, 0x26, 0xb6, 0xbc, 0xbf, 0xe7, 0xa7, 0x27, 0x79, 0xdf, |
|
0xc0, 0xae, 0xe2, 0x2a, 0x92, 0xb9, 0xd0, 0xa2, 0xbf,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