1748 lines
65 KiB
Go
1748 lines
65 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.26.0
|
|
// protoc v3.17.1
|
|
// source: hub.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type RangeField_Op int32
|
|
|
|
const (
|
|
RangeField_EQ RangeField_Op = 0
|
|
RangeField_LTE RangeField_Op = 1
|
|
RangeField_GTE RangeField_Op = 2
|
|
RangeField_LT RangeField_Op = 3
|
|
RangeField_GT RangeField_Op = 4
|
|
)
|
|
|
|
// Enum value maps for RangeField_Op.
|
|
var (
|
|
RangeField_Op_name = map[int32]string{
|
|
0: "EQ",
|
|
1: "LTE",
|
|
2: "GTE",
|
|
3: "LT",
|
|
4: "GT",
|
|
}
|
|
RangeField_Op_value = map[string]int32{
|
|
"EQ": 0,
|
|
"LTE": 1,
|
|
"GTE": 2,
|
|
"LT": 3,
|
|
"GT": 4,
|
|
}
|
|
)
|
|
|
|
func (x RangeField_Op) Enum() *RangeField_Op {
|
|
p := new(RangeField_Op)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x RangeField_Op) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (RangeField_Op) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_hub_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (RangeField_Op) Type() protoreflect.EnumType {
|
|
return &file_hub_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x RangeField_Op) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use RangeField_Op.Descriptor instead.
|
|
func (RangeField_Op) EnumDescriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
type Error_Code int32
|
|
|
|
const (
|
|
Error_UNKNOWN_CODE Error_Code = 0
|
|
Error_NOT_FOUND Error_Code = 1
|
|
Error_INVALID Error_Code = 2
|
|
Error_BLOCKED Error_Code = 3
|
|
)
|
|
|
|
// Enum value maps for Error_Code.
|
|
var (
|
|
Error_Code_name = map[int32]string{
|
|
0: "UNKNOWN_CODE",
|
|
1: "NOT_FOUND",
|
|
2: "INVALID",
|
|
3: "BLOCKED",
|
|
}
|
|
Error_Code_value = map[string]int32{
|
|
"UNKNOWN_CODE": 0,
|
|
"NOT_FOUND": 1,
|
|
"INVALID": 2,
|
|
"BLOCKED": 3,
|
|
}
|
|
)
|
|
|
|
func (x Error_Code) Enum() *Error_Code {
|
|
p := new(Error_Code)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Error_Code) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Error_Code) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_hub_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (Error_Code) Type() protoreflect.EnumType {
|
|
return &file_hub_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x Error_Code) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Error_Code.Descriptor instead.
|
|
func (Error_Code) EnumDescriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{6, 0}
|
|
}
|
|
|
|
type InvertibleField struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Invert bool `protobuf:"varint,1,opt,name=invert,proto3" json:"invert"`
|
|
Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value"`
|
|
}
|
|
|
|
func (x *InvertibleField) Reset() {
|
|
*x = InvertibleField{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InvertibleField) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InvertibleField) ProtoMessage() {}
|
|
|
|
func (x *InvertibleField) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InvertibleField.ProtoReflect.Descriptor instead.
|
|
func (*InvertibleField) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *InvertibleField) GetInvert() bool {
|
|
if x != nil {
|
|
return x.Invert
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *InvertibleField) GetValue() []string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RangeField struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Op RangeField_Op `protobuf:"varint,1,opt,name=op,proto3,enum=pb.RangeField_Op" json:"op"`
|
|
Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value"`
|
|
}
|
|
|
|
func (x *RangeField) Reset() {
|
|
*x = RangeField{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RangeField) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RangeField) ProtoMessage() {}
|
|
|
|
func (x *RangeField) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RangeField.ProtoReflect.Descriptor instead.
|
|
func (*RangeField) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RangeField) GetOp() RangeField_Op {
|
|
if x != nil {
|
|
return x.Op
|
|
}
|
|
return RangeField_EQ
|
|
}
|
|
|
|
func (x *RangeField) GetValue() []string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"`
|
|
Name []string `protobuf:"bytes,2,rep,name=name,proto3" json:"name"`
|
|
AmountOrder *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=amount_order,json=amountOrder,proto3" json:"amount_order"`
|
|
Limit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit"`
|
|
OrderBy []string `protobuf:"bytes,5,rep,name=order_by,json=orderBy,proto3" json:"order_by"`
|
|
Offset *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset"`
|
|
IsControlling *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=is_controlling,json=isControlling,proto3" json:"is_controlling"`
|
|
LastTakeOverHeight string `protobuf:"bytes,19,opt,name=last_take_over_height,json=lastTakeOverHeight,proto3" json:"last_take_over_height"`
|
|
ClaimId *InvertibleField `protobuf:"bytes,20,opt,name=claim_id,json=claimId,proto3" json:"claim_id"`
|
|
ClaimName []string `protobuf:"bytes,22,rep,name=claim_name,json=claimName,proto3" json:"claim_name"`
|
|
Normalized []string `protobuf:"bytes,23,rep,name=normalized,proto3" json:"normalized"`
|
|
TxPosition *RangeField `protobuf:"bytes,24,opt,name=tx_position,json=txPosition,proto3" json:"tx_position"`
|
|
Amount *RangeField `protobuf:"bytes,25,opt,name=amount,proto3" json:"amount"`
|
|
Timestamp *RangeField `protobuf:"bytes,26,opt,name=timestamp,proto3" json:"timestamp"`
|
|
CreationTimestamp *RangeField `protobuf:"bytes,27,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp"`
|
|
Height *RangeField `protobuf:"bytes,28,opt,name=height,proto3" json:"height"`
|
|
CreationHeight *RangeField `protobuf:"bytes,29,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height"`
|
|
ActivationHeight *RangeField `protobuf:"bytes,30,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height"`
|
|
ExpirationHeight *RangeField `protobuf:"bytes,31,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height"`
|
|
ReleaseTime *RangeField `protobuf:"bytes,32,opt,name=release_time,json=releaseTime,proto3" json:"release_time"`
|
|
ShortUrl []string `protobuf:"bytes,33,rep,name=short_url,json=shortUrl,proto3" json:"short_url"`
|
|
CanonicalUrl []string `protobuf:"bytes,34,rep,name=canonical_url,json=canonicalUrl,proto3" json:"canonical_url"`
|
|
Title []string `protobuf:"bytes,35,rep,name=title,proto3" json:"title"`
|
|
Author []string `protobuf:"bytes,36,rep,name=author,proto3" json:"author"`
|
|
Description []string `protobuf:"bytes,37,rep,name=description,proto3" json:"description"`
|
|
ClaimType []string `protobuf:"bytes,38,rep,name=claim_type,json=claimType,proto3" json:"claim_type"`
|
|
Reposted *RangeField `protobuf:"bytes,39,opt,name=reposted,proto3" json:"reposted"`
|
|
StreamType []string `protobuf:"bytes,40,rep,name=stream_type,json=streamType,proto3" json:"stream_type"`
|
|
MediaType []string `protobuf:"bytes,41,rep,name=media_type,json=mediaType,proto3" json:"media_type"`
|
|
FeeAmount *RangeField `protobuf:"bytes,42,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount"`
|
|
FeeCurrency []string `protobuf:"bytes,43,rep,name=fee_currency,json=feeCurrency,proto3" json:"fee_currency"`
|
|
Duration *RangeField `protobuf:"bytes,44,opt,name=duration,proto3" json:"duration"`
|
|
RepostedClaimHash string `protobuf:"bytes,45,opt,name=reposted_claim_hash,json=repostedClaimHash,proto3" json:"reposted_claim_hash"`
|
|
CensorType *RangeField `protobuf:"bytes,46,opt,name=censor_type,json=censorType,proto3" json:"censor_type"`
|
|
ClaimsInChannel string `protobuf:"bytes,47,opt,name=claims_in_channel,json=claimsInChannel,proto3" json:"claims_in_channel"`
|
|
ChannelJoin *RangeField `protobuf:"bytes,48,opt,name=channel_join,json=channelJoin,proto3" json:"channel_join"`
|
|
SignatureValid *wrapperspb.BoolValue `protobuf:"bytes,49,opt,name=signature_valid,json=signatureValid,proto3" json:"signature_valid"`
|
|
EffectiveAmount *RangeField `protobuf:"bytes,51,opt,name=effective_amount,json=effectiveAmount,proto3" json:"effective_amount"`
|
|
SupportAmount *RangeField `protobuf:"bytes,52,opt,name=support_amount,json=supportAmount,proto3" json:"support_amount"`
|
|
TrendingGroup *RangeField `protobuf:"bytes,53,opt,name=trending_group,json=trendingGroup,proto3" json:"trending_group"`
|
|
TrendingMixed *RangeField `protobuf:"bytes,54,opt,name=trending_mixed,json=trendingMixed,proto3" json:"trending_mixed"`
|
|
TrendingLocal *RangeField `protobuf:"bytes,55,opt,name=trending_local,json=trendingLocal,proto3" json:"trending_local"`
|
|
TrendingGlobal *RangeField `protobuf:"bytes,56,opt,name=trending_global,json=trendingGlobal,proto3" json:"trending_global"`
|
|
ChannelId *InvertibleField `protobuf:"bytes,57,opt,name=channel_id,json=channelId,proto3" json:"channel_id"`
|
|
ChannelIds *InvertibleField `protobuf:"bytes,58,opt,name=channel_ids,json=channelIds,proto3" json:"channel_ids"`
|
|
TxId []string `protobuf:"bytes,59,rep,name=tx_id,json=txId,proto3" json:"tx_id"`
|
|
TxNout *wrapperspb.Int32Value `protobuf:"bytes,60,opt,name=tx_nout,json=txNout,proto3" json:"tx_nout"`
|
|
Signature []string `protobuf:"bytes,61,rep,name=signature,proto3" json:"signature"`
|
|
SignatureDigest []string `protobuf:"bytes,62,rep,name=signature_digest,json=signatureDigest,proto3" json:"signature_digest"`
|
|
PublicKeyBytes []string `protobuf:"bytes,63,rep,name=public_key_bytes,json=publicKeyBytes,proto3" json:"public_key_bytes"`
|
|
PublicKeyHash []string `protobuf:"bytes,64,rep,name=public_key_hash,json=publicKeyHash,proto3" json:"public_key_hash"`
|
|
PublicKeyId string `protobuf:"bytes,65,opt,name=public_key_id,json=publicKeyId,proto3" json:"public_key_id"`
|
|
XId [][]byte `protobuf:"bytes,66,rep,name=_id,json=Id,proto3" json:"_id"`
|
|
AnyTags []string `protobuf:"bytes,67,rep,name=any_tags,json=anyTags,proto3" json:"any_tags"`
|
|
AllTags []string `protobuf:"bytes,68,rep,name=all_tags,json=allTags,proto3" json:"all_tags"`
|
|
NotTags []string `protobuf:"bytes,69,rep,name=not_tags,json=notTags,proto3" json:"not_tags"`
|
|
RepostedClaimId []string `protobuf:"bytes,70,rep,name=reposted_claim_id,json=repostedClaimId,proto3" json:"reposted_claim_id"`
|
|
HasChannelSignature *wrapperspb.BoolValue `protobuf:"bytes,71,opt,name=has_channel_signature,json=hasChannelSignature,proto3" json:"has_channel_signature"`
|
|
HasSource *wrapperspb.BoolValue `protobuf:"bytes,72,opt,name=has_source,json=hasSource,proto3" json:"has_source"`
|
|
LimitClaimsPerChannel *wrapperspb.Int32Value `protobuf:"bytes,73,opt,name=limit_claims_per_channel,json=limitClaimsPerChannel,proto3" json:"limit_claims_per_channel"`
|
|
AnyLanguages []string `protobuf:"bytes,74,rep,name=any_languages,json=anyLanguages,proto3" json:"any_languages"`
|
|
AllLanguages []string `protobuf:"bytes,75,rep,name=all_languages,json=allLanguages,proto3" json:"all_languages"`
|
|
}
|
|
|
|
func (x *SearchRequest) Reset() {
|
|
*x = SearchRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchRequest) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SearchRequest) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRequest) GetName() []string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAmountOrder() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.AmountOrder
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetLimit() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetOrderBy() []string {
|
|
if x != nil {
|
|
return x.OrderBy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetOffset() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetIsControlling() *wrapperspb.BoolValue {
|
|
if x != nil {
|
|
return x.IsControlling
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetLastTakeOverHeight() string {
|
|
if x != nil {
|
|
return x.LastTakeOverHeight
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRequest) GetClaimId() *InvertibleField {
|
|
if x != nil {
|
|
return x.ClaimId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetClaimName() []string {
|
|
if x != nil {
|
|
return x.ClaimName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetNormalized() []string {
|
|
if x != nil {
|
|
return x.Normalized
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTxPosition() *RangeField {
|
|
if x != nil {
|
|
return x.TxPosition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAmount() *RangeField {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTimestamp() *RangeField {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetCreationTimestamp() *RangeField {
|
|
if x != nil {
|
|
return x.CreationTimestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetHeight() *RangeField {
|
|
if x != nil {
|
|
return x.Height
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetCreationHeight() *RangeField {
|
|
if x != nil {
|
|
return x.CreationHeight
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetActivationHeight() *RangeField {
|
|
if x != nil {
|
|
return x.ActivationHeight
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetExpirationHeight() *RangeField {
|
|
if x != nil {
|
|
return x.ExpirationHeight
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetReleaseTime() *RangeField {
|
|
if x != nil {
|
|
return x.ReleaseTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetShortUrl() []string {
|
|
if x != nil {
|
|
return x.ShortUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetCanonicalUrl() []string {
|
|
if x != nil {
|
|
return x.CanonicalUrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTitle() []string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAuthor() []string {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetDescription() []string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetClaimType() []string {
|
|
if x != nil {
|
|
return x.ClaimType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetReposted() *RangeField {
|
|
if x != nil {
|
|
return x.Reposted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetStreamType() []string {
|
|
if x != nil {
|
|
return x.StreamType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetMediaType() []string {
|
|
if x != nil {
|
|
return x.MediaType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetFeeAmount() *RangeField {
|
|
if x != nil {
|
|
return x.FeeAmount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetFeeCurrency() []string {
|
|
if x != nil {
|
|
return x.FeeCurrency
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetDuration() *RangeField {
|
|
if x != nil {
|
|
return x.Duration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetRepostedClaimHash() string {
|
|
if x != nil {
|
|
return x.RepostedClaimHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRequest) GetCensorType() *RangeField {
|
|
if x != nil {
|
|
return x.CensorType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetClaimsInChannel() string {
|
|
if x != nil {
|
|
return x.ClaimsInChannel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRequest) GetChannelJoin() *RangeField {
|
|
if x != nil {
|
|
return x.ChannelJoin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetSignatureValid() *wrapperspb.BoolValue {
|
|
if x != nil {
|
|
return x.SignatureValid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetEffectiveAmount() *RangeField {
|
|
if x != nil {
|
|
return x.EffectiveAmount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetSupportAmount() *RangeField {
|
|
if x != nil {
|
|
return x.SupportAmount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTrendingGroup() *RangeField {
|
|
if x != nil {
|
|
return x.TrendingGroup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTrendingMixed() *RangeField {
|
|
if x != nil {
|
|
return x.TrendingMixed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTrendingLocal() *RangeField {
|
|
if x != nil {
|
|
return x.TrendingLocal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTrendingGlobal() *RangeField {
|
|
if x != nil {
|
|
return x.TrendingGlobal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetChannelId() *InvertibleField {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetChannelIds() *InvertibleField {
|
|
if x != nil {
|
|
return x.ChannelIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTxId() []string {
|
|
if x != nil {
|
|
return x.TxId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetTxNout() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.TxNout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetSignature() []string {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetSignatureDigest() []string {
|
|
if x != nil {
|
|
return x.SignatureDigest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetPublicKeyBytes() []string {
|
|
if x != nil {
|
|
return x.PublicKeyBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetPublicKeyHash() []string {
|
|
if x != nil {
|
|
return x.PublicKeyHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetPublicKeyId() string {
|
|
if x != nil {
|
|
return x.PublicKeyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchRequest) GetXId() [][]byte {
|
|
if x != nil {
|
|
return x.XId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAnyTags() []string {
|
|
if x != nil {
|
|
return x.AnyTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAllTags() []string {
|
|
if x != nil {
|
|
return x.AllTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetNotTags() []string {
|
|
if x != nil {
|
|
return x.NotTags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetRepostedClaimId() []string {
|
|
if x != nil {
|
|
return x.RepostedClaimId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetHasChannelSignature() *wrapperspb.BoolValue {
|
|
if x != nil {
|
|
return x.HasChannelSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetHasSource() *wrapperspb.BoolValue {
|
|
if x != nil {
|
|
return x.HasSource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetLimitClaimsPerChannel() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.LimitClaimsPerChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAnyLanguages() []string {
|
|
if x != nil {
|
|
return x.AnyLanguages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchRequest) GetAllLanguages() []string {
|
|
if x != nil {
|
|
return x.AllLanguages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchReply struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Txos []*Output `protobuf:"bytes,1,rep,name=txos,proto3" json:"txos"`
|
|
ExtraTxos []*Output `protobuf:"bytes,2,rep,name=extra_txos,json=extraTxos,proto3" json:"extra_txos"`
|
|
Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
|
|
Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset"`
|
|
Blocked []*Blocked `protobuf:"bytes,5,rep,name=blocked,proto3" json:"blocked"`
|
|
BlockedTotal uint32 `protobuf:"varint,6,opt,name=blocked_total,json=blockedTotal,proto3" json:"blocked_total"`
|
|
}
|
|
|
|
func (x *SearchReply) Reset() {
|
|
*x = SearchReply{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SearchReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchReply) ProtoMessage() {}
|
|
|
|
func (x *SearchReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchReply.ProtoReflect.Descriptor instead.
|
|
func (*SearchReply) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *SearchReply) GetTxos() []*Output {
|
|
if x != nil {
|
|
return x.Txos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchReply) GetExtraTxos() []*Output {
|
|
if x != nil {
|
|
return x.ExtraTxos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchReply) GetTotal() uint32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchReply) GetOffset() uint32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchReply) GetBlocked() []*Blocked {
|
|
if x != nil {
|
|
return x.Blocked
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchReply) GetBlockedTotal() uint32 {
|
|
if x != nil {
|
|
return x.BlockedTotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Output struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash"`
|
|
Nout uint32 `protobuf:"varint,2,opt,name=nout,proto3" json:"nout"`
|
|
Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height"`
|
|
// Types that are assignable to Meta:
|
|
// *Output_Claim
|
|
// *Output_Error
|
|
Meta isOutput_Meta `protobuf_oneof:"meta"`
|
|
}
|
|
|
|
func (x *Output) Reset() {
|
|
*x = Output{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Output) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Output) ProtoMessage() {}
|
|
|
|
func (x *Output) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Output.ProtoReflect.Descriptor instead.
|
|
func (*Output) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Output) GetTxHash() []byte {
|
|
if x != nil {
|
|
return x.TxHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Output) GetNout() uint32 {
|
|
if x != nil {
|
|
return x.Nout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Output) GetHeight() uint32 {
|
|
if x != nil {
|
|
return x.Height
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Output) GetMeta() isOutput_Meta {
|
|
if m != nil {
|
|
return m.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Output) GetClaim() *ClaimMeta {
|
|
if x, ok := x.GetMeta().(*Output_Claim); ok {
|
|
return x.Claim
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Output) GetError() *Error {
|
|
if x, ok := x.GetMeta().(*Output_Error); ok {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isOutput_Meta interface {
|
|
isOutput_Meta()
|
|
}
|
|
|
|
type Output_Claim struct {
|
|
Claim *ClaimMeta `protobuf:"bytes,7,opt,name=claim,proto3,oneof"`
|
|
}
|
|
|
|
type Output_Error struct {
|
|
Error *Error `protobuf:"bytes,15,opt,name=error,proto3,oneof"`
|
|
}
|
|
|
|
func (*Output_Claim) isOutput_Meta() {}
|
|
|
|
func (*Output_Error) isOutput_Meta() {}
|
|
|
|
type ClaimMeta struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Channel *Output `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel"`
|
|
Repost *Output `protobuf:"bytes,2,opt,name=repost,proto3" json:"repost"`
|
|
ShortUrl string `protobuf:"bytes,3,opt,name=short_url,json=shortUrl,proto3" json:"short_url"`
|
|
CanonicalUrl string `protobuf:"bytes,4,opt,name=canonical_url,json=canonicalUrl,proto3" json:"canonical_url"`
|
|
IsControlling bool `protobuf:"varint,5,opt,name=is_controlling,json=isControlling,proto3" json:"is_controlling"`
|
|
TakeOverHeight uint32 `protobuf:"varint,6,opt,name=take_over_height,json=takeOverHeight,proto3" json:"take_over_height"`
|
|
CreationHeight uint32 `protobuf:"varint,7,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height"`
|
|
ActivationHeight uint32 `protobuf:"varint,8,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height"`
|
|
ExpirationHeight uint32 `protobuf:"varint,9,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height"`
|
|
ClaimsInChannel uint32 `protobuf:"varint,10,opt,name=claims_in_channel,json=claimsInChannel,proto3" json:"claims_in_channel"`
|
|
Reposted uint32 `protobuf:"varint,11,opt,name=reposted,proto3" json:"reposted"`
|
|
EffectiveAmount uint64 `protobuf:"varint,20,opt,name=effective_amount,json=effectiveAmount,proto3" json:"effective_amount"`
|
|
SupportAmount uint64 `protobuf:"varint,21,opt,name=support_amount,json=supportAmount,proto3" json:"support_amount"`
|
|
TrendingGroup uint32 `protobuf:"varint,22,opt,name=trending_group,json=trendingGroup,proto3" json:"trending_group"`
|
|
TrendingMixed float32 `protobuf:"fixed32,23,opt,name=trending_mixed,json=trendingMixed,proto3" json:"trending_mixed"`
|
|
TrendingLocal float32 `protobuf:"fixed32,24,opt,name=trending_local,json=trendingLocal,proto3" json:"trending_local"`
|
|
TrendingGlobal float32 `protobuf:"fixed32,25,opt,name=trending_global,json=trendingGlobal,proto3" json:"trending_global"`
|
|
}
|
|
|
|
func (x *ClaimMeta) Reset() {
|
|
*x = ClaimMeta{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClaimMeta) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClaimMeta) ProtoMessage() {}
|
|
|
|
func (x *ClaimMeta) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClaimMeta.ProtoReflect.Descriptor instead.
|
|
func (*ClaimMeta) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ClaimMeta) GetChannel() *Output {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClaimMeta) GetRepost() *Output {
|
|
if x != nil {
|
|
return x.Repost
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClaimMeta) GetShortUrl() string {
|
|
if x != nil {
|
|
return x.ShortUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClaimMeta) GetCanonicalUrl() string {
|
|
if x != nil {
|
|
return x.CanonicalUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClaimMeta) GetIsControlling() bool {
|
|
if x != nil {
|
|
return x.IsControlling
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClaimMeta) GetTakeOverHeight() uint32 {
|
|
if x != nil {
|
|
return x.TakeOverHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetCreationHeight() uint32 {
|
|
if x != nil {
|
|
return x.CreationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetActivationHeight() uint32 {
|
|
if x != nil {
|
|
return x.ActivationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetExpirationHeight() uint32 {
|
|
if x != nil {
|
|
return x.ExpirationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetClaimsInChannel() uint32 {
|
|
if x != nil {
|
|
return x.ClaimsInChannel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetReposted() uint32 {
|
|
if x != nil {
|
|
return x.Reposted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetEffectiveAmount() uint64 {
|
|
if x != nil {
|
|
return x.EffectiveAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetSupportAmount() uint64 {
|
|
if x != nil {
|
|
return x.SupportAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetTrendingGroup() uint32 {
|
|
if x != nil {
|
|
return x.TrendingGroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetTrendingMixed() float32 {
|
|
if x != nil {
|
|
return x.TrendingMixed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetTrendingLocal() float32 {
|
|
if x != nil {
|
|
return x.TrendingLocal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClaimMeta) GetTrendingGlobal() float32 {
|
|
if x != nil {
|
|
return x.TrendingGlobal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Error struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=pb.Error_Code" json:"code"`
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
|
|
Blocked *Blocked `protobuf:"bytes,3,opt,name=blocked,proto3" json:"blocked"`
|
|
}
|
|
|
|
func (x *Error) Reset() {
|
|
*x = Error{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Error) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Error) ProtoMessage() {}
|
|
|
|
func (x *Error) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Error.ProtoReflect.Descriptor instead.
|
|
func (*Error) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Error) GetCode() Error_Code {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return Error_UNKNOWN_CODE
|
|
}
|
|
|
|
func (x *Error) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Error) GetBlocked() *Blocked {
|
|
if x != nil {
|
|
return x.Blocked
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Blocked struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count"`
|
|
Channel *Output `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel"`
|
|
}
|
|
|
|
func (x *Blocked) Reset() {
|
|
*x = Blocked{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hub_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Blocked) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Blocked) ProtoMessage() {}
|
|
|
|
func (x *Blocked) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hub_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Blocked.ProtoReflect.Descriptor instead.
|
|
func (*Blocked) Descriptor() ([]byte, []int) {
|
|
return file_hub_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *Blocked) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Blocked) GetChannel() *Output {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_hub_proto protoreflect.FileDescriptor
|
|
|
|
var file_hub_proto_rawDesc = []byte{
|
|
0x0a, 0x09, 0x68, 0x75, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a,
|
|
0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0x3f, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65,
|
|
0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x22, 0x75, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x21,
|
|
0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e,
|
|
0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x4f, 0x70, 0x52, 0x02, 0x6f,
|
|
0x70, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2e, 0x0a, 0x02, 0x4f, 0x70, 0x12, 0x06, 0x0a,
|
|
0x02, 0x45, 0x51, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x54, 0x45, 0x10, 0x01, 0x12, 0x07,
|
|
0x0a, 0x03, 0x47, 0x54, 0x45, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x4c, 0x54, 0x10, 0x03, 0x12,
|
|
0x06, 0x0a, 0x02, 0x47, 0x54, 0x10, 0x04, 0x22, 0xd0, 0x15, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72,
|
|
0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65,
|
|
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
|
|
0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65,
|
|
0x72, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79,
|
|
0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12,
|
|
0x33, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x66,
|
|
0x66, 0x73, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72,
|
|
0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42,
|
|
0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f,
|
|
0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
|
|
0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x6b, 0x65,
|
|
0x4f, 0x76, 0x65, 0x72, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x08, 0x63, 0x6c,
|
|
0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70,
|
|
0x62, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c,
|
|
0x64, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c,
|
|
0x61, 0x69, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
|
|
0x63, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x72,
|
|
0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e,
|
|
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x0b, 0x74, 0x78, 0x5f,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a,
|
|
0x74, 0x78, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x06, 0x61, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
|
0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
|
|
0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65,
|
|
0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x12, 0x3d, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,
|
|
0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
|
|
0x26, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52,
|
|
0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x37, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74,
|
|
0x12, 0x3b, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68,
|
|
0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62,
|
|
0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x61, 0x63, 0x74,
|
|
0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3b, 0x0a,
|
|
0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67,
|
|
0x68, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61,
|
|
0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x31, 0x0a, 0x0c, 0x72, 0x65,
|
|
0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x52, 0x0b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x21, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x08, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61,
|
|
0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x22, 0x20, 0x03, 0x28,
|
|
0x09, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12,
|
|
0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x23, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05,
|
|
0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18,
|
|
0x24, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x25, 0x20, 0x03,
|
|
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x26, 0x20,
|
|
0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a,
|
|
0x0a, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74,
|
|
0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x28, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x0a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
|
|
0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x29, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x66, 0x65,
|
|
0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x09,
|
|
0x66, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x65, 0x65,
|
|
0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x2b, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x0b, 0x66, 0x65, 0x65, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x08,
|
|
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x08,
|
|
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x70, 0x6f,
|
|
0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
|
|
0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x43,
|
|
0x6c, 0x61, 0x69, 0x6d, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2f, 0x0a, 0x0b, 0x63, 0x65, 0x6e, 0x73,
|
|
0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
|
0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x63,
|
|
0x65, 0x6e, 0x73, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x61,
|
|
0x69, 0x6d, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x2f,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x49, 0x6e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x30, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62,
|
|
0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0b, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x69, 0x67, 0x6e,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x31, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x73,
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x39, 0x0a,
|
|
0x10, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x18, 0x33, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e,
|
|
0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69,
|
|
0x76, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x0e, 0x73, 0x75, 0x70, 0x70,
|
|
0x6f, 0x72, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x34, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x52, 0x0d, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
0x35, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75,
|
|
0x70, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e,
|
|
0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x5f, 0x6d, 0x69, 0x78, 0x65, 0x64, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d,
|
|
0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x12, 0x35, 0x0a,
|
|
0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18,
|
|
0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65,
|
|
0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c,
|
|
0x6f, 0x63, 0x61, 0x6c, 0x12, 0x37, 0x0a, 0x0f, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x38, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
|
0x70, 0x62, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0e, 0x74,
|
|
0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x32, 0x0a,
|
|
0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x39, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x69, 0x62, 0x6c,
|
|
0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49,
|
|
0x64, 0x12, 0x34, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x73,
|
|
0x18, 0x3a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x76, 0x65,
|
|
0x72, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64,
|
|
0x18, 0x3b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x07,
|
|
0x74, 0x78, 0x5f, 0x6e, 0x6f, 0x75, 0x74, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x74, 0x78, 0x4e, 0x6f,
|
|
0x75, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
|
|
0x3d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x69,
|
|
0x67, 0x65, 0x73, 0x74, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x69, 0x67, 0x6e,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x70,
|
|
0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
|
|
0x3f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
|
|
0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f,
|
|
0x6b, 0x65, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x40, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,
|
|
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a,
|
|
0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x41,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x49,
|
|
0x64, 0x12, 0x0f, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x18, 0x42, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02,
|
|
0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6e, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x43,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6e, 0x79, 0x54, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a,
|
|
0x08, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x44, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x07, 0x61, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x74, 0x5f,
|
|
0x74, 0x61, 0x67, 0x73, 0x18, 0x45, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x54,
|
|
0x61, 0x67, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x5f,
|
|
0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x46, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
|
|
0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x12,
|
|
0x4e, 0x0a, 0x15, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73,
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x47, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x68, 0x61, 0x73, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12,
|
|
0x39, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x48, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
|
|
0x09, 0x68, 0x61, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x18, 0x6c, 0x69,
|
|
0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x49, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49,
|
|
0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
|
0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6e, 0x79, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
|
|
0x73, 0x18, 0x4a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6e, 0x79, 0x4c, 0x61, 0x6e, 0x67,
|
|
0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x5f, 0x6c, 0x61, 0x6e,
|
|
0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x4b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c,
|
|
0x6c, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x0b, 0x53,
|
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x78,
|
|
0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x75,
|
|
0x74, 0x70, 0x75, 0x74, 0x52, 0x04, 0x74, 0x78, 0x6f, 0x73, 0x12, 0x29, 0x0a, 0x0a, 0x65, 0x78,
|
|
0x74, 0x72, 0x61, 0x5f, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72,
|
|
0x61, 0x54, 0x78, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6f,
|
|
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66,
|
|
0x73, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x05,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65,
|
|
0x64, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22,
|
|
0x9f, 0x01, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78,
|
|
0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48,
|
|
0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x04, 0x6e, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
|
|
0x25, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x00, 0x52,
|
|
0x05, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x21, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
|
|
0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72,
|
|
0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x65, 0x74,
|
|
0x61, 0x22, 0xa3, 0x05, 0x0a, 0x09, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x12,
|
|
0x24, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75,
|
|
0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x68, 0x6f,
|
|
0x72, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68,
|
|
0x6f, 0x72, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69,
|
|
0x63, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
|
|
0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x69,
|
|
0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x69,
|
|
0x6e, 0x67, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f,
|
|
0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x61,
|
|
0x6b, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x27, 0x0a, 0x0f,
|
|
0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48,
|
|
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67,
|
|
0x68, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x65,
|
|
0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
|
|
0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6c, 0x61, 0x69,
|
|
0x6d, 0x73, 0x49, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72,
|
|
0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72,
|
|
0x65, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x66, 0x66, 0x65, 0x63,
|
|
0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x0f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x75, 0x70, 0x70,
|
|
0x6f, 0x72, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x16, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0d, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x69, 0x78,
|
|
0x65, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x4d, 0x69, 0x78, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x18, 0x20, 0x01, 0x28, 0x02, 0x52,
|
|
0x0d, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x27,
|
|
0x0a, 0x0f, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61,
|
|
0x6c, 0x18, 0x19, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x22, 0xa9, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
|
|
0x72, 0x12, 0x22, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52,
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x62, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e,
|
|
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64,
|
|
0x22, 0x41, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x4b, 0x4e,
|
|
0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f,
|
|
0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56,
|
|
0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45,
|
|
0x44, 0x10, 0x03, 0x22, 0x45, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x14,
|
|
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75,
|
|
0x74, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x32, 0x35, 0x0a, 0x03, 0x48, 0x75,
|
|
0x62, 0x12, 0x2e, 0x0a, 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x11, 0x2e, 0x70, 0x62,
|
|
0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f,
|
|
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
|
|
0x00, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
0x6c, 0x62, 0x72, 0x79, 0x69, 0x6f, 0x2f, 0x68, 0x75, 0x62, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_hub_proto_rawDescOnce sync.Once
|
|
file_hub_proto_rawDescData = file_hub_proto_rawDesc
|
|
)
|
|
|
|
func file_hub_proto_rawDescGZIP() []byte {
|
|
file_hub_proto_rawDescOnce.Do(func() {
|
|
file_hub_proto_rawDescData = protoimpl.X.CompressGZIP(file_hub_proto_rawDescData)
|
|
})
|
|
return file_hub_proto_rawDescData
|
|
}
|
|
|
|
var file_hub_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_hub_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_hub_proto_goTypes = []interface{}{
|
|
(RangeField_Op)(0), // 0: pb.RangeField.Op
|
|
(Error_Code)(0), // 1: pb.Error.Code
|
|
(*InvertibleField)(nil), // 2: pb.InvertibleField
|
|
(*RangeField)(nil), // 3: pb.RangeField
|
|
(*SearchRequest)(nil), // 4: pb.SearchRequest
|
|
(*SearchReply)(nil), // 5: pb.SearchReply
|
|
(*Output)(nil), // 6: pb.Output
|
|
(*ClaimMeta)(nil), // 7: pb.ClaimMeta
|
|
(*Error)(nil), // 8: pb.Error
|
|
(*Blocked)(nil), // 9: pb.Blocked
|
|
(*wrapperspb.Int32Value)(nil), // 10: google.protobuf.Int32Value
|
|
(*wrapperspb.BoolValue)(nil), // 11: google.protobuf.BoolValue
|
|
}
|
|
var file_hub_proto_depIdxs = []int32{
|
|
0, // 0: pb.RangeField.op:type_name -> pb.RangeField.Op
|
|
10, // 1: pb.SearchRequest.amount_order:type_name -> google.protobuf.Int32Value
|
|
10, // 2: pb.SearchRequest.limit:type_name -> google.protobuf.Int32Value
|
|
10, // 3: pb.SearchRequest.offset:type_name -> google.protobuf.Int32Value
|
|
11, // 4: pb.SearchRequest.is_controlling:type_name -> google.protobuf.BoolValue
|
|
2, // 5: pb.SearchRequest.claim_id:type_name -> pb.InvertibleField
|
|
3, // 6: pb.SearchRequest.tx_position:type_name -> pb.RangeField
|
|
3, // 7: pb.SearchRequest.amount:type_name -> pb.RangeField
|
|
3, // 8: pb.SearchRequest.timestamp:type_name -> pb.RangeField
|
|
3, // 9: pb.SearchRequest.creation_timestamp:type_name -> pb.RangeField
|
|
3, // 10: pb.SearchRequest.height:type_name -> pb.RangeField
|
|
3, // 11: pb.SearchRequest.creation_height:type_name -> pb.RangeField
|
|
3, // 12: pb.SearchRequest.activation_height:type_name -> pb.RangeField
|
|
3, // 13: pb.SearchRequest.expiration_height:type_name -> pb.RangeField
|
|
3, // 14: pb.SearchRequest.release_time:type_name -> pb.RangeField
|
|
3, // 15: pb.SearchRequest.reposted:type_name -> pb.RangeField
|
|
3, // 16: pb.SearchRequest.fee_amount:type_name -> pb.RangeField
|
|
3, // 17: pb.SearchRequest.duration:type_name -> pb.RangeField
|
|
3, // 18: pb.SearchRequest.censor_type:type_name -> pb.RangeField
|
|
3, // 19: pb.SearchRequest.channel_join:type_name -> pb.RangeField
|
|
11, // 20: pb.SearchRequest.signature_valid:type_name -> google.protobuf.BoolValue
|
|
3, // 21: pb.SearchRequest.effective_amount:type_name -> pb.RangeField
|
|
3, // 22: pb.SearchRequest.support_amount:type_name -> pb.RangeField
|
|
3, // 23: pb.SearchRequest.trending_group:type_name -> pb.RangeField
|
|
3, // 24: pb.SearchRequest.trending_mixed:type_name -> pb.RangeField
|
|
3, // 25: pb.SearchRequest.trending_local:type_name -> pb.RangeField
|
|
3, // 26: pb.SearchRequest.trending_global:type_name -> pb.RangeField
|
|
2, // 27: pb.SearchRequest.channel_id:type_name -> pb.InvertibleField
|
|
2, // 28: pb.SearchRequest.channel_ids:type_name -> pb.InvertibleField
|
|
10, // 29: pb.SearchRequest.tx_nout:type_name -> google.protobuf.Int32Value
|
|
11, // 30: pb.SearchRequest.has_channel_signature:type_name -> google.protobuf.BoolValue
|
|
11, // 31: pb.SearchRequest.has_source:type_name -> google.protobuf.BoolValue
|
|
10, // 32: pb.SearchRequest.limit_claims_per_channel:type_name -> google.protobuf.Int32Value
|
|
6, // 33: pb.SearchReply.txos:type_name -> pb.Output
|
|
6, // 34: pb.SearchReply.extra_txos:type_name -> pb.Output
|
|
9, // 35: pb.SearchReply.blocked:type_name -> pb.Blocked
|
|
7, // 36: pb.Output.claim:type_name -> pb.ClaimMeta
|
|
8, // 37: pb.Output.error:type_name -> pb.Error
|
|
6, // 38: pb.ClaimMeta.channel:type_name -> pb.Output
|
|
6, // 39: pb.ClaimMeta.repost:type_name -> pb.Output
|
|
1, // 40: pb.Error.code:type_name -> pb.Error.Code
|
|
9, // 41: pb.Error.blocked:type_name -> pb.Blocked
|
|
6, // 42: pb.Blocked.channel:type_name -> pb.Output
|
|
4, // 43: pb.Hub.Search:input_type -> pb.SearchRequest
|
|
5, // 44: pb.Hub.Search:output_type -> pb.SearchReply
|
|
44, // [44:45] is the sub-list for method output_type
|
|
43, // [43:44] is the sub-list for method input_type
|
|
43, // [43:43] is the sub-list for extension type_name
|
|
43, // [43:43] is the sub-list for extension extendee
|
|
0, // [0:43] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_hub_proto_init() }
|
|
func file_hub_proto_init() {
|
|
if File_hub_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_hub_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InvertibleField); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RangeField); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SearchReply); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Output); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClaimMeta); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Error); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Blocked); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_hub_proto_msgTypes[4].OneofWrappers = []interface{}{
|
|
(*Output_Claim)(nil),
|
|
(*Output_Error)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_hub_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_hub_proto_goTypes,
|
|
DependencyIndexes: file_hub_proto_depIdxs,
|
|
EnumInfos: file_hub_proto_enumTypes,
|
|
MessageInfos: file_hub_proto_msgTypes,
|
|
}.Build()
|
|
File_hub_proto = out.File
|
|
file_hub_proto_rawDesc = nil
|
|
file_hub_proto_goTypes = nil
|
|
file_hub_proto_depIdxs = nil
|
|
}
|