proto

package
v0.0.0-...-47ef659 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: GPL-3.0 Imports: 19 Imported by: 3

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	MilpacService_GetProfile_FullMethodName           = "/proto.MilpacService/GetProfile"
	MilpacService_GetRoster_FullMethodName            = "/proto.MilpacService/GetRoster"
	MilpacService_GetUserViaKeycloakId_FullMethodName = "/proto.MilpacService/GetUserViaKeycloakId"
	MilpacService_GetUserViaDiscordId_FullMethodName  = "/proto.MilpacService/GetUserViaDiscordId"
	MilpacService_GetLiteRoster_FullMethodName        = "/proto.MilpacService/GetLiteRoster"
	MilpacService_SearchByPosition_FullMethodName     = "/proto.MilpacService/SearchByPosition"
	MilpacService_GetS1UniformsRoster_FullMethodName  = "/proto.MilpacService/GetS1UniformsRoster"
	MilpacService_GetAllRanks_FullMethodName          = "/proto.MilpacService/GetAllRanks"
	MilpacService_GetPositionGroups_FullMethodName    = "/proto.MilpacService/GetPositionGroups"
	MilpacService_GetAwol_FullMethodName              = "/proto.MilpacService/GetAwol"
)

Variables

View Source
var (
	RosterType_name = map[int32]string{
		0: "ROSTER_TYPE_UNSPECIFIED",
		1: "ROSTER_TYPE_COMBAT",
		2: "ROSTER_TYPE_RESERVE",
		3: "ROSTER_TYPE_ELOA",
		4: "ROSTER_TYPE_WALL_OF_HONOR",
		5: "ROSTER_TYPE_ARLINGTON",
		6: "ROSTER_TYPE_PAST_MEMBERS",
	}
	RosterType_value = map[string]int32{
		"ROSTER_TYPE_UNSPECIFIED":   0,
		"ROSTER_TYPE_COMBAT":        1,
		"ROSTER_TYPE_RESERVE":       2,
		"ROSTER_TYPE_ELOA":          3,
		"ROSTER_TYPE_WALL_OF_HONOR": 4,
		"ROSTER_TYPE_ARLINGTON":     5,
		"ROSTER_TYPE_PAST_MEMBERS":  6,
	}
)

Enum value maps for RosterType.

View Source
var (
	RecordType_name = map[int32]string{
		0: "RECORD_TYPE_UNSPECIFIED",
		1: "RECORD_TYPE_PROMOTION",
		2: "RECORD_TYPE_OPERATION",
		3: "RECORD_TYPE_TRANSFER",
		4: "RECORD_TYPE_DISCIPLINARY",
		5: "RECORD_TYPE_DISCHARGE",
		6: "RECORD_TYPE_ASSIGNMENT",
		7: "RECORD_TYPE_NAME_CHANGE",
		8: "RECORD_TYPE_ELOA",
		9: "RECORD_TYPE_GRADUATION",
	}
	RecordType_value = map[string]int32{
		"RECORD_TYPE_UNSPECIFIED":  0,
		"RECORD_TYPE_PROMOTION":    1,
		"RECORD_TYPE_OPERATION":    2,
		"RECORD_TYPE_TRANSFER":     3,
		"RECORD_TYPE_DISCIPLINARY": 4,
		"RECORD_TYPE_DISCHARGE":    5,
		"RECORD_TYPE_ASSIGNMENT":   6,
		"RECORD_TYPE_NAME_CHANGE":  7,
		"RECORD_TYPE_ELOA":         8,
		"RECORD_TYPE_GRADUATION":   9,
	}
)

Enum value maps for RecordType.

View Source
var (
	RankType_name = map[int32]string{
		0:  "RANK_TYPE_UNSPECIFIED",
		1:  "RANK_TYPE_GOA",
		2:  "RANK_TYPE_GEN",
		3:  "RANK_TYPE_LTG",
		4:  "RANK_TYPE_MG",
		5:  "RANK_TYPE_BG",
		6:  "RANK_TYPE_COL",
		7:  "RANK_TYPE_LTC",
		8:  "RANK_TYPE_MAJ",
		9:  "RANK_TYPE_CPT",
		10: "RANK_TYPE_1LT",
		11: "RANK_TYPE_2LT",
		12: "RANK_TYPE_CSM",
		13: "RANK_TYPE_SGM",
		14: "RANK_TYPE_1SG",
		15: "RANK_TYPE_MSG",
		16: "RANK_TYPE_SFC",
		17: "RANK_TYPE_SSG",
		18: "RANK_TYPE_SGT",
		19: "RANK_TYPE_CPL",
		20: "RANK_TYPE_SPC",
		21: "RANK_TYPE_PFC",
		22: "RANK_TYPE_PVT",
		23: "RANK_TYPE_RCT",
		26: "RANK_TYPE_CW5",
		27: "RANK_TYPE_CW4",
		28: "RANK_TYPE_CW3",
		29: "RANK_TYPE_CW2",
		30: "RANK_TYPE_WO1",
		31: "RANK_TYPE_AR",
	}
	RankType_value = map[string]int32{
		"RANK_TYPE_UNSPECIFIED": 0,
		"RANK_TYPE_GOA":         1,
		"RANK_TYPE_GEN":         2,
		"RANK_TYPE_LTG":         3,
		"RANK_TYPE_MG":          4,
		"RANK_TYPE_BG":          5,
		"RANK_TYPE_COL":         6,
		"RANK_TYPE_LTC":         7,
		"RANK_TYPE_MAJ":         8,
		"RANK_TYPE_CPT":         9,
		"RANK_TYPE_1LT":         10,
		"RANK_TYPE_2LT":         11,
		"RANK_TYPE_CSM":         12,
		"RANK_TYPE_SGM":         13,
		"RANK_TYPE_1SG":         14,
		"RANK_TYPE_MSG":         15,
		"RANK_TYPE_SFC":         16,
		"RANK_TYPE_SSG":         17,
		"RANK_TYPE_SGT":         18,
		"RANK_TYPE_CPL":         19,
		"RANK_TYPE_SPC":         20,
		"RANK_TYPE_PFC":         21,
		"RANK_TYPE_PVT":         22,
		"RANK_TYPE_RCT":         23,
		"RANK_TYPE_CW5":         26,
		"RANK_TYPE_CW4":         27,
		"RANK_TYPE_CW3":         28,
		"RANK_TYPE_CW2":         29,
		"RANK_TYPE_WO1":         30,
		"RANK_TYPE_AR":          31,
	}
)

