v1

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const (
	LibrarianPorterService_PullFeed_FullMethodName               = "/librarian.porter.v1.LibrarianPorterService/PullFeed"
	LibrarianPorterService_PushFeedItems_FullMethodName          = "/librarian.porter.v1.LibrarianPorterService/PushFeedItems"
	LibrarianPorterService_PullDB_FullMethodName                 = "/librarian.porter.v1.LibrarianPorterService/PullDB"
	LibrarianPorterService_PullWiki_FullMethodName               = "/librarian.porter.v1.LibrarianPorterService/PullWiki"
	LibrarianPorterService_PullData_FullMethodName               = "/librarian.porter.v1.LibrarianPorterService/PullData"
	LibrarianPorterService_PushData_FullMethodName               = "/librarian.porter.v1.LibrarianPorterService/PushData"
	LibrarianPorterService_PullAccount_FullMethodName            = "/librarian.porter.v1.LibrarianPorterService/PullAccount"
	LibrarianPorterService_PullApp_FullMethodName                = "/librarian.porter.v1.LibrarianPorterService/PullApp"
	LibrarianPorterService_PullAccountAppRelation_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAccountAppRelation"
)

Variables

View Source
var (
	FeatureFlag_name = map[int32]string{
		0: "FEATURE_FLAG_UNSPECIFIED",
		1: "FEATURE_FLAG_SOURCE_STEAM",
		2: "FEATURE_FLAG_SOURCE_TELEGRAM",
		3: "FEATURE_FLAG_DEFAULT_DATA_STORAGE",
	}
	FeatureFlag_value = map[string]int32{
		"FEATURE_FLAG_UNSPECIFIED":          0,
		"FEATURE_FLAG_SOURCE_STEAM":         1,
		"FEATURE_FLAG_SOURCE_TELEGRAM":      2,
		"FEATURE_FLAG_DEFAULT_DATA_STORAGE": 3,
	}
)

Enum value maps for FeatureFlag.

View Source
var (
	AccountAppRelationType_name = map[int32]string{
		0: "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED",
		1: "ACCOUNT_APP_RELATION_TYPE_OWN",
	}
	AccountAppRelationType_value = map[string]int32{
		"ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED": 0,
		"ACCOUNT_APP_RELATION_TYPE_OWN":         1,
	}
)

Enum value maps for AccountAppRelationType.

View Source
var (
	FeedSource_name = map[int32]string{
		0: "FEED_SOURCE_UNSPECIFIED",
		1: "FEED_SOURCE_COMMON",
	}
	FeedSource_value = map[string]int32{
		"FEED_SOURCE_UNSPECIFIED": 0,
		"FEED_SOURCE_COMMON":      1,
	}
)

Enum value maps for FeedSource.

View Source
var (
	FeedDestination_name = map[int32]string{
		0: "FEED_DESTINATION_UNSPECIFIED",
		1: "FEED_DESTINATION_TELEGRAM",
	}
	FeedDestination_value = map[string]int32{
		"FEED_DESTINATION_UNSPECIFIED": 0,
		"FEED_DESTINATION_TELEGRAM":    1,
	}
)

Enum value maps for FeedDestination.

View Source
var (
	DBSource_name = map[int32]string{
		0: "DB_SOURCE_UNSPECIFIED",
	}
	DBSource_value = map[string]int32{
		"DB_SOURCE_UNSPECIFIED": 0,
	}
)

Enum value maps for DBSource.

View Source
var (
	WikiSource_name = map[int32]string{
		0: "WIKI_SOURCE_UNSPECIFIED",
	}
	WikiSource_value = map[string]int32{
		"WIKI_SOURCE_UNSPECIFIED": 0,
	}
)

Enum value maps for WikiSource.

View Source
var (
	DataSource_name = map[int32]string{
		0: "DATA_SOURCE_UNSPECIFIED",
		1: "DATA_SOURCE_INTERNAL_DEFAULT",
	}
	DataSource_value = map[string]int32{
		"DATA_SOURCE_UNSPECIFIED":      0,
		"DATA_SOURCE_INTERNAL_DEFAULT": 1,
	}
)

