mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-20 11:33:25 +02:00
* Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
208 lines
5.8 KiB
Go
208 lines
5.8 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: VisibilityLabels.proto
|
|
// DO NOT EDIT!
|
|
|
|
package proto
|
|
|
|
import proto1 "github.com/golang/protobuf/proto"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto1.Marshal
|
|
var _ = math.Inf
|
|
|
|
type VisibilityLabelsRequest struct {
|
|
VisLabel []*VisibilityLabel `protobuf:"bytes,1,rep,name=visLabel" json:"visLabel,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *VisibilityLabelsRequest) Reset() { *m = VisibilityLabelsRequest{} }
|
|
func (m *VisibilityLabelsRequest) String() string { return proto1.CompactTextString(m) }
|
|
func (*VisibilityLabelsRequest) ProtoMessage() {}
|
|
|
|
func (m *VisibilityLabelsRequest) GetVisLabel() []*VisibilityLabel {
|
|
if m != nil {
|
|
return m.VisLabel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VisibilityLabel struct {
|
|
Label []byte `protobuf:"bytes,1,req,name=label" json:"label,omitempty"`
|
|
Ordinal *uint32 `protobuf:"varint,2,opt,name=ordinal" json:"ordinal,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *VisibilityLabel) Reset() { *m = VisibilityLabel{} }
|
|
func (m *VisibilityLabel) String() string { return proto1.CompactTextString(m) }
|
|
func (*VisibilityLabel) ProtoMessage() {}
|
|
|
|
func (m *VisibilityLabel) GetLabel() []byte {
|
|
if m != nil {
|
|
return m.Label
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VisibilityLabel) GetOrdinal() uint32 {
|
|
if m != nil && m.Ordinal != nil {
|
|
return *m.Ordinal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VisibilityLabelsResponse struct {
|
|
Result []*RegionActionResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *VisibilityLabelsResponse) Reset() { *m = VisibilityLabelsResponse{} }
|
|
func (m *VisibilityLabelsResponse) String() string { return proto1.CompactTextString(m) }
|
|
func (*VisibilityLabelsResponse) ProtoMessage() {}
|
|
|
|
func (m *VisibilityLabelsResponse) GetResult() []*RegionActionResult {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetAuthsRequest struct {
|
|
User []byte `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
|
|
Auth [][]byte `protobuf:"bytes,2,rep,name=auth" json:"auth,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *SetAuthsRequest) Reset() { *m = SetAuthsRequest{} }
|
|
func (m *SetAuthsRequest) String() string { return proto1.CompactTextString(m) }
|
|
func (*SetAuthsRequest) ProtoMessage() {}
|
|
|
|
func (m *SetAuthsRequest) GetUser() []byte {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetAuthsRequest) GetAuth() [][]byte {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserAuthorizations struct {
|
|
User []byte `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
|
|
Auth []uint32 `protobuf:"varint,2,rep,name=auth" json:"auth,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *UserAuthorizations) Reset() { *m = UserAuthorizations{} }
|
|
func (m *UserAuthorizations) String() string { return proto1.CompactTextString(m) }
|
|
func (*UserAuthorizations) ProtoMessage() {}
|
|
|
|
func (m *UserAuthorizations) GetUser() []byte {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UserAuthorizations) GetAuth() []uint32 {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MultiUserAuthorizations struct {
|
|
UserAuths []*UserAuthorizations `protobuf:"bytes,1,rep,name=userAuths" json:"userAuths,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *MultiUserAuthorizations) Reset() { *m = MultiUserAuthorizations{} }
|
|
func (m *MultiUserAuthorizations) String() string { return proto1.CompactTextString(m) }
|
|
func (*MultiUserAuthorizations) ProtoMessage() {}
|
|
|
|
func (m *MultiUserAuthorizations) GetUserAuths() []*UserAuthorizations {
|
|
if m != nil {
|
|
return m.UserAuths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAuthsRequest struct {
|
|
User []byte `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *GetAuthsRequest) Reset() { *m = GetAuthsRequest{} }
|
|
func (m *GetAuthsRequest) String() string { return proto1.CompactTextString(m) }
|
|
func (*GetAuthsRequest) ProtoMessage() {}
|
|
|
|
func (m *GetAuthsRequest) GetUser() []byte {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAuthsResponse struct {
|
|
User []byte `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
|
|
Auth [][]byte `protobuf:"bytes,2,rep,name=auth" json:"auth,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *GetAuthsResponse) Reset() { *m = GetAuthsResponse{} }
|
|
func (m *GetAuthsResponse) String() string { return proto1.CompactTextString(m) }
|
|
func (*GetAuthsResponse) ProtoMessage() {}
|
|
|
|
func (m *GetAuthsResponse) GetUser() []byte {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetAuthsResponse) GetAuth() [][]byte {
|
|
if m != nil {
|
|
return m.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListLabelsRequest struct {
|
|
Regex *string `protobuf:"bytes,1,opt,name=regex" json:"regex,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *ListLabelsRequest) Reset() { *m = ListLabelsRequest{} }
|
|
func (m *ListLabelsRequest) String() string { return proto1.CompactTextString(m) }
|
|
func (*ListLabelsRequest) ProtoMessage() {}
|
|
|
|
func (m *ListLabelsRequest) GetRegex() string {
|
|
if m != nil && m.Regex != nil {
|
|
return *m.Regex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListLabelsResponse struct {
|
|
Label [][]byte `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *ListLabelsResponse) Reset() { *m = ListLabelsResponse{} }
|
|
func (m *ListLabelsResponse) String() string { return proto1.CompactTextString(m) }
|
|
func (*ListLabelsResponse) ProtoMessage() {}
|
|
|
|
func (m *ListLabelsResponse) GetLabel() [][]byte {
|
|
if m != nil {
|
|
return m.Label
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
}
|