Enum value maps for RankType.

View Source
var File_milpacs_proto protoreflect.FileDescriptor
View Source
var MilpacService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.MilpacService",
	HandlerType: (*MilpacServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProfile",
			Handler:    _MilpacService_GetProfile_Handler,
		},
		{
			MethodName: "GetRoster",
			Handler:    _MilpacService_GetRoster_Handler,
		},
		{
			MethodName: "GetUserViaKeycloakId",
			Handler:    _MilpacService_GetUserViaKeycloakId_Handler,
		},
		{
			MethodName: "GetUserViaDiscordId",
			Handler:    _MilpacService_GetUserViaDiscordId_Handler,
		},
		{
			MethodName: "GetLiteRoster",
			Handler:    _MilpacService_GetLiteRoster_Handler,
		},
		{
			MethodName: "SearchByPosition",
			Handler:    _MilpacService_SearchByPosition_Handler,
		},
		{
			MethodName: "GetS1UniformsRoster",
			Handler:    _MilpacService_GetS1UniformsRoster_Handler,
		},
		{
			MethodName: "GetAllRanks",
			Handler:    _MilpacService_GetAllRanks_Handler,
		},
		{
			MethodName: "GetPositionGroups",
			Handler:    _MilpacService_GetPositionGroups_Handler,
		},
		{
			MethodName: "GetAwol",
			Handler:    _MilpacService_GetAwol_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milpacs.proto",
}

MilpacService_ServiceDesc is the grpc.ServiceDesc for MilpacService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMilpacServiceHandler

func RegisterMilpacServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMilpacServiceHandler registers the http handlers for service MilpacService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMilpacServiceHandlerClient

func RegisterMilpacServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MilpacServiceClient) error

RegisterMilpacServiceHandlerClient registers the http handlers for service MilpacService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MilpacServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MilpacServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MilpacServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterMilpacServiceHandlerFromEndpoint

func RegisterMilpacServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMilpacServiceHandlerFromEndpoint is same as RegisterMilpacServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMilpacServiceHandlerServer

func RegisterMilpacServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MilpacServiceServer) error

RegisterMilpacServiceHandlerServer registers the http handlers for service MilpacService to "mux". UnaryRPC :call MilpacServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMilpacServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterMilpacServiceServer

func RegisterMilpacServiceServer(s grpc.ServiceRegistrar, srv MilpacServiceServer)

Types

type Award

type Award struct {
	AwardDetails  string `protobuf:"bytes,1,opt,name=award_details,json=awardDetails,proto3" json:"award_details,omitempty"`
	AwardName     string `protobuf:"bytes,2,opt,name=award_name,json=awardName,proto3" json:"award_name,omitempty"`
	AwardDate     string `protobuf:"bytes,3,opt,name=award_date,json=awardDate,proto3" json:"award_date,omitempty"`
	AwardImageUrl string `protobuf:"bytes,4,opt,name=award_image_url,json=awardImageUrl,proto3" json:"award_image_url,omitempty"`
	AwardUid      uint64 `protobuf:"varint,5,opt,name=award_uid,json=awardUid,proto3" json:"award_uid,omitempty"`
	// contains filtered or unexported fields
}

func (*Award) Descriptor deprecated

func (*Award) Descriptor() ([]byte, []int)

Deprecated: Use Award.ProtoReflect.Descriptor instead.

func (*Award) GetAwardDate

func (x *Award) GetAwardDate() string

func (*Award) GetAwardDetails

func (x *Award) GetAwardDetails() string

func (*Award) GetAwardImageUrl

func (x *Award) GetAwardImageUrl() string

func (*Award) GetAwardName

func (x *Award) GetAwardName() string

func (*Award) GetAwardUid

func (x *Award) GetAwardUid() uint64

func (*Award) ProtoMessage

func (*Award) ProtoMessage()

func (*Award) ProtoReflect

func (x *Award) ProtoReflect() protoreflect.Message

func (*Award) Reset

func (x *Award) Reset()

func (*Award) String

func (x *Award) String() string

type Awol