Enum value maps for DataSource.

View Source
var File_librarian_porter_v1_porter_proto protoreflect.FileDescriptor
View Source
var LibrarianPorterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "librarian.porter.v1.LibrarianPorterService",
	HandlerType: (*LibrarianPorterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PullFeed",
			Handler:    _LibrarianPorterService_PullFeed_Handler,
		},
		{
			MethodName: "PushFeedItems",
			Handler:    _LibrarianPorterService_PushFeedItems_Handler,
		},
		{
			MethodName: "PullDB",
			Handler:    _LibrarianPorterService_PullDB_Handler,
		},
		{
			MethodName: "PullWiki",
			Handler:    _LibrarianPorterService_PullWiki_Handler,
		},
		{
			MethodName: "PullAccount",
			Handler:    _LibrarianPorterService_PullAccount_Handler,
		},
		{
			MethodName: "PullApp",
			Handler:    _LibrarianPorterService_PullApp_Handler,
		},
		{
			MethodName: "PullAccountAppRelation",
			Handler:    _LibrarianPorterService_PullAccountAppRelation_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullData",
			Handler:       _LibrarianPorterService_PullData_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PushData",
			Handler:       _LibrarianPorterService_PushData_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "librarian/porter/v1/porter.proto",
}

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

Functions

func RegisterLibrarianPorterServiceServer

func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)

Types

type AccountAppRelationType

type AccountAppRelationType int32
const (
	AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED AccountAppRelationType = 0
	AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_OWN         AccountAppRelationType = 1
)

func (AccountAppRelationType) Descriptor

func (AccountAppRelationType) Enum

func (AccountAppRelationType) EnumDescriptor deprecated

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

Deprecated: Use AccountAppRelationType.Descriptor instead.

func (AccountAppRelationType) Number

func (AccountAppRelationType) String

func (x AccountAppRelationType) String() string

func (AccountAppRelationType) Type

type DBSource

type DBSource int32
const (
	DBSource_DB_SOURCE_UNSPECIFIED DBSource = 0
)

func (DBSource) Descriptor

func (DBSource) Descriptor() protoreflect.EnumDescriptor

func (DBSource) Enum

func (x DBSource) Enum() *DBSource

func (DBSource) EnumDescriptor deprecated

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

Deprecated: Use DBSource.Descriptor instead.

func (DBSource) Number

func (x DBSource) Number() protoreflect.EnumNumber

func (DBSource) String

func (x DBSource) String() string

func (DBSource) Type

type DataSource

type DataSource int32
const (
	DataSource_DATA_SOURCE_UNSPECIFIED      DataSource = 0
	DataSource_DATA_SOURCE_INTERNAL_DEFAULT DataSource = 1
)

func (DataSource) Descriptor

func (DataSource) Descriptor() protoreflect.EnumDescriptor

func (DataSource) Enum

func (x DataSource) Enum() *DataSource

func (DataSource) EnumDescriptor deprecated

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

Deprecated: Use DataSource.Descriptor instead.

func (DataSource) Number

func (x DataSource) Number() protoreflect.EnumNumber

func (DataSource) String

func (x DataSource) String() string

func (DataSource) Type

type FeatureFlag added in v0.2.15

type FeatureFlag int32

Definition of service feature flags, use original name rather than enum value. Set correct feature flags in server metadata to let caller know what functions are available.

const (
	FeatureFlag_FEATURE_FLAG_UNSPECIFIED FeatureFlag = 0
	// If set, operations pull from steam store are available.
	FeatureFlag_FEATURE_FLAG_SOURCE_STEAM FeatureFlag = 1
	// If set, operations pull from telegram are available.
	FeatureFlag_FEATURE_FLAG_SOURCE_TELEGRAM FeatureFlag = 2
	// If set, default storage bucket are available.
	FeatureFlag_FEATURE_FLAG_DEFAULT_DATA_STORAGE FeatureFlag = 3
)

func (FeatureFlag) Descriptor added in v0.2.15

func (FeatureFlag) Enum added in v0.2.15

func (x FeatureFlag) Enum() *FeatureFlag

func (FeatureFlag) EnumDescriptor deprecated added in v0.2.15

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

Deprecated: Use FeatureFlag.Descriptor instead.

func (FeatureFlag) Number added in v0.2.15

func (x FeatureFlag) Number() protoreflect.EnumNumber

func (FeatureFlag) String added in v0.2.15

func (x FeatureFlag) String() string

func (FeatureFlag) Type added in v0.2.15

type FeedDestination added in v0.2.15

type FeedDestination int32
const (
	FeedDestination_FEED_DESTINATION_UNSPECIFIED FeedDestination = 0
	FeedDestination_FEED_DESTINATION_TELEGRAM    FeedDestination = 1
)

func (FeedDestination) Descriptor added in v0.2.15

func (FeedDestination) Enum added in v0.2.15

func (x FeedDestination) Enum() *FeedDestination

func (FeedDestination) EnumDescriptor deprecated added in v0.2.15

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

Deprecated: Use FeedDestination.Descriptor instead.

func (FeedDestination) Number added in v0.2.15

func (FeedDestination) String added in v0.2.15

func (x FeedDestination) String() string

func (FeedDestination) Type added in v0.2.15

type FeedSource

type FeedSource int32
const (
	FeedSource_FEED_SOURCE_UNSPECIFIED FeedSource = 0
	FeedSource_FEED_SOURCE_COMMON      FeedSource = 1
)

func (FeedSource) Descriptor

func (FeedSource) Descriptor() protoreflect.EnumDescriptor

func (FeedSource) Enum

func (x FeedSource) Enum() *FeedSource

func (FeedSource) EnumDescriptor deprecated

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

Deprecated: Use FeedSource.Descriptor instead.

func (FeedSource) Number

func (x FeedSource) Number() protoreflect.EnumNumber

func (FeedSource) String

func (x FeedSource) String() string

func (FeedSource) Type

type LibrarianPorterServiceClient

LibrarianPorterServiceClient is the client API for LibrarianPorterService 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 LibrarianPorterServiceServer

LibrarianPorterServiceServer is the server API for LibrarianPorterService service. All implementations must embed UnimplementedLibrarianPorterServiceServer for forward compatibility

type LibrarianPorterService_PullDataClient

type LibrarianPorterService_PullDataClient interface {
	Recv() (*PullDataResponse, error)
	grpc.ClientStream
}

type LibrarianPorterService_PullDataServer

type LibrarianPorterService_PullDataServer interface {
	Send(*PullDataResponse) error
	grpc.ServerStream
}

type LibrarianPorterService_PushDataClient

type LibrarianPorterService_PushDataClient interface {
	Send(*PushDataRequest) error
	CloseAndRecv() (*PushDataResponse, error)
	grpc.ClientStream
}

type LibrarianPorterService_PushDataServer

type LibrarianPorterService_PushDataServer interface {
	SendAndClose(*PushDataResponse) error
	Recv() (*PushDataRequest, error)
	grpc.ServerStream
}

type PullAccountAppRelationRequest

type PullAccountAppRelationRequest struct {
	RelationType AccountAppRelationType `` /* 146-byte string literal not displayed */
	AccountId    *v1.AccountID          `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccountAppRelationRequest) Descriptor deprecated

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

Deprecated: Use PullAccountAppRelationRequest.ProtoReflect.Descriptor instead.

func (*PullAccountAppRelationRequest) GetAccountId

func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID

func (*PullAccountAppRelationRequest) GetRelationType

func (*PullAccountAppRelationRequest) ProtoMessage

func (*PullAccountAppRelationRequest) ProtoMessage()

func (*PullAccountAppRelationRequest) ProtoReflect

func (*PullAccountAppRelationRequest) Reset

func (x *PullAccountAppRelationRequest) Reset()

func (*PullAccountAppRelationRequest) String

type PullAccountAppRelationResponse

type PullAccountAppRelationResponse struct {
	AppList []*v1.App `protobuf:"bytes,1,rep,name=app_list,json=appList,proto3" json:"app_list,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccountAppRelationResponse) Descriptor deprecated

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

Deprecated: Use PullAccountAppRelationResponse.ProtoReflect.Descriptor instead.

func (*PullAccountAppRelationResponse) GetAppList

func (x *PullAccountAppRelationResponse) GetAppList() []*v1.App

func (*PullAccountAppRelationResponse) ProtoMessage

func (*PullAccountAppRelationResponse) ProtoMessage()

func (*PullAccountAppRelationResponse) ProtoReflect

func (*PullAccountAppRelationResponse) Reset

func (x *PullAccountAppRelationResponse) Reset()

func (*PullAccountAppRelationResponse) String

type PullAccountRequest

type PullAccountRequest struct {
	AccountId *v1.AccountID `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccountRequest) Descriptor deprecated

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

Deprecated: Use PullAccountRequest.ProtoReflect.Descriptor instead.

func (*PullAccountRequest) GetAccountId

func (x *PullAccountRequest) GetAccountId() *v1.AccountID

func (*PullAccountRequest) ProtoMessage

func (*PullAccountRequest) ProtoMessage()

func (*PullAccountRequest) ProtoReflect

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

func (*PullAccountRequest) Reset

func (x *PullAccountRequest) Reset()

func (*PullAccountRequest) String

func (x *PullAccountRequest) String() string

type PullAccountResponse

type PullAccountResponse struct {
	Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccountResponse) Descriptor deprecated

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

Deprecated: Use PullAccountResponse.ProtoReflect.Descriptor instead.

func (*PullAccountResponse) GetAccount

func (x *PullAccountResponse) GetAccount() *v1.Account

func (*PullAccountResponse) ProtoMessage

func (*PullAccountResponse) ProtoMessage()

func (*PullAccountResponse) ProtoReflect

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

func (*PullAccountResponse) Reset

func (x *PullAccountResponse) Reset()

func (*PullAccountResponse) String

func (x *PullAccountResponse) String() string

type PullAppRequest

type PullAppRequest struct {
	AppId *v1.AppID `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAppRequest) Descriptor deprecated

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

Deprecated: Use PullAppRequest.ProtoReflect.Descriptor instead.

func (*PullAppRequest) GetAppId

func (x *PullAppRequest) GetAppId() *v1.AppID

func (*PullAppRequest) ProtoMessage

func (*PullAppRequest) ProtoMessage()

func (*PullAppRequest) ProtoReflect

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

func (*PullAppRequest) Reset

func (x *PullAppRequest) Reset()

func (*PullAppRequest) String

func (x *PullAppRequest) String() string

type PullAppResponse

type PullAppResponse struct {
	App *v1.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAppResponse) Descriptor deprecated

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

Deprecated: Use PullAppResponse.ProtoReflect.Descriptor instead.

func (*PullAppResponse) GetApp

func (x *PullAppResponse) GetApp() *v1.App

func (*PullAppResponse) ProtoMessage

func (*PullAppResponse) ProtoMessage()

func (*PullAppResponse) ProtoReflect

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

func (*PullAppResponse) Reset

func (x *PullAppResponse) Reset()

func (*PullAppResponse) String

func (x *PullAppResponse) String() string

type PullDBRequest

type PullDBRequest struct {
	Source    DBSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DBSource" json:"source,omitempty"`
	ContentId string   `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDBRequest) Descriptor deprecated

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

Deprecated: Use PullDBRequest.ProtoReflect.Descriptor instead.

func (*PullDBRequest) GetContentId

func (x *PullDBRequest) GetContentId() string

func (*PullDBRequest) GetSource

func (x *PullDBRequest) GetSource() DBSource

func (*PullDBRequest) ProtoMessage

func (*PullDBRequest) ProtoMessage()

func (*PullDBRequest) ProtoReflect

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

func (*PullDBRequest) Reset

func (x *PullDBRequest) Reset()

func (*PullDBRequest) String

func (x *PullDBRequest) String() string

type PullDBResponse

type PullDBResponse struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PullDBResponse) Descriptor deprecated

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

Deprecated: Use PullDBResponse.ProtoReflect.Descriptor instead.

func (*PullDBResponse) GetData

func (x *PullDBResponse) GetData() map[string]string

func (*PullDBResponse) ProtoMessage

func (*PullDBResponse) ProtoMessage()

func (*PullDBResponse) ProtoReflect

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

func (*PullDBResponse) Reset

func (x *PullDBResponse) Reset()

func (*PullDBResponse) String

func (x *PullDBResponse) String() string

type PullDataRequest

type PullDataRequest struct {
	Source    DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"`
	ContentId string     `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDataRequest) Descriptor deprecated

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

Deprecated: Use PullDataRequest.ProtoReflect.Descriptor instead.

func (*PullDataRequest) GetContentId

func (x *PullDataRequest) GetContentId() string

func (*PullDataRequest) GetSource

func (x *PullDataRequest) GetSource() DataSource

func (*PullDataRequest) ProtoMessage

func (*PullDataRequest) ProtoMessage()

func (*PullDataRequest) ProtoReflect

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

func (*PullDataRequest) Reset

func (x *PullDataRequest) Reset()

func (*PullDataRequest) String

func (x *PullDataRequest) String() string

type PullDataResponse

type PullDataResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDataResponse) Descriptor deprecated

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

Deprecated: Use PullDataResponse.ProtoReflect.Descriptor instead.

func (*PullDataResponse) GetData

func (x *PullDataResponse) GetData() []byte

func (*PullDataResponse) ProtoMessage

func (*PullDataResponse) ProtoMessage()

func (*PullDataResponse) ProtoReflect

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

func (*PullDataResponse) Reset

func (x *PullDataResponse) Reset()

func (*PullDataResponse) String

func (x *PullDataResponse) String() string

type PullFeedRequest

type PullFeedRequest struct {
	Source    FeedSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.FeedSource" json:"source,omitempty"`
	ChannelId string     `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullFeedRequest) Descriptor deprecated

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

Deprecated: Use PullFeedRequest.ProtoReflect.Descriptor instead.

func (*PullFeedRequest) GetChannelId added in v0.2.15

func (x *PullFeedRequest) GetChannelId() string

func (*PullFeedRequest) GetSource

func (x *PullFeedRequest) GetSource() FeedSource

func (*PullFeedRequest) ProtoMessage

func (*PullFeedRequest) ProtoMessage()

func (*PullFeedRequest) ProtoReflect

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

func (*PullFeedRequest) Reset

func (x *PullFeedRequest) Reset()

func (*PullFeedRequest) String

func (x *PullFeedRequest) String() string

type PullFeedResponse

type PullFeedResponse struct {
	Data *v1.Feed `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PullFeedResponse) Descriptor deprecated

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

Deprecated: Use PullFeedResponse.ProtoReflect.Descriptor instead.

func (*PullFeedResponse) GetData

func (x *PullFeedResponse) GetData() *v1.Feed

func (*PullFeedResponse) ProtoMessage

func (*PullFeedResponse) ProtoMessage()

func (*PullFeedResponse) ProtoReflect

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

func (*PullFeedResponse) Reset

func (x *PullFeedResponse) Reset()

func (*PullFeedResponse) String

func (x *PullFeedResponse) String() string

type PullWikiRequest

type PullWikiRequest struct {
	Source    DBSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DBSource" json:"source,omitempty"`
	ContentId string   `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PullWikiRequest) Descriptor deprecated

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

Deprecated: Use PullWikiRequest.ProtoReflect.Descriptor instead.

func (*PullWikiRequest) GetContentId

func (x *PullWikiRequest) GetContentId() string

func (*PullWikiRequest) GetSource

func (x *PullWikiRequest) GetSource() DBSource

func (*PullWikiRequest) ProtoMessage

func (*PullWikiRequest) ProtoMessage()

func (*PullWikiRequest) ProtoReflect

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

func (*PullWikiRequest) Reset

func (x *PullWikiRequest) Reset()

func (*PullWikiRequest) String

func (x *PullWikiRequest) String() string

type PullWikiResponse

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

func (*PullWikiResponse) Descriptor deprecated

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

Deprecated: Use PullWikiResponse.ProtoReflect.Descriptor instead.

func (*PullWikiResponse) GetData

func (x *PullWikiResponse) GetData() string

func (*PullWikiResponse) ProtoMessage

func (*PullWikiResponse) ProtoMessage()

func (*PullWikiResponse) ProtoReflect

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

func (*PullWikiResponse) Reset

func (x *PullWikiResponse) Reset()

func (*PullWikiResponse) String

func (x *PullWikiResponse) String() string

type PushDataRequest

type PushDataRequest struct {

	// Types that are assignable to Content:
	//
	//	*PushDataRequest_Metadata
	//	*PushDataRequest_Data
	Content isPushDataRequest_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*PushDataRequest) Descriptor deprecated

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

Deprecated: Use PushDataRequest.ProtoReflect.Descriptor instead.

func (*PushDataRequest) GetContent added in v0.2.3

func (m *PushDataRequest) GetContent() isPushDataRequest_Content

func (*PushDataRequest) GetData

func (x *PushDataRequest) GetData() []byte

func (*PushDataRequest) GetMetadata added in v0.2.3

func (x *PushDataRequest) GetMetadata() *PushDataRequest_DataMeta

func (*PushDataRequest) ProtoMessage

func (*PushDataRequest) ProtoMessage()

func (*PushDataRequest) ProtoReflect

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

func (*PushDataRequest) Reset

func (x *PushDataRequest) Reset()

func (*PushDataRequest) String

func (x *PushDataRequest) String() string

type PushDataRequest_Data added in v0.2.3

type PushDataRequest_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type PushDataRequest_DataMeta added in v0.2.3

type PushDataRequest_DataMeta struct {
	Source    DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"`
	ContentId string     `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PushDataRequest_DataMeta) Descriptor deprecated added in v0.2.3

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

Deprecated: Use PushDataRequest_DataMeta.ProtoReflect.Descriptor instead.

func (*PushDataRequest_DataMeta) GetContentId added in v0.2.3

func (x *PushDataRequest_DataMeta) GetContentId() string

func (*PushDataRequest_DataMeta) GetSource added in v0.2.3

func (x *PushDataRequest_DataMeta) GetSource() DataSource

func (*PushDataRequest_DataMeta) ProtoMessage added in v0.2.3

func (*PushDataRequest_DataMeta) ProtoMessage()

func (*PushDataRequest_DataMeta) ProtoReflect added in v0.2.3

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

func (*PushDataRequest_DataMeta) Reset added in v0.2.3

func (x *PushDataRequest_DataMeta) Reset()

func (*PushDataRequest_DataMeta) String added in v0.2.3

func (x *PushDataRequest_DataMeta) String() string

type PushDataRequest_Metadata added in v0.2.3

type PushDataRequest_Metadata struct {
	Metadata *PushDataRequest_DataMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}

type PushDataResponse

type PushDataResponse struct {
	// contains filtered or unexported fields
}

func (*PushDataResponse) Descriptor deprecated

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

Deprecated: Use PushDataResponse.ProtoReflect.Descriptor instead.

func (*PushDataResponse) ProtoMessage

func (*PushDataResponse) ProtoMessage()

func (*PushDataResponse) ProtoReflect

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

func (*PushDataResponse) Reset

func (x *PushDataResponse) Reset()

func (*PushDataResponse) String

func (x *PushDataResponse) String() string

type PushFeedItemsRequest added in v0.2.16

type PushFeedItemsRequest struct {
	Destination FeedDestination `protobuf:"varint,1,opt,name=destination,proto3,enum=librarian.porter.v1.FeedDestination" json:"destination,omitempty"`
	ChannelId   string          `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Items       []*v1.FeedItem  `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	Token       string          `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*PushFeedItemsRequest) Descriptor deprecated added in v0.2.16

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

Deprecated: Use PushFeedItemsRequest.ProtoReflect.Descriptor instead.

func (*PushFeedItemsRequest) GetChannelId added in v0.2.16

func (x *PushFeedItemsRequest) GetChannelId() string

func (*PushFeedItemsRequest) GetDestination added in v0.2.16

func (x *PushFeedItemsRequest) GetDestination() FeedDestination

func (*PushFeedItemsRequest) GetItems added in v0.2.16

func (x *PushFeedItemsRequest) GetItems() []*v1.FeedItem

func (*PushFeedItemsRequest) GetToken added in v0.2.16

func (x *PushFeedItemsRequest) GetToken() string

func (*PushFeedItemsRequest) ProtoMessage added in v0.2.16

func (*PushFeedItemsRequest) ProtoMessage()

func (*PushFeedItemsRequest) ProtoReflect added in v0.2.16

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

func (*PushFeedItemsRequest) Reset added in v0.2.16

func (x *PushFeedItemsRequest) Reset()

func (*PushFeedItemsRequest) String added in v0.2.16

func (x *PushFeedItemsRequest) String() string

type PushFeedItemsResponse added in v0.2.16

type PushFeedItemsResponse struct {
	// contains filtered or unexported fields
}

func (*PushFeedItemsResponse) Descriptor deprecated added in v0.2.16

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

Deprecated: Use PushFeedItemsResponse.ProtoReflect.Descriptor instead.

func (*PushFeedItemsResponse) ProtoMessage added in v0.2.16

func (*PushFeedItemsResponse) ProtoMessage()

func (*PushFeedItemsResponse) ProtoReflect added in v0.2.16

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

func (*PushFeedItemsResponse) Reset added in v0.2.16

func (x *PushFeedItemsResponse) Reset()

func (*PushFeedItemsResponse) String added in v0.2.16

func (x *PushFeedItemsResponse) String() string

type UnimplementedLibrarianPorterServiceServer

type UnimplementedLibrarianPorterServiceServer struct {
}

UnimplementedLibrarianPorterServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLibrarianPorterServiceServer) PullAccount

func (UnimplementedLibrarianPorterServiceServer) PullApp

func (UnimplementedLibrarianPorterServiceServer) PullDB

func (UnimplementedLibrarianPorterServiceServer) PullData

func (UnimplementedLibrarianPorterServiceServer) PullFeed

func (UnimplementedLibrarianPorterServiceServer) PullWiki

func (UnimplementedLibrarianPorterServiceServer) PushData

func (UnimplementedLibrarianPorterServiceServer) PushFeedItems added in v0.2.16

type UnsafeLibrarianPorterServiceServer

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

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

type WikiSource

type WikiSource int32
const (
	WikiSource_WIKI_SOURCE_UNSPECIFIED WikiSource = 0
)

func (WikiSource) Descriptor

func (WikiSource) Descriptor() protoreflect.EnumDescriptor

func (WikiSource) Enum

func (x WikiSource) Enum() *WikiSource

func (WikiSource) EnumDescriptor deprecated

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

Deprecated: Use WikiSource.Descriptor instead.

func (WikiSource) Number

func (x WikiSource) Number() protoreflect.EnumNumber

func (WikiSource) String

func (x WikiSource) String() string

func (WikiSource) Type

Jump to

Keyboard shortcuts

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