type Awol struct {
	GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	RankName  string `protobuf:"bytes,2,opt,name=rank_name,json=rankName,proto3" json:"rank_name,omitempty"`
	Username  string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	UserId    uint64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	HumanDate string `protobuf:"bytes,5,opt,name=human_date,json=humanDate,proto3" json:"human_date,omitempty"`
	Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PostId    uint64 `protobuf:"varint,7,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Awol) Descriptor deprecated

func (*Awol) Descriptor() ([]byte, []int)

Deprecated: Use Awol.ProtoReflect.Descriptor instead.

func (*Awol) GetGroupName

func (x *Awol) GetGroupName() string

func (*Awol) GetHumanDate

func (x *Awol) GetHumanDate() string

func (*Awol) GetPostId

func (x *Awol) GetPostId() uint64

func (*Awol) GetRankName

func (x *Awol) GetRankName() string

func (*Awol) GetTimestamp

func (x *Awol) GetTimestamp() uint64

func (*Awol) GetUserId

func (x *Awol) GetUserId() uint64

func (*Awol) GetUsername

func (x *Awol) GetUsername() string

func (*Awol) ProtoMessage

func (*Awol) ProtoMessage()

func (*Awol) ProtoReflect

func (x *Awol) ProtoReflect() protoreflect.Message

func (*Awol) Reset

func (x *Awol) Reset()

func (*Awol) String

func (x *Awol) String() string

type AwolResponse

type AwolResponse struct {
	Awols []*Awol `protobuf:"bytes,1,rep,name=awols,proto3" json:"awols,omitempty"`
	// contains filtered or unexported fields
}

func (*AwolResponse) Descriptor deprecated

func (*AwolResponse) Descriptor() ([]byte, []int)

Deprecated: Use AwolResponse.ProtoReflect.Descriptor instead.

func (*AwolResponse) GetAwols

func (x *AwolResponse) GetAwols() []*Awol

func (*AwolResponse) ProtoMessage

func (*AwolResponse) ProtoMessage()

func (*AwolResponse) ProtoReflect

func (x *AwolResponse) ProtoReflect() protoreflect.Message

func (*AwolResponse) Reset

func (x *AwolResponse) Reset()

func (*AwolResponse) String

func (x *AwolResponse) String() string

type DiscordIdRequest

type DiscordIdRequest struct {
	DiscordId string `protobuf:"bytes,1,opt,name=discord_id,json=discordId,proto3" json:"discord_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscordIdRequest) Descriptor deprecated

func (*DiscordIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use DiscordIdRequest.ProtoReflect.Descriptor instead.

func (*DiscordIdRequest) GetDiscordId

func (x *DiscordIdRequest) GetDiscordId() string

func (*DiscordIdRequest) ProtoMessage

func (*DiscordIdRequest) ProtoMessage()

func (*DiscordIdRequest) ProtoReflect

func (x *DiscordIdRequest) ProtoReflect() protoreflect.Message

func (*DiscordIdRequest) Reset

func (x *DiscordIdRequest) Reset()

func (*DiscordIdRequest) String

func (x *DiscordIdRequest) String() string

type KeycloakIdRequest

type KeycloakIdRequest struct {
	KeycloakId string `protobuf:"bytes,1,opt,name=keycloak_id,json=keycloakId,proto3" json:"keycloak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*KeycloakIdRequest) Descriptor deprecated

func (*KeycloakIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use KeycloakIdRequest.ProtoReflect.Descriptor instead.

func (*KeycloakIdRequest) GetKeycloakId

func (x *KeycloakIdRequest) GetKeycloakId() string

func (*KeycloakIdRequest) ProtoMessage

func (*KeycloakIdRequest) ProtoMessage()

func (*KeycloakIdRequest) ProtoReflect

func (x *KeycloakIdRequest) ProtoReflect() protoreflect.Message

func (*KeycloakIdRequest) Reset

func (x *KeycloakIdRequest) Reset()

func (*KeycloakIdRequest) String

func (x *KeycloakIdRequest) String() string

type LiteProfile

type LiteProfile struct {
	User              *User       `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Rank              *Rank       `protobuf:"bytes,2,opt,name=rank,proto3" json:"rank,omitempty"`
	RealName          string      `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	UniformUrl        string      `protobuf:"bytes,4,opt,name=uniform_url,json=uniformUrl,proto3" json:"uniform_url,omitempty"`
	Roster            RosterType  `protobuf:"varint,5,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	Primary           *Position   `protobuf:"bytes,6,opt,name=primary,proto3" json:"primary,omitempty"`
	Secondaries       []*Position `protobuf:"bytes,7,rep,name=secondaries,proto3" json:"secondaries,omitempty"`
	JoinDate          string      `protobuf:"bytes,8,opt,name=join_date,json=joinDate,proto3" json:"join_date,omitempty"`
	PromotionDate     string      `protobuf:"bytes,9,opt,name=promotion_date,json=promotionDate,proto3" json:"promotion_date,omitempty"`
	KeycloakId        string      `protobuf:"bytes,10,opt,name=keycloak_id,json=keycloakId,proto3" json:"keycloak_id,omitempty"`
	DiscordId         string      `protobuf:"bytes,11,opt,name=discord_id,json=discordId,proto3" json:"discord_id,omitempty"`
	AwardDate         string      `protobuf:"bytes,12,opt,name=award_date,json=awardDate,proto3" json:"award_date,omitempty"`
	RecordDate        string      `protobuf:"bytes,13,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`
	LastForumPostDate string      `protobuf:"bytes,14,opt,name=last_forum_post_date,json=lastForumPostDate,proto3" json:"last_forum_post_date,omitempty"`
	// contains filtered or unexported fields
}

func (*LiteProfile) Descriptor deprecated

func (*LiteProfile) Descriptor() ([]byte, []int)

Deprecated: Use LiteProfile.ProtoReflect.Descriptor instead.

func (*LiteProfile) GetAwardDate

func (x *LiteProfile) GetAwardDate() string

func (*LiteProfile) GetDiscordId

func (x *LiteProfile) GetDiscordId() string

func (*LiteProfile) GetJoinDate

func (x *LiteProfile) GetJoinDate() string

func (*LiteProfile) GetKeycloakId

func (x *LiteProfile) GetKeycloakId() string

func (*LiteProfile) GetLastForumPostDate

func (x *LiteProfile) GetLastForumPostDate() string

func (*LiteProfile) GetPrimary

func (x *LiteProfile) GetPrimary() *Position

func (*LiteProfile) GetPromotionDate

func (x *LiteProfile) GetPromotionDate() string

func (*LiteProfile) GetRank

func (x *LiteProfile) GetRank() *Rank

func (*LiteProfile) GetRealName

func (x *LiteProfile) GetRealName() string

func (*LiteProfile) GetRecordDate

func (x *LiteProfile) GetRecordDate() string

func (*LiteProfile) GetRoster

func (x *LiteProfile) GetRoster() RosterType

func (*LiteProfile) GetSecondaries

func (x *LiteProfile) GetSecondaries() []*Position

func (*LiteProfile) GetUniformUrl

func (x *LiteProfile) GetUniformUrl() string

func (*LiteProfile) GetUser

func (x *LiteProfile) GetUser() *User

func (*LiteProfile) ProtoMessage

func (*LiteProfile) ProtoMessage()

func (*LiteProfile) ProtoReflect

func (x *LiteProfile) ProtoReflect() protoreflect.Message

func (*LiteProfile) Reset

func (x *LiteProfile) Reset()

func (*LiteProfile) String

func (x *LiteProfile) String() string

type LiteRoster

type LiteRoster struct {
	Profiles map[uint64]*LiteProfile `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LiteRoster) Descriptor deprecated

func (*LiteRoster) Descriptor() ([]byte, []int)

Deprecated: Use LiteRoster.ProtoReflect.Descriptor instead.

func (*LiteRoster) GetProfiles

func (x *LiteRoster) GetProfiles() map[uint64]*LiteProfile

func (*LiteRoster) ProtoMessage

func (*LiteRoster) ProtoMessage()

func (*LiteRoster) ProtoReflect

func (x *LiteRoster) ProtoReflect() protoreflect.Message

func (*LiteRoster) Reset

func (x *LiteRoster) Reset()

func (*LiteRoster) String

func (x *LiteRoster) String() string

type MilpacServiceClient

type MilpacServiceClient interface {
	GetProfile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (*Profile, error)
	GetRoster(ctx context.Context, in *RosterRequest, opts ...grpc.CallOption) (*Roster, error)
	GetUserViaKeycloakId(ctx context.Context, in *KeycloakIdRequest, opts ...grpc.CallOption) (*Profile, error)
	GetUserViaDiscordId(ctx context.Context, in *DiscordIdRequest, opts ...grpc.CallOption) (*Profile, error)
	GetLiteRoster(ctx context.Context, in *RosterRequest, opts ...grpc.CallOption) (*LiteRoster, error)
	SearchByPosition(ctx context.Context, in *PositionSearchRequest, opts ...grpc.CallOption) (*LiteRoster, error)
	GetS1UniformsRoster(ctx context.Context, in *RosterRequest, opts ...grpc.CallOption) (*S1UniformsRoster, error)
	GetAllRanks(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RanksResponse, error)
	GetPositionGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PositionGroupsResponse, error)
	GetAwol(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AwolResponse, error)
}

MilpacServiceClient is the client API for MilpacService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MilpacServiceServer

type MilpacServiceServer interface {
	GetProfile(context.Context, *ProfileRequest) (*Profile, error)
	GetRoster(context.Context, *RosterRequest) (*Roster, error)
	GetUserViaKeycloakId(context.Context, *KeycloakIdRequest) (*Profile, error)
	GetUserViaDiscordId(context.Context, *DiscordIdRequest) (*Profile, error)
	GetLiteRoster(context.Context, *RosterRequest) (*LiteRoster, error)
	SearchByPosition(context.Context, *PositionSearchRequest) (*LiteRoster, error)
	GetS1UniformsRoster(context.Context, *RosterRequest) (*S1UniformsRoster, error)
	GetAllRanks(context.Context, *emptypb.Empty) (*RanksResponse, error)
	GetPositionGroups(context.Context, *emptypb.Empty) (*PositionGroupsResponse, error)
	GetAwol(context.Context, *emptypb.Empty) (*AwolResponse, error)
}

MilpacServiceServer is the server API for MilpacService service. All implementations should embed UnimplementedMilpacServiceServer for forward compatibility.

type Position

type Position struct {
	PositionTitle string `protobuf:"bytes,1,opt,name=position_title,json=positionTitle,proto3" json:"position_title,omitempty"`
	PositionId    uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

func (*Position) Descriptor() ([]byte, []int)

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetPositionId

func (x *Position) GetPositionId() uint64

func (*Position) GetPositionTitle

func (x *Position) GetPositionTitle() string

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

func (x *Position) ProtoReflect() protoreflect.Message

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type PositionExpanded

type PositionExpanded struct {
	PositionTitle             string `protobuf:"bytes,1,opt,name=position_title,json=positionTitle,proto3" json:"position_title,omitempty"`
	PositionId                uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	PositionDisplayOrder      uint32 `protobuf:"varint,3,opt,name=position_display_order,json=positionDisplayOrder,proto3" json:"position_display_order,omitempty"`
	PositionPossibleSecondary bool   `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PositionExpanded) Descriptor deprecated

func (*PositionExpanded) Descriptor() ([]byte, []int)

Deprecated: Use PositionExpanded.ProtoReflect.Descriptor instead.

func (*PositionExpanded) GetPositionDisplayOrder

func (x *PositionExpanded) GetPositionDisplayOrder() uint32

func (*PositionExpanded) GetPositionId

func (x *PositionExpanded) GetPositionId() uint64

func (*PositionExpanded) GetPositionPossibleSecondary

func (x *PositionExpanded) GetPositionPossibleSecondary() bool

func (*PositionExpanded) GetPositionTitle

func (x *PositionExpanded) GetPositionTitle() string

func (*PositionExpanded) ProtoMessage

func (*PositionExpanded) ProtoMessage()

func (*PositionExpanded) ProtoReflect

func (x *PositionExpanded) ProtoReflect() protoreflect.Message

func (*PositionExpanded) Reset

func (x *PositionExpanded) Reset()

func (*PositionExpanded) String

func (x *PositionExpanded) String() string

type PositionGroup

type PositionGroup struct {
	GroupId           uint64              `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupTitle        string              `protobuf:"bytes,2,opt,name=group_title,json=groupTitle,proto3" json:"group_title,omitempty"`
	GroupDisplayOrder uint32              `protobuf:"varint,3,opt,name=group_display_order,json=groupDisplayOrder,proto3" json:"group_display_order,omitempty"`
	Positions         []*PositionExpanded `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionGroup) Descriptor deprecated

func (*PositionGroup) Descriptor() ([]byte, []int)

Deprecated: Use PositionGroup.ProtoReflect.Descriptor instead.

func (*PositionGroup) GetGroupDisplayOrder

func (x *PositionGroup) GetGroupDisplayOrder() uint32

func (*PositionGroup) GetGroupId

func (x *PositionGroup) GetGroupId() uint64

func (*PositionGroup) GetGroupTitle

func (x *PositionGroup) GetGroupTitle() string

func (*PositionGroup) GetPositions

func (x *PositionGroup) GetPositions() []*PositionExpanded

func (*PositionGroup) ProtoMessage

func (*PositionGroup) ProtoMessage()

func (*PositionGroup) ProtoReflect

func (x *PositionGroup) ProtoReflect() protoreflect.Message

func (*PositionGroup) Reset

func (x *PositionGroup) Reset()

func (*PositionGroup) String

func (x *PositionGroup) String() string

type PositionGroupsResponse

type PositionGroupsResponse struct {
	Groups []*PositionGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionGroupsResponse) Descriptor deprecated

func (*PositionGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use PositionGroupsResponse.ProtoReflect.Descriptor instead.

func (*PositionGroupsResponse) GetGroups

func (x *PositionGroupsResponse) GetGroups() []*PositionGroup

func (*PositionGroupsResponse) ProtoMessage

func (*PositionGroupsResponse) ProtoMessage()

func (*PositionGroupsResponse) ProtoReflect

func (x *PositionGroupsResponse) ProtoReflect() protoreflect.Message

func (*PositionGroupsResponse) Reset

func (x *PositionGroupsResponse) Reset()

func (*PositionGroupsResponse) String

func (x *PositionGroupsResponse) String() string

type PositionSearchRequest

type PositionSearchRequest struct {
	PositionQuery string `protobuf:"bytes,1,opt,name=position_query,json=positionQuery,proto3" json:"position_query,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionSearchRequest) Descriptor deprecated

func (*PositionSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use PositionSearchRequest.ProtoReflect.Descriptor instead.

func (*PositionSearchRequest) GetPositionQuery

func (x *PositionSearchRequest) GetPositionQuery() string

func (*PositionSearchRequest) ProtoMessage

func (*PositionSearchRequest) ProtoMessage()

func (*PositionSearchRequest) ProtoReflect

func (x *PositionSearchRequest) ProtoReflect() protoreflect.Message

func (*PositionSearchRequest) Reset

func (x *PositionSearchRequest) Reset()

func (*PositionSearchRequest) String

func (x *PositionSearchRequest) String() string

type Profile

type Profile struct {
	User              *User       `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Rank              *Rank       `protobuf:"bytes,2,opt,name=rank,proto3" json:"rank,omitempty"`
	RealName          string      `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	UniformUrl        string      `protobuf:"bytes,4,opt,name=uniform_url,json=uniformUrl,proto3" json:"uniform_url,omitempty"`
	Roster            RosterType  `protobuf:"varint,5,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	Primary           *Position   `protobuf:"bytes,6,opt,name=primary,proto3" json:"primary,omitempty"`
	Secondaries       []*Position `protobuf:"bytes,7,rep,name=secondaries,proto3" json:"secondaries,omitempty"`
	Records           []*Record   `protobuf:"bytes,8,rep,name=records,proto3" json:"records,omitempty"`
	Awards            []*Award    `protobuf:"bytes,9,rep,name=awards,proto3" json:"awards,omitempty"`
	JoinDate          string      `protobuf:"bytes,10,opt,name=join_date,json=joinDate,proto3" json:"join_date,omitempty"`
	PromotionDate     string      `protobuf:"bytes,11,opt,name=promotion_date,json=promotionDate,proto3" json:"promotion_date,omitempty"`
	KeycloakId        string      `protobuf:"bytes,12,opt,name=keycloak_id,json=keycloakId,proto3" json:"keycloak_id,omitempty"`
	DiscordId         string      `protobuf:"bytes,13,opt,name=discord_id,json=discordId,proto3" json:"discord_id,omitempty"`
	LastForumPostDate string      `protobuf:"bytes,14,opt,name=last_forum_post_date,json=lastForumPostDate,proto3" json:"last_forum_post_date,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAwards

func (x *Profile) GetAwards() []*Award

func (*Profile) GetDiscordId

func (x *Profile) GetDiscordId() string

func (*Profile) GetJoinDate

func (x *Profile) GetJoinDate() string

func (*Profile) GetKeycloakId

func (x *Profile) GetKeycloakId() string

func (*Profile) GetLastForumPostDate

func (x *Profile) GetLastForumPostDate() string

func (*Profile) GetPrimary

func (x *Profile) GetPrimary() *Position

func (*Profile) GetPromotionDate

func (x *Profile) GetPromotionDate() string

func (*Profile) GetRank

func (x *Profile) GetRank() *Rank

func (*Profile) GetRealName

func (x *Profile) GetRealName() string

func (*Profile) GetRecords

func (x *Profile) GetRecords() []*Record

func (*Profile) GetRoster

func (x *Profile) GetRoster() RosterType

func (*Profile) GetSecondaries

func (x *Profile) GetSecondaries() []*Position

func (*Profile) GetUniformUrl

func (x *Profile) GetUniformUrl() string

func (*Profile) GetUser

func (x *Profile) GetUser() *User

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type ProfileRequest

type ProfileRequest struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileRequest) Descriptor deprecated

func (*ProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.

func (*ProfileRequest) GetUserId

func (x *ProfileRequest) GetUserId() uint64

func (*ProfileRequest) GetUsername

func (x *ProfileRequest) GetUsername() string

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) ProtoReflect

func (x *ProfileRequest) ProtoReflect() protoreflect.Message

func (*ProfileRequest) Reset

func (x *ProfileRequest) Reset()

func (*ProfileRequest) String

func (x *ProfileRequest) String() string

type Rank

type Rank struct {
	RankShort    string `protobuf:"bytes,1,opt,name=rank_short,json=rankShort,proto3" json:"rank_short,omitempty"`
	RankFull     string `protobuf:"bytes,2,opt,name=rank_full,json=rankFull,proto3" json:"rank_full,omitempty"`
	RankImageUrl string `protobuf:"bytes,3,opt,name=rank_image_url,json=rankImageUrl,proto3" json:"rank_image_url,omitempty"`
	RankId       uint64 `protobuf:"varint,4,opt,name=rank_id,json=rankId,proto3" json:"rank_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Rank) Descriptor deprecated

func (*Rank) Descriptor() ([]byte, []int)

Deprecated: Use Rank.ProtoReflect.Descriptor instead.

func (*Rank) GetRankFull

func (x *Rank) GetRankFull() string

func (*Rank) GetRankId

func (x *Rank) GetRankId() uint64

func (*Rank) GetRankImageUrl

func (x *Rank) GetRankImageUrl() string

func (*Rank) GetRankShort

func (x *Rank) GetRankShort() string

func (*Rank) ProtoMessage

func (*Rank) ProtoMessage()

func (*Rank) ProtoReflect

func (x *Rank) ProtoReflect() protoreflect.Message

func (*Rank) Reset

func (x *Rank) Reset()

func (*Rank) String

func (x *Rank) String() string

type RankExpanded

type RankExpanded struct {
	RankShort        string `protobuf:"bytes,1,opt,name=rank_short,json=rankShort,proto3" json:"rank_short,omitempty"`
	RankFull         string `protobuf:"bytes,2,opt,name=rank_full,json=rankFull,proto3" json:"rank_full,omitempty"`
	RankImageUrl     string `protobuf:"bytes,3,opt,name=rank_image_url,json=rankImageUrl,proto3" json:"rank_image_url,omitempty"`
	RankId           uint64 `protobuf:"varint,4,opt,name=rank_id,json=rankId,proto3" json:"rank_id,omitempty"`
	RankDisplayOrder uint32 `protobuf:"varint,5,opt,name=rank_display_order,json=rankDisplayOrder,proto3" json:"rank_display_order,omitempty"`
	// contains filtered or unexported fields
}

func (*RankExpanded) Descriptor deprecated

func (*RankExpanded) Descriptor() ([]byte, []int)

Deprecated: Use RankExpanded.ProtoReflect.Descriptor instead.

func (*RankExpanded) GetRankDisplayOrder

func (x *RankExpanded) GetRankDisplayOrder() uint32

func (*RankExpanded) GetRankFull

func (x *RankExpanded) GetRankFull() string

func (*RankExpanded) GetRankId

func (x *RankExpanded) GetRankId() uint64

func (*RankExpanded) GetRankImageUrl

func (x *RankExpanded) GetRankImageUrl() string

func (*RankExpanded) GetRankShort

func (x *RankExpanded) GetRankShort() string

func (*RankExpanded) ProtoMessage

func (*RankExpanded) ProtoMessage()

func (*RankExpanded) ProtoReflect

func (x *RankExpanded) ProtoReflect() protoreflect.Message

func (*RankExpanded) Reset

func (x *RankExpanded) Reset()

func (*RankExpanded) String

func (x *RankExpanded) String() string

type RankType

type RankType int32
const (
	RankType_RANK_TYPE_UNSPECIFIED RankType = 0
	RankType_RANK_TYPE_GOA         RankType = 1
	RankType_RANK_TYPE_GEN         RankType = 2
	RankType_RANK_TYPE_LTG         RankType = 3
	RankType_RANK_TYPE_MG          RankType = 4
	RankType_RANK_TYPE_BG          RankType = 5
	RankType_RANK_TYPE_COL         RankType = 6
	RankType_RANK_TYPE_LTC         RankType = 7
	RankType_RANK_TYPE_MAJ         RankType = 8
	RankType_RANK_TYPE_CPT         RankType = 9
	RankType_RANK_TYPE_1LT         RankType = 10
	RankType_RANK_TYPE_2LT         RankType = 11
	RankType_RANK_TYPE_CSM         RankType = 12
	RankType_RANK_TYPE_SGM         RankType = 13
	RankType_RANK_TYPE_1SG         RankType = 14
	RankType_RANK_TYPE_MSG         RankType = 15
	RankType_RANK_TYPE_SFC         RankType = 16
	RankType_RANK_TYPE_SSG         RankType = 17
	RankType_RANK_TYPE_SGT         RankType = 18
	RankType_RANK_TYPE_CPL         RankType = 19
	RankType_RANK_TYPE_SPC         RankType = 20
	RankType_RANK_TYPE_PFC         RankType = 21
	RankType_RANK_TYPE_PVT         RankType = 22
	RankType_RANK_TYPE_RCT         RankType = 23
	RankType_RANK_TYPE_CW5         RankType = 26
	RankType_RANK_TYPE_CW4         RankType = 27
	RankType_RANK_TYPE_CW3         RankType = 28
	RankType_RANK_TYPE_CW2         RankType = 29
	RankType_RANK_TYPE_WO1         RankType = 30
	RankType_RANK_TYPE_AR          RankType = 31
)

func (RankType) Descriptor

func (RankType) Descriptor() protoreflect.EnumDescriptor

func (RankType) Enum

func (x RankType) Enum() *RankType

func (RankType) EnumDescriptor deprecated

func (RankType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RankType.Descriptor instead.

func (RankType) Number

func (x RankType) Number() protoreflect.EnumNumber

func (RankType) String

func (x RankType) String() string

func (RankType) Type

type RanksResponse

type RanksResponse struct {
	Ranks []*RankExpanded `protobuf:"bytes,1,rep,name=ranks,proto3" json:"ranks,omitempty"`
	// contains filtered or unexported fields
}

func (*RanksResponse) Descriptor deprecated

func (*RanksResponse) Descriptor() ([]byte, []int)

Deprecated: Use RanksResponse.ProtoReflect.Descriptor instead.

func (*RanksResponse) GetRanks

func (x *RanksResponse) GetRanks() []*RankExpanded

func (*RanksResponse) ProtoMessage

func (*RanksResponse) ProtoMessage()

func (*RanksResponse) ProtoReflect

func (x *RanksResponse) ProtoReflect() protoreflect.Message

func (*RanksResponse) Reset

func (x *RanksResponse) Reset()

func (*RanksResponse) String

func (x *RanksResponse) String() string

type Record

type Record struct {
	RecordDetails string     `protobuf:"bytes,1,opt,name=record_details,json=recordDetails,proto3" json:"record_details,omitempty"`
	RecordType    RecordType `protobuf:"varint,2,opt,name=record_type,json=recordType,proto3,enum=proto.RecordType" json:"record_type,omitempty"`
	RecordDate    string     `protobuf:"bytes,3,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`
	RecordUid     uint64     `protobuf:"varint,4,opt,name=record_uid,json=recordUid,proto3" json:"record_uid,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

func (*Record) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetRecordDate

func (x *Record) GetRecordDate() string

func (*Record) GetRecordDetails

func (x *Record) GetRecordDetails() string

func (*Record) GetRecordType

func (x *Record) GetRecordType() RecordType

func (*Record) GetRecordUid

func (x *Record) GetRecordUid() uint64

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

func (x *Record) ProtoReflect() protoreflect.Message

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RecordType

type RecordType int32
const (
	RecordType_RECORD_TYPE_UNSPECIFIED  RecordType = 0
	RecordType_RECORD_TYPE_PROMOTION    RecordType = 1
	RecordType_RECORD_TYPE_OPERATION    RecordType = 2
	RecordType_RECORD_TYPE_TRANSFER     RecordType = 3
	RecordType_RECORD_TYPE_DISCIPLINARY RecordType = 4
	RecordType_RECORD_TYPE_DISCHARGE    RecordType = 5
	RecordType_RECORD_TYPE_ASSIGNMENT   RecordType = 6
	RecordType_RECORD_TYPE_NAME_CHANGE  RecordType = 7
	RecordType_RECORD_TYPE_ELOA         RecordType = 8
	RecordType_RECORD_TYPE_GRADUATION   RecordType = 9
)

func (RecordType) Descriptor

func (RecordType) Descriptor() protoreflect.EnumDescriptor

func (RecordType) Enum

func (x RecordType) Enum() *RecordType

func (RecordType) EnumDescriptor deprecated

func (RecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RecordType.Descriptor instead.

func (RecordType) Number

func (x RecordType) Number() protoreflect.EnumNumber

func (RecordType) String

func (x RecordType) String() string

func (RecordType) Type

type Roster

type Roster struct {
	Profiles map[uint64]*Profile `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Roster) Descriptor deprecated

func (*Roster) Descriptor() ([]byte, []int)

Deprecated: Use Roster.ProtoReflect.Descriptor instead.

func (*Roster) GetProfiles

func (x *Roster) GetProfiles() map[uint64]*Profile

func (*Roster) ProtoMessage

func (*Roster) ProtoMessage()

func (*Roster) ProtoReflect

func (x *Roster) ProtoReflect() protoreflect.Message

func (*Roster) Reset

func (x *Roster) Reset()

func (*Roster) String

func (x *Roster) String() string

type RosterRequest

type RosterRequest struct {
	Roster RosterType `protobuf:"varint,1,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	// contains filtered or unexported fields
}

func (*RosterRequest) Descriptor deprecated

func (*RosterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RosterRequest.ProtoReflect.Descriptor instead.

func (*RosterRequest) GetRoster

func (x *RosterRequest) GetRoster() RosterType

func (*RosterRequest) ProtoMessage

func (*RosterRequest) ProtoMessage()

func (*RosterRequest) ProtoReflect

func (x *RosterRequest) ProtoReflect() protoreflect.Message

func (*RosterRequest) Reset

func (x *RosterRequest) Reset()

func (*RosterRequest) String

func (x *RosterRequest) String() string

type RosterType

type RosterType int32
const (
	RosterType_ROSTER_TYPE_UNSPECIFIED   RosterType = 0
	RosterType_ROSTER_TYPE_COMBAT        RosterType = 1
	RosterType_ROSTER_TYPE_RESERVE       RosterType = 2
	RosterType_ROSTER_TYPE_ELOA          RosterType = 3
	RosterType_ROSTER_TYPE_WALL_OF_HONOR RosterType = 4
	RosterType_ROSTER_TYPE_ARLINGTON     RosterType = 5
	RosterType_ROSTER_TYPE_PAST_MEMBERS  RosterType = 6
)

func (RosterType) Descriptor

func (RosterType) Descriptor() protoreflect.EnumDescriptor

func (RosterType) Enum

func (x RosterType) Enum() *RosterType

func (RosterType) EnumDescriptor deprecated

func (RosterType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RosterType.Descriptor instead.

func (RosterType) Number

func (x RosterType) Number() protoreflect.EnumNumber

func (RosterType) String

func (x RosterType) String() string

func (RosterType) Type

type S1UniformsPosition

type S1UniformsPosition struct {
	PositionTitle string `protobuf:"bytes,1,opt,name=position_title,json=positionTitle,proto3" json:"position_title,omitempty"`
	// contains filtered or unexported fields
}

func (*S1UniformsPosition) Descriptor deprecated

func (*S1UniformsPosition) Descriptor() ([]byte, []int)

Deprecated: Use S1UniformsPosition.ProtoReflect.Descriptor instead.

func (*S1UniformsPosition) GetPositionTitle

func (x *S1UniformsPosition) GetPositionTitle() string

func (*S1UniformsPosition) ProtoMessage

func (*S1UniformsPosition) ProtoMessage()

func (*S1UniformsPosition) ProtoReflect

func (x *S1UniformsPosition) ProtoReflect() protoreflect.Message

func (*S1UniformsPosition) Reset

func (x *S1UniformsPosition) Reset()

func (*S1UniformsPosition) String

func (x *S1UniformsPosition) String() string

type S1UniformsProfile

type S1UniformsProfile struct {
	User                     *User                 `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Rank                     *S1UniformsRank       `protobuf:"bytes,2,opt,name=rank,proto3" json:"rank,omitempty"`
	RealName                 string                `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	UniformUrl               string                `protobuf:"bytes,4,opt,name=uniform_url,json=uniformUrl,proto3" json:"uniform_url,omitempty"`
	UniformDate              string                `protobuf:"bytes,5,opt,name=uniform_date,json=uniformDate,proto3" json:"uniform_date,omitempty"`
	UniformUpdateTriggerDate string                `` /* 137-byte string literal not displayed */
	Roster                   RosterType            `protobuf:"varint,7,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	PrimaryPositionTitle     string                `protobuf:"bytes,8,opt,name=primary_position_title,json=primaryPositionTitle,proto3" json:"primary_position_title,omitempty"`
	Secondaries              []*S1UniformsPosition `protobuf:"bytes,9,rep,name=secondaries,proto3" json:"secondaries,omitempty"`
	JoinDate                 string                `protobuf:"bytes,10,opt,name=join_date,json=joinDate,proto3" json:"join_date,omitempty"`
	PromotionDate            string                `protobuf:"bytes,11,opt,name=promotion_date,json=promotionDate,proto3" json:"promotion_date,omitempty"`
	AreaOfResponsibility     string                `protobuf:"bytes,12,opt,name=area_of_responsibility,json=areaOfResponsibility,proto3" json:"area_of_responsibility,omitempty"`
	// contains filtered or unexported fields
}

func (*S1UniformsProfile) Descriptor deprecated

func (*S1UniformsProfile) Descriptor() ([]byte, []int)

Deprecated: Use S1UniformsProfile.ProtoReflect.Descriptor instead.

func (*S1UniformsProfile) GetAreaOfResponsibility

func (x *S1UniformsProfile) GetAreaOfResponsibility() string

func (*S1UniformsProfile) GetJoinDate

func (x *S1UniformsProfile) GetJoinDate() string

func (*S1UniformsProfile) GetPrimaryPositionTitle

func (x *S1UniformsProfile) GetPrimaryPositionTitle() string

func (*S1UniformsProfile) GetPromotionDate

func (x *S1UniformsProfile) GetPromotionDate() string

func (*S1UniformsProfile) GetRank

func (x *S1UniformsProfile) GetRank() *S1UniformsRank

func (*S1UniformsProfile) GetRealName

func (x *S1UniformsProfile) GetRealName() string

func (*S1UniformsProfile) GetRoster

func (x *S1UniformsProfile) GetRoster() RosterType

func (*S1UniformsProfile) GetSecondaries

func (x *S1UniformsProfile) GetSecondaries() []*S1UniformsPosition

func (*S1UniformsProfile) GetUniformDate

func (x *S1UniformsProfile) GetUniformDate() string

func (*S1UniformsProfile) GetUniformUpdateTriggerDate

func (x *S1UniformsProfile) GetUniformUpdateTriggerDate() string

func (*S1UniformsProfile) GetUniformUrl

func (x *S1UniformsProfile) GetUniformUrl() string

func (*S1UniformsProfile) GetUser

func (x *S1UniformsProfile) GetUser() *User

func (*S1UniformsProfile) ProtoMessage

func (*S1UniformsProfile) ProtoMessage()

func (*S1UniformsProfile) ProtoReflect

func (x *S1UniformsProfile) ProtoReflect() protoreflect.Message

func (*S1UniformsProfile) Reset

func (x *S1UniformsProfile) Reset()

func (*S1UniformsProfile) String

func (x *S1UniformsProfile) String() string

type S1UniformsRank

type S1UniformsRank struct {
	RankShort    string `protobuf:"bytes,1,opt,name=rank_short,json=rankShort,proto3" json:"rank_short,omitempty"`
	RankFull     string `protobuf:"bytes,2,opt,name=rank_full,json=rankFull,proto3" json:"rank_full,omitempty"`
	RankImageUrl string `protobuf:"bytes,3,opt,name=rank_image_url,json=rankImageUrl,proto3" json:"rank_image_url,omitempty"`
	// contains filtered or unexported fields
}

func (*S1UniformsRank) Descriptor deprecated

func (*S1UniformsRank) Descriptor() ([]byte, []int)

Deprecated: Use S1UniformsRank.ProtoReflect.Descriptor instead.

func (*S1UniformsRank) GetRankFull

func (x *S1UniformsRank) GetRankFull() string

func (*S1UniformsRank) GetRankImageUrl

func (x *S1UniformsRank) GetRankImageUrl() string

func (*S1UniformsRank) GetRankShort

func (x *S1UniformsRank) GetRankShort() string

func (*S1UniformsRank) ProtoMessage

func (*S1UniformsRank) ProtoMessage()

func (*S1UniformsRank) ProtoReflect

func (x *S1UniformsRank) ProtoReflect() protoreflect.Message

func (*S1UniformsRank) Reset

func (x *S1UniformsRank) Reset()

func (*S1UniformsRank) String

func (x *S1UniformsRank) String() string

type S1UniformsRoster

type S1UniformsRoster struct {
	Profiles map[uint64]*S1UniformsProfile `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*S1UniformsRoster) Descriptor deprecated

func (*S1UniformsRoster) Descriptor() ([]byte, []int)

Deprecated: Use S1UniformsRoster.ProtoReflect.Descriptor instead.

func (*S1UniformsRoster) GetProfiles

func (x *S1UniformsRoster) GetProfiles() map[uint64]*S1UniformsProfile

func (*S1UniformsRoster) ProtoMessage

func (*S1UniformsRoster) ProtoMessage()

func (*S1UniformsRoster) ProtoReflect

func (x *S1UniformsRoster) ProtoReflect() protoreflect.Message

func (*S1UniformsRoster) Reset

func (x *S1UniformsRoster) Reset()

func (*S1UniformsRoster) String

func (x *S1UniformsRoster) String() string

type Thingy

type Thingy struct {
	Ack string `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
	// contains filtered or unexported fields
}

func (*Thingy) Descriptor deprecated

func (*Thingy) Descriptor() ([]byte, []int)

Deprecated: Use Thingy.ProtoReflect.Descriptor instead.

func (*Thingy) GetAck

func (x *Thingy) GetAck() string

func (*Thingy) ProtoMessage

func (*Thingy) ProtoMessage()

func (*Thingy) ProtoReflect

func (x *Thingy) ProtoReflect() protoreflect.Message

func (*Thingy) Reset

func (x *Thingy) Reset()

func (*Thingy) String

func (x *Thingy) String() string

type UnimplementedMilpacServiceServer

type UnimplementedMilpacServiceServer struct{}

UnimplementedMilpacServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMilpacServiceServer) GetAllRanks

func (UnimplementedMilpacServiceServer) GetAwol

func (UnimplementedMilpacServiceServer) GetLiteRoster

func (UnimplementedMilpacServiceServer) GetPositionGroups

func (UnimplementedMilpacServiceServer) GetProfile

func (UnimplementedMilpacServiceServer) GetRoster

func (UnimplementedMilpacServiceServer) GetS1UniformsRoster

func (UnimplementedMilpacServiceServer) GetUserViaDiscordId

func (UnimplementedMilpacServiceServer) GetUserViaKeycloakId

func (UnimplementedMilpacServiceServer) SearchByPosition

type UnsafeMilpacServiceServer

type UnsafeMilpacServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMilpacServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MilpacServiceServer will result in compilation errors.

type User

type User struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetUserId

func (x *User) GetUserId() uint64

